Package es.urjc.etsii.grafo.autoconfig
Class BailErrorStrategy
java.lang.Object
org.antlr.v4.runtime.DefaultErrorStrategy
es.urjc.etsii.grafo.autoconfig.BailErrorStrategy
- All Implemented Interfaces:
org.antlr.v4.runtime.ANTLRErrorStrategy
public class BailErrorStrategy
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) voidsync(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, reportError, reportFailedPredicate, reportInputMismatch, reportMatch, reportMissingToken, reportNoViableAlternative, reportUnwantedToken, reset, singleTokenDeletion, singleTokenInsertion
-
Constructor Details
-
BailErrorStrategy
public BailErrorStrategy()
-
-
Method Details
-
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
-
sync
public void sync(org.antlr.v4.runtime.Parser recognizer) throws org.antlr.v4.runtime.RecognitionException - Specified by:
syncin interfaceorg.antlr.v4.runtime.ANTLRErrorStrategy- Overrides:
syncin classorg.antlr.v4.runtime.DefaultErrorStrategy- Throws:
org.antlr.v4.runtime.RecognitionException
-