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 void
appendStructure(java.lang.StringBuilder b, Bindings bindings)
java.lang.Object
eval(Bindings bindings, javax.el.ELContext context)
int
getCardinality()
Get the node's number of children.AstNode
getChild(int i)
Get i'th childjava.lang.String
toString()
-
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:
toString
in classjava.lang.Object
-
appendStructure
public void appendStructure(java.lang.StringBuilder b, Bindings bindings)
- Specified by:
appendStructure
in classAstNode
-
getCardinality
public int getCardinality()
Description copied from interface:Node
Get the node's number of children.
-
-