| 335 | } |
| 336 | |
| 337 | absl::Status SelectExprFromProto(const ExprProto& proto, |
| 338 | const ExprProto::Select& select_proto, |
| 339 | Expr& expr) { |
| 340 | expr.Clear(); |
| 341 | expr.set_id(proto.id()); |
| 342 | auto& select_expr = expr.mutable_select_expr(); |
| 343 | if (select_proto.has_operand()) { |
| 344 | Push(select_proto.operand(), select_expr.mutable_operand()); |
| 345 | } |
| 346 | select_expr.set_field(select_proto.field()); |
| 347 | select_expr.set_test_only(select_proto.test_only()); |
| 348 | return absl::OkStatus(); |
| 349 | } |
| 350 | |
| 351 | absl::Status CallExprFromProto(const ExprProto& proto, |
| 352 | const ExprProto::Call& call_proto, |
nothing calls this directly
no test coverage detected