From 32aa6f116acc6e3e20a1ec76cef45b29f7005ad7 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 17 Oct 2025 12:06:14 +0800 Subject: Remove String stage 1. --- src/base/StringUtil.cpp | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'src/base/StringUtil.cpp') 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& 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& 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& 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 -- cgit v1.2.3