|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttools.blend.LogicTree
public final class LogicTree
These functions turn a tree of ParseTokens (a scanned and parsed expression) into a list of CompareNodes that are wired together through their pass/fail jump labels. The CompareNodes live in a complex tree of logic operators that serve only to wire them together. Once the tree is built and the CompareNodes wired, there is no need for the tree. The list of CompareNodes is ready to be turned into code.
| Method Summary | |
|---|---|
static java.util.List<CompareNode> |
makeLogicTree(ParseToken expression,
java.lang.String tag)
This method returns a list of CompareNodes wired together to implement the given expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.List<CompareNode> makeLogicTree(ParseToken expression,
java.lang.String tag)
throws ExpressionException
expression - the scanned and parsed tree of ParseTokenstag -
ExpressionException - if there are errors in the expression
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||