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

Function mustAdaptToProtoEntry

cel/macro.go:577–580  ·  view source on GitHub ↗
(e ast.EntryExpr)

Source from the content-addressed store, hash-verified

575}
576
577func mustAdaptToProtoEntry(e ast.EntryExpr) *exprpb.Expr_CreateStruct_Entry {
578 out, _ := ast.EntryExprToProto(e)
579 return out
580}
581
582func toParserHelper(meh MacroExprHelper) (parser.ExprHelper, *Error) {
583 ah, ok := meh.(*adaptingHelper)

Callers 2

NewMapEntryMethod · 0.85
NewObjectFieldInitMethod · 0.85

Calls 1

EntryExprToProtoFunction · 0.92

Tested by

no test coverage detected