public class XPathRuleElement extends XPathElement
Modifier and Type | Field and Description |
---|---|
protected int |
ruleIndex |
invert, nodeName
Constructor and Description |
---|
XPathRuleElement(java.lang.String ruleName,
int ruleIndex) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ParseTree> |
evaluate(ParseTree t)
Given tree rooted at
t return all nodes matched by this path
element. |
toString
public XPathRuleElement(java.lang.String ruleName, int ruleIndex)
public java.util.Collection<ParseTree> evaluate(ParseTree t)
XPathElement
t
return all nodes matched by this path
element.evaluate
in class XPathElement