(i int)
| 1721 | } |
| 1722 | |
| 1723 | func (s *FnDeclContext) Param(i int) IParamContext { |
| 1724 | var t antlr.RuleContext |
| 1725 | j := 0 |
| 1726 | for _, ctx := range s.GetChildren() { |
| 1727 | if _, ok := ctx.(IParamContext); ok { |
| 1728 | if j == i { |
| 1729 | t = ctx.(antlr.RuleContext) |
| 1730 | break |
| 1731 | } |
| 1732 | j++ |
| 1733 | } |
| 1734 | } |
| 1735 | |
| 1736 | if t == nil { |
| 1737 | return nil |
| 1738 | } |
| 1739 | |
| 1740 | return t.(IParamContext) |
| 1741 | } |
| 1742 | |
| 1743 | func (s *FnDeclContext) AllCOMMA() []antlr.TerminalNode { |
| 1744 | return s.GetTokens(CommandsParserCOMMA) |
nothing calls this directly
no outgoing calls
no test coverage detected