| Index: compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.java b/compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.java
|
| index 96d1c0d45a5f99e71c978ca72d613f0384f14535..20654406f6639e1fe95233c35a357a39e17c2ca7 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.java
|
| @@ -49,26 +49,13 @@ public class DartBinaryExpression extends DartExpression implements ElementRefer
|
| }
|
|
|
| @Override
|
| - public void traverse(DartVisitor v, DartContext ctx) {
|
| - if (v.visit(this, ctx)) {
|
| - if (op.isAssignmentOperator()) {
|
| - arg1 = becomeParentOf(v.acceptLvalue(arg1));
|
| - } else {
|
| - arg1 = becomeParentOf(v.accept(arg1));
|
| - }
|
| - arg2 = becomeParentOf(v.accept(arg2));
|
| - }
|
| - v.endVisit(this, ctx);
|
| - }
|
| -
|
| - @Override
|
| - public void visitChildren(DartPlainVisitor<?> visitor) {
|
| + public void visitChildren(ASTVisitor<?> visitor) {
|
| arg1.accept(visitor);
|
| arg2.accept(visitor);
|
| }
|
|
|
| @Override
|
| - public <R> R accept(DartPlainVisitor<R> visitor) {
|
| + public <R> R accept(ASTVisitor<R> visitor) {
|
| return visitor.visitBinaryExpression(this);
|
| }
|
|
|
|
|