()
| 4863 | func (s *MapInitializerListContext) SetValues(v []IExprContext) { s.values = v } |
| 4864 | |
| 4865 | func (s *MapInitializerListContext) AllOptExpr() []IOptExprContext { |
| 4866 | children := s.GetChildren() |
| 4867 | len := 0 |
| 4868 | for _, ctx := range children { |
| 4869 | if _, ok := ctx.(IOptExprContext); ok { |
| 4870 | len++ |
| 4871 | } |
| 4872 | } |
| 4873 | |
| 4874 | tst := make([]IOptExprContext, len) |
| 4875 | i := 0 |
| 4876 | for _, ctx := range children { |
| 4877 | if t, ok := ctx.(IOptExprContext); ok { |
| 4878 | tst[i] = t.(IOptExprContext) |
| 4879 | i++ |
| 4880 | } |
| 4881 | } |
| 4882 | |
| 4883 | return tst |
| 4884 | } |
| 4885 | |
| 4886 | func (s *MapInitializerListContext) OptExpr(i int) IOptExprContext { |
| 4887 | var t antlr.RuleContext |
nothing calls this directly
no outgoing calls
no test coverage detected