public interface SplitNodeVisitor
SplitNodes
.Modifier and Type | Method and Description |
---|---|
void |
handleLeaf(Leaf leaf)
Invoked when visiting a leaf of the tree.
|
void |
handleNode(Node node)
Invoked when visiting a node of the tree.
|
void |
handlePlaceholder(Placeholder placeholder)
Invoked when visiting a leaf that is a placeholder.
|
void |
handleRoot(Root root)
Invoked when visiting the root of the tree.
|
void handleRoot(Root root)
root
- the rootvoid handleNode(Node node)
node
- a nodevoid handleLeaf(Leaf leaf)
leaf
- the treevoid handlePlaceholder(Placeholder placeholder)
placeholder
- the placeholder