1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-14 18:52:07 +00:00
serenity/Userland/Libraries/LibJS/Runtime/Temporal
Linus Groh 8f1d13e73b LibJS: Use a Variant instead of two Optionals for ThrowCompletionOr
Comes with the usual benefit of saving some space on the stack, as well
as making a situation where both or neither Optionals hold a value
impossible.

The various unwrapping additions are required as we can no longer
construct a ThrowCompletionOr<T> from an Optional<T> - rightfully so.
2023-03-01 17:55:42 +00:00
..
AbstractOperations.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
AbstractOperations.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
Calendar.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
Calendar.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
CalendarConstructor.cpp
CalendarConstructor.h
CalendarPrototype.cpp LibJS: Use a Variant instead of two Optionals for ThrowCompletionOr 2023-03-01 17:55:42 +00:00
CalendarPrototype.h
Duration.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
Duration.h
DurationConstructor.cpp
DurationConstructor.h
DurationPrototype.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
DurationPrototype.h
Instant.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
Instant.h
InstantConstructor.cpp
InstantConstructor.h
InstantPrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
InstantPrototype.h
ISO8601.cpp LibJS/Temporal: Allow annotations after YYYY-MM and MM-DD 2023-02-11 18:42:32 +00:00
ISO8601.h LibJS/Temporal: Allow annotations after YYYY-MM and MM-DD 2023-02-11 18:42:32 +00:00
Now.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
Now.h
PlainDate.cpp
PlainDate.h
PlainDateConstructor.cpp
PlainDateConstructor.h
PlainDatePrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
PlainDatePrototype.h
PlainDateTime.cpp
PlainDateTime.h
PlainDateTimeConstructor.cpp
PlainDateTimeConstructor.h
PlainDateTimePrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
PlainDateTimePrototype.h
PlainMonthDay.cpp
PlainMonthDay.h
PlainMonthDayConstructor.cpp
PlainMonthDayConstructor.h
PlainMonthDayPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
PlainMonthDayPrototype.h
PlainTime.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
PlainTime.h
PlainTimeConstructor.cpp
PlainTimeConstructor.h
PlainTimePrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
PlainTimePrototype.h
PlainYearMonth.cpp
PlainYearMonth.h
PlainYearMonthConstructor.cpp
PlainYearMonthConstructor.h
PlainYearMonthPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
PlainYearMonthPrototype.h
Temporal.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
Temporal.h
TimeZone.cpp
TimeZone.h
TimeZoneConstructor.cpp
TimeZoneConstructor.h
TimeZonePrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
TimeZonePrototype.h
ZonedDateTime.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
ZonedDateTime.h
ZonedDateTimeConstructor.cpp
ZonedDateTimeConstructor.h
ZonedDateTimePrototype.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
ZonedDateTimePrototype.h