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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartNode.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/DartNode.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartNode.java b/compiler/java/com/google/dart/compiler/ast/DartNode.java
index e426bab25f544635abe9e5e256f630fb559fa975..fb8a7b4d2f1343954a005e788d257bc636927abf 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartNode.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartNode.java
@@ -5,7 +5,7 @@
package com.google.dart.compiler.ast;
import com.google.dart.compiler.common.AbstractNode;
-import com.google.dart.compiler.common.Symbol;
+import com.google.dart.compiler.resolver.Element;
import com.google.dart.compiler.type.Type;
import com.google.dart.compiler.type.Types;
import com.google.dart.compiler.util.DefaultTextOutput;
@@ -25,11 +25,11 @@ public abstract class DartNode extends AbstractNode {
return out.toString();
}
- public Symbol getSymbol() {
- return null;
+ public Element getElement() {
+ return null;
}
- public void setSymbol(Symbol symbol) {
+ public void setElement(Element element) {
throw new UnsupportedOperationException(getClass().getSimpleName());
}

Powered by Google App Engine
This is Rietveld 408576698