Modifier and Type | Field and Description |
---|---|
private AbsExpr |
l |
private Op |
op |
private AbsExpr |
r |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.Object |
acceptBreadth(BreadthIterator i) |
(package private) java.lang.Object |
acceptPostOrder(PostorderIterator i) |
(package private) java.lang.Object |
acceptPreOrder(PreorderIterator i) |
int |
evaluate() |
breadthIterator, postorderIterator, preorderIterator
public int evaluate()
java.lang.Object acceptPreOrder(PreorderIterator i)
acceptPreOrder
in class AbsExpr
java.lang.Object acceptPostOrder(PostorderIterator i)
acceptPostOrder
in class AbsExpr
java.lang.Object acceptBreadth(BreadthIterator i)
acceptBreadth
in class AbsExpr