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

Function mustAdaptToProto

cel/macro.go:561–564  ·  view source on GitHub ↗
(e ast.Expr)

Source from the content-addressed store, hash-verified

559}
560
561func mustAdaptToProto(e ast.Expr) *exprpb.Expr {
562 out, _ := adaptToProto(e)
563 return out
564}
565
566func adaptToProto(e ast.Expr) (*exprpb.Expr, *Error) {
567 if e == nil {

Callers 15

CopyMethod · 0.85
LiteralBoolMethod · 0.85
LiteralBytesMethod · 0.85
LiteralDoubleMethod · 0.85
LiteralIntMethod · 0.85
LiteralStringMethod · 0.85
LiteralUintMethod · 0.85
NewListMethod · 0.85
NewMapMethod · 0.85
NewObjectMethod · 0.85
FoldMethod · 0.85
IdentMethod · 0.85

Calls 1

adaptToProtoFunction · 0.85

Tested by

no test coverage detected