| 31 | namespace cel::common_internal { |
| 32 | |
| 33 | absl::Status LegacyListValue::Equal( |
| 34 | const Value& other, |
| 35 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 36 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 37 | google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull result) const { |
| 38 | if (auto list_value = other.AsList(); list_value.has_value()) { |
| 39 | return ListValueEqual(*this, *list_value, descriptor_pool, message_factory, |
| 40 | arena, result); |
| 41 | } |
| 42 | *result = FalseValue(); |
| 43 | return absl::OkStatus(); |
| 44 | } |
| 45 | |
| 46 | bool IsLegacyListValue(const Value& value) { |
| 47 | return value.variant_.Is<LegacyListValue>(); |
nothing calls this directly
no test coverage detected