public class FormulaFunction extends AbstractLValue
| Constructor and Description |
|---|
FormulaFunction(String functionName,
LValue[] parameters) |
FormulaFunction(String functionName,
LValue[] parameters,
ParsePosition parsePosition) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
TypeValuePair |
evaluate() |
LValue[] |
getChildValues()
Returns any dependent lvalues (parameters and operands, mostly).
|
Function |
getFunction()
Returns the initialized function.
|
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.
|
String |
toString() |
getContext, getParsePosition, getValueType, setParsePositionpublic FormulaFunction(String functionName, LValue[] parameters, ParsePosition parsePosition)
public void initialize(FormulaContext context) throws EvaluationException
initialize in interface LValueinitialize in class AbstractLValueEvaluationExceptionpublic String getFunctionName()
public Function getFunction()
public FunctionDescription getMetaData()
public Object clone() throws CloneNotSupportedException
clone in interface LValueclone in class AbstractLValueCloneNotSupportedExceptionpublic TypeValuePair evaluate() throws EvaluationException
EvaluationExceptionpublic LValue[] getChildValues()
getChildValues in interface LValuegetChildValues in class AbstractLValuepublic boolean isConstant()