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() |
canReduce
accept, evaluate, getNodeType, getType, toString
public 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 Node
accept
in class LambdaExpression
public FunctionExpression.Invokable compile()
public F getFunction()
public boolean equals(Object o)
equals
in class AbstractNode
public int hashCode()
hashCode
in class AbstractNode
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.