Package org.antlr.v4.runtime.tree.xpath
Class XPathElement
- java.lang.Object
-
- org.antlr.v4.runtime.tree.xpath.XPathElement
-
- Direct Known Subclasses:
XPathRuleAnywhereElement
,XPathRuleElement
,XPathTokenAnywhereElement
,XPathTokenElement
,XPathWildcardAnywhereElement
,XPathWildcardElement
public abstract class XPathElement extends Object
-
-
Constructor Summary
Constructors Constructor Description XPathElement(String nodeName)
Construct element like/ID
orID
or/*
etc...
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Collection<ParseTree>
evaluate(ParseTree t)
Given tree rooted att
return all nodes matched by this path element.String
toString()
-