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

Method AllExpr

parser/gen/cel_parser.go:4407–4426  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4405}
4406
4407func (s *FieldInitializerListContext) AllExpr() []IExprContext {
4408 children := s.GetChildren()
4409 len := 0
4410 for _, ctx := range children {
4411 if _, ok := ctx.(IExprContext); ok {
4412 len++
4413 }
4414 }
4415
4416 tst := make([]IExprContext, len)
4417 i := 0
4418 for _, ctx := range children {
4419 if t, ok := ctx.(IExprContext); ok {
4420 tst[i] = t.(IExprContext)
4421 i++
4422 }
4423 }
4424
4425 return tst
4426}
4427
4428func (s *FieldInitializerListContext) Expr(i int) IExprContext {
4429 var t antlr.RuleContext

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected