ladybird/Meta/Lagom/Tools/CodeGenerators/LibUnicode
Timothy Flynn f91d63af83 LibUnicode: Generate enum/alias from-string methods without a HashMap
The *_from_string() and resolve_*_alias() generated methods are the last
remaining users of HashMap in the LibUnicode generated files (read: the
last methods not using compile-time structures). This converts these
methods to use an array containing pairs of hash values to the desired
lookup value.

Because this code generation is the same between GenerateUnicodeData.cpp
and GenerateUnicodeLocale.cpp, this adds a GeneratorUtil.h header to the
LibUnicode generators to contain the method that generates the methods.
2021-10-13 16:38:51 +02:00
..
CMakeLists.txt Meta: Define and use lagom_tool() CMake helper function for all Tools 2021-09-15 19:04:52 +04:30
GenerateUnicodeData.cpp LibUnicode: Generate enum/alias from-string methods without a HashMap 2021-10-13 16:38:51 +02:00
GenerateUnicodeLocale.cpp LibUnicode: Generate enum/alias from-string methods without a HashMap 2021-10-13 16:38:51 +02:00
GeneratorUtil.h LibUnicode: Generate enum/alias from-string methods without a HashMap 2021-10-13 16:38:51 +02:00