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

Function mustAdaptToExprs

cel/macro.go:532–538  ·  view source on GitHub ↗
(exprs []*exprpb.Expr)

Source from the content-addressed store, hash-verified

530}
531
532func mustAdaptToExprs(exprs []*exprpb.Expr) []ast.Expr {
533 adapted := make([]ast.Expr, len(exprs))
534 for i, e := range exprs {
535 adapted[i] = mustAdaptToExpr(e)
536 }
537 return adapted
538}
539
540func mustAdaptToExpr(e *exprpb.Expr) ast.Expr {
541 out, _ := adaptToExpr(e)

Callers 7

ExistsMacroExpanderFunction · 0.85
ExistsOneMacroExpanderFunction · 0.85
MapMacroExpanderFunction · 0.85
FilterMacroExpanderFunction · 0.85
NewListMethod · 0.85
GlobalCallMethod · 0.85
ReceiverCallMethod · 0.85

Calls 1

mustAdaptToExprFunction · 0.85

Tested by

no test coverage detected