MCPcopy Create free account
hub / github.com/crossoverJie/gscript / QualifiedNameList

Method QualifiedNameList

parser/gscript_parser.go:1731–1777  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1729}
1730
1731func (p *GScriptParser) QualifiedNameList() (localctx IQualifiedNameListContext) {
1732 localctx = NewQualifiedNameListContext(p, p.GetParserRuleContext(), p.GetState())
1733 p.EnterRule(localctx, 16, GScriptParserRULE_qualifiedNameList)
1734 var _la int
1735
1736 defer func() {
1737 p.ExitRule()
1738 }()
1739
1740 defer func() {
1741 if err := recover(); err != nil {
1742 if v, ok := err.(antlr.RecognitionException); ok {
1743 localctx.SetException(v)
1744 p.GetErrorHandler().ReportError(p, v)
1745 p.GetErrorHandler().Recover(p, v)
1746 } else {
1747 panic(err)
1748 }
1749 }
1750 }()
1751
1752 p.EnterOuterAlt(localctx, 1)
1753 {
1754 p.SetState(146)
1755 p.QualifiedName()
1756 }
1757 p.SetState(151)
1758 p.GetErrorHandler().Sync(p)
1759 _la = p.GetTokenStream().LA(1)
1760
1761 for _la == GScriptParserT__1 {
1762 {
1763 p.SetState(147)
1764 p.Match(GScriptParserT__1)
1765 }
1766 {
1767 p.SetState(148)
1768 p.QualifiedName()
1769 }
1770
1771 p.SetState(153)
1772 p.GetErrorHandler().Sync(p)
1773 _la = p.GetTokenStream().LA(1)
1774 }
1775
1776 return localctx
1777}
1778
1779// IFormalParametersContext is an interface to support dynamic dispatch.
1780type IFormalParametersContext interface {

Callers 1

FunctionDeclarationMethod · 0.95

Calls 4

QualifiedNameMethod · 0.95
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected