public class RunFunctionExpression extends Expression
ExpressionTypes.RUN_FUNCTION.| Constructor and Description |
|---|
RunFunctionExpression(int function,
Expression... arguments)
Creates a run function expression.
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
getArgument(int index)
Returns the argument at the given index of this expression.
|
int |
getFunction()
Returns the function of this expression.
|
int |
getNumArguments()
Returns the number of arguments of this expression.
|
int |
getType()
Returns the type of this expression.
|
public RunFunctionExpression(int function,
Expression... arguments)
function - the function of the expression.arguments - the arguments of the expression.public int getFunction()
public int getNumArguments()
public Expression getArgument(int index)
index - the index of the argument.java.lang.IndexOutOfBoundsException - if the given index is out of range (index < 0 || index >= getNumArguments()).public int getType()
ExpressiongetType in class ExpressionExpressionTypes).