public class XPathTokenElement extends XPathElement
Modifier and Type | Field and Description |
---|---|
protected int |
tokenType |
invert, nodeName
Constructor and Description |
---|
XPathTokenElement(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 XPathTokenElement(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–2018 ANTLR. All rights reserved.