Modifier and Type | Field and Description |
---|---|
static FunctionParameter[] |
parameters
Parameters: condition, execution statements
|
Constructor and Description |
---|
Whiledo()
Create a new instance of function while do
|
Modifier and Type | Method and Description |
---|---|
Value |
applyTo(Expression[] args)
Invokes the function using the given arguments and returns the result.
|
String |
getIdentifier()
Returns the operator's string identirifer.
|
FunctionParameter[] |
getParameters()
Returns the parameters of the function.
|
boolean |
isVarArg()
Returns whether the function accepts a variable number of arguments,
i.e. whether the function's parameter list is unbounded.
|
public static final FunctionParameter[] parameters
public Whiledo()
public String getIdentifier()
Function
getIdentifier
in interface Function
public Value applyTo(Expression[] args) throws IllegalValueTypeException
Function
applyTo
in interface Function
IllegalValueTypeException
public FunctionParameter[] getParameters()
Function
getParameters
in interface Function