public class XPathTokenAnywhereElement extends XPathElement
Modifier and Type | Field and Description |
---|---|
protected int |
tokenType |
invert, nodeName
Constructor and Description |
---|
XPathTokenAnywhereElement(String tokenName,
int tokenType) |
Modifier and Type | Method and Description |
---|---|
Collection<ParseTree> |
evaluate(ParseTree t)
Given tree rooted at
t return all nodes matched by this path
element. |
toString
public XPathTokenAnywhereElement(String tokenName, int tokenType)
public Collection<ParseTree> evaluate(ParseTree t)
XPathElement
t
return all nodes matched by this path
element.evaluate
in class XPathElement
Copyright © 1992-2016 ANTLR. All Rights Reserved.