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

Function Replace1

extensions/strings.cc:101–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101absl::StatusOr<Value> Replace1(
102 const StringValue& string, const StringValue& old_sub,
103 const StringValue& new_sub,
104 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
105 google::protobuf::MessageFactory* absl_nonnull message_factory,
106 google::protobuf::Arena* absl_nonnull arena) {
107 return string.Replace(old_sub, new_sub, -1, arena);
108}
109
110Value CharAt(const StringValue& string, int64_t pos) {
111 return string.CharAt(pos);

Callers

nothing calls this directly

Calls 1

ReplaceMethod · 0.80

Tested by

no test coverage detected