public abstract class AstNode extends Object implements ExpressionNode
| Constructor and Description | 
|---|
| AstNode() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | appendStructure(StringBuilder builder,
               Bindings bindings) | 
| abstract Object | eval(Bindings bindings,
    ELContext context) | 
| String | getStructuralId(Bindings bindings)Get the canonical expression string for this node. | 
| Object | getValue(Bindings bindings,
        ELContext context,
        Class<?> type)evaluate and return the (optionally coerced) result. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValuegetCardinality, getChildpublic final Object getValue(Bindings bindings, ELContext context, Class<?> type)
getValue in interface ExpressionNodebindings - bindings containing variables and functionscontext - evaluation contexttype - result typepublic abstract void appendStructure(StringBuilder builder, Bindings bindings)
public final String getStructuralId(Bindings bindings)
ExpressionNode"${foo:bar()+2*foobar}" may lead to
 "${<fn>() + 2 * <var>}" if foobar is a bound variable.
 Otherwise, the structural id would be "${<fn>() + 2 * foobar}".
 
 If the bindings is null, the full canonical subexpression is returned.getStructuralId in interface ExpressionNodeCopyright © 2018. All rights reserved.