| 276 | |
| 277 | public: |
| 278 | absl::Status ExprFromProto(const ExprProto& proto, Expr& expr) { |
| 279 | Push(proto, expr); |
| 280 | Frame frame; |
| 281 | while (Pop(frame)) { |
| 282 | CEL_RETURN_IF_ERROR(ExprFromProtoImpl(*frame.proto, *frame.expr)); |
| 283 | } |
| 284 | return absl::OkStatus(); |
| 285 | } |
| 286 | |
| 287 | private: |
| 288 | absl::Status ExprFromProtoImpl(const ExprProto& proto, Expr& expr) { |