| Package | Description |
|---|---|
| org.antlr.runtime | |
| org.antlr.runtime.debug | |
| org.antlr.runtime.tree |
| Modifier and Type | Field | Description |
|---|---|---|
protected RecognizerSharedState |
BaseRecognizer.state |
State of a lexer, parser, or tree parser are collected into a state
object so the state can be shared.
|
| Constructor | Description |
|---|---|
BaseRecognizer(RecognizerSharedState state) |
|
Lexer(CharStream input,
RecognizerSharedState state) |
|
Parser(TokenStream input,
RecognizerSharedState state) |
|
RecognizerSharedState(RecognizerSharedState state) |
| Constructor | Description |
|---|---|
DebugParser(TokenStream input,
DebugEventListener dbg,
RecognizerSharedState state) |
Create a normal parser except wrap the token stream in a debug
proxy that fires consume events.
|
DebugParser(TokenStream input,
RecognizerSharedState state) |
|
DebugTreeParser(TreeNodeStream input,
DebugEventListener dbg,
RecognizerSharedState state) |
Create a normal parser except wrap the token stream in a debug
proxy that fires consume events.
|
DebugTreeParser(TreeNodeStream input,
RecognizerSharedState state) |
| Constructor | Description |
|---|---|
TreeFilter(TreeNodeStream input,
RecognizerSharedState state) |
|
TreeParser(TreeNodeStream input,
RecognizerSharedState state) |
|
TreeRewriter(TreeNodeStream input,
RecognizerSharedState state) |
Copyright © 1992–2019 ANTLR. All rights reserved.