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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartField.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/DartField.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartField.java b/compiler/java/com/google/dart/compiler/ast/DartField.java
index 10108a49234740770c20e31d7a541449991eb471..70f88482a9420aad653aacb4b1f6185b59b61295 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartField.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartField.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.FieldElement;
/**
@@ -40,13 +40,13 @@ public class DartField extends DartClassMember<DartIdentifier> {
}
@Override
- public FieldElement getSymbol() {
+ public FieldElement getElement() {
return element;
}
@Override
- public void setSymbol(Symbol symbol) {
- this.element = (FieldElement) symbol;
+ public void setElement(Element element) {
+ this.element = (FieldElement) element;
}
@Override

Powered by Google App Engine
This is Rietveld 408576698