MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / CreateProgram

Method CreateProgram

extensions/protobuf/runtime_adapter.cc:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27namespace cel::extensions {
28
29absl::StatusOr<std::unique_ptr<TraceableProgram>>
30ProtobufRuntimeAdapter::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
37absl::StatusOr<std::unique_ptr<TraceableProgram>>
38ProtobufRuntimeAdapter::CreateProgram(

Callers 6

TEST_PFunction · 0.45
CompileAndEvalExprFunction · 0.45
TEST_PFunction · 0.45
TESTFunction · 0.45
RunMethod · 0.45
CreateProgramFunction · 0.45

Calls 1

Tested by 6

TEST_PFunction · 0.36
CompileAndEvalExprFunction · 0.36
TEST_PFunction · 0.36
TESTFunction · 0.36
RunMethod · 0.36
CreateProgramFunction · 0.36