F - Function typepublic final class FunctionExpression<F extends Function<?>> extends LambdaExpression
| Modifier and Type | Class and Description |
|---|---|
static interface |
FunctionExpression.Invokable
Function that can be invoked with a variable number of arguments.
|
| Modifier and Type | Field and Description |
|---|---|
BlockStatement |
body |
F |
function |
List<ParameterExpression> |
parameterList |
nodeType, type| Constructor and Description |
|---|
FunctionExpression(Class<F> type,
BlockStatement body,
List<ParameterExpression> parameters) |
FunctionExpression(F function) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
accept(Visitor visitor) |
FunctionExpression.Invokable |
compile() |
boolean |
equals(Object o) |
F |
getFunction() |
int |
hashCode() |
canReduceaccept, evaluate, getNodeType, getType, toStringpublic final BlockStatement body
public final List<ParameterExpression> parameterList
public FunctionExpression(F function)
public FunctionExpression(Class<F> type, BlockStatement body, List<ParameterExpression> parameters)
public Expression accept(Visitor visitor)
accept in interface Nodeaccept in class LambdaExpressionpublic FunctionExpression.Invokable compile()
public F getFunction()
public boolean equals(Object o)
equals in class AbstractNodepublic int hashCode()
hashCode in class AbstractNodeCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.