public class FormulaFunction extends AbstractLValue
Constructor and Description |
---|
FormulaFunction(java.lang.String functionName,
LValue[] parameters) |
FormulaFunction(java.lang.String functionName,
LValue[] parameters,
ParsePosition parsePosition) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
TypeValuePair |
evaluate() |
LValue[] |
getChildValues()
Returns any dependent lvalues (parameters and operands, mostly).
|
Function |
getFunction()
Returns the initialized function.
|
java.lang.String |
getFunctionName()
Returns the function's name.
|
FunctionDescription |
getMetaData()
Returns the function's meta-data.
|
void |
initialize(FormulaContext context) |
boolean |
isConstant()
Checks whether the LValue is constant.
|
java.lang.String |
toString() |
getContext, getParsePosition, getValueType, setParsePosition
public FormulaFunction(java.lang.String functionName, LValue[] parameters, ParsePosition parsePosition)
public FormulaFunction(java.lang.String functionName, LValue[] parameters)
public void initialize(FormulaContext context) throws EvaluationException
initialize
in interface LValue
initialize
in class AbstractLValue
EvaluationException
public java.lang.String getFunctionName()
public Function getFunction()
public FunctionDescription getMetaData()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface LValue
clone
in class AbstractLValue
java.lang.CloneNotSupportedException
public TypeValuePair evaluate() throws EvaluationException
EvaluationException
public LValue[] getChildValues()
getChildValues
in interface LValue
getChildValues
in class AbstractLValue
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isConstant()