Package com.evolveum.axiom.lang.antlr
Class AxiomQueryErrorStrategy
java.lang.Object
org.antlr.v4.runtime.DefaultErrorStrategy
com.evolveum.axiom.lang.antlr.AxiomQueryErrorStrategy
- All Implemented Interfaces:
org.antlr.v4.runtime.ANTLRErrorStrategy
public class AxiomQueryErrorStrategy
extends org.antlr.v4.runtime.DefaultErrorStrategy
Created by Dominik.
-
Field Summary
Fields inherited from class org.antlr.v4.runtime.DefaultErrorStrategy
errorRecoveryMode, lastErrorIndex, lastErrorStates, nextTokensContext, nextTokensState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
recover
(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.RecognitionException e) 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) Methods inherited from class org.antlr.v4.runtime.DefaultErrorStrategy
beginErrorCondition, consumeUntil, endErrorCondition, escapeWSAndQuote, getErrorRecoverySet, getExpectedTokens, getMissingSymbol, getSymbolText, getSymbolType, getTokenErrorDisplay, inErrorRecoveryMode, reportFailedPredicate, reportInputMismatch, reportMatch, reportMissingToken, reportNoViableAlternative, reportUnwantedToken, reset, singleTokenDeletion, singleTokenInsertion, sync
-
Field Details
-
recognitionsSet
-
-
Constructor Details
-
AxiomQueryErrorStrategy
public AxiomQueryErrorStrategy()
-
-
Method Details
-
recover
public void recover(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.RecognitionException e) - Specified by:
recover
in interfaceorg.antlr.v4.runtime.ANTLRErrorStrategy
- Overrides:
recover
in classorg.antlr.v4.runtime.DefaultErrorStrategy
-
recoverInline
public org.antlr.v4.runtime.Token recoverInline(org.antlr.v4.runtime.Parser recognizer) throws org.antlr.v4.runtime.RecognitionException - Specified by:
recoverInline
in interfaceorg.antlr.v4.runtime.ANTLRErrorStrategy
- Overrides:
recoverInline
in classorg.antlr.v4.runtime.DefaultErrorStrategy
- Throws:
org.antlr.v4.runtime.RecognitionException
-
reportError
public void reportError(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.RecognitionException e) - Specified by:
reportError
in interfaceorg.antlr.v4.runtime.ANTLRErrorStrategy
- Overrides:
reportError
in classorg.antlr.v4.runtime.DefaultErrorStrategy
-