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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartArrayAccess.java

Issue 9703096: Remove Element.getNode() method (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changes for review comments 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
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/ast/DartArrayAccess.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartArrayAccess.java b/compiler/java/com/google/dart/compiler/ast/DartArrayAccess.java
index 1187bec29344cfc74c9dab145484525931a46a87..9abf7d041d967f9c605928570edaef431744ed09 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartArrayAccess.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartArrayAccess.java
@@ -5,7 +5,7 @@
package com.google.dart.compiler.ast;
import com.google.dart.compiler.resolver.Element;
-import com.google.dart.compiler.resolver.MethodElement;
+import com.google.dart.compiler.resolver.MethodNodeElement;
/**
* Represents a Dart array access expression (a[b]).
@@ -14,7 +14,7 @@ public class DartArrayAccess extends DartExpression {
private DartExpression target;
private DartExpression key;
- private MethodElement element;
+ private MethodNodeElement element;
public DartArrayAccess(DartExpression target, DartExpression key) {
this.target = becomeParentOf(target);
@@ -46,12 +46,12 @@ public class DartArrayAccess extends DartExpression {
}
@Override
- public MethodElement getElement() {
+ public MethodNodeElement getElement() {
return element;
}
@Override
public void setElement(Element element) {
- this.element = (MethodElement) element;
+ this.element = (MethodNodeElement) element;
}
}
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698