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

Method AssignString

eval/public/structs/field_access_impl.cc:418–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416 }
417
418 bool AssignString(const CelValue& cel_value) const {
419 CelValue::StringHolder value;
420 if (!cel_value.GetValue(&value)) {
421 return false;
422 }
423 static_cast<const Derived*>(this)->SetString(value);
424 return true;
425 }
426
427 bool AssignBytes(const CelValue& cel_value) const {
428 CelValue::BytesHolder value;

Callers

nothing calls this directly

Calls 2

GetValueMethod · 0.45
SetStringMethod · 0.45

Tested by

no test coverage detected