(i int)
| 8891 | } |
| 8892 | |
| 8893 | func (s *MapInitializerListContext) Expr(i int) IExprContext { |
| 8894 | var t antlr.RuleContext |
| 8895 | j := 0 |
| 8896 | for _, ctx := range s.GetChildren() { |
| 8897 | if _, ok := ctx.(IExprContext); ok { |
| 8898 | if j == i { |
| 8899 | t = ctx.(antlr.RuleContext) |
| 8900 | break |
| 8901 | } |
| 8902 | j++ |
| 8903 | } |
| 8904 | } |
| 8905 | |
| 8906 | if t == nil { |
| 8907 | return nil |
| 8908 | } |
| 8909 | |
| 8910 | return t.(IExprContext) |
| 8911 | } |
| 8912 | |
| 8913 | func (s *MapInitializerListContext) AllCOMMA() []antlr.TerminalNode { |
| 8914 | return s.GetTokens(CommandsParserCOMMA) |
nothing calls this directly
no outgoing calls
no test coverage detected