|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.waxeye.ast.print.ArrowPrinter
public final class ArrowPrinter
A class to print the AST with arrows.
Constructor Summary | |
---|---|
ArrowPrinter(IAST<?> tree)
Creates a new ArrowPrinter. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
void |
visitAST(IAST<?> tree)
Visits the tree as a AST. |
void |
visitChar(IChar tree)
Visits the tree as a Char. |
void |
visitEmpty(IEmpty tree)
Visits the tree as Empty. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrowPrinter(IAST<?> tree)
tree
- The ast to print.Method Detail |
---|
public void visitAST(IAST<?> tree)
visitAST
in interface IASTVisitor
tree
- The tree to visit.public void visitEmpty(IEmpty tree)
visitEmpty
in interface IASTVisitor
tree
- The tree to visit.public void visitChar(IChar tree)
visitChar
in interface IASTVisitor
tree
- The tree to visit.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |