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

Method Replace

common/values/string_value.cc:1361–1367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1359}
1360
1361absl::StatusOr<Value> StringValue::Replace(
1362 const StringValue& needle, const StringValue& replacement, int64_t limit,
1363 google::protobuf::Arena* absl_nonnull arena) const {
1364 Value result;
1365 CEL_RETURN_IF_ERROR(Replace(needle, replacement, limit, arena, &result));
1366 return result;
1367}
1368
1369absl::Status StringValue::Replace(const StringValue& needle,
1370 const StringValue& replacement,

Callers 2

Replace2Function · 0.80
Replace1Function · 0.80

Calls 7

Utf8DecodeFunction · 0.50
sizeMethod · 0.45
IsEmptyMethod · 0.45
VisitMethod · 0.45
AppendToStringMethod · 0.45
SubstringMethod · 0.45
FindMethod · 0.45

Tested by

no test coverage detected