public final class SexprPrinter extends Object implements IASTVisitor
Constructor and Description |
---|
SexprPrinter(IAST<?> tree)
Creates a new SexprPrinter.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public SexprPrinter(IAST<?> tree)
tree
- The ast to print.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.Copyright © 2017 Kevoree Project. All rights reserved.