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

Method Has

common/values/map_value.cc:170–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170absl::Status MapValue::Has(
171 const Value& key,
172 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
173 google::protobuf::MessageFactory* absl_nonnull message_factory,
174 google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull result) const {
175 ABSL_DCHECK(descriptor_pool != nullptr);
176 ABSL_DCHECK(message_factory != nullptr);
177 ABSL_DCHECK(arena != nullptr);
178 ABSL_DCHECK(result != nullptr);
179
180 return variant_.Visit([&](const auto& alternative) -> absl::Status {
181 return alternative.Has(key, descriptor_pool, message_factory, arena,
182 result);
183 });
184}
185
186absl::Status MapValue::ListKeys(
187 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,

Callers 4

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

VisitMethod · 0.45

Tested by 4

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36