ladybird/Userland/Libraries/LibJS/Runtime/Intl
Shannon Booth e2e7c4d574 Everywhere: Use to_number<T> instead of to_{int,uint,float,double}
In a bunch of cases, this actually ends up simplifying the code as
to_number will handle something such as:

```
Optional<I> opt;
if constexpr (IsSigned<I>)
    opt = view.to_int<I>();
else
    opt = view.to_uint<I>();
```

For us.

The main goal here however is to have a single generic number conversion
API between all of the String classes.
2023-12-23 20:41:07 +01:00
..
AbstractOperations.cpp LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
AbstractOperations.h LibJS: Stop propagating small OOM errors from Intl abstract operations 2023-09-05 08:08:09 +02:00
Collator.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
Collator.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
CollatorCompareFunction.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
CollatorCompareFunction.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
CollatorConstructor.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
CollatorConstructor.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
CollatorPrototype.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
CollatorPrototype.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DateTimeFormat.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DateTimeFormat.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DateTimeFormatConstructor.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DateTimeFormatConstructor.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DateTimeFormatFunction.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DateTimeFormatFunction.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DateTimeFormatPrototype.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DateTimeFormatPrototype.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DisplayNames.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DisplayNames.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DisplayNamesConstructor.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DisplayNamesConstructor.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DisplayNamesPrototype.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DisplayNamesPrototype.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DurationFormat.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
DurationFormat.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DurationFormatConstructor.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DurationFormatConstructor.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DurationFormatPrototype.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
DurationFormatPrototype.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
Intl.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
Intl.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
ListFormat.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
ListFormat.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
ListFormatConstructor.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
ListFormatConstructor.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
ListFormatPrototype.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
ListFormatPrototype.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
Locale.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
Locale.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
LocaleConstructor.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
LocaleConstructor.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
LocalePrototype.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
LocalePrototype.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
MathematicalValue.cpp LibJS: Stop propagating small OOM errors from Intl.MathematicalValue 2023-09-05 08:08:09 +02:00
MathematicalValue.h LibJS: Stop propagating small OOM errors from Intl.MathematicalValue 2023-09-05 08:08:09 +02:00
NumberFormat.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
NumberFormat.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
NumberFormatConstructor.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
NumberFormatConstructor.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
NumberFormatFunction.cpp LibJS: Stop propagating small OOM errors from Intl.NumberFormat 2023-09-05 08:08:09 +02:00
NumberFormatFunction.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
NumberFormatPrototype.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
NumberFormatPrototype.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
PluralRules.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
PluralRules.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
PluralRulesConstructor.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
PluralRulesConstructor.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
PluralRulesPrototype.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
PluralRulesPrototype.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
RelativeTimeFormat.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
RelativeTimeFormat.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
RelativeTimeFormatConstructor.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
RelativeTimeFormatConstructor.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
RelativeTimeFormatPrototype.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
RelativeTimeFormatPrototype.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
Segmenter.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
Segmenter.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
SegmenterConstructor.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
SegmenterConstructor.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
SegmenterPrototype.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
SegmenterPrototype.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
SegmentIterator.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
SegmentIterator.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
SegmentIteratorPrototype.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
SegmentIteratorPrototype.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
Segments.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
Segments.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
SegmentsPrototype.cpp LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
SegmentsPrototype.h LibJS: Segregate GC-allocated objects by type 2023-11-19 12:10:31 +01:00
SingleUnitIdentifiers.h LibJS+LibUnicode: Add "microsecond" and "nanosecond" as sanctioned units 2022-11-03 18:37:48 +00:00