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

Function CreateCreateListStep

eval/eval/create_list_step.cc:267–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267absl::StatusOr<std::unique_ptr<ExpressionStep>> CreateCreateListStep(
268 const cel::ListExpr& create_list_expr, int64_t expr_id) {
269 return std::make_unique<CreateListStep>(
270 expr_id, create_list_expr.elements().size(),
271 MakeOptionalIndicesSet(create_list_expr));
272}
273
274std::unique_ptr<ExpressionStep> CreateMutableListStep(int64_t expr_id) {
275 return std::make_unique<MutableListStep>(expr_id);

Callers 2

PostVisitListMethod · 0.85
TEST_FFunction · 0.85

Calls 2

MakeOptionalIndicesSetFunction · 0.70
sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.68