()
| 2541 | } |
| 2542 | |
| 2543 | func (p *CommandsParser) Empty() (localctx IEmptyContext) { |
| 2544 | localctx = NewEmptyContext(p, p.GetParserRuleContext(), p.GetState()) |
| 2545 | p.EnterRule(localctx, 20, CommandsParserRULE_empty) |
| 2546 | p.EnterOuterAlt(localctx, 1) |
| 2547 | |
| 2548 | errorExit: |
| 2549 | if p.HasError() { |
| 2550 | v := p.GetError() |
| 2551 | localctx.SetException(v) |
| 2552 | p.GetErrorHandler().ReportError(p, v) |
| 2553 | p.GetErrorHandler().Recover(p, v) |
| 2554 | p.SetError(nil) |
| 2555 | } |
| 2556 | p.ExitRule() |
| 2557 | return localctx |
| 2558 | goto errorExit // Trick to prevent compiler error if the label is not used |
| 2559 | } |
| 2560 | |
| 2561 | // ICompileContext is an interface to support dynamic dispatch. |
| 2562 | type ICompileContext interface { |
no test coverage detected