public class XPathRuleAnywhereElement extends XPathElement
ID
at start of path or ...//ID
in middle of path.Modifier and Type | Field | Description |
---|---|---|
protected int |
ruleIndex |
invert, nodeName
Constructor | Description |
---|---|
XPathRuleAnywhereElement(String ruleName,
int ruleIndex) |
Modifier and Type | Method | Description |
---|---|---|
Collection<ParseTree> |
evaluate(ParseTree t) |
Given tree rooted at
t return all nodes matched by this path
element. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toString
public XPathRuleAnywhereElement(String ruleName, int ruleIndex)
public Collection<ParseTree> evaluate(ParseTree t)
XPathElement
t
return all nodes matched by this path
element.evaluate
in class XPathElement
Copyright © 1992–2018 ANTLR. All rights reserved.