()
| 672 | } |
| 673 | |
| 674 | func (p *MangleParser) Program() (localctx IProgramContext) { |
| 675 | localctx = NewProgramContext(p, p.GetParserRuleContext(), p.GetState()) |
| 676 | p.EnterRule(localctx, 2, MangleParserRULE_program) |
| 677 | var _la int |
| 678 | |
| 679 | p.EnterOuterAlt(localctx, 1) |
| 680 | p.SetState(44) |
| 681 | p.GetErrorHandler().Sync(p) |
| 682 | if p.HasError() { |
| 683 | goto errorExit |
| 684 | } |
| 685 | _la = p.GetTokenStream().LA(1) |
| 686 | |
| 687 | if _la == MangleParserPACKAGE { |
| 688 | { |
| 689 | p.SetState(43) |
| 690 | p.PackageDecl() |
| 691 | } |
| 692 | |
| 693 | } |
| 694 | p.SetState(49) |
| 695 | p.GetErrorHandler().Sync(p) |
| 696 | if p.HasError() { |
| 697 | goto errorExit |
| 698 | } |
| 699 | _la = p.GetTokenStream().LA(1) |
| 700 | |
| 701 | for _la == MangleParserUSE { |
| 702 | { |
| 703 | p.SetState(46) |
| 704 | p.UseDecl() |
| 705 | } |
| 706 | |
| 707 | p.SetState(51) |
| 708 | p.GetErrorHandler().Sync(p) |
| 709 | if p.HasError() { |
| 710 | goto errorExit |
| 711 | } |
| 712 | _la = p.GetTokenStream().LA(1) |
| 713 | } |
| 714 | p.SetState(56) |
| 715 | p.GetErrorHandler().Sync(p) |
| 716 | if p.HasError() { |
| 717 | goto errorExit |
| 718 | } |
| 719 | _la = p.GetTokenStream().LA(1) |
| 720 | |
| 721 | for (int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&1088516514127872) != 0 { |
| 722 | p.SetState(54) |
| 723 | p.GetErrorHandler().Sync(p) |
| 724 | if p.HasError() { |
| 725 | goto errorExit |
| 726 | } |
| 727 | |
| 728 | switch p.GetTokenStream().LA(1) { |
| 729 | case MangleParserDECL: |
| 730 | { |
| 731 | p.SetState(52) |
no test coverage detected