java.io.Serializable, java.lang.Cloneable, LValuepublic class PrefixTerm extends AbstractLValue
| Constructor | Description |
|---|---|
PrefixTerm(PrefixOperator operator,
LValue value) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
|
TypeValuePair |
evaluate() |
|
LValue[] |
getChildValues() |
Returns any dependent lvalues (parameters and operands, mostly).
|
PrefixOperator |
getOperator() |
|
LValue |
getValue() |
|
boolean |
isConstant() |
Checks whether the LValue is constant.
|
java.lang.String |
toString() |
getContext, getParsePosition, getValueType, initialize, setParsePositionpublic PrefixTerm(PrefixOperator operator, LValue value)
public PrefixOperator getOperator()
public LValue getValue()
public TypeValuePair evaluate() throws EvaluationException
EvaluationExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic LValue[] getChildValues()
getChildValues in interface LValuegetChildValues in class AbstractLValuepublic boolean isConstant()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface LValueclone in class AbstractLValuejava.lang.CloneNotSupportedException