| 27 | namespace cel::extensions { |
| 28 | |
| 29 | absl::StatusOr<std::unique_ptr<TraceableProgram>> |
| 30 | ProtobufRuntimeAdapter::CreateProgram( |
| 31 | const Runtime& runtime, const cel::expr::CheckedExpr& expr, |
| 32 | const Runtime::CreateProgramOptions options) { |
| 33 | CEL_ASSIGN_OR_RETURN(auto ast, CreateAstFromCheckedExpr(expr)); |
| 34 | return runtime.CreateTraceableProgram(std::move(ast), options); |
| 35 | } |
| 36 | |
| 37 | absl::StatusOr<std::unique_ptr<TraceableProgram>> |
| 38 | ProtobufRuntimeAdapter::CreateProgram( |