()
| 4356 | func (s *FieldInitializerListContext) SetValues(v []IExprContext) { s.values = v } |
| 4357 | |
| 4358 | func (s *FieldInitializerListContext) AllOptField() []IOptFieldContext { |
| 4359 | children := s.GetChildren() |
| 4360 | len := 0 |
| 4361 | for _, ctx := range children { |
| 4362 | if _, ok := ctx.(IOptFieldContext); ok { |
| 4363 | len++ |
| 4364 | } |
| 4365 | } |
| 4366 | |
| 4367 | tst := make([]IOptFieldContext, len) |
| 4368 | i := 0 |
| 4369 | for _, ctx := range children { |
| 4370 | if t, ok := ctx.(IOptFieldContext); ok { |
| 4371 | tst[i] = t.(IOptFieldContext) |
| 4372 | i++ |
| 4373 | } |
| 4374 | } |
| 4375 | |
| 4376 | return tst |
| 4377 | } |
| 4378 | |
| 4379 | func (s *FieldInitializerListContext) OptField(i int) IOptFieldContext { |
| 4380 | var t antlr.RuleContext |
nothing calls this directly
no outgoing calls
no test coverage detected