Package de.odysseus.el.tree.impl.ast
Class AstNested
- java.lang.Object
-
- de.odysseus.el.tree.impl.ast.AstNode
-
- de.odysseus.el.tree.impl.ast.AstRightValue
-
- de.odysseus.el.tree.impl.ast.AstNested
-
- All Implemented Interfaces:
ExpressionNode,Node
public final class AstNested extends AstRightValue
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendStructure(java.lang.StringBuilder b, Bindings bindings)java.lang.Objecteval(Bindings bindings, javax.el.ELContext context)intgetCardinality()Get the node's number of children.AstNodegetChild(int i)Get i'th childjava.lang.StringtoString()-
Methods inherited from class de.odysseus.el.tree.impl.ast.AstRightValue
getMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue
-
Methods inherited from class de.odysseus.el.tree.impl.ast.AstNode
findAccessibleMethod, getStructuralId, getValue
-
-
-
-
Field Detail
-
child
private final AstNode child
-
-
Constructor Detail
-
AstNested
public AstNested(AstNode child)
-
-
Method Detail
-
eval
public java.lang.Object eval(Bindings bindings, javax.el.ELContext context)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
appendStructure
public void appendStructure(java.lang.StringBuilder b, Bindings bindings)- Specified by:
appendStructurein classAstNode
-
getCardinality
public int getCardinality()
Description copied from interface:NodeGet the node's number of children.
-
-