LibUnicode: Add lexer to test if a string matches the "type" production

This commit is contained in:
Timothy Flynn 2021-09-01 07:48:02 -04:00 committed by Linus Groh
commit a05419db55
Notes: sideshowbarker 2024-07-18 04:53:37 +09:00
3 changed files with 35 additions and 0 deletions

View file

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