(recognizer antlr.Parser, e antlr.RecognitionException)
| 285 | } |
| 286 | |
| 287 | func (rl *recoveryLimitErrorStrategy) Recover(recognizer antlr.Parser, e antlr.RecognitionException) { |
| 288 | rl.checkAttempts(recognizer) |
| 289 | lc := &lookaheadConsumer{Parser: recognizer, errorRecoveryTokenLookaheadLimit: rl.errorRecoveryTokenLookaheadLimit} |
| 290 | rl.DefaultErrorStrategy.Recover(lc, e) |
| 291 | } |
| 292 | |
| 293 | func (rl *recoveryLimitErrorStrategy) RecoverInline(recognizer antlr.Parser) antlr.Token { |
| 294 | rl.checkAttempts(recognizer) |
no test coverage detected