Class TierDataParserErrorStrategy
java.lang.Object
org.antlr.v4.runtime.DefaultErrorStrategy
ca.phon.session.tierdata.TierDataParserErrorStrategy
- All Implemented Interfaces:
org.antlr.v4.runtime.ANTLRErrorStrategy
public class TierDataParserErrorStrategy
extends org.antlr.v4.runtime.DefaultErrorStrategy
-
Field Summary
Fields inherited from class org.antlr.v4.runtime.DefaultErrorStrategy
errorRecoveryMode, lastErrorIndex, lastErrorStates, nextTokensContext, nextTokensState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrecover(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.RecognitionException e) org.antlr.v4.runtime.TokenrecoverInline(org.antlr.v4.runtime.Parser recognizer) voidreportError(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.RecognitionException e) protected voidreportInputMismatch(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.InputMismatchException e) protected voidreportMissingToken(org.antlr.v4.runtime.Parser recognizer) protected voidreportUnwantedToken(org.antlr.v4.runtime.Parser recognizer) Methods inherited from class org.antlr.v4.runtime.DefaultErrorStrategy
beginErrorCondition, consumeUntil, endErrorCondition, escapeWSAndQuote, getErrorRecoverySet, getExpectedTokens, getMissingSymbol, getSymbolText, getSymbolType, getTokenErrorDisplay, inErrorRecoveryMode, reportFailedPredicate, reportMatch, reportNoViableAlternative, reset, singleTokenDeletion, singleTokenInsertion, sync
-
Constructor Details
-
TierDataParserErrorStrategy
public TierDataParserErrorStrategy()
-
-
Method Details
-
reportError
public void reportError(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.RecognitionException e) - Specified by:
reportErrorin interfaceorg.antlr.v4.runtime.ANTLRErrorStrategy- Overrides:
reportErrorin classorg.antlr.v4.runtime.DefaultErrorStrategy
-
reportInputMismatch
protected void reportInputMismatch(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.InputMismatchException e) - Overrides:
reportInputMismatchin classorg.antlr.v4.runtime.DefaultErrorStrategy
-
reportMissingToken
protected void reportMissingToken(org.antlr.v4.runtime.Parser recognizer) - Overrides:
reportMissingTokenin classorg.antlr.v4.runtime.DefaultErrorStrategy
-
reportUnwantedToken
protected void reportUnwantedToken(org.antlr.v4.runtime.Parser recognizer) - Overrides:
reportUnwantedTokenin classorg.antlr.v4.runtime.DefaultErrorStrategy
-
recover
public void recover(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.RecognitionException e) - Specified by:
recoverin interfaceorg.antlr.v4.runtime.ANTLRErrorStrategy- Overrides:
recoverin 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:
recoverInlinein interfaceorg.antlr.v4.runtime.ANTLRErrorStrategy- Overrides:
recoverInlinein classorg.antlr.v4.runtime.DefaultErrorStrategy- Throws:
org.antlr.v4.runtime.RecognitionException
-