()
| 8363 | } |
| 8364 | |
| 8365 | func (s *FieldInitializerListContext) AllExpr() []IExprContext { |
| 8366 | children := s.GetChildren() |
| 8367 | len := 0 |
| 8368 | for _, ctx := range children { |
| 8369 | if _, ok := ctx.(IExprContext); ok { |
| 8370 | len++ |
| 8371 | } |
| 8372 | } |
| 8373 | |
| 8374 | tst := make([]IExprContext, len) |
| 8375 | i := 0 |
| 8376 | for _, ctx := range children { |
| 8377 | if t, ok := ctx.(IExprContext); ok { |
| 8378 | tst[i] = t.(IExprContext) |
| 8379 | i++ |
| 8380 | } |
| 8381 | } |
| 8382 | |
| 8383 | return tst |
| 8384 | } |
| 8385 | |
| 8386 | func (s *FieldInitializerListContext) Expr(i int) IExprContext { |
| 8387 | var t antlr.RuleContext |
nothing calls this directly
no outgoing calls
no test coverage detected