| // Copyright 2021 the V8 project authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include 'src/objects/js-temporal-objects.h' |
| |
| @cppObjectLayoutDefinition |
| extern class JSTemporalDuration extends JSObject { |
| duration: CppGCManagedBase; // CppGCManaged<temporal_rs::Duration> |
| } |
| |
| @cppObjectLayoutDefinition |
| extern class JSTemporalInstant extends JSObject { |
| instant: CppGCManagedBase; // CppGCManaged<temporal_rs::Instant> |
| } |
| |
| @cppObjectLayoutDefinition |
| extern class JSTemporalPlainDateTime extends JSObject { |
| date_time: CppGCManagedBase; // CppGCManaged<temporal_rs::PlainDateTime> |
| } |
| |
| @cppObjectLayoutDefinition |
| extern class JSTemporalPlainDate extends JSObject { |
| date: CppGCManagedBase; // CppGCManaged<temporal_rs::PlainDate> |
| } |
| |
| @cppObjectLayoutDefinition |
| extern class JSTemporalPlainMonthDay extends JSObject { |
| month_day: CppGCManagedBase; // CppGCManaged<temporal_rs::PlainMonthDay> |
| } |
| |
| @cppObjectLayoutDefinition |
| extern class JSTemporalPlainTime extends JSObject { |
| time: CppGCManagedBase; // CppGCManaged<temporal_rs::PlainTime> |
| } |
| |
| @cppObjectLayoutDefinition |
| extern class JSTemporalPlainYearMonth extends JSObject { |
| year_month: CppGCManagedBase; // CppGCManaged<temporal_rs::PlainDate> |
| } |
| |
| @cppObjectLayoutDefinition |
| extern class JSTemporalZonedDateTime extends JSObject { |
| zoned_date_time: |
| CppGCManagedBase; // CppGCManaged<temporal_rs::ZonedDateTime> |
| } |