ladybird/Userland/Libraries/LibJS/Runtime/Intl
Timothy Flynn 6d9b779757 LibJS: Add an overload of ResolvePlural for use without PluralRules
The NumberFormat spec casually indicates the need for a PluralRules
object without explicity saying so, with text such as:

"which may depend on x in languages having different plural forms."

Other implementations actually do create a PluralRules object to resolve
those cases with ResolvePlural. However, ResolvePlural doesn't need much
from PluralRules to operate, so this can be abstracted out for use in
NumberFormat without the need to allocate a PluralRules instance.
2022-07-08 20:33:52 +02:00
..
AbstractOperations.cpp LibJS: Update to the latest ECMA-402 GetOption and move it into ECMA-262 2022-06-15 17:49:20 +01:00
AbstractOperations.h LibUnicode: Generate data about DurationFormat-required units as well 2022-07-01 01:00:05 +03:00
Collator.cpp
Collator.h
CollatorCompareFunction.cpp
CollatorCompareFunction.h
CollatorConstructor.cpp LibJS: Update to the latest ECMA-402 GetOption and move it into ECMA-262 2022-06-15 17:49:20 +01:00
CollatorConstructor.h
CollatorPrototype.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
CollatorPrototype.h
DateTimeFormat.cpp AK: Use an enum instead of a bool for String::replace(all_occurences) 2022-07-06 11:12:45 +02:00
DateTimeFormat.h LibJS: Convert remaining Date AOs using JS::Value as in/output to double 2022-05-06 22:32:47 +02:00
DateTimeFormatConstructor.cpp LibJS: Update to the latest ECMA-402 GetOption and move it into ECMA-262 2022-06-15 17:49:20 +01:00
DateTimeFormatConstructor.h
DateTimeFormatFunction.cpp LibJS: Convert remaining Date AOs using JS::Value as in/output to double 2022-05-06 22:32:47 +02:00
DateTimeFormatFunction.h
DateTimeFormatPrototype.cpp LibJS: Convert remaining Date AOs using JS::Value as in/output to double 2022-05-06 22:32:47 +02:00
DateTimeFormatPrototype.h
DisplayNames.cpp
DisplayNames.h
DisplayNamesConstructor.cpp LibJS: Update to the latest ECMA-402 GetOption and move it into ECMA-262 2022-06-15 17:49:20 +01:00
DisplayNamesConstructor.h
DisplayNamesPrototype.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
DisplayNamesPrototype.h
DurationFormat.cpp LibJS: Use Intl.PluralRules within Intl.DurationFormat 2022-07-08 20:33:52 +02:00
DurationFormat.h LibJS: Disallow mixed-sign durations in Intl.DurationFormat 2022-07-02 18:32:35 +03:00
DurationFormatConstructor.cpp LibJS: Implement Intl.DurationFormat.supportedLocalesOf 2022-07-01 01:00:05 +03:00
DurationFormatConstructor.h LibJS: Implement Intl.DurationFormat.supportedLocalesOf 2022-07-01 01:00:05 +03:00
DurationFormatPrototype.cpp LibJS: Disallow mixed-sign durations in Intl.DurationFormat 2022-07-02 18:32:35 +03:00
DurationFormatPrototype.h LibJS: Implement Intl.DurationFormat.prototype.formatToParts 2022-07-01 01:00:05 +03:00
Intl.cpp LibJS: Partially implement Intl.Locale.prototype.collations property 2022-07-06 16:56:42 +02:00
Intl.h
ListFormat.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
ListFormat.h
ListFormatConstructor.cpp LibJS: Update to the latest ECMA-402 GetOption and move it into ECMA-262 2022-06-15 17:49:20 +01:00
ListFormatConstructor.h
ListFormatPrototype.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
ListFormatPrototype.h
Locale.cpp LibJS: Implement Intl.Locale.prototype.weekInfo property 2022-07-06 16:56:42 +02:00
Locale.h LibJS: Implement Intl.Locale.prototype.weekInfo property 2022-07-06 16:56:42 +02:00
LocaleConstructor.cpp LibJS: Update to the latest ECMA-402 GetOption and move it into ECMA-262 2022-06-15 17:49:20 +01:00
LocaleConstructor.h
LocalePrototype.cpp LibJS: Implement Intl.Locale.prototype.weekInfo property 2022-07-06 16:56:42 +02:00
LocalePrototype.h LibJS: Implement Intl.Locale.prototype.weekInfo property 2022-07-06 16:56:42 +02:00
NumberFormat.cpp LibJS: Mark the NumberFormat parameter of FormatNumericToString as const 2022-07-08 11:51:54 +02:00
NumberFormat.h LibJS: Mark the NumberFormat parameter of FormatNumericToString as const 2022-07-08 11:51:54 +02:00
NumberFormatConstructor.cpp LibJS: Update to the latest ECMA-402 GetOption and move it into ECMA-262 2022-06-15 17:49:20 +01:00
NumberFormatConstructor.h
NumberFormatFunction.cpp
NumberFormatFunction.h
NumberFormatPrototype.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
NumberFormatPrototype.h
PluralRules.cpp LibJS: Add an overload of ResolvePlural for use without PluralRules 2022-07-08 20:33:52 +02:00
PluralRules.h LibJS: Add an overload of ResolvePlural for use without PluralRules 2022-07-08 20:33:52 +02:00
PluralRulesConstructor.cpp LibJS: Update to the latest ECMA-402 GetOption and move it into ECMA-262 2022-06-15 17:49:20 +01:00
PluralRulesConstructor.h
PluralRulesPrototype.cpp LibJS: Implement Intl.PluralRules.prototype.select 2022-07-08 11:51:54 +02:00
PluralRulesPrototype.h LibJS: Implement Intl.PluralRules.prototype.select 2022-07-08 11:51:54 +02:00
RelativeTimeFormat.cpp LibJS: Use Intl.PluralRules within Intl.RelativeFormat 2022-07-08 11:51:54 +02:00
RelativeTimeFormat.h LibJS: Use Intl.PluralRules within Intl.RelativeFormat 2022-07-08 11:51:54 +02:00
RelativeTimeFormatConstructor.cpp LibJS: Use Intl.PluralRules within Intl.RelativeFormat 2022-07-08 11:51:54 +02:00
RelativeTimeFormatConstructor.h
RelativeTimeFormatPrototype.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
RelativeTimeFormatPrototype.h
Segmenter.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
Segmenter.h
SegmenterConstructor.cpp LibJS: Update to the latest ECMA-402 GetOption and move it into ECMA-262 2022-06-15 17:49:20 +01:00
SegmenterConstructor.h
SegmenterPrototype.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
SegmenterPrototype.h
SegmentIterator.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
SegmentIterator.h
SegmentIteratorPrototype.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
SegmentIteratorPrototype.h
Segments.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
Segments.h
SegmentsPrototype.cpp
SegmentsPrototype.h