(i int)
| 8842 | } |
| 8843 | |
| 8844 | func (s *MapInitializerListContext) OptExpr(i int) IOptExprContext { |
| 8845 | var t antlr.RuleContext |
| 8846 | j := 0 |
| 8847 | for _, ctx := range s.GetChildren() { |
| 8848 | if _, ok := ctx.(IOptExprContext); ok { |
| 8849 | if j == i { |
| 8850 | t = ctx.(antlr.RuleContext) |
| 8851 | break |
| 8852 | } |
| 8853 | j++ |
| 8854 | } |
| 8855 | } |
| 8856 | |
| 8857 | if t == nil { |
| 8858 | return nil |
| 8859 | } |
| 8860 | |
| 8861 | return t.(IOptExprContext) |
| 8862 | } |
| 8863 | |
| 8864 | func (s *MapInitializerListContext) AllCOLON() []antlr.TerminalNode { |
| 8865 | return s.GetTokens(CommandsParserCOLON) |
nothing calls this directly
no outgoing calls
no test coverage detected