public class TreeVisitor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected TreeAdaptor |
adaptor |
Constructor and Description |
---|
TreeVisitor() |
TreeVisitor(TreeAdaptor adaptor) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
visit(java.lang.Object t,
TreeVisitorAction action)
Visit every node in tree t and trigger an action for each node
before/after having visited all of its children.
|
protected TreeAdaptor adaptor
public TreeVisitor(TreeAdaptor adaptor)
public TreeVisitor()
public java.lang.Object visit(java.lang.Object t, TreeVisitorAction action)
Copyright © 2012. All Rights Reserved.