| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final NodeTraverser. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | traverseDepthFirst(AST
Root node of subtree to traverse.
ast)Note that the AST passed in is not visited itself. Visitation starts with its children. Traverse the AST tree depth first. |
| private void |
| strategy | back to summary |
|---|---|
| private final NodeTraverser. | |
| NodeTraverser | back to summary |
|---|---|
| public NodeTraverser(NodeTraverser. | |
| traverseDepthFirst | back to summary |
|---|---|
| public void traverseDepthFirst(AST ast) Traverse the AST tree depth first.
| |
| visitDepthFirst | back to summary |
|---|---|
| private void visitDepthFirst(AST ast) | |
| visit | back to summary |
|---|---|
| public void visit(AST node) | |