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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartClassMember.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/DartClassMember.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartClassMember.java b/compiler/java/com/google/dart/compiler/ast/DartClassMember.java
index 746a4b0afe350d5c0e97131a11ab686bd83729ff..654e8760b56158205a51c554e78735bf0fc0a287 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartClassMember.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartClassMember.java
@@ -4,14 +4,12 @@
package com.google.dart.compiler.ast;
-import com.google.dart.compiler.common.HasSymbol;
import com.google.dart.compiler.resolver.Element;
/**
* Base class for class members (fields and methods).
*/
-public abstract class DartClassMember<N extends DartExpression> extends DartDeclaration<N>
- implements HasSymbol {
+public abstract class DartClassMember<N extends DartExpression> extends DartDeclaration<N> {
private final Modifiers modifiers;
@@ -25,7 +23,7 @@ public abstract class DartClassMember<N extends DartExpression> extends DartDecl
}
@Override
- public abstract Element getSymbol();
+ public abstract Element getElement();
@Override
public void visitChildren(ASTVisitor<?> visitor) {

Powered by Google App Engine
This is Rietveld 408576698