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, setParsePositionpublic 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 LValueinitialize in class AbstractLValueEvaluationExceptionpublic java.lang.String getFunctionName()
public Function getFunction()
public FunctionDescription getMetaData()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface LValueclone in class AbstractLValuejava.lang.CloneNotSupportedExceptionpublic TypeValuePair evaluate() throws EvaluationException
EvaluationExceptionpublic LValue[] getChildValues()
getChildValues in interface LValuegetChildValues in class AbstractLValuepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isConstant()