| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 package com.google.dart.compiler.ast; | |
| 6 | |
| 7 import com.google.dart.compiler.resolver.Element; | |
| 8 | |
| 9 /** | |
| 10 * An {@link ElementReference} is an AST node that references an element, which
is | |
| 11 * used to calculate its type. | |
| 12 * For example, a method invocation references the {@link MethodElement} that th
e call | |
| 13 * resolves to. | |
| 14 */ | |
| 15 public interface ElementReference { | |
| 16 public Element getReferencedElement(); | |
| 17 | |
| 18 public void setReferencedElement(Element element); | |
| 19 } | |
| OLD | NEW |