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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.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/java/com/google/dart/compiler/ast/DartTypedLiteral.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java b/compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java
index dfc19d436e8fed815301350b87a949dec063076f..b62f02100af9e9c650f002095c685adccf0a701a 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java
@@ -49,14 +49,7 @@ public abstract class DartTypedLiteral extends DartExpression {
}
@Override
- public void traverse(DartVisitor v, DartContext ctx) {
- if (typeArguments.size() > 0) {
- v.acceptWithInsertRemove(this, typeArguments);
- }
- }
-
- @Override
- public void visitChildren(DartPlainVisitor<?> visitor) {
+ public void visitChildren(ASTVisitor<?> visitor) {
if (typeArguments.size() > 0) {
visitor.visit(getTypeArguments());
}

Powered by Google App Engine
This is Rietveld 408576698