| Index: compiler/java/com/google/dart/compiler/ast/DartField.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartField.java b/compiler/java/com/google/dart/compiler/ast/DartField.java
|
| index 1718ca80b14571b3e488448846f6461893f3434d..10108a49234740770c20e31d7a541449991eb471 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartField.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartField.java
|
| @@ -50,20 +50,7 @@ public class DartField extends DartClassMember<DartIdentifier> {
|
| }
|
|
|
| @Override
|
| - public void traverse(DartVisitor v, DartContext ctx) {
|
| - if (v.visit(this, ctx)) {
|
| - if (getValue() != null) {
|
| - setValue(v.accept(getValue()));
|
| - }
|
| - if (getAccessor() != null) {
|
| - setAccessor(v.accept(getAccessor()));
|
| - }
|
| - }
|
| - v.endVisit(this, ctx);
|
| - }
|
| -
|
| - @Override
|
| - public void visitChildren(DartPlainVisitor<?> visitor) {
|
| + public void visitChildren(ASTVisitor<?> visitor) {
|
| super.visitChildren(visitor);
|
| if (getAccessor() != null) {
|
| getAccessor().accept(visitor);
|
| @@ -74,7 +61,7 @@ public class DartField extends DartClassMember<DartIdentifier> {
|
| }
|
|
|
| @Override
|
| - public <R> R accept(DartPlainVisitor<R> visitor) {
|
| + public <R> R accept(ASTVisitor<R> visitor) {
|
| return visitor.visitField(this);
|
| }
|
| }
|
|
|