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, waitcopy, eval, getType, reducepublic static final Expression[] NO_ARGS
protected Expression[] parameterExpressions
public Expression propagateVisitor(ExpressionVisitor visitor)
ExpressionpropagateVisitor in interface Expressionvisitor - the visitor to invoke for all child nodes and on the node itselfpublic boolean isConstant()
ExpressionisConstant in interface Expressionprotected void copyParametersTo(Call target)
public void setParameters(List<Expression> parameters)
parameters - the parameters to applyCopyright © 2018. All rights reserved.