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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/ResolverAuditVisitor.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: compiler/javatests/com/google/dart/compiler/resolver/ResolverAuditVisitor.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverAuditVisitor.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverAuditVisitor.java
index 1311fcccb69bc9876e84d49406673fc7a23d2798..e3bdcf7476f4ec489f176d7f1883f015628f0d92 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverAuditVisitor.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverAuditVisitor.java
@@ -10,7 +10,7 @@ import com.google.common.collect.Lists;
import com.google.dart.compiler.ast.DartClass;
import com.google.dart.compiler.ast.DartIdentifier;
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.DartParameterizedTypeNode;
import com.google.dart.compiler.ast.DartTypeNode;
import com.google.dart.compiler.ast.DartTypeParameter;
@@ -21,7 +21,7 @@ import java.util.List;
* Look for DartIdentifier nodes in the tree whose symbols are null. They should all either
* be resolved, or marked as an unresolved element.
*/
-public class ResolverAuditVisitor extends DartNodeTraverser<Void> {
+public class ResolverAuditVisitor extends ASTVisitor<Void> {
public static void exec(DartNode root) {
ResolverAuditVisitor visitor = new ResolverAuditVisitor();
root.accept(visitor);

Powered by Google App Engine
This is Rietveld 408576698