Package | Description |
---|---|
org.antlr.v4.runtime | |
org.antlr.v4.tool |
Modifier and Type | Class and 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 and Description |
---|---|
protected ANTLRErrorStrategy |
Parser._errHandler
The error handling strategy for the parser.
|
Modifier and Type | Method and Description |
---|---|
ANTLRErrorStrategy |
Parser.getErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
Parser.setErrorHandler(ANTLRErrorStrategy handler) |
Modifier and Type | Class and 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–2020 ANTLR. All rights reserved.