MCPcopy Create free account
hub / github.com/cel-expr/cel-go / MapInitializerList

Method MapInitializerList

repl/parser/commands_parser.go:6976–6990  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6974}
6975
6976func (s *CreateStructContext) MapInitializerList() IMapInitializerListContext {
6977 var t antlr.RuleContext
6978 for _, ctx := range s.GetChildren() {
6979 if _, ok := ctx.(IMapInitializerListContext); ok {
6980 t = ctx.(antlr.RuleContext)
6981 break
6982 }
6983 }
6984
6985 if t == nil {
6986 return nil
6987 }
6988
6989 return t.(IMapInitializerListContext)
6990}
6991
6992func (s *CreateStructContext) EnterRule(listener antlr.ParseTreeListener) {
6993 if listenerT, ok := listener.(CommandsListener); ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected