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

Method Contains

common/values/list_value.cc:163–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163absl::Status ListValue::Contains(
164 const Value& other,
165 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
166 google::protobuf::MessageFactory* absl_nonnull message_factory,
167 google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull result) const {
168 ABSL_DCHECK(descriptor_pool != nullptr);
169 ABSL_DCHECK(message_factory != nullptr);
170 ABSL_DCHECK(arena != nullptr);
171 ABSL_DCHECK(result != nullptr);
172
173 return variant_.Visit([&](const auto& alternative) -> absl::Status {
174 return alternative.Contains(other, descriptor_pool, message_factory, arena,
175 result);
176 });
177}
178
179namespace common_internal {
180

Callers 7

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

Calls 1

VisitMethod · 0.45

Tested by 7

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