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

Method AllExpr

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

Source from the content-addressed store, hash-verified

8363}
8364
8365func (s *FieldInitializerListContext) AllExpr() []IExprContext {
8366 children := s.GetChildren()
8367 len := 0
8368 for _, ctx := range children {
8369 if _, ok := ctx.(IExprContext); ok {
8370 len++
8371 }
8372 }
8373
8374 tst := make([]IExprContext, len)
8375 i := 0
8376 for _, ctx := range children {
8377 if t, ok := ctx.(IExprContext); ok {
8378 tst[i] = t.(IExprContext)
8379 i++
8380 }
8381 }
8382
8383 return tst
8384}
8385
8386func (s *FieldInitializerListContext) Expr(i int) IExprContext {
8387 var t antlr.RuleContext

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected