ladybird/Userland/Libraries/LibUnicode
Timothy Flynn fe84a365c2 LibUnicode: Parse and generate format pattern skeletons
Pattern skeletons are more or less the "key" of format patterns. Every
format pattern is assigned a skeleton. Interval patterns (which are not
yet parsed) are also assigned a skeleton - this is used to match them to
an "owning" format pattern. So we will use the skeleton generated here
to match format patterns at runtime with their available interval
patterns.

An alternative approach would be to append interval patterns directly to
their owning format pattern, but this has some draw backs:

    1. Skeletons aren't totally unique. A skeleton may appear in both
       the "dateFormats" and "availableFormats" objects, in which case
       the same interval formats would be generated more than once.

    2. Otherwise unique format patterns may only differ by the interval
       patterns assigned to them. This would cause the UniqueStorage for
       the format patterns to increase in size, impacting both compile
       times and libunicode.so size.
2021-12-09 23:43:04 +00:00
..
CharacterTypes.cpp LibUnicode: Support code point names that apply to ranges of code points 2021-11-30 11:24:02 +01:00
CharacterTypes.h LibUnicode: Support code point names that apply to ranges of code points 2021-11-30 11:24:02 +01:00
CMakeLists.txt LibUnicode: Parse and generate date, time, and date-time format patterns 2021-11-29 22:48:46 +00:00
CurrencyCode.cpp LibUnicode: Add some data related to currency codes 2021-09-11 11:05:50 +01:00
CurrencyCode.h LibUnicode: Add some data related to currency codes 2021-09-11 11:05:50 +01:00
DateTimeFormat.cpp LibUnicode: Parse and generate time zone names in long and short form 2021-12-08 11:29:36 +00:00
DateTimeFormat.h LibUnicode: Parse and generate format pattern skeletons 2021-12-09 23:43:04 +00:00
Forward.h LibUnicode: Parse and generate regional hour cycles 2021-11-29 22:48:46 +00:00
Locale.cpp LibUnicode: Add special handling of hour cycle (hc) Unicode keywords 2021-11-29 22:48:46 +00:00
Locale.h LibJS+LibUnicode: Separate number formatting methods from Locale.h 2021-11-29 22:48:46 +00:00
NumberFormat.cpp LibJS+LibUnicode: Separate number formatting methods from Locale.h 2021-11-29 22:48:46 +00:00
NumberFormat.h LibJS+LibUnicode: Separate number formatting methods from Locale.h 2021-11-29 22:48:46 +00:00