public abstract class Call extends Object implements Expression
Modifier and Type | Field and Description |
---|---|
static Expression[] |
NO_ARGS
A placeholder to represent "no arguments", which is preferred over null or creating an empty array each
time.
|
protected Expression[] |
parameterExpressions |
Constructor and Description |
---|
Call() |
Modifier and Type | Method and Description |
---|---|
protected void |
copyParametersTo(Call target) |
boolean |
isConstant()
Determines if the expression is constant.
|
Expression |
propagateVisitor(ExpressionVisitor visitor)
Visits all child nodes and then the node itself.
|
void |
setParameters(List<Expression> parameters)
Applies the parameters to evaluate and pass the to invocation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copy, eval, getType, reduce
public static final Expression[] NO_ARGS
protected Expression[] parameterExpressions
public Expression propagateVisitor(ExpressionVisitor visitor)
Expression
propagateVisitor
in interface Expression
visitor
- the visitor to invoke for all child nodes and on the node itselfpublic boolean isConstant()
Expression
isConstant
in interface Expression
protected void copyParametersTo(Call target)
public void setParameters(List<Expression> parameters)
parameters
- the parameters to applyCopyright © 2018. All rights reserved.