Package | Description |
---|---|
org.antlr.v4.runtime | |
org.antlr.v4.tool |
Modifier and Type | Class | Description |
---|---|---|
class |
BailErrorStrategy |
This implementation of
ANTLRErrorStrategy responds to syntax errors
by immediately canceling the parse operation with a
ParseCancellationException . |
class |
DefaultErrorStrategy |
This is the default implementation of
ANTLRErrorStrategy used for
error reporting and recovery in ANTLR parsers. |
Modifier and Type | Field | Description |
---|---|---|
protected ANTLRErrorStrategy |
Parser._errHandler |
The error handling strategy for the parser.
|
Modifier and Type | Method | Description |
---|---|---|
ANTLRErrorStrategy |
Parser.getErrorHandler() |
Modifier and Type | Method | Description |
---|---|---|
void |
Parser.setErrorHandler(ANTLRErrorStrategy handler) |
Modifier and Type | Class | Description |
---|---|---|
static class |
GrammarParserInterpreter.BailButConsumeErrorStrategy |
We want to stop and track the first error but we cannot bail out like
BailErrorStrategy as consume() constructs trees. |
Copyright © 1992–2019 ANTLR. All rights reserved.