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