|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mvel.util.CompilerTools
public class CompilerTools
Constructor Summary | |
---|---|
CompilerTools()
|
Method Summary | |
---|---|
static boolean |
isOperator(char item)
|
static ASTLinkedList |
optimizeAST(ASTLinkedList astLinkedList,
boolean secondPassOptimization)
Optimize the AST, by reducing any stack-based-operations to dedicated nodes where possible. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompilerTools()
Method Detail |
---|
public static ASTLinkedList optimizeAST(ASTLinkedList astLinkedList, boolean secondPassOptimization)
astLinkedList
- - AST to be optimized.secondPassOptimization
- - perform a second pass optimization to optimize boolean expressions.
public static boolean isOperator(char item)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |