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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/SelectionAnalyzer.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.ui/src/com/google/dart/tools/ui/internal/text/SelectionAnalyzer.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/SelectionAnalyzer.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/SelectionAnalyzer.java
index d47a906f2bb237b21605b212c7c5597e3a88925e..40944523f59599663be1793d1a37a3bd72208fd3 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/SelectionAnalyzer.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/SelectionAnalyzer.java
@@ -15,7 +15,7 @@ package com.google.dart.tools.ui.internal.text;
import com.google.dart.compiler.ast.DartExpression;
import com.google.dart.compiler.ast.DartNode;
-import com.google.dart.compiler.ast.DartNodeTraverser;
+import com.google.dart.compiler.ast.ASTVisitor;
import org.eclipse.core.runtime.Assert;
import org.eclipse.jface.text.IRegion;
@@ -30,7 +30,7 @@ import java.util.List;
* this early stage to solicit feedback from pioneering adopters on the understanding that any code
* that uses this API will almost certainly be broken (repeatedly) as the API evolves.
*/
-public class SelectionAnalyzer extends DartNodeTraverser<Void> {
+public class SelectionAnalyzer extends ASTVisitor<Void> {
private Selection fSelection;
private boolean fTraverseSelectedNode;

Powered by Google App Engine
This is Rietveld 408576698