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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.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/DartMethodDefinition.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.java b/compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.java
index fafe1a2f08ebc05d9f4b54edbec2a3668b2aa810..39f928d31bf97b28904f6826f72484e4fdcbfd02 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.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.MethodElement;
import java.util.Collections;
@@ -40,13 +40,13 @@ public class DartMethodDefinition extends DartClassMember<DartExpression> {
}
@Override
- public MethodElement getSymbol() {
+ public MethodElement getElement() {
return element;
}
@Override
- public void setSymbol(Symbol symbol) {
- element = (MethodElement) symbol;
+ public void setElement(Element element) {
+ this.element = (MethodElement) element;
}
public List<DartInitializer> getInitializers() {

Powered by Google App Engine
This is Rietveld 408576698