(recognizer antlr.Parser, e antlr.RecognitionException)
| 292 | } |
| 293 | |
| 294 | func (rl *recoveryLimitErrorStrategy) Recover(recognizer antlr.Parser, e antlr.RecognitionException) { |
| 295 | rl.checkAttempts(recognizer) |
| 296 | lc := &lookaheadConsumer{Parser: recognizer, errorRecoveryTokenLookaheadLimit: rl.errorRecoveryTokenLookaheadLimit} |
| 297 | rl.DefaultErrorStrategy.Recover(lc, e) |
| 298 | } |
| 299 | |
| 300 | func (rl *recoveryLimitErrorStrategy) RecoverInline(recognizer antlr.Parser) antlr.Token { |
| 301 | rl.checkAttempts(recognizer) |
no test coverage detected