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

Method Expr

parser/gen/cel_parser.go:4935–4953  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

4933}
4934
4935func (s *MapInitializerListContext) Expr(i int) IExprContext {
4936 var t antlr.RuleContext
4937 j := 0
4938 for _, ctx := range s.GetChildren() {
4939 if _, ok := ctx.(IExprContext); ok {
4940 if j == i {
4941 t = ctx.(antlr.RuleContext)
4942 break
4943 }
4944 j++
4945 }
4946 }
4947
4948 if t == nil {
4949 return nil
4950 }
4951
4952 return t.(IExprContext)
4953}
4954
4955func (s *MapInitializerListContext) AllCOMMA() []antlr.TerminalNode {
4956 return s.GetTokens(CELParserCOMMA)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected