public interface Tree
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(TreeVisitor<T> visitor)
A tree node can accept the visit of any
TreeVisitor . |
Tree |
getLeftOperand()
Gets the left sub-tree of the node.
|
Tree |
getRightOperand()
Gets the right sub-tree of the node.
|
Tree getLeftOperand()
Tree getRightOperand()
<T> T accept(TreeVisitor<T> visitor)
TreeVisitor
.visitor
- the tree visitor of generic type