(recognizer antlr.Parser, e antlr.RecognitionException)
| 186 | } |
| 187 | |
| 188 | func (rl *recoveryLimitErrorStrategy) Recover(recognizer antlr.Parser, e antlr.RecognitionException) { |
| 189 | rl.checkAttempts(recognizer) |
| 190 | lc := &lookaheadConsumer{Parser: recognizer, errorRecoveryTokenLookaheadLimit: rl.errorRecoveryTokenLookaheadLimit} |
| 191 | rl.DefaultErrorStrategy.Recover(lc, e) |
| 192 | } |
| 193 | |
| 194 | func (rl *recoveryLimitErrorStrategy) RecoverInline(recognizer antlr.Parser) antlr.Token { |
| 195 | rl.checkAttempts(recognizer) |
no test coverage detected