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

Function CallExprOneArg

extensions/math_ext_test.cc:155–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155Expr CallExprOneArg(absl::string_view operation) {
156 Expr expr;
157 auto call = expr.mutable_call_expr();
158 call->set_function(operation);
159
160 auto arg = call->add_args();
161 auto ident = arg->mutable_ident_expr();
162 ident->set_name("a");
163 return expr;
164}
165
166Expr CallExprTwoArgs(absl::string_view operation) {
167 Expr expr;

Callers 1

ExpectResultFunction · 0.85

Calls 2

set_functionMethod · 0.80
set_nameMethod · 0.45

Tested by

no test coverage detected