F - Function typepublic final class FunctionExpression<F extends Function<?>> extends LambdaExpression
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
FunctionExpression.Invokable
Function that can be invoked with a variable number of arguments.
|
| 限定符和类型 | 字段和说明 |
|---|---|
BlockStatement |
body |
F |
function |
List<ParameterExpression> |
parameterList |
nodeType, type| 构造器和说明 |
|---|
FunctionExpression(Class<F> type,
BlockStatement body,
List<ParameterExpression> parameters) |
FunctionExpression(F function) |
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
accept(Shuttle shuttle) |
<R> R |
accept(Visitor<R> 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(Shuttle shuttle)
accept 在接口中 Nodeaccept 在类中 LambdaExpressionpublic <R> R accept(Visitor<R> visitor)
accept 在接口中 Nodeaccept 在类中 LambdaExpressionpublic FunctionExpression.Invokable compile()
public F getFunction()
public boolean equals(Object o)
equals 在类中 AbstractNodepublic int hashCode()
hashCode 在类中 AbstractNodeCopyright © 2012-2020 Apache Software Foundation. All Rights Reserved.