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

Method NewList

parser/macro_expr_factory.h:175–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173 typename = std::enable_if_t<
174 std::conjunction_v<IsRValue<ListExprElement, Elements>...>>>
175 ABSL_MUST_USE_RESULT Expr NewList(Elements&&... elements) {
176 std::vector<ListExprElement> array;
177 array.reserve(sizeof...(Elements));
178 (array.push_back(std::forward<Elements>(elements)), ...);
179 return NewList(NextId(), std::move(array));
180 }
181
182 template <typename Elements,
183 typename =

Callers 7

ExpandMap2MacroFunction · 0.45
ExpandMap3MacroFunction · 0.45
ExpandFilterMacroFunction · 0.45
ExpandOptMapMacroFunction · 0.45
ExpandOptFlatMapMacroFunction · 0.45
TESTFunction · 0.45
visitCreateListMethod · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36