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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/selectionactions/StructureSelectNextAction.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/editor/selectionactions/StructureSelectNextAction.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/selectionactions/StructureSelectNextAction.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/selectionactions/StructureSelectNextAction.java
index f79144c0e8cce68cfe3e7bd384fe4a3f82b919e9..123f4d4bf7667b5982876c308ebeef0945e56539 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/selectionactions/StructureSelectNextAction.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/selectionactions/StructureSelectNextAction.java
@@ -14,7 +14,7 @@
package com.google.dart.tools.ui.internal.text.editor.selectionactions;
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.tools.core.model.DartModelException;
import com.google.dart.tools.core.model.SourceRange;
import com.google.dart.tools.core.model.SourceReference;
@@ -26,7 +26,7 @@ import org.eclipse.ui.PlatformUI;
public class StructureSelectNextAction extends StructureSelectionAction {
- private static class NextNodeAnalyzer extends DartNodeTraverser<Void> {
+ private static class NextNodeAnalyzer extends ASTVisitor<Void> {
public static DartNode perform(int offset, DartNode lastCoveringNode) {
NextNodeAnalyzer analyzer = new NextNodeAnalyzer(offset);
lastCoveringNode.accept(analyzer);

Powered by Google App Engine
This is Rietveld 408576698