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

Method AddSubplanStep

eval/compiler/flat_expr_builder_extensions.cc:460–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458}
459
460absl::Status PlannerContext::AddSubplanStep(
461 const cel::Expr& node, std::unique_ptr<ExpressionStep> step) {
462 auto* subexpression = program_builder_.GetSubexpression(&node);
463
464 if (subexpression == nullptr) {
465 return absl::InternalError(
466 "attempted to update program step for untracked expr node");
467 }
468
469 subexpression->AddStep(std::move(step));
470
471 return absl::OkStatus();
472}
473
474} // namespace google::api::expr::runtime

Callers 2

TEST_FFunction · 0.80
OnPostVisitMethod · 0.80

Calls 1

AddStepMethod · 0.45

Tested by 1

TEST_FFunction · 0.64