LibJS: Move ISO-related structures to their own file

Currently, AbstractOperations.h needs to include Time.h for the Time
structure. Soon, Time.h will need to include AbstractOperations.h for
structures defined there. To avoid a circular include, let's put the
ISO types into their own file, so that AO.h does not need to include
any JS type header.
This commit is contained in:
Timothy Flynn 2024-11-22 16:39:21 -05:00 committed by Andreas Kling
parent 46998e922a
commit 021a5f4ded
Notes: github-actions[bot] 2024-11-23 13:47:25 +00:00
8 changed files with 79 additions and 58 deletions

View file

@ -18,6 +18,7 @@
#include <LibJS/Runtime/Temporal/PlainDate.h>
#include <LibJS/Runtime/Temporal/PlainDateTime.h>
#include <LibJS/Runtime/Temporal/PlainMonthDay.h>
#include <LibJS/Runtime/Temporal/PlainTime.h>
#include <LibJS/Runtime/Temporal/PlainYearMonth.h>
#include <LibJS/Runtime/Temporal/TimeZone.h>