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

Method NewMap

common/expr_factory.h:298–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296 template <typename Entries, typename = std::enable_if_t<
297 IsArrayLike<MapExprEntry, Entries>::value>>
298 Expr NewMap(ExprId id, Entries entries) {
299 Expr expr;
300 expr.set_id(id);
301 auto& map_expr = expr.mutable_map_expr();
302 map_expr.set_entries(std::move(entries));
303 return expr;
304 }
305
306 template <typename IterVar, typename IterRange, typename AccuVar,
307 typename AccuInit, typename LoopCondition, typename LoopStep,

Callers 4

ExpandTransformMap3MacroFunction · 0.45
ExpandTransformMap4MacroFunction · 0.45

Calls 2

set_entriesMethod · 0.80
set_idMethod · 0.45

Tested by

no test coverage detected