|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.joost.grammar.Tree
net.sf.joost.grammar.tree.SeqTree
Objects of SeqTree represent nodes of a sequence in the syntax tree of a pattern or an STXPath expression.
| Field Summary |
| Fields inherited from class net.sf.joost.grammar.Tree |
ADD, AND, ATTR, ATTR_LOCAL_WILDCARD, ATTR_URI_WILDCARD, ATTR_WILDCARD, AVT, CDATA_TEST, CHILD, COMMENT_TEST, DDOT, DESC, DIV, DOT, EQ, FUNCTION, GE, GT, LE, left, LIST, lName, LOCAL_WILDCARD, LT, MOD, MULT, NAME_TEST, NE, NODE_TEST, NUMBER, OR, PI_TEST, PREDICATE, right, ROOT, SEQ, STRING, SUB, TEXT_TEST, type, UNION, uri, URI_WILDCARD, value, VALUE, VAR, WILDCARD |
| Constructor Summary | |
SeqTree()
|
|
SeqTree(Tree left,
Tree right)
|
|
| Method Summary | |
Value |
evaluate(Context context,
int top)
Evaluates the current Tree if it represents an expression. |
| Methods inherited from class net.sf.joost.grammar.Tree |
evaluate, getPriority, matches, reverseAssociativity, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SeqTree()
public SeqTree(Tree left,
Tree right)
| Method Detail |
public Value evaluate(Context context,
int top)
throws SAXException
Tree
evaluate in class Treecontext - the current Contexttop - the part of the stack to be considered for the evaluation
(the upper most element is at position top-1)
SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||