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

Method CreateString

eval/public/cel_value.h:196–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194 static CelValue CreateDouble(double value) { return CelValue(value); }
195
196 static CelValue CreateString(StringHolder holder) {
197 ABSL_ASSERT(::cel::internal::Utf8IsValid(holder.value()));
198 return CelValue(holder);
199 }
200
201 // Returns a string value from a string_view. Warning: the caller is
202 // responsible for the lifecycle of the backing string. Prefer CreateString

Callers

nothing calls this directly

Calls 3

Utf8IsValidFunction · 0.85
CelValueClass · 0.85
valueMethod · 0.45

Tested by

no test coverage detected