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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/BinaryExpressionFragmentBuilder.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.core/src/com/google/dart/tools/core/internal/formatter/BinaryExpressionFragmentBuilder.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/BinaryExpressionFragmentBuilder.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/BinaryExpressionFragmentBuilder.java
index a21c72b4513e49db7ef75438cc08937f10142c1b..3520e09d4137a8e544874a678a6b0460f1e05ed2 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/BinaryExpressionFragmentBuilder.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/BinaryExpressionFragmentBuilder.java
@@ -17,7 +17,7 @@ import com.google.dart.compiler.ast.DartBinaryExpression;
import com.google.dart.compiler.ast.DartExpression;
import com.google.dart.compiler.ast.DartLiteral;
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.DartNullLiteral;
import com.google.dart.compiler.ast.DartStringInterpolation;
import com.google.dart.compiler.ast.DartStringLiteral;
@@ -26,7 +26,7 @@ import com.google.dart.compiler.parser.Token;
import java.util.ArrayList;
import java.util.List;
-class BinaryExpressionFragmentBuilder extends DartNodeTraverser<DartNode> {
+class BinaryExpressionFragmentBuilder extends ASTVisitor<DartNode> {
private List<DartNode> fragmentsList = new ArrayList<DartNode>();
private List<Token> operatorsList = new ArrayList<Token>();
private int realFragmentsSize = 0;

Powered by Google App Engine
This is Rietveld 408576698