java.io.Serializable, java.lang.Cloneable, LValuepublic class ContextLookup extends AbstractLValue
| Constructor | Description |
|---|---|
ContextLookup(java.lang.String name) |
|
ContextLookup(java.lang.String name,
ParsePosition parsePosition) |
| Modifier and Type | Method | Description |
|---|---|---|
TypeValuePair |
evaluate() |
|
java.lang.String |
getName() |
|
Type |
getValueType() |
Querying the value type is only valid *after* the value has been
evaluated.
|
boolean |
isConstant() |
Checks whether the LValue is constant.
|
java.lang.String |
toString() |
clone, getChildValues, getContext, getParsePosition, initialize, setParsePositionpublic ContextLookup(java.lang.String name)
public ContextLookup(java.lang.String name,
ParsePosition parsePosition)
public TypeValuePair evaluate() throws EvaluationException
EvaluationExceptionpublic Type getValueType()
AbstractLValuegetValueType in interface LValuegetValueType in class AbstractLValuepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isConstant()
public java.lang.String getName()