MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / CreateValueFromMapValue

Function CreateValueFromMapValue

eval/public/containers/field_access.cc:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62absl::Status CreateValueFromMapValue(const google::protobuf::Message* msg,
63 const FieldDescriptor* desc,
64 const MapValueConstRef* value_ref,
65 google::protobuf::Arena* arena, CelValue* result) {
66 CEL_ASSIGN_OR_RETURN(
67 *result,
68 internal::CreateValueFromMapValue(
69 msg, desc, value_ref, &CelProtoWrapper::InternalWrapMessage, arena));
70 return absl::OkStatus();
71}
72
73absl::Status SetValueToSingleField(const CelValue& value,
74 const FieldDescriptor* desc, Message* msg,

Callers 1

operator[]Method · 0.70

Calls 1

CEL_ASSIGN_OR_RETURNFunction · 0.50

Tested by

no test coverage detected