()
| 8821 | func (s *MapInitializerListContext) SetValues(v []IExprContext) { s.values = v } |
| 8822 | |
| 8823 | func (s *MapInitializerListContext) AllOptExpr() []IOptExprContext { |
| 8824 | children := s.GetChildren() |
| 8825 | len := 0 |
| 8826 | for _, ctx := range children { |
| 8827 | if _, ok := ctx.(IOptExprContext); ok { |
| 8828 | len++ |
| 8829 | } |
| 8830 | } |
| 8831 | |
| 8832 | tst := make([]IOptExprContext, len) |
| 8833 | i := 0 |
| 8834 | for _, ctx := range children { |
| 8835 | if t, ok := ctx.(IOptExprContext); ok { |
| 8836 | tst[i] = t.(IOptExprContext) |
| 8837 | i++ |
| 8838 | } |
| 8839 | } |
| 8840 | |
| 8841 | return tst |
| 8842 | } |
| 8843 | |
| 8844 | func (s *MapInitializerListContext) OptExpr(i int) IOptExprContext { |
| 8845 | var t antlr.RuleContext |
nothing calls this directly
no outgoing calls
no test coverage detected