|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generic Expression that has a symbol and can have a parent Operator.
Operator
Method Summary | |
java.lang.Object |
clone()
Returns a copy of this Expression. |
Operator |
getParent()
Gets the parent Operator, or null if there is no parent. |
java.lang.String |
getSymbol()
Gets the Expression's symbol. |
boolean |
isEqual(Expression expression)
Tests if this Expression is equal to the given Expression. |
void |
setParent(Operator parent)
Sets the parent Operator. |
Method Detail |
public java.lang.Object clone()
public Operator getParent()
null
if there is no parent.
public void setParent(Operator parent)
parent
- Parent Operator, or null
for no parentpublic java.lang.String getSymbol()
public boolean isEqual(Expression expression)
expression
- Expression to compare to
true
if they are equal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |