summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Forward.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-08-07 22:40:32 +0100
committerLinus Groh <mail@linusgroh.de>2021-08-08 17:45:06 +0100
commit0a8edd5ce733b6043ce47c36aa7915354b6fd1c5 (patch)
tree099a23a0ba941aece0950e735056e34f8a29791b /Userland/Libraries/LibJS/Forward.h
parent5b12542d391b1a5b1c6f2438ab5983c50c4c75e2 (diff)
downloadserenity-0a8edd5ce733b6043ce47c36aa7915354b6fd1c5.zip
LibJS: Start implementing Temporal.PlainYearMonth
This commit adds the PlainYearMonth object itself, its constructor and prototype (currently empty), and the CreateTemporalYearMonth and ISOYearMonthWithinLimits abstract operations.
Diffstat (limited to 'Userland/Libraries/LibJS/Forward.h')
-rw-r--r--Userland/Libraries/LibJS/Forward.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/Userland/Libraries/LibJS/Forward.h b/Userland/Libraries/LibJS/Forward.h
index 5e6bfded46..7912e5562e 100644
--- a/Userland/Libraries/LibJS/Forward.h
+++ b/Userland/Libraries/LibJS/Forward.h
@@ -76,14 +76,15 @@
__JS_ENUMERATE(Float32Array, float32_array, Float32ArrayPrototype, Float32ArrayConstructor, float) \
__JS_ENUMERATE(Float64Array, float64_array, Float64ArrayPrototype, Float64ArrayConstructor, double)
-#define JS_ENUMERATE_TEMPORAL_OBJECTS \
- __JS_ENUMERATE(Calendar, calendar, CalendarPrototype, CalendarConstructor) \
- __JS_ENUMERATE(Duration, duration, DurationPrototype, DurationConstructor) \
- __JS_ENUMERATE(Instant, instant, InstantPrototype, InstantConstructor) \
- __JS_ENUMERATE(PlainDate, plain_date, PlainDatePrototype, PlainDateConstructor) \
- __JS_ENUMERATE(PlainDateTime, plain_date_time, PlainDateTimePrototype, PlainDateTimeConstructor) \
- __JS_ENUMERATE(PlainTime, plain_time, PlainTimePrototype, PlainTimeConstructor) \
- __JS_ENUMERATE(TimeZone, time_zone, TimeZonePrototype, TimeZoneConstructor) \
+#define JS_ENUMERATE_TEMPORAL_OBJECTS \
+ __JS_ENUMERATE(Calendar, calendar, CalendarPrototype, CalendarConstructor) \
+ __JS_ENUMERATE(Duration, duration, DurationPrototype, DurationConstructor) \
+ __JS_ENUMERATE(Instant, instant, InstantPrototype, InstantConstructor) \
+ __JS_ENUMERATE(PlainDate, plain_date, PlainDatePrototype, PlainDateConstructor) \
+ __JS_ENUMERATE(PlainDateTime, plain_date_time, PlainDateTimePrototype, PlainDateTimeConstructor) \
+ __JS_ENUMERATE(PlainTime, plain_time, PlainTimePrototype, PlainTimeConstructor) \
+ __JS_ENUMERATE(PlainYearMonth, plain_year_month, PlainYearMonthPrototype, PlainYearMonthConstructor) \
+ __JS_ENUMERATE(TimeZone, time_zone, TimeZonePrototype, TimeZoneConstructor) \
__JS_ENUMERATE(ZonedDateTime, zoned_date_time, ZonedDateTimePrototype, ZonedDateTimeConstructor)
#define JS_ENUMERATE_ITERATOR_PROTOTYPES \