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

Method DirectCreateMapStep

eval/eval/create_map_step.cc:136–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134class DirectCreateMapStep : public DirectExpressionStep {
135 public:
136 DirectCreateMapStep(std::vector<std::unique_ptr<DirectExpressionStep>> deps,
137 absl::flat_hash_set<int32_t> optional_indices,
138 int64_t expr_id)
139 : DirectExpressionStep(expr_id),
140 deps_(std::move(deps)),
141 optional_indices_(std::move(optional_indices)),
142 entry_count_(deps_.size() / 2) {}
143
144 absl::Status Evaluate(ExecutionFrameBase& frame, Value& result,
145 AttributeTrail& attribute_trail) const override;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected