mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibJS: Add StringIterator
This commit is contained in:
parent
ac2470e66e
commit
c831fb17bf
Notes:
sideshowbarker
2024-07-19 04:51:49 +09:00
Author: https://github.com/mattco98
Commit: c831fb17bf
Pull-request: https://github.com/SerenityOS/serenity/pull/2780
13 changed files with 252 additions and 3 deletions
|
@ -46,6 +46,7 @@ public:
|
|||
u32 operator*() const;
|
||||
|
||||
int codepoint_length_in_bytes() const;
|
||||
bool done() const { return !m_length; }
|
||||
|
||||
private:
|
||||
Utf8CodepointIterator(const unsigned char*, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue