public class BallerinaComposerErrorStrategy
extends org.antlr.v4.runtime.DefaultErrorStrategy
| Constructor and Description |
|---|
BallerinaComposerErrorStrategy() |
| Modifier and Type | Method and Description |
|---|---|
List<SyntaxError> |
getErrorTokens() |
void |
reportInputMismatch(org.antlr.v4.runtime.Parser parser,
org.antlr.v4.runtime.InputMismatchException e) |
void |
reportMissingToken(org.antlr.v4.runtime.Parser parser) |
void |
reportNoViableAlternative(org.antlr.v4.runtime.Parser parser,
org.antlr.v4.runtime.NoViableAltException e) |
void |
reportUnwantedToken(org.antlr.v4.runtime.Parser parser) |
void |
setErrorTokens(List<SyntaxError> errorTokens) |
beginErrorCondition, consumeUntil, endErrorCondition, escapeWSAndQuote, getErrorRecoverySet, getExpectedTokens, getMissingSymbol, getSymbolText, getSymbolType, getTokenErrorDisplay, inErrorRecoveryMode, recover, recoverInline, reportError, reportFailedPredicate, reportMatch, reset, singleTokenDeletion, singleTokenInsertion, syncpublic static final String EOF
public List<SyntaxError> getErrorTokens()
public void setErrorTokens(List<SyntaxError> errorTokens)
public void reportInputMismatch(org.antlr.v4.runtime.Parser parser,
org.antlr.v4.runtime.InputMismatchException e)
reportInputMismatch in class org.antlr.v4.runtime.DefaultErrorStrategypublic void reportMissingToken(org.antlr.v4.runtime.Parser parser)
reportMissingToken in class org.antlr.v4.runtime.DefaultErrorStrategypublic void reportNoViableAlternative(org.antlr.v4.runtime.Parser parser,
org.antlr.v4.runtime.NoViableAltException e)
reportNoViableAlternative in class org.antlr.v4.runtime.DefaultErrorStrategypublic void reportUnwantedToken(org.antlr.v4.runtime.Parser parser)
reportUnwantedToken in class org.antlr.v4.runtime.DefaultErrorStrategyCopyright © 2017 WSO2. All rights reserved.