| Package | Description |
|---|---|
| org.antlr.v4.runtime | |
| org.antlr.v4.tool |
| Constructor and Description |
|---|
ParserInterpreter(ParserInterpreter old)
A copy constructor that creates a new parser interpreter by reusing
the fields of a previous interpreter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GrammarParserInterpreter
A heavier weight
ParserInterpreter that creates parse trees
that track alternative numbers for subtree roots. |
| Modifier and Type | Method and Description |
|---|---|
ParserInterpreter |
Grammar.createParserInterpreter(TokenStream tokenStream) |
static ParserInterpreter |
GrammarParserInterpreter.deriveTempParserInterpreter(Grammar g,
Parser originalParser,
TokenStream tokens)
Derive a new parser from an old one that has knowledge of the grammar.
|
| Modifier and Type | Method and Description |
|---|---|
static List<ParserRuleContext> |
GrammarParserInterpreter.getLookaheadParseTrees(Grammar g,
ParserInterpreter originalParser,
TokenStream tokens,
int startRuleIndex,
int decision,
int startIndex,
int stopIndex)
Return a list of parse trees, one for each alternative in a decision
given the same input.
|
Copyright © 1992–2020 Tunnel Vision Laboratories, LLC. All rights reserved.