|
Class Summary |
| CallingDepthFirst |
The CallingDepthFirst class is similar to ObjectDepthFirst
but adds a call to another ObjectVisitor (specified as a constructor
argument) at the beginning of every visit() method. |
| DepthFirstVisitor |
Provides default methods which visit each node in the tree in depth-first
order. |
| FormatCommand |
|
| GreedyDepthFirst |
The GreedyDepthFirst class is similar to ObjectDepthFirst
but the tree visitation stop as soon as any visit()
method returns a non-null value. |
| NullObjectVisitor |
The NullObjectVisitor class is an implementation of ObjectVisitor
that simply does nothing and returns null in all visit() methods. |
| ObjectDepthFirst |
Provides default methods which visit each node in the tree in depth-first
order. |
| PrePostDepthFirst |
The PrePostDepthFirst class is similar to DepthFirstVisitor
but adds hooks for proprocessing and postprocessing of nodes. |
| PrePostTreeDumper |
The PrePostTreeDumper class is similar to TreeDumper
but adds node pre/post processing support. |
| TreeDumper |
Dumps the syntax tree to a Writer using the location information in
each NodeToken. |
| TreeFormatter |
A skeleton output formatter for your language grammar. |
Basic visitor classes for Java abstract syntax trees, generated by JTB
and by JIE's makeVisitors.pl script.