| Index: compiler/java/com/google/dart/compiler/ast/DartNode.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartNode.java b/compiler/java/com/google/dart/compiler/ast/DartNode.java
|
| index 3761c1f303a8b57a9ced9103743bdfaa6285e383..fa578a60015c337495fd0e4d922194cd7a1920ae 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartNode.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartNode.java
|
| @@ -15,13 +15,13 @@ import java.util.List;
|
| /**
|
| * Base class for all Dart AST nodes.
|
| */
|
| -public abstract class DartNode extends AbstractNode implements DartVisitable {
|
| +public abstract class DartNode extends AbstractNode {
|
|
|
| private DartNode parent;
|
|
|
| public final String toSource() {
|
| DefaultTextOutput out = new DefaultTextOutput(false);
|
| - new DartToSourceVisitor(out).accept(this);
|
| + accept(new DartToSourceVisitor(out));
|
| return out.toString();
|
| }
|
|
|
| @@ -138,9 +138,9 @@ public abstract class DartNode extends AbstractNode implements DartVisitable {
|
| parent = newParent;
|
| }
|
|
|
| - public abstract void visitChildren(DartPlainVisitor<?> visitor);
|
| + public abstract void visitChildren(ASTVisitor<?> visitor);
|
|
|
| - public abstract <R> R accept(DartPlainVisitor<R> visitor);
|
| + public abstract <R> R accept(ASTVisitor<R> visitor);
|
|
|
| @Override
|
| public DartNode clone() {
|
|
|