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 |
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) |
setContextException
reportError, reportFailedPredicate
beginErrorCondition, consumeUntil, endErrorCondition, escapeWSAndQuote, getErrorRecoverySet, getExpectedTokens, getMissingSymbol, getSymbolText, getSymbolType, getTokenErrorDisplay, inErrorRecoveryMode, recover, recoverInline, reportMatch, reset, singleTokenDeletion, singleTokenInsertion, sync
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
Copyright © 2018 WSO2. All rights reserved.