Package | Description |
---|---|
org.antlr.v4.runtime.tree.pattern | |
org.antlr.v4.tool |
Modifier and Type | Method and Description |
---|---|
MultiMap<String,ParseTree> |
ParseTreeMatch.getLabels()
Return a mapping from label → [list of nodes].
|
Modifier and Type | Method and Description |
---|---|
protected ParseTree |
ParseTreePatternMatcher.matchImpl(ParseTree tree,
ParseTree patternTree,
MultiMap<String,ParseTree> labels)
|
Constructor and Description |
---|
ParseTreeMatch(ParseTree tree,
ParseTreePattern pattern,
MultiMap<String,ParseTree> labels,
ParseTree mismatchedNode)
Constructs a new instance of
ParseTreeMatch from the specified
parse tree and pattern. |
Modifier and Type | Field and Description |
---|---|
MultiMap<String,Rule> |
LexerGrammar.modes
DEFAULT_MODE rules are added first due to grammar syntax order
|
Copyright © 1992–2020 ANTLR. All rights reserved.