| 325 | } |
| 326 | |
| 327 | absl::Status IdentExprFromProto(const ExprProto& proto, |
| 328 | const ExprProto::Ident& ident_proto, |
| 329 | Expr& expr) { |
| 330 | expr.Clear(); |
| 331 | expr.set_id(proto.id()); |
| 332 | auto& ident_expr = expr.mutable_ident_expr(); |
| 333 | ident_expr.set_name(ident_proto.name()); |
| 334 | return absl::OkStatus(); |
| 335 | } |
| 336 | |
| 337 | absl::Status SelectExprFromProto(const ExprProto& proto, |
| 338 | const ExprProto::Select& select_proto, |