Interface LValue
- All Superinterfaces:
Cloneable,Serializable
- All Known Subinterfaces:
DataTable
- All Known Implementing Classes:
AbstractLValue,ContextLookup,DefaultDataTable,FormulaFunction,PostfixTerm,PrefixTerm,StaticValue,Term
A reference is an indirection to hide the details of where the actual
value came from.
The reference is responsible to report dependencies.
- Author:
- Thomas Morgner
-
Method Summary
Modifier and TypeMethodDescriptionclone()evaluate()LValue[]Returns any dependent lvalues (parameters and operands, mostly).Querying the value type is only valid *after* the value has been evaluated.voidinitialize(FormulaContext context) booleanChecks whether the LValue is constant.
-
Method Details
-
initialize
- Throws:
EvaluationException
-
evaluate
- Throws:
EvaluationException
-
clone
- Throws:
CloneNotSupportedException
-
getValueType
Type getValueType()Querying the value type is only valid *after* the value has been evaluated.- Returns:
-
getChildValues
LValue[] getChildValues()Returns any dependent lvalues (parameters and operands, mostly).- Returns:
-
isConstant
boolean isConstant()Checks whether the LValue is constant. Constant lvalues always return the same value.- Returns:
-
getParsePosition
ParsePosition getParsePosition()
-