public class ErrorStrategy
extends org.antlr.v4.runtime.DefaultErrorStrategy
| Constructor and Description |
|---|
ErrorStrategy() |
| Modifier and Type | Method and Description |
|---|---|
org.antlr.v4.runtime.Token |
recoverInline(org.antlr.v4.runtime.Parser recognizer) |
void |
reportError(org.antlr.v4.runtime.Parser recognizer,
org.antlr.v4.runtime.RecognitionException e) |
protected void |
reportMissingToken(org.antlr.v4.runtime.Parser recognizer) |
beginErrorCondition, consumeUntil, endErrorCondition, escapeWSAndQuote, getErrorRecoverySet, getExpectedTokens, getMissingSymbol, getSymbolText, getSymbolType, getTokenErrorDisplay, inErrorRecoveryMode, recover, reportFailedPredicate, reportInputMismatch, reportMatch, reportNoViableAlternative, reportUnwantedToken, reset, singleTokenDeletion, singleTokenInsertion, syncpublic void reportError(org.antlr.v4.runtime.Parser recognizer,
org.antlr.v4.runtime.RecognitionException e)
reportError in interface org.antlr.v4.runtime.ANTLRErrorStrategyreportError in class org.antlr.v4.runtime.DefaultErrorStrategypublic org.antlr.v4.runtime.Token recoverInline(org.antlr.v4.runtime.Parser recognizer)
recoverInline in interface org.antlr.v4.runtime.ANTLRErrorStrategyrecoverInline in class org.antlr.v4.runtime.DefaultErrorStrategyprotected void reportMissingToken(org.antlr.v4.runtime.Parser recognizer)
reportMissingToken in class org.antlr.v4.runtime.DefaultErrorStrategyCopyright © 2009–2018 SonarSource. All rights reserved.