mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibUnicode: Add lexer to test if a string matches the "type" production
This commit is contained in:
parent
113bf4a9dd
commit
a05419db55
Notes:
sideshowbarker
2024-07-18 04:53:37 +09:00
Author: https://github.com/trflynn89
Commit: a05419db55
Pull-request: https://github.com/SerenityOS/serenity/pull/9749
Reviewed-by: https://github.com/linusg ✅
3 changed files with 35 additions and 0 deletions
|
@ -62,6 +62,7 @@ bool is_unicode_language_subtag(StringView);
|
|||
bool is_unicode_script_subtag(StringView);
|
||||
bool is_unicode_region_subtag(StringView);
|
||||
bool is_unicode_variant_subtag(StringView);
|
||||
bool is_type_identifier(StringView);
|
||||
|
||||
Optional<LanguageID> parse_unicode_language_id(StringView);
|
||||
Optional<LocaleID> parse_unicode_locale_id(StringView);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue