| 488 | } |
| 489 | |
| 490 | absl::StatusOr<Value> EqualOverloadImpl( |
| 491 | const Value& lhs, const Value& rhs, |
| 492 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 493 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 494 | google::protobuf::Arena* absl_nonnull arena) { |
| 495 | CEL_ASSIGN_OR_RETURN(absl::optional<bool> result, |
| 496 | runtime_internal::ValueEqualImpl( |
| 497 | lhs, rhs, descriptor_pool, message_factory, arena)); |
| 498 | if (result.has_value()) { |
| 499 | return BoolValue(*result); |
| 500 | } |
| 501 | return ErrorValue( |
| 502 | cel::runtime_internal::CreateNoMatchingOverloadError(kEqual)); |
| 503 | } |
| 504 | |
| 505 | absl::StatusOr<Value> InequalOverloadImpl( |
| 506 | const Value& lhs, const Value& rhs, |
nothing calls this directly
no test coverage detected