(i int)
| 4884 | } |
| 4885 | |
| 4886 | func (s *MapInitializerListContext) OptExpr(i int) IOptExprContext { |
| 4887 | var t antlr.RuleContext |
| 4888 | j := 0 |
| 4889 | for _, ctx := range s.GetChildren() { |
| 4890 | if _, ok := ctx.(IOptExprContext); ok { |
| 4891 | if j == i { |
| 4892 | t = ctx.(antlr.RuleContext) |
| 4893 | break |
| 4894 | } |
| 4895 | j++ |
| 4896 | } |
| 4897 | } |
| 4898 | |
| 4899 | if t == nil { |
| 4900 | return nil |
| 4901 | } |
| 4902 | |
| 4903 | return t.(IOptExprContext) |
| 4904 | } |
| 4905 | |
| 4906 | func (s *MapInitializerListContext) AllCOLON() []antlr.TerminalNode { |
| 4907 | return s.GetTokens(CELParserCOLON) |
nothing calls this directly
no outgoing calls
no test coverage detected