public class CompletionCustomErrorStrategy extends LSCustomErrorStrategy
Constructor and Description |
---|
CompletionCustomErrorStrategy(LSContext context) |
Modifier and Type | Method and Description |
---|---|
void |
reportInputMismatch(org.antlr.v4.runtime.Parser parser,
org.antlr.v4.runtime.InputMismatchException e) |
void |
reportMatch(org.antlr.v4.runtime.Parser recognizer) |
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 |
sync(org.antlr.v4.runtime.Parser recognizer) |
setContextException
reportError, reportFailedPredicate
beginErrorCondition, consumeUntil, endErrorCondition, escapeWSAndQuote, getErrorRecoverySet, getExpectedTokens, getMissingSymbol, getSymbolText, getSymbolType, getTokenErrorDisplay, inErrorRecoveryMode, recover, recoverInline, reset, singleTokenDeletion, singleTokenInsertion
public CompletionCustomErrorStrategy(LSContext context)
public void reportInputMismatch(org.antlr.v4.runtime.Parser parser, org.antlr.v4.runtime.InputMismatchException e)
reportInputMismatch
in class LSCustomErrorStrategy
public void reportMissingToken(org.antlr.v4.runtime.Parser parser)
reportMissingToken
in class LSCustomErrorStrategy
public void reportNoViableAlternative(org.antlr.v4.runtime.Parser parser, org.antlr.v4.runtime.NoViableAltException e)
reportNoViableAlternative
in class LSCustomErrorStrategy
public void reportUnwantedToken(org.antlr.v4.runtime.Parser parser)
reportUnwantedToken
in class LSCustomErrorStrategy
public void reportMatch(org.antlr.v4.runtime.Parser recognizer)
reportMatch
in interface org.antlr.v4.runtime.ANTLRErrorStrategy
reportMatch
in class org.antlr.v4.runtime.DefaultErrorStrategy
public void sync(org.antlr.v4.runtime.Parser recognizer) throws org.antlr.v4.runtime.RecognitionException
sync
in interface org.antlr.v4.runtime.ANTLRErrorStrategy
sync
in class org.antlr.v4.runtime.DefaultErrorStrategy
org.antlr.v4.runtime.RecognitionException
Copyright © 2018 WSO2. All rights reserved.