NodeVisitor
public interface NodeVisitor
A callback to travel through the whole node hierarchy.
Methods
Method | Description |
---|---|
call(Node node) | A callback to travel through the whole node hierarchy. |
call(Node node)
public abstract boolean call(Node node)
A callback to travel through the whole node hierarchy.
Parameters:
Parameter | Type | Description |
---|---|---|
node | Node | Node being visited |
Returns: boolean - Return false to stop traveling