()
| 2726 | } |
| 2727 | |
| 2728 | func (p *GScriptParser) FieldDeclaration() (localctx IFieldDeclarationContext) { |
| 2729 | localctx = NewFieldDeclarationContext(p, p.GetParserRuleContext(), p.GetState()) |
| 2730 | p.EnterRule(localctx, 30, GScriptParserRULE_fieldDeclaration) |
| 2731 | |
| 2732 | defer func() { |
| 2733 | p.ExitRule() |
| 2734 | }() |
| 2735 | |
| 2736 | defer func() { |
| 2737 | if err := recover(); err != nil { |
| 2738 | if v, ok := err.(antlr.RecognitionException); ok { |
| 2739 | localctx.SetException(v) |
| 2740 | p.GetErrorHandler().ReportError(p, v) |
| 2741 | p.GetErrorHandler().Recover(p, v) |
| 2742 | } else { |
| 2743 | panic(err) |
| 2744 | } |
| 2745 | } |
| 2746 | }() |
| 2747 | |
| 2748 | p.EnterOuterAlt(localctx, 1) |
| 2749 | { |
| 2750 | p.SetState(204) |
| 2751 | p.VariableDeclarators() |
| 2752 | } |
| 2753 | { |
| 2754 | p.SetState(205) |
| 2755 | p.Match(GScriptParserT__0) |
| 2756 | } |
| 2757 | |
| 2758 | return localctx |
| 2759 | } |
| 2760 | |
| 2761 | // IVariableDeclaratorsContext is an interface to support dynamic dispatch. |
| 2762 | type IVariableDeclaratorsContext interface { |
no test coverage detected