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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/DOMFinder.java

Issue 9598002: Use ASTVisitor as in new AST. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/DOMFinder.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/DOMFinder.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/DOMFinder.java
index c0302d08bc4217c4ea56f12c9f9c02aef3e448be..cdb89980435701ee8fc716be48689b668a83cb27 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/DOMFinder.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/DOMFinder.java
@@ -18,7 +18,7 @@ import com.google.dart.compiler.ast.DartField;
import com.google.dart.compiler.ast.DartFunction;
import com.google.dart.compiler.ast.DartMethodDefinition;
import com.google.dart.compiler.ast.DartNode;
-import com.google.dart.compiler.ast.DartNodeTraverser;
+import com.google.dart.compiler.ast.ASTVisitor;
import com.google.dart.compiler.ast.DartUnit;
import com.google.dart.compiler.common.Symbol;
import com.google.dart.tools.core.internal.model.SourceReferenceImpl;
@@ -31,7 +31,7 @@ import com.google.dart.tools.core.model.SourceReference;
* Instances of the class <code>DOMFinder</code> locate the {@link DartNode AST node} associated
* with a {@link DartElement}.
*/
-public class DOMFinder extends DartNodeTraverser<Void> {
+public class DOMFinder extends ASTVisitor<Void> {
/**
* The compilation unit containing the node being searched for.
*/

Powered by Google App Engine
This is Rietveld 408576698