public class ParseTreePrinter extends Visitor
| Constructor and Description |
|---|
ParseTreePrinter(Printer printer)
Create a new parse tree printer.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
dispatch, equals, hashCode, iterate, map, mapInPlace, unableToVisit, visitprotected final Printer printer
public ParseTreePrinter(Printer printer)
printer - The printer.public void visit(GNode n)
public void visit(Formatting f)
public void visit(Token t)
Copyright © 2014. All Rights Reserved.