Uses of Class
org.mvel2.ast.ASTNode
-
Packages that use ASTNode Package Description org.mvel2 org.mvel2.ast org.mvel2.compiler org.mvel2.integration org.mvel2.util -
-
Uses of ASTNode in org.mvel2
Constructors in org.mvel2 with parameters of type ASTNode Constructor Description UnresolveablePropertyException(ASTNode astNode)
UnresolveablePropertyException(ASTNode astNode, java.lang.Throwable throwable)
-
Uses of ASTNode in org.mvel2.ast
Fields in org.mvel2.ast declared as ASTNode Modifier and Type Field Description private ASTNode
Convertable. clsStmt
private ASTNode
Instance. clsStmt
protected ASTNode
BooleanNode. left
private ASTNode
Union. main
ASTNode
ASTNode. nextASTNode
private ASTNode
InterceptorWrapper. node
private ASTNode
RegExMatchNode. node
private ASTNode
RegExMatchNode. patternNode
protected ASTNode
BooleanNode. right
private ASTNode
Soundslike. soundslike
private ASTNode
Strsim. soundslike
private ASTNode
Contains. stmt
private ASTNode
Convertable. stmt
private ASTNode
Instance. stmt
private ASTNode
Soundslike. stmt
private ASTNode
Strsim. stmt
private ASTNode
Contains. stmt2
Methods in org.mvel2.ast that return ASTNode Modifier and Type Method Description ASTNode
Instance. getClassStatement()
ASTNode
Contains. getFirstStatement()
ASTNode
BooleanNode. getLeft()
ASTNode
Union. getMain()
ASTNode
BooleanNode. getRight()
ASTNode
And. getRightMost()
ASTNode
BinaryOperation. getRightMost()
abstract ASTNode
BooleanNode. getRightMost()
ASTNode
Or. getRightMost()
ASTNode
Contains. getSecondStatement()
ASTNode
Soundslike. getSoundslike()
ASTNode
Instance. getStatement()
ASTNode
Soundslike. getStatement()
Methods in org.mvel2.ast with parameters of type ASTNode Modifier and Type Method Description void
BooleanNode. setLeft(ASTNode node)
void
BooleanNode. setRight(ASTNode node)
void
IntDiv. setRight(ASTNode node)
void
And. setRightMost(ASTNode right)
void
BinaryOperation. setRightMost(ASTNode right)
abstract void
BooleanNode. setRightMost(ASTNode right)
void
Or. setRightMost(ASTNode right)
Constructors in org.mvel2.ast with parameters of type ASTNode Constructor Description And(ASTNode left, ASTNode right, boolean strongTyping, ParserContext pCtx)
BinaryOperation(int operation, ASTNode left, ASTNode right, ParserContext ctx)
Contains(ASTNode stmt, ASTNode stmt2, ParserContext pCtx)
Convertable(ASTNode stmt, ASTNode clsStmt, ParserContext pCtx)
Instance(ASTNode stmt, ASTNode clsStmt, ParserContext pCtx)
IntAdd(ASTNode left, ASTNode right, ParserContext pCtx)
IntDiv(ASTNode left, ASTNode right, ParserContext pCtx)
InterceptorWrapper(Interceptor interceptor, ASTNode node, ParserContext pCtx)
IntMult(ASTNode left, ASTNode right, ParserContext pCtx)
IntSub(ASTNode left, ASTNode right, ParserContext pCtx)
Or(ASTNode left, ASTNode right, boolean strongTyping, ParserContext pCtx)
RegExMatchNode(ASTNode matchNode, ASTNode patternNode, ParserContext pCtx)
Soundslike(ASTNode stmt, ASTNode clsStmt, ParserContext pCtx)
Strsim(ASTNode stmt, ASTNode clsStmt, ParserContext pCtx)
Union(char[] expr, int start, int offset, int fields, ASTNode main, ParserContext pCtx)
-
Uses of ASTNode in org.mvel2.compiler
Fields in org.mvel2.compiler declared as ASTNode Modifier and Type Field Description private ASTNode
CompiledExpression. firstNode
protected ASTNode
AbstractParser. lastNode
private ASTNode
ExecutableAccessor. node
private ASTNode
ExecutableAccessorSafe. node
Methods in org.mvel2.compiler that return ASTNode Modifier and Type Method Description private ASTNode
AbstractParser. _captureBlock(ASTNode node, char[] expr, boolean cond, int type)
private ASTNode
AbstractParser. captureCodeBlock(int type)
Capture a code block by type.private ASTNode
AbstractParser. createBlockToken(int condStart, int condEnd, int blockStart, int blockEnd, int type)
Generate a code block token.private ASTNode
AbstractParser. createOperator(char[] expr, int start, int end)
Create an operator node.private ASTNode
AbstractParser. createPropertyToken(int st, int end)
Generate a property tokenASTNode
CompiledExpression. getFirstNode()
ASTNode
ExecutableAccessor. getNode()
ASTNode
ExecutableAccessorSafe. getNode()
ASTNode
AbstractParser. handleSubstatement(Substatement stmt)
protected ASTNode
AbstractParser. handleUnion(ASTNode node)
Handle a union between a closed statement and a residual property chain.protected ASTNode
AbstractParser. nextToken()
Retrieve the next token in the expression.protected ASTNode
AbstractParser. nextTokenSkipSymbols()
private ASTNode
AbstractParser. procTypedNode(boolean decl)
Process the current typed nodeprotected ASTNode
ExpressionCompiler. verify(ParserContext pCtx, ASTNode tk)
Methods in org.mvel2.compiler with parameters of type ASTNode Modifier and Type Method Description private ASTNode
AbstractParser. _captureBlock(ASTNode node, char[] expr, boolean cond, int type)
protected ASTNode
AbstractParser. handleUnion(ASTNode node)
Handle a union between a closed statement and a residual property chain.protected ASTNode
ExpressionCompiler. verify(ParserContext pCtx, ASTNode tk)
Constructors in org.mvel2.compiler with parameters of type ASTNode Constructor Description ExecutableAccessor(ASTNode node, java.lang.Class egress)
ExecutableAccessorSafe(ASTNode node)
ExecutableAccessorSafe(ASTNode node, java.lang.Class returnType)
-
Uses of ASTNode in org.mvel2.integration
Methods in org.mvel2.integration with parameters of type ASTNode Modifier and Type Method Description int
Interceptor. doAfter(java.lang.Object exitStackValue, ASTNode node, VariableResolverFactory factory)
This method is called after the wrapped statement has completed.int
Interceptor. doBefore(ASTNode node, VariableResolverFactory factory)
This method is executed before the wrapped statement. -
Uses of ASTNode in org.mvel2.util
Fields in org.mvel2.util declared as ASTNode Modifier and Type Field Description private ASTNode
ASTLinkedList. current
private ASTNode
ASTLinkedList. firstASTNode
private ASTNode
ASTLinkedList. last
private ASTNode
ASTBinaryTree. root
Methods in org.mvel2.util that return ASTNode Modifier and Type Method Description ASTNode
ASTIterator. firstNode()
ASTNode
ASTLinkedList. firstNode()
ASTNode
ASTLinkedList. firstNonSymbol()
ASTNode
ASTIterator. nextNode()
ASTNode
ASTLinkedList. nextNode()
ASTNode
ASTIterator. nodesAhead(int offset)
ASTNode
ASTLinkedList. nodesAhead(int offset)
ASTNode
ASTIterator. nodesBack(int offset)
ASTNode
ASTLinkedList. nodesBack(int offset)
ASTNode
ASTIterator. peekLast()
ASTNode
ASTLinkedList. peekLast()
ASTNode
ASTIterator. peekNext()
ASTNode
ASTLinkedList. peekNext()
ASTNode
ASTIterator. peekNode()
ASTNode
ASTLinkedList. peekNode()
Methods in org.mvel2.util with parameters of type ASTNode Modifier and Type Method Description void
ASTIterator. addTokenNode(ASTNode node)
void
ASTIterator. addTokenNode(ASTNode node1, ASTNode node2)
void
ASTLinkedList. addTokenNode(ASTNode astNode)
void
ASTLinkedList. addTokenNode(ASTNode astNode, ASTNode token2)
ASTBinaryTree
ASTBinaryTree. append(ASTNode node)
private static BinaryOperation
CompilerTools. boOptimize(int op, ASTNode tk, ASTNode tk2, ParserContext pCtx)
private int
ASTBinaryTree. comparePrecedence(ASTNode node1, ASTNode node2)
static void
CompilerTools. expectType(ParserContext pCtx, ASTNode node, java.lang.Class type, boolean compileMode)
static Accessor
CompilerTools. extractAccessor(ASTNode n)
private static boolean
CompilerTools. isIntOptimizationviolation(BooleanNode bn, ASTNode bn2)
private static boolean
CompilerTools. isReductionOpportunity(ASTNode oper, ASTNode node)
private static void
CompilerTools. optimizeOperator(int operator, ASTNode tk, ASTNode tkOp, ASTLinkedList astLinkedList, ASTLinkedList optimizedAst, ParserContext pCtx)
void
ASTLinkedList. setCurrentNode(ASTNode node)
Constructors in org.mvel2.util with parameters of type ASTNode Constructor Description ASTBinaryTree(ASTNode node)
ASTLinkedList(ASTNode firstASTNode)
ASTLinkedList(ASTNode firstASTNode, int size)
-