public class XPathTokenAnywhereElement extends XPathElement
Modifier and Type | Field and Description |
---|---|
protected int |
tokenType |
invert, nodeName
Constructor and Description |
---|
XPathTokenAnywhereElement(java.lang.String tokenName,
int tokenType) |
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 XPathTokenAnywhereElement(java.lang.String tokenName, int tokenType)
public java.util.Collection<ParseTree> evaluate(ParseTree t)
XPathElement
t
return all nodes matched by this path
element.evaluate
in class XPathElement