ladybird/Userland/Libraries/LibJS/Runtime/Temporal
Linus Groh 5db38d7ba1 LibJS: Replace standalone js_bigint() with BigInt::create()
Three standalone Cell creation functions remain in the JS namespace:

- js_bigint()
- js_string()
- js_symbol()

All of them are leftovers from early iterations when LibJS still took
inspiration from JSC, which itself has jsString(). Nowadays, we pretty
much exclusively use static create() functions to construct types
allocated on the JS heap, and there's no reason to not do the same for
these.
Also change the return type from BigInt* to NonnullGCPtr<BigInt> while
we're here.

This is patch 1/3, replacement of js_string() and js_symbol() follow.
2022-12-07 16:43:06 +00:00
..
AbstractOperations.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
AbstractOperations.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Calendar.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Calendar.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CalendarConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
CalendarConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
CalendarPrototype.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
CalendarPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Duration.cpp LibJS: Replace standalone js_bigint() with BigInt::create() 2022-12-07 16:43:06 +00:00
Duration.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
DurationConstructor.cpp LibJS/Temporal: Rename ToIntegerWithRounding to ToIntegerIfIntegral 2022-11-20 11:56:56 +00:00
DurationConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
DurationPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DurationPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Instant.cpp LibJS: Replace standalone js_bigint() with BigInt::create() 2022-12-07 16:43:06 +00:00
Instant.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
InstantConstructor.cpp LibJS: Replace standalone js_bigint() with BigInt::create() 2022-12-07 16:43:06 +00:00
InstantConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
InstantPrototype.cpp LibJS: Replace standalone js_bigint() with BigInt::create() 2022-12-07 16:43:06 +00:00
InstantPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ISO8601.cpp LibJS: Align ISO 8601 grammar with annotations from IXDTF 2022-11-03 19:15:50 +00:00
ISO8601.h LibJS: Align ISO 8601 grammar with annotations from IXDTF 2022-11-03 19:15:50 +00:00
Now.cpp LibJS: Replace standalone js_bigint() with BigInt::create() 2022-12-07 16:43:06 +00:00
Now.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PlainDate.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PlainDate.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PlainDateConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
PlainDateConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PlainDatePrototype.cpp LibJS: Rename ToShowCalendarOption to ToCalendarNameOption 2022-11-04 21:00:25 +00:00
PlainDatePrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PlainDateTime.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PlainDateTime.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PlainDateTimeConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
PlainDateTimeConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PlainDateTimePrototype.cpp LibJS: Rename ToShowCalendarOption to ToCalendarNameOption 2022-11-04 21:00:25 +00:00
PlainDateTimePrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PlainMonthDay.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PlainMonthDay.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PlainMonthDayConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
PlainMonthDayConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PlainMonthDayPrototype.cpp LibJS: Rename ToShowCalendarOption to ToCalendarNameOption 2022-11-04 21:00:25 +00:00
PlainMonthDayPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PlainTime.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PlainTime.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PlainTimeConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
PlainTimeConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PlainTimePrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainTimePrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PlainYearMonth.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PlainYearMonth.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PlainYearMonthConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
PlainYearMonthConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PlainYearMonthPrototype.cpp LibJS: Rename ToShowCalendarOption to ToCalendarNameOption 2022-11-04 21:00:25 +00:00
PlainYearMonthPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Temporal.cpp LibJS: Use Object's new deferred instrinsic storage for GlobalObject 2022-11-26 09:36:22 +01:00
Temporal.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
TimeZone.cpp LibJS: Replace standalone js_bigint() with BigInt::create() 2022-12-07 16:43:06 +00:00
TimeZone.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
TimeZoneConstructor.cpp LibJS: Rename IsValidTimeZoneName to IsAvailableTimeZoneName 2022-10-17 12:56:05 +02:00
TimeZoneConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
TimeZonePrototype.cpp LibJS: Replace standalone js_bigint() with BigInt::create() 2022-12-07 16:43:06 +00:00
TimeZonePrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ZonedDateTime.cpp LibJS: Replace standalone js_bigint() with BigInt::create() 2022-12-07 16:43:06 +00:00
ZonedDateTime.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ZonedDateTimeConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
ZonedDateTimeConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ZonedDateTimePrototype.cpp LibJS: Replace standalone js_bigint() with BigInt::create() 2022-12-07 16:43:06 +00:00
ZonedDateTimePrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00