()
| 1700 | } |
| 1701 | |
| 1702 | func (s *FnDeclContext) AllParam() []IParamContext { |
| 1703 | children := s.GetChildren() |
| 1704 | len := 0 |
| 1705 | for _, ctx := range children { |
| 1706 | if _, ok := ctx.(IParamContext); ok { |
| 1707 | len++ |
| 1708 | } |
| 1709 | } |
| 1710 | |
| 1711 | tst := make([]IParamContext, len) |
| 1712 | i := 0 |
| 1713 | for _, ctx := range children { |
| 1714 | if t, ok := ctx.(IParamContext); ok { |
| 1715 | tst[i] = t.(IParamContext) |
| 1716 | i++ |
| 1717 | } |
| 1718 | } |
| 1719 | |
| 1720 | return tst |
| 1721 | } |
| 1722 | |
| 1723 | func (s *FnDeclContext) Param(i int) IParamContext { |
| 1724 | var t antlr.RuleContext |
nothing calls this directly
no outgoing calls
no test coverage detected