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

Function MakeConstantVariableReference

common/reference.h:249–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249inline Reference MakeConstantVariableReference(std::string name,
250 Constant constant) {
251 Reference reference;
252 reference.set_name(std::move(name));
253 reference.mutable_kind().emplace<VariableReference>().set_value(
254 std::move(constant));
255 return reference;
256}
257
258inline Reference MakeFunctionReference(std::string name,
259 std::vector<std::string> overloads) {

Callers 1

TESTFunction · 0.85

Calls 2

set_nameMethod · 0.45
set_valueMethod · 0.45

Tested by 1

TESTFunction · 0.68