| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/NodeFinder.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/NodeFinder.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/NodeFinder.java
|
| index 41cfd35a186dc41e968b3c19e97c0b18e77462c3..c1ab67cae83eb75adbc3e943d28debfb9a375f85 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/NodeFinder.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/NodeFinder.java
|
| @@ -17,7 +17,7 @@ import com.google.dart.compiler.ast.DartClass;
|
| import com.google.dart.compiler.ast.DartField;
|
| 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.parser.DartScanner;
|
| import com.google.dart.compiler.parser.Token;
|
| import com.google.dart.tools.core.buffer.Buffer;
|
| @@ -31,7 +31,7 @@ import com.google.dart.tools.core.model.SourceRange;
|
| * 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 NodeFinder extends DartNodeTraverser<Void> {
|
| +public class NodeFinder extends ASTVisitor<Void> {
|
| public static NodeFinder find(DartNode root, int start, int length) {
|
| NodeFinder finder = new NodeFinder(start, length);
|
| root.accept(finder);
|
|
|