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

Function CreateSelectStep

eval/eval/select_step.cc:503–509  ·  view source on GitHub ↗

Factory method for Select - based Execution step

Source from the content-addressed store, hash-verified

501
502// Factory method for Select - based Execution step
503absl::StatusOr<std::unique_ptr<ExpressionStep>> CreateSelectStep(
504 const cel::SelectExpr& select_expr, int64_t expr_id,
505 bool enable_wrapper_type_null_unboxing, bool enable_optional_types) {
506 return std::make_unique<SelectStep>(
507 cel::StringValue(select_expr.field()), select_expr.test_only(), expr_id,
508 enable_wrapper_type_null_unboxing, enable_optional_types);
509}
510
511} // namespace google::api::expr::runtime

Callers 2

PostVisitSelectMethod · 0.85
TEST_FFunction · 0.85

Calls 3

test_onlyMethod · 0.80
StringValueClass · 0.50
fieldMethod · 0.45

Tested by 1

TEST_FFunction · 0.68