(i int)
| 8335 | } |
| 8336 | |
| 8337 | func (s *FieldInitializerListContext) OptField(i int) IOptFieldContext { |
| 8338 | var t antlr.RuleContext |
| 8339 | j := 0 |
| 8340 | for _, ctx := range s.GetChildren() { |
| 8341 | if _, ok := ctx.(IOptFieldContext); ok { |
| 8342 | if j == i { |
| 8343 | t = ctx.(antlr.RuleContext) |
| 8344 | break |
| 8345 | } |
| 8346 | j++ |
| 8347 | } |
| 8348 | } |
| 8349 | |
| 8350 | if t == nil { |
| 8351 | return nil |
| 8352 | } |
| 8353 | |
| 8354 | return t.(IOptFieldContext) |
| 8355 | } |
| 8356 | |
| 8357 | func (s *FieldInitializerListContext) AllCOLON() []antlr.TerminalNode { |
| 8358 | return s.GetTokens(CommandsParserCOLON) |
nothing calls this directly
no outgoing calls
no test coverage detected