Top Fields Constructors Methods
org.antlr.v4.runtime.tree.xpath

public Class XPathRuleElement

extends XPathElement
Class Inheritance
Imports
org.antlr.v4.runtime.ParserRuleContext, org.antlr.v4.runtime.tree.ParseTree, .Tree, .Trees, java.util.ArrayList, .Collection, .List

Field Summary

Modifier and TypeField and Description
protected int
Inherited from org.antlr.v4.runtime.tree.xpath.XPathElement:
invertnodeName

Constructor Summary

AccessConstructor and Description
public
XPathRuleElement(String ruleName, int ruleIndex)

Method Summary

Modifier and TypeMethod and Description
public Collection<ParseTree>
evaluate(ParseTree t)

Implements abstract org.antlr.v4.runtime.tree.xpath.XPathElement.evaluate.

Given tree rooted at t return all nodes matched by this path element.
Inherited from org.antlr.v4.runtime.tree.xpath.XPathElement:
toString

Field Detail

ruleIndexback to summary
protected int ruleIndex

Constructor Detail

XPathRuleElementback to summary
public XPathRuleElement(String ruleName, int ruleIndex)

Method Detail

evaluateback to summary
public Collection<ParseTree> evaluate(ParseTree t)

Implements abstract org.antlr.v4.runtime.tree.xpath.XPathElement.evaluate.

Doc from org.antlr.v4.runtime.tree.xpath.XPathElement.evaluate.

Given tree rooted at t return all nodes matched by this path element.

Annotations
@Override