Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartInvocation.java

Issue 9633009: Use Element instead of Symbol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compiler/java/com/google/dart/compiler/ast/DartInvocation.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartInvocation.java b/compiler/java/com/google/dart/compiler/ast/DartInvocation.java
index 5bd15b6ddf533f5540298808bde859ad88c95e2f..b853fcfaea873fd7f9e192de09cdac1185ee9f81 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartInvocation.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartInvocation.java
@@ -32,10 +32,10 @@ import java.util.List;
* </ul>
*
*/
-public abstract class DartInvocation extends DartExpression implements ElementReference {
+public abstract class DartInvocation extends DartExpression {
private final NodeList<DartExpression> arguments = NodeList.create(this);
- private Element referencedElement;
+ private Element element;
public DartInvocation(List<DartExpression> arguments) {
this.arguments.addAll(arguments);
@@ -49,11 +49,13 @@ public abstract class DartInvocation extends DartExpression implements ElementRe
return arguments;
}
- public Element getReferencedElement() {
- return referencedElement;
+ @Override
+ public Element getElement() {
+ return element;
}
- public void setReferencedElement(Element referencedElement) {
- this.referencedElement = referencedElement;
+ @Override
+ public void setElement(Element element) {
+ this.element = (Element) element;
}
}

Powered by Google App Engine
This is Rietveld 408576698