()
| 2600 | } |
| 2601 | |
| 2602 | func (p *GScriptParser) QualifiedName() (localctx IQualifiedNameContext) { |
| 2603 | localctx = NewQualifiedNameContext(p, p.GetParserRuleContext(), p.GetState()) |
| 2604 | p.EnterRule(localctx, 28, GScriptParserRULE_qualifiedName) |
| 2605 | var _la int |
| 2606 | |
| 2607 | defer func() { |
| 2608 | p.ExitRule() |
| 2609 | }() |
| 2610 | |
| 2611 | defer func() { |
| 2612 | if err := recover(); err != nil { |
| 2613 | if v, ok := err.(antlr.RecognitionException); ok { |
| 2614 | localctx.SetException(v) |
| 2615 | p.GetErrorHandler().ReportError(p, v) |
| 2616 | p.GetErrorHandler().Recover(p, v) |
| 2617 | } else { |
| 2618 | panic(err) |
| 2619 | } |
| 2620 | } |
| 2621 | }() |
| 2622 | |
| 2623 | p.EnterOuterAlt(localctx, 1) |
| 2624 | { |
| 2625 | p.SetState(196) |
| 2626 | p.Match(GScriptParserIDENTIFIER) |
| 2627 | } |
| 2628 | p.SetState(201) |
| 2629 | p.GetErrorHandler().Sync(p) |
| 2630 | _la = p.GetTokenStream().LA(1) |
| 2631 | |
| 2632 | for _la == GScriptParserDOT { |
| 2633 | { |
| 2634 | p.SetState(197) |
| 2635 | p.Match(GScriptParserDOT) |
| 2636 | } |
| 2637 | { |
| 2638 | p.SetState(198) |
| 2639 | p.Match(GScriptParserIDENTIFIER) |
| 2640 | } |
| 2641 | |
| 2642 | p.SetState(203) |
| 2643 | p.GetErrorHandler().Sync(p) |
| 2644 | _la = p.GetTokenStream().LA(1) |
| 2645 | } |
| 2646 | |
| 2647 | return localctx |
| 2648 | } |
| 2649 | |
| 2650 | // IFieldDeclarationContext is an interface to support dynamic dispatch. |
| 2651 | type IFieldDeclarationContext interface { |
no test coverage detected