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 ASTNodeConvertable. clsStmtprivate ASTNodeInstance. clsStmtprotected ASTNodeBooleanNode. leftprivate ASTNodeUnion. mainASTNodeASTNode. nextASTNodeprivate ASTNodeInterceptorWrapper. nodeprivate ASTNodeRegExMatchNode. nodeprivate ASTNodeRegExMatchNode. patternNodeprotected ASTNodeBooleanNode. rightprivate ASTNodeSoundslike. soundslikeprivate ASTNodeStrsim. soundslikeprivate ASTNodeContains. stmtprivate ASTNodeConvertable. stmtprivate ASTNodeInstance. stmtprivate ASTNodeSoundslike. stmtprivate ASTNodeStrsim. stmtprivate ASTNodeContains. stmt2Methods in org.mvel2.ast that return ASTNode Modifier and Type Method Description ASTNodeInstance. getClassStatement()ASTNodeContains. getFirstStatement()ASTNodeBooleanNode. getLeft()ASTNodeUnion. getMain()ASTNodeBooleanNode. getRight()ASTNodeAnd. getRightMost()ASTNodeBinaryOperation. getRightMost()abstract ASTNodeBooleanNode. getRightMost()ASTNodeOr. getRightMost()ASTNodeContains. getSecondStatement()ASTNodeSoundslike. getSoundslike()ASTNodeInstance. getStatement()ASTNodeSoundslike. getStatement()Methods in org.mvel2.ast with parameters of type ASTNode Modifier and Type Method Description private intBinaryOperation. getOperandType(ASTNode node)voidBooleanNode. setLeft(ASTNode node)voidBooleanNode. setRight(ASTNode node)voidIntDiv. setRight(ASTNode node)voidAnd. setRightMost(ASTNode right)voidBinaryOperation. setRightMost(ASTNode right)abstract voidBooleanNode. setRightMost(ASTNode right)voidOr. 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 ASTNodeCompiledExpression. firstNodeprotected ASTNodeAbstractParser. lastNodeprivate ASTNodeExecutableAccessor. nodeprivate ASTNodeExecutableAccessorSafe. nodeMethods in org.mvel2.compiler that return ASTNode Modifier and Type Method Description private ASTNodeAbstractParser. _captureBlock(ASTNode node, char[] expr, boolean cond, int type)private ASTNodeAbstractParser. captureCodeBlock(int type)Capture a code block by type.private ASTNodeAbstractParser. createBlockToken(int condStart, int condEnd, int blockStart, int blockEnd, int type)Generate a code block token.private ASTNodeAbstractParser. createOperator(char[] expr, int start, int end)Create an operator node.private ASTNodeAbstractParser. createPropertyToken(int st, int end)Generate a property tokenASTNodeCompiledExpression. getFirstNode()ASTNodeExecutableAccessor. getNode()ASTNodeExecutableAccessorSafe. getNode()ASTNodeAbstractParser. handleSubstatement(Substatement stmt)protected ASTNodeAbstractParser. handleUnion(ASTNode node)Handle a union between a closed statement and a residual property chain.protected ASTNodeAbstractParser. nextToken()Retrieve the next token in the expression.protected ASTNodeAbstractParser. nextTokenSkipSymbols()private ASTNodeAbstractParser. procTypedNode(boolean decl)Process the current typed nodeprotected ASTNodeExpressionCompiler. verify(ParserContext pCtx, ASTNode tk)Methods in org.mvel2.compiler with parameters of type ASTNode Modifier and Type Method Description private ASTNodeAbstractParser. _captureBlock(ASTNode node, char[] expr, boolean cond, int type)protected ASTNodeAbstractParser. handleUnion(ASTNode node)Handle a union between a closed statement and a residual property chain.protected ASTNodeExpressionCompiler. 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 intInterceptor. doAfter(java.lang.Object exitStackValue, ASTNode node, VariableResolverFactory factory)This method is called after the wrapped statement has completed.intInterceptor. 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 ASTNodeASTLinkedList. currentprivate ASTNodeASTLinkedList. firstASTNodeprivate ASTNodeASTLinkedList. lastprivate ASTNodeASTBinaryTree. rootMethods in org.mvel2.util that return ASTNode Modifier and Type Method Description ASTNodeASTIterator. firstNode()ASTNodeASTLinkedList. firstNode()ASTNodeASTLinkedList. firstNonSymbol()ASTNodeASTIterator. nextNode()ASTNodeASTLinkedList. nextNode()ASTNodeASTIterator. nodesAhead(int offset)ASTNodeASTLinkedList. nodesAhead(int offset)ASTNodeASTIterator. nodesBack(int offset)ASTNodeASTLinkedList. nodesBack(int offset)ASTNodeASTIterator. peekLast()ASTNodeASTLinkedList. peekLast()ASTNodeASTIterator. peekNext()ASTNodeASTLinkedList. peekNext()ASTNodeASTIterator. peekNode()ASTNodeASTLinkedList. peekNode()Methods in org.mvel2.util with parameters of type ASTNode Modifier and Type Method Description voidASTIterator. addTokenNode(ASTNode node)voidASTIterator. addTokenNode(ASTNode node1, ASTNode node2)voidASTLinkedList. addTokenNode(ASTNode astNode)voidASTLinkedList. addTokenNode(ASTNode astNode, ASTNode token2)ASTBinaryTreeASTBinaryTree. append(ASTNode node)private static BinaryOperationCompilerTools. boOptimize(int op, ASTNode tk, ASTNode tk2, ParserContext pCtx)private intASTBinaryTree. comparePrecedence(ASTNode node1, ASTNode node2)static voidCompilerTools. expectType(ParserContext pCtx, ASTNode node, java.lang.Class type, boolean compileMode)static AccessorCompilerTools. extractAccessor(ASTNode n)private static booleanCompilerTools. isIntOptimizationviolation(BooleanNode bn, ASTNode bn2)private static booleanCompilerTools. isReductionOpportunity(ASTNode oper, ASTNode node)private static voidCompilerTools. optimizeOperator(int operator, ASTNode tk, ASTNode tkOp, ASTLinkedList astLinkedList, ASTLinkedList optimizedAst, ParserContext pCtx)voidASTLinkedList. 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)
-