|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Operator with two children.
A BinaryOperator is an Operator that can have two child Expressions.
In a tree structure, one child will be to the left and the other to the right.
| Method Summary | |
Expression |
getLeftChild()
Gets the left child Expression. |
Expression |
getRightChild()
Gets the right child Expression. |
void |
setLeftChild(Expression child)
Sets the left child Expression. |
void |
setRightChild(Expression child)
Sets the right child Expression. |
| Methods inherited from interface wugle.expression.Operator |
setChild |
| Methods inherited from interface wugle.expression.Expression |
clone, getParent, getSymbol, isEqual, setParent |
| Method Detail |
public Expression getLeftChild()
null if there is nonegetRightChild(),
setLeftChild(Expression)public void setLeftChild(Expression child)
child - The new left child Expression, or null for no childgetLeftChild(),
setRightChild(Expression)public Expression getRightChild()
null if there is nonegetLeftChild(),
setRightChild(Expression)public void setRightChild(Expression child)
child - The new right child Expression, or null for no childgetRightChild(),
setLeftChild(Expression)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||