| 360 | } |
| 361 | |
| 362 | absl::Status Unparser::VisitAllMacro(const Expr::Comprehension& expr) { |
| 363 | if (expr.loop_step().call_expr().args_size() != 2) { |
| 364 | return absl::InvalidArgumentError( |
| 365 | absl::StrCat("Unexpected all macro: ", expr.ShortDebugString())); |
| 366 | } |
| 367 | |
| 368 | Print(CelOperator::ALL, kLeftParen, expr.iter_var(), kComma, kSpace); |
| 369 | CEL_RETURN_IF_ERROR(Visit(expr.loop_step().call_expr().args(1))); |
| 370 | Print(kRightParen); |
| 371 | return absl::OkStatus(); |
| 372 | } |
| 373 | |
| 374 | absl::Status Unparser::VisitExistsMacro(const Expr::Comprehension& expr) { |
| 375 | if (expr.loop_step().call_expr().args_size() != 2) { |