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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartRedirectConstructorInvocation.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/DartRedirectConstructorInvocation.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartRedirectConstructorInvocation.java b/compiler/java/com/google/dart/compiler/ast/DartRedirectConstructorInvocation.java
index 575cf99a80af5550eac3e3246ae080202ccf6abf..f7945b72afbdfec421a08b74a74674da42a0cf5d 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartRedirectConstructorInvocation.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartRedirectConstructorInvocation.java
@@ -4,19 +4,18 @@
package com.google.dart.compiler.ast;
-import com.google.dart.compiler.common.HasSymbol;
-import com.google.dart.compiler.common.Symbol;
import com.google.dart.compiler.resolver.ConstructorElement;
+import com.google.dart.compiler.resolver.Element;
import java.util.List;
/**
* Redirected constructor invocation AST node.
*/
-public class DartRedirectConstructorInvocation extends DartInvocation implements HasSymbol {
+public class DartRedirectConstructorInvocation extends DartInvocation {
private DartIdentifier name;
- private ConstructorElement symbol;
+ private ConstructorElement element;
public DartRedirectConstructorInvocation(DartIdentifier name, List<DartExpression> args) {
super(args);
@@ -28,13 +27,13 @@ public class DartRedirectConstructorInvocation extends DartInvocation implements
}
@Override
- public void setSymbol(Symbol symbol) {
- this.symbol = (ConstructorElement) symbol;
+ public void setElement(Element element) {
+ this.element = (ConstructorElement) element;
}
@Override
- public ConstructorElement getSymbol() {
- return symbol;
+ public ConstructorElement getElement() {
+ return element;
}
@Override

Powered by Google App Engine
This is Rietveld 408576698