Uses of Class
org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
-
Packages that use ParseTreeMatch Package Description org.antlr.v4.runtime.tree.pattern -
-
Uses of ParseTreeMatch in org.antlr.v4.runtime.tree.pattern
Methods in org.antlr.v4.runtime.tree.pattern that return ParseTreeMatch Modifier and Type Method Description ParseTreeMatch
ParseTreePattern. match(ParseTree tree)
Match a specific parse tree against this tree pattern.ParseTreeMatch
ParseTreePatternMatcher. match(ParseTree tree, String pattern, int patternRuleIndex)
Comparepattern
matched as rulepatternRuleIndex
againsttree
and return aParseTreeMatch
object that contains the matched elements, or the node at which the match failed.ParseTreeMatch
ParseTreePatternMatcher. match(ParseTree tree, ParseTreePattern pattern)
Comparepattern
matched againsttree
and return aParseTreeMatch
object that contains the matched elements, or the node at which the match failed.Methods in org.antlr.v4.runtime.tree.pattern that return types with arguments of type ParseTreeMatch Modifier and Type Method Description List<ParseTreeMatch>
ParseTreePattern. findAll(ParseTree tree, String xpath)
Find all nodes using XPath and then try to match those subtrees against this tree pattern.
-