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

Function CreateDirectCreateStructStep

eval/eval/create_struct_step.cc:253–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251} // namespace
252
253std::unique_ptr<DirectExpressionStep> CreateDirectCreateStructStep(
254 std::string resolved_name, std::vector<std::string> field_keys,
255 std::vector<std::unique_ptr<DirectExpressionStep>> deps,
256 absl::flat_hash_set<int32_t> optional_indices, int64_t expr_id) {
257 return std::make_unique<DirectCreateStructStep>(
258 expr_id, std::move(resolved_name), std::move(field_keys), std::move(deps),
259 std::move(optional_indices));
260}
261
262std::unique_ptr<ExpressionStep> CreateCreateStructStep(
263 std::string name, std::vector<std::string> field_keys,

Callers 3

PostVisitStructMethod · 0.85
CEL_ASSIGN_OR_RETURNFunction · 0.85
TEST_PFunction · 0.85

Calls

no outgoing calls

Tested by 2

CEL_ASSIGN_OR_RETURNFunction · 0.68
TEST_PFunction · 0.68