| Index: compiler/java/com/google/dart/compiler/ast/DartForInStatement.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartForInStatement.java b/compiler/java/com/google/dart/compiler/ast/DartForInStatement.java
|
| index 31f096c399ea519bc8794f50647a6cf8a1e2190c..1b294a474fb9398e1a6666a9f9dfaea561265172 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartForInStatement.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartForInStatement.java
|
| @@ -55,24 +55,14 @@ public class DartForInStatement extends DartStatement {
|
| }
|
|
|
| @Override
|
| - public void traverse(DartVisitor v, DartContext ctx) {
|
| - if (v.visit(this, ctx)) {
|
| - setup = becomeParentOf(v.accept(setup));
|
| - iterable = becomeParentOf(v.accept(iterable));
|
| - body = becomeParentOf(v.accept(body));
|
| - }
|
| - v.endVisit(this, ctx);
|
| - }
|
| -
|
| - @Override
|
| - public void visitChildren(DartPlainVisitor<?> visitor) {
|
| + public void visitChildren(ASTVisitor<?> visitor) {
|
| setup.accept(visitor);
|
| iterable.accept(visitor);
|
| body.accept(visitor);
|
| }
|
|
|
| @Override
|
| - public <R> R accept(DartPlainVisitor<R> visitor) {
|
| + public <R> R accept(ASTVisitor<R> visitor) {
|
| return visitor.visitForInStatement(this);
|
| }
|
| }
|
|
|