public class XPathRuleElement extends XPathElement
| Modifier and Type | Field and Description |
|---|---|
protected int |
ruleIndex |
invert, nodeName| Constructor and Description |
|---|
XPathRuleElement(String ruleName,
int ruleIndex) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ParseTree> |
evaluate(ParseTree t)
Given tree rooted at
t return all nodes matched by this path
element. |
toStringpublic XPathRuleElement(String ruleName, int ruleIndex)
public Collection<ParseTree> evaluate(ParseTree t)
XPathElementt return all nodes matched by this path
element.evaluate in class XPathElementCopyright © 1992-2015 ANTLR. All Rights Reserved.