()
| 4405 | } |
| 4406 | |
| 4407 | func (s *FieldInitializerListContext) AllExpr() []IExprContext { |
| 4408 | children := s.GetChildren() |
| 4409 | len := 0 |
| 4410 | for _, ctx := range children { |
| 4411 | if _, ok := ctx.(IExprContext); ok { |
| 4412 | len++ |
| 4413 | } |
| 4414 | } |
| 4415 | |
| 4416 | tst := make([]IExprContext, len) |
| 4417 | i := 0 |
| 4418 | for _, ctx := range children { |
| 4419 | if t, ok := ctx.(IExprContext); ok { |
| 4420 | tst[i] = t.(IExprContext) |
| 4421 | i++ |
| 4422 | } |
| 4423 | } |
| 4424 | |
| 4425 | return tst |
| 4426 | } |
| 4427 | |
| 4428 | func (s *FieldInitializerListContext) Expr(i int) IExprContext { |
| 4429 | var t antlr.RuleContext |
nothing calls this directly
no outgoing calls
no test coverage detected