public final class AstFunction extends AstRightValue implements FunctionNode
| Constructor and Description |
|---|
AstFunction(java.lang.String name,
int index,
java.util.List<AstNode> nodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendStructure(java.lang.StringBuilder b,
Bindings bindings) |
java.lang.Object |
eval(Bindings bindings,
ELContext context) |
int |
getCardinality()
Get the node's number of children.
|
AstNode |
getChild(int i)
Get i'th child
|
int |
getIndex()
Get the unique index of this identifier in the expression (e.g.
|
java.lang.String |
getName()
Get the full function name
|
int |
getParamCount()
Get the number of parameters for this function
|
java.lang.String |
toString() |
getMethodInfo, getType, invoke, isLeftValue, isLiteralText, isReadOnly, setValuegetStructuralId, getValuepublic AstFunction(java.lang.String name,
int index,
java.util.List<AstNode> nodes)
public java.lang.String toString()
toString in class java.lang.Objectpublic void appendStructure(java.lang.StringBuilder b,
Bindings bindings)
appendStructure in class AstNodepublic int getIndex()
FunctionNodegetIndex in interface FunctionNodepublic java.lang.String getName()
FunctionNodegetName in interface FunctionNodepublic int getParamCount()
FunctionNodegetParamCount in interface FunctionNodepublic int getCardinality()
NodegetCardinality in interface Node