public interface AST
Modifier and Type | Method and Description |
---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
void |
accept(ASTVisitorOld visitor)
Accept visitor for a visit.
|
void |
acceptChildren(ASTVisitor visitor)
Accept visitor for a visit to the children of this node.
|
void |
print(java.io.PrintWriter out)
Print tree on writer (including command annotations).
|
void |
printCore(java.io.PrintWriter out)
Print tree on writer (excluding command annotations).
|
java.lang.String |
toString()
Get string representation of tree (including command annotations).
|
java.lang.String |
toStringCore()
Get string representation of tree (excluding command annotations).
|
void accept(ASTVisitorOld visitor)
visitor
- the visitor who is accepted by this node.void accept(ASTVisitor visitor)
visitor
- the visitor who is accepted by this node.void acceptChildren(ASTVisitor visitor)
visitor
- the visitor who is accepted by the children of this node.java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toStringCore()
void print(java.io.PrintWriter out)
out
- the writer to be used for printing.void printCore(java.io.PrintWriter out)
out
- the writer to be used for printing.