Uses of Class
de.odysseus.el.tree.impl.ast.AstNode
-
Packages that use AstNode Package Description de.odysseus.el.tree.impl de.odysseus.el.tree.impl.ast -
-
Uses of AstNode in de.odysseus.el.tree.impl
Methods in de.odysseus.el.tree.impl that return AstNode Modifier and Type Method Description protected AstNode
Parser. add(boolean required)
add := add (<PLUS> mul | <MINUS> mul)*protected AstNode
Parser. and(boolean required)
and := eq (<AND> eq)*protected AstNode
Parser. cmp(boolean required)
cmp := add (<LT> add | <LE> add | <GE> add | <GT> add)*abstract AstNode
Parser.ExtensionHandler. createAstNode(AstNode... children)
Called by the parser if it handles a extended token associated with this handler at the appropriate extension point.protected AstNode
Parser. eq(boolean required)
eq := cmp (<EQ> cmp | <NE> cmp)*protected AstNode
Parser. expr(boolean required)
expr := or (<QUESTION> expr <COLON> expr)?protected AstNode
Parser. literal()
literal := <TRUE> | <FALSE> | <STRING> | <INTEGER> | <FLOAT> | <NULL>protected AstNode
Parser. mul(boolean required)
mul := unary (<MUL> unary | <DIV> unary | <MOD> unary)*protected AstNode
Parser. nonliteral()
nonliteral := <IDENTIFIER> | function | <LPAREN> expr <RPAREN> function := (<IDENTIFIER> <COLON>)? <IDENTIFIER> <LPAREN> list? <RPAREN>protected AstNode
Parser. or(boolean required)
or := and (<OR> and)*protected AstNode
Parser. text()
text := <TEXT>protected AstNode
Parser. unary(boolean required)
unary := <NOT> unary | <MINUS> unary | <EMPTY> unary | valueprotected AstNode
Parser. value()
value := (nonliteral | literal) (<DOT> <IDENTIFIER> | <LBRACK> expr <RBRACK>)*Methods in de.odysseus.el.tree.impl with parameters of type AstNode Modifier and Type Method Description protected AstBinary
Parser. createAstBinary(AstNode left, AstNode right, AstBinary.Operator operator)
protected AstBracket
Parser. createAstBracket(AstNode base, AstNode property, boolean lvalue, boolean strict)
protected AstChoice
Parser. createAstChoice(AstNode question, AstNode yes, AstNode no)
protected AstDot
Parser. createAstDot(AstNode base, java.lang.String property, boolean lvalue)
abstract AstNode
Parser.ExtensionHandler. createAstNode(AstNode... children)
Called by the parser if it handles a extended token associated with this handler at the appropriate extension point.protected AstUnary
Parser. createAstUnary(AstNode child, AstUnary.Operator operator)
Method parameters in de.odysseus.el.tree.impl with type arguments of type AstNode Modifier and Type Method Description protected AstComposite
Parser. createAstComposite(java.util.List<AstNode> nodes)
-
Uses of AstNode in de.odysseus.el.tree.impl.ast
Subclasses of AstNode in de.odysseus.el.tree.impl.ast Modifier and Type Class Description class
AstBinary
class
AstBoolean
class
AstBracket
class
AstChoice
class
AstComposite
class
AstDot
class
AstEval
class
AstFunction
class
AstIdentifier
class
AstLiteral
class
AstMethod
class
AstNested
class
AstNull
class
AstNumber
class
AstParameters
class
AstProperty
class
AstRightValue
class
AstString
class
AstText
class
AstUnary
Fields in de.odysseus.el.tree.impl.ast declared as AstNode Modifier and Type Field Description private AstNode
AstEval. child
private AstNode
AstNested. child
private AstNode
AstUnary. child
private AstNode
AstBinary. left
private AstNode
AstChoice. no
protected AstNode
AstProperty. prefix
protected AstNode
AstBracket. property
private AstNode
AstChoice. question
private AstNode
AstBinary. right
private AstNode
AstChoice. yes
Fields in de.odysseus.el.tree.impl.ast with type parameters of type AstNode Modifier and Type Field Description private java.util.List<AstNode>
AstComposite. nodes
private java.util.List<AstNode>
AstParameters. nodes
Methods in de.odysseus.el.tree.impl.ast that return AstNode Modifier and Type Method Description AstNode
AstBinary. getChild(int i)
AstNode
AstBracket. getChild(int i)
AstNode
AstChoice. getChild(int i)
AstNode
AstComposite. getChild(int i)
AstNode
AstEval. getChild(int i)
AstNode
AstFunction. getChild(int i)
AstNode
AstIdentifier. getChild(int i)
AstNode
AstLiteral. getChild(int i)
AstNode
AstNested. getChild(int i)
AstNode
AstParameters. getChild(int i)
AstNode
AstProperty. getChild(int i)
AstNode
AstText. getChild(int i)
AstNode
AstUnary. getChild(int i)
protected AstNode
AstFunction. getParam(int i)
protected AstNode
AstProperty. getPrefix()
Methods in de.odysseus.el.tree.impl.ast with parameters of type AstNode Modifier and Type Method Description java.lang.Object
AstBinary.Operator. eval(Bindings bindings, javax.el.ELContext context, AstNode left, AstNode right)
java.lang.Object
AstBinary.SimpleOperator. eval(Bindings bindings, javax.el.ELContext context, AstNode left, AstNode right)
java.lang.Object
AstUnary.Operator. eval(Bindings bindings, javax.el.ELContext context, AstNode node)
java.lang.Object
AstUnary.SimpleOperator. eval(Bindings bindings, javax.el.ELContext context, AstNode node)
Constructors in de.odysseus.el.tree.impl.ast with parameters of type AstNode Constructor Description AstBinary(AstNode left, AstNode right, AstBinary.Operator operator)
AstBracket(AstNode base, AstNode property, boolean lvalue, boolean strict)
AstBracket(AstNode base, AstNode property, boolean lvalue, boolean strict, boolean ignoreReturnType)
AstChoice(AstNode question, AstNode yes, AstNode no)
AstDot(AstNode base, java.lang.String property, boolean lvalue)
AstDot(AstNode base, java.lang.String property, boolean lvalue, boolean ignoreReturnType)
AstEval(AstNode child, boolean deferred)
AstNested(AstNode child)
AstProperty(AstNode prefix, boolean lvalue, boolean strict)
AstProperty(AstNode prefix, boolean lvalue, boolean strict, boolean ignoreReturnType)
AstUnary(AstNode child, AstUnary.Operator operator)
Constructor parameters in de.odysseus.el.tree.impl.ast with type arguments of type AstNode Constructor Description AstComposite(java.util.List<AstNode> nodes)
AstParameters(java.util.List<AstNode> nodes)
-