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

Method NewComprehension

common/expr_factory.h:316–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314 typename = std::enable_if_t<IsExprLike<LoopCondition>::value>,
315 typename = std::enable_if_t<IsExprLike<Result>::value>>
316 Expr NewComprehension(ExprId id, IterVar iter_var, IterRange iter_range,
317 AccuVar accu_var, AccuInit accu_init,
318 LoopCondition loop_condition, LoopStep loop_step,
319 Result result) {
320 return NewComprehension(id, std::move(iter_var), "", std::move(iter_range),
321 std::move(accu_var), std::move(accu_init),
322 std::move(loop_condition), std::move(loop_step),
323 std::move(result));
324 }
325
326 template <typename IterVar, typename IterVar2, typename IterRange,
327 typename AccuVar, typename AccuInit, typename LoopCondition,

Callers 12

bindings_macrosFunction · 0.45
ExpandAllMacro2Function · 0.45
ExpandExistsMacro2Function · 0.45
ExpandExistsOneMacro2Function · 0.45
ExpandTransformMap3MacroFunction · 0.45
ExpandTransformMap4MacroFunction · 0.45
MakeMapComprehensionFunction · 0.45
MakeBindComprehensionFunction · 0.45

Calls 9

set_iter_varMethod · 0.80
set_iter_var2Method · 0.80
set_iter_rangeMethod · 0.80
set_accu_varMethod · 0.80
set_accu_initMethod · 0.80
set_loop_conditionMethod · 0.80
set_loop_stepMethod · 0.80
set_idMethod · 0.45
set_resultMethod · 0.45

Tested by

no test coverage detected