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, sync
public 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.DefaultErrorStrategy
public void reportMissingToken(org.antlr.v4.runtime.Parser parser)
reportMissingToken
in class org.antlr.v4.runtime.DefaultErrorStrategy
public void reportNoViableAlternative(org.antlr.v4.runtime.Parser parser, org.antlr.v4.runtime.NoViableAltException e)
reportNoViableAlternative
in class org.antlr.v4.runtime.DefaultErrorStrategy
public void reportUnwantedToken(org.antlr.v4.runtime.Parser parser)
reportUnwantedToken
in class org.antlr.v4.runtime.DefaultErrorStrategy
Copyright © 2017 WSO2. All rights reserved.