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

Method AllExpr

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

Source from the content-addressed store, hash-verified

4912}
4913
4914func (s *MapInitializerListContext) AllExpr() []IExprContext {
4915 children := s.GetChildren()
4916 len := 0
4917 for _, ctx := range children {
4918 if _, ok := ctx.(IExprContext); ok {
4919 len++
4920 }
4921 }
4922
4923 tst := make([]IExprContext, len)
4924 i := 0
4925 for _, ctx := range children {
4926 if t, ok := ctx.(IExprContext); ok {
4927 tst[i] = t.(IExprContext)
4928 i++
4929 }
4930 }
4931
4932 return tst
4933}
4934
4935func (s *MapInitializerListContext) Expr(i int) IExprContext {
4936 var t antlr.RuleContext

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected