Package de.odysseus.el.tree.impl.ast
Class AstBracket
- java.lang.Object
-
- de.odysseus.el.tree.impl.ast.AstNode
-
- de.odysseus.el.tree.impl.ast.AstProperty
-
- de.odysseus.el.tree.impl.ast.AstBracket
-
- All Implemented Interfaces:
ExpressionNode
,Node
public class AstBracket extends AstProperty
-
-
Field Summary
Fields Modifier and Type Field Description protected AstNode
property
-
Fields inherited from class de.odysseus.el.tree.impl.ast.AstProperty
ignoreReturnType, lvalue, prefix, strict
-
-
Constructor Summary
Constructors Constructor Description AstBracket(AstNode base, AstNode property, boolean lvalue, boolean strict)
AstBracket(AstNode base, AstNode property, boolean lvalue, boolean strict, boolean ignoreReturnType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendStructure(java.lang.StringBuilder b, Bindings bindings)
int
getCardinality()
Get the node's number of children.AstNode
getChild(int i)
Get i'th childprotected java.lang.Object
getProperty(Bindings bindings, javax.el.ELContext context)
java.lang.String
toString()
-
Methods inherited from class de.odysseus.el.tree.impl.ast.AstProperty
eval, findMethod, getMethodInfo, getPrefix, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue
-
Methods inherited from class de.odysseus.el.tree.impl.ast.AstNode
findAccessibleMethod, getStructuralId, getValue
-
-
-
-
Field Detail
-
property
protected final AstNode property
-
-
Method Detail
-
getProperty
protected java.lang.Object getProperty(Bindings bindings, javax.el.ELContext context) throws javax.el.ELException
- Specified by:
getProperty
in classAstProperty
- Throws:
javax.el.ELException
-
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.
-
-