1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

LibJS: Add StringIterator

This commit is contained in:
Matthew Olsson 2020-07-11 20:23:01 -07:00 committed by Andreas Kling
parent ac2470e66e
commit c831fb17bf
13 changed files with 252 additions and 3 deletions

View file

@ -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);