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

Function NonNullEnumValue

common/value.cc:317–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315namespace {
316
317Value NonNullEnumValue(const google::protobuf::EnumValueDescriptor* absl_nonnull value) {
318 ABSL_DCHECK(value != nullptr);
319 return IntValue(value->number());
320}
321
322Value NonNullEnumValue(const google::protobuf::EnumDescriptor* absl_nonnull type,
323 int32_t number) {

Callers 3

EnumMethod · 0.85

Calls 3

ErrorValueFunction · 0.85
numberMethod · 0.80
IntValueClass · 0.50

Tested by

no test coverage detected