| 107 | } |
| 108 | |
| 109 | absl::Status IdentExprToProto(const Expr& expr, const IdentExpr& ident_expr, |
| 110 | ExprProto* absl_nonnull proto) { |
| 111 | proto->Clear(); |
| 112 | auto* ident_proto = proto->mutable_ident_expr(); |
| 113 | proto->set_id(expr.id()); |
| 114 | ident_proto->set_name(ident_expr.name()); |
| 115 | return absl::OkStatus(); |
| 116 | } |
| 117 | |
| 118 | absl::Status SelectExprToProto(const Expr& expr, |
| 119 | const SelectExpr& select_expr, |