| 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,LabelElementPair> |
Alternative.labelDefs
A list of all LabelElementPair attached to tokens like id=ID, ids+=ID
|
MultiMap<String,Rule> |
LexerGrammar.modes
DEFAULT_MODE rules are added first due to grammar syntax order
|
MultiMap<String,GrammarAST> |
Alternative.ruleRefs |
MultiMap<String,GrammarAST> |
Alternative.ruleRefsInActions |
MultiMap<String,TerminalAST> |
Alternative.tokenRefs |
MultiMap<String,GrammarAST> |
Alternative.tokenRefsInActions |
| Modifier and Type | Method and Description |
|---|---|
MultiMap<String,LabelElementPair> |
Rule.getElementLabelDefs() |
Copyright © 1992–2015 ANTLR. All rights reserved.