Class Overview
A visitor for traversing an AST tree.
Summary
Nested Classes |
interface |
NodeTraverser.VisitationStrategy |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
void
traverseDepthFirst
(AST ast)
Traverse the AST tree depth first.
Parameters
ast
| Root node of subtree to traverse.
Note that the AST passed in is not visited itself. Visitation
starts with its children.
|