public abstract class XPathElement extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
invert |
protected String |
nodeName |
Constructor and Description |
---|
XPathElement(String nodeName)
Construct element like
/ID or ID or /* etc... |
Modifier and Type | Method and Description |
---|---|
abstract Collection<ParseTree> |
evaluate(ParseTree t)
Given tree rooted at
t return all nodes matched by this path
element. |
String |
toString() |
Copyright © 1992–2016 ANTLR. All rights reserved.