|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxtc.tree.Visitor
xtc.tree.ParseTreePrinter
public class ParseTreePrinter
Visitor to print parse trees.
| Field Summary | |
|---|---|
protected Printer |
printer
The printer. |
| Constructor Summary | |
|---|---|
ParseTreePrinter(Printer printer)
Create a new parse tree printer. |
|
| Method Summary | |
|---|---|
void |
visit(Formatting f)
Print the specified formatting node. |
void |
visit(GNode n)
Print the specified generic node. |
void |
visit(Token t)
Print the specified token. |
| Methods inherited from class xtc.tree.Visitor |
|---|
dispatch, equals, hashCode, iterate, map, mapInPlace, unableToVisit, visit |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Printer printer
| Constructor Detail |
|---|
public ParseTreePrinter(Printer printer)
printer - The printer.| Method Detail |
|---|
public void visit(GNode n)
public void visit(Formatting f)
public void visit(Token t)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||