aboutsummaryrefslogtreecommitdiff
path: root/src/base/StringUtil.cpp
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-10-17 12:06:14 +0800
committerYuqian Yang <crupest@crupest.life>2025-10-17 12:06:14 +0800
commit32aa6f116acc6e3e20a1ec76cef45b29f7005ad7 (patch)
tree892b71060a88b58d9293d78033000b05818783df /src/base/StringUtil.cpp
parentfaf77949e19dc0d01f75bf8abb783eda70328048 (diff)
downloadcru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.tar.gz
cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.tar.bz2
cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.zip
Remove String stage 1.
Diffstat (limited to 'src/base/StringUtil.cpp')
-rw-r--r--src/base/StringUtil.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/base/StringUtil.cpp b/src/base/StringUtil.cpp
index 42aea114..4e622dab 100644
--- a/src/base/StringUtil.cpp
+++ b/src/base/StringUtil.cpp
@@ -317,4 +317,42 @@ Utf8CodePointIterator CreateUtf8Iterator(const std::vector<std::byte>& buffer) {
return CreateUtf8Iterator(buffer.data(), buffer.size());
}
+CodePoint Utf8NextCodePoint(std::string_view str, Index current,
+ Index* next_position) {
+ NotImplemented();
+}
+
+CodePoint Utf8PreviousCodePoint(std::string_view str, Index current,
+ Index* next_position) {
+ NotImplemented();
+}
+
+// Return position after the character making predicate returns true or 0 if no
+// character doing so.
+Index Utf8BackwardUntil(std::string_view str, Index position,
+ const std::function<bool(CodePoint)>& predicate) {
+ NotImplemented();
+}
+
+// Return position before the character making predicate returns true or
+// str.size() if no character doing so.
+Index Utf8ForwardUntil(std::string_view str, Index position,
+ const std::function<bool(CodePoint)>& predicate) {
+ NotImplemented();
+}
+
+bool Utf8IsValidInsertPosition(std::string_view str, Index position) {
+ NotImplemented();
+}
+
+Index Utf8PreviousWord(std::string_view str, Index position,
+ bool* is_space) {
+ NotImplemented();
+}
+
+Index Utf8NextWord(std::string_view str, Index position,
+ bool* is_space) {
+ NotImplemented();
+}
+
} // namespace cru