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

Method NewCall

common/expr_factory.h:215–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213 typename = std::enable_if_t<IsStringLike<Function>::value>,
214 typename = std::enable_if_t<IsArrayLike<Expr, Args>::value>>
215 Expr NewCall(ExprId id, Function function, Args args) {
216 Expr expr;
217 expr.set_id(id);
218 auto& call_expr = expr.mutable_call_expr();
219 call_expr.set_function(std::move(function));
220 call_expr.set_args(std::move(args));
221 return expr;
222 }
223
224 template <typename Function, typename Target, typename Args,
225 typename = std::enable_if_t<IsStringLike<Function>::value>,

Callers 12

ExpandAllMacro2Function · 0.45
ExpandExistsMacro2Function · 0.45
ExpandExistsOneMacro2Function · 0.45
ExpandTransformMap3MacroFunction · 0.45
ExpandTransformMap4MacroFunction · 0.45
MakeMapComprehensionFunction · 0.45
math_macrosFunction · 0.45
CelBlockMacroExpanderFunction · 0.45

Calls 3

set_functionMethod · 0.80
set_argsMethod · 0.80
set_idMethod · 0.45

Tested by

no test coverage detected