()
| 421 | } |
| 422 | |
| 423 | func (p *MangleParser) Start_() (localctx IStartContext) { |
| 424 | localctx = NewStartContext(p, p.GetParserRuleContext(), p.GetState()) |
| 425 | p.EnterRule(localctx, 0, MangleParserRULE_start) |
| 426 | p.EnterOuterAlt(localctx, 1) |
| 427 | { |
| 428 | p.SetState(40) |
| 429 | p.Program() |
| 430 | } |
| 431 | { |
| 432 | p.SetState(41) |
| 433 | p.Match(MangleParserEOF) |
| 434 | if p.HasError() { |
| 435 | // Recognition error - abort rule |
| 436 | goto errorExit |
| 437 | } |
| 438 | } |
| 439 | |
| 440 | errorExit: |
| 441 | if p.HasError() { |
| 442 | v := p.GetError() |
| 443 | localctx.SetException(v) |
| 444 | p.GetErrorHandler().ReportError(p, v) |
| 445 | p.GetErrorHandler().Recover(p, v) |
| 446 | p.SetError(nil) |
| 447 | } |
| 448 | p.ExitRule() |
| 449 | return localctx |
| 450 | goto errorExit // Trick to prevent compiler error if the label is not used |
| 451 | } |
| 452 | |
| 453 | // IProgramContext is an interface to support dynamic dispatch. |
| 454 | type IProgramContext interface { |
no test coverage detected