(i int)
| 4377 | } |
| 4378 | |
| 4379 | func (s *FieldInitializerListContext) OptField(i int) IOptFieldContext { |
| 4380 | var t antlr.RuleContext |
| 4381 | j := 0 |
| 4382 | for _, ctx := range s.GetChildren() { |
| 4383 | if _, ok := ctx.(IOptFieldContext); ok { |
| 4384 | if j == i { |
| 4385 | t = ctx.(antlr.RuleContext) |
| 4386 | break |
| 4387 | } |
| 4388 | j++ |
| 4389 | } |
| 4390 | } |
| 4391 | |
| 4392 | if t == nil { |
| 4393 | return nil |
| 4394 | } |
| 4395 | |
| 4396 | return t.(IOptFieldContext) |
| 4397 | } |
| 4398 | |
| 4399 | func (s *FieldInitializerListContext) AllCOLON() []antlr.TerminalNode { |
| 4400 | return s.GetTokens(CELParserCOLON) |
nothing calls this directly
no outgoing calls
no test coverage detected