|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.waxeye.ast.print.SexprPrinter
public final class SexprPrinter
A class to print the AST as s-expressions.
| Constructor Summary | |
|---|---|
SexprPrinter(IAST<?> tree)
Creates a new SexprPrinter. |
|
| 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 SexprPrinter(IAST<?> tree)
tree - The ast to print.| Method Detail |
|---|
public void visitAST(IAST<?> tree)
visitAST in interface IASTVisitortree - The tree to visit.public void visitEmpty(IEmpty tree)
visitEmpty in interface IASTVisitortree - The tree to visit.public void visitChar(IChar tree)
visitChar in interface IASTVisitortree - 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 | ||||||||