You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following calls are made from within ParserATNSimulator for reporting purposes only. The results of the call do not have any direct impact on parsing.
ANTLRErrorStrategy.reportError This one can't be moved. Generated code calls this method and the error strategy determines what/when to report to the listener.
ANTLRErrorStrategy.reportAmbiguity
ANTLRErrorStrategy.reportAttemptingFullContext
ANTLRErrorStrategy.reportContextSensitivity
ANTLRErrorStrategy.reportInsufficientPredicates
These methods are more appropriate as part of the ANTLRErrorListener interface.
If someone does need an error strategy where behavior is dependent on these callbacks, it would be easy to simply implement both ANTLRErrorStrategy and ANTLRErrorListener on the same object.
The text was updated successfully, but these errors were encountered:
The following calls are made from within
ParserATNSimulator
for reporting purposes only. The results of the call do not have any direct impact on parsing.This one can't be moved. Generated code calls this method and the error strategy determines what/when to report to the listener.ANTLRErrorStrategy.reportError
ANTLRErrorStrategy.reportAmbiguity
ANTLRErrorStrategy.reportAttemptingFullContext
ANTLRErrorStrategy.reportContextSensitivity
ANTLRErrorStrategy.reportInsufficientPredicates
These methods are more appropriate as part of the
ANTLRErrorListener
interface.If someone does need an error strategy where behavior is dependent on these callbacks, it would be easy to simply implement both
ANTLRErrorStrategy
andANTLRErrorListener
on the same object.The text was updated successfully, but these errors were encountered: