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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartSuperExpression.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/DartSuperExpression.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartSuperExpression.java b/compiler/java/com/google/dart/compiler/ast/DartSuperExpression.java
index 54567d5db439e854221b087cf21666d01be49551..aa30b0e530e1c8520ff796210cdae8d4e545312e 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartSuperExpression.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartSuperExpression.java
@@ -4,7 +4,7 @@
package com.google.dart.compiler.ast;
-import com.google.dart.compiler.common.Symbol;
+import com.google.dart.compiler.resolver.Element;
import com.google.dart.compiler.resolver.SuperElement;
/**
@@ -12,7 +12,7 @@ import com.google.dart.compiler.resolver.SuperElement;
*/
public class DartSuperExpression extends DartExpression {
- private SuperElement targetSymbol;
+ private SuperElement element;
public static DartSuperExpression get() {
return new DartSuperExpression();
@@ -22,13 +22,13 @@ public class DartSuperExpression extends DartExpression {
}
@Override
- public void setSymbol(Symbol symbol) {
- this.targetSymbol = (SuperElement) symbol;
+ public void setElement(Element element) {
+ this.element = (SuperElement) element;
}
@Override
- public SuperElement getSymbol() {
- return targetSymbol;
+ public SuperElement getElement() {
+ return element;
}
@Override

Powered by Google App Engine
This is Rietveld 408576698