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, setParsePosition
public FormulaFunction(String functionName, LValue[] parameters, ParsePosition parsePosition)
public void initialize(FormulaContext context) throws EvaluationException
initialize
in interface LValue
initialize
in class AbstractLValue
EvaluationException
public String getFunctionName()
public Function getFunction()
public FunctionDescription getMetaData()
public Object clone() throws CloneNotSupportedException
clone
in interface LValue
clone
in class AbstractLValue
CloneNotSupportedException
public TypeValuePair evaluate() throws EvaluationException
EvaluationException
public LValue[] getChildValues()
getChildValues
in interface LValue
getChildValues
in class AbstractLValue
public boolean isConstant()
Copyright © 2017 Hitachi Vantara. All rights reserved.