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