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

Method NewSelect

common/expr_factory.h:189–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 typename = std::enable_if_t<IsExprLike<Operand>::value>,
188 typename = std::enable_if_t<IsStringLike<Field>::value>>
189 Expr NewSelect(ExprId id, Operand operand, Field field) {
190 Expr expr;
191 expr.set_id(id);
192 auto& select_expr = expr.mutable_select_expr();
193 select_expr.set_operand(std::move(operand));
194 select_expr.set_field(std::move(field));
195 select_expr.set_test_only(false);
196 return expr;
197 }
198
199 template <typename Operand, typename Field,
200 typename = std::enable_if_t<IsExprLike<Operand>::value>,

Callers 1

proto_macrosFunction · 0.45

Calls 4

set_operandMethod · 0.80
set_fieldMethod · 0.80
set_test_onlyMethod · 0.80
set_idMethod · 0.45

Tested by

no test coverage detected