mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-30 15:02:56 +00:00
LibUnicode: Move GenerateUnicodeData's Alias struct to generator header
This will be used for locale aliases as well. Also rename the "property" field in this struct to "name", as it no longer is only used for property aliases.
This commit is contained in:
parent
186e1b7624
commit
9d1519e21c
Notes:
sideshowbarker
2024-07-18 01:00:17 +09:00
Author: https://github.com/trflynn89
Commit: 9d1519e21c
Pull-request: https://github.com/SerenityOS/serenity/pull/10947
2 changed files with 7 additions and 8 deletions
|
@ -91,6 +91,11 @@ private:
|
|||
HashMap<StringView, StringIndexType> m_unique_string_indices;
|
||||
};
|
||||
|
||||
struct Alias {
|
||||
String name;
|
||||
String alias;
|
||||
};
|
||||
|
||||
template<typename StringIndexType>
|
||||
struct CanonicalLanguageID {
|
||||
static Optional<CanonicalLanguageID> parse(UniqueStringStorage<StringIndexType>& unique_strings, StringView language)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue