Package org.mvel2.util
Class ASTBinaryTree
- java.lang.Object
-
- org.mvel2.util.ASTBinaryTree
-
public class ASTBinaryTree extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ASTBinaryTreeleftprivate ASTBinaryTreerightprivate ASTNoderoot
-
Constructor Summary
Constructors Constructor Description ASTBinaryTree(ASTNode node)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ASTBinaryTreeappend(ASTNode node)static ASTBinaryTreebuildTree(ASTIterator input)private intcomparePrecedence(ASTNode node1, ASTNode node2)java.lang.Class<?>getReturnType(boolean strongTyping)
-
-
-
Field Detail
-
root
private final ASTNode root
-
left
private ASTBinaryTree left
-
right
private ASTBinaryTree right
-
-
Constructor Detail
-
ASTBinaryTree
public ASTBinaryTree(ASTNode node)
-
-
Method Detail
-
append
public ASTBinaryTree append(ASTNode node)
-
getReturnType
public java.lang.Class<?> getReturnType(boolean strongTyping)
-
buildTree
public static ASTBinaryTree buildTree(ASTIterator input)
-
-