mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibRegex: Refactor parsing 'CharacterEscape' out of 'AtomEscape'
The ECMA262 spec has this as a separate production, and we need it to be split up for a future commit.
This commit is contained in:
parent
b908f9f6ef
commit
7734914909
Notes:
sideshowbarker
2024-07-17 08:44:47 +09:00
Author: https://github.com/alimpfard
Commit: 7734914909
Pull-request: https://github.com/SerenityOS/serenity/pull/14592
Reviewed-by: https://github.com/linusg ✅
2 changed files with 136 additions and 123 deletions
|
@ -255,6 +255,8 @@ private:
|
|||
bool parse_nonempty_class_ranges(Vector<CompareTypeAndValuePair>&, ParseFlags);
|
||||
bool parse_unicode_property_escape(PropertyEscape& property, bool& negated);
|
||||
|
||||
bool parse_character_escape(Vector<CompareTypeAndValuePair>&, size_t&, ParseFlags);
|
||||
|
||||
// Used only by B.1.4, Regular Expression Patterns (Extended for use in browsers)
|
||||
bool parse_quantifiable_assertion(ByteCode&, size_t&, ParseFlags);
|
||||
bool parse_extended_atom(ByteCode&, size_t&, ParseFlags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue