v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
js-temporal-objects.h File Reference
#include "src/execution/isolate.h"
#include "src/heap/factory.h"
#include "src/objects/objects.h"
#include "src/objects/object-macros.h"
#include "torque-generated/src/objects/js-temporal-objects-tq.inc"
#include "src/objects/object-macros-undef.h"
Include dependency graph for js-temporal-objects.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::JSTemporalCalendar
 
class  v8::internal::JSTemporalDuration
 
class  v8::internal::JSTemporalInstant
 
class  v8::internal::JSTemporalPlainDate
 
class  v8::internal::JSTemporalPlainDateTime
 
class  v8::internal::JSTemporalPlainMonthDay
 
class  v8::internal::JSTemporalPlainTime
 
class  v8::internal::JSTemporalPlainYearMonth
 
class  v8::internal::JSTemporalTimeZone
 
class  v8::internal::JSTemporalZonedDateTime
 
struct  v8::internal::temporal::DateRecord
 
struct  v8::internal::temporal::TimeRecord
 
struct  v8::internal::temporal::DateTimeRecord
 
struct  v8::internal::temporal::TimeDurationRecord
 
struct  v8::internal::temporal::DurationRecord
 

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::temporal
 

Macros

#define DECLARE_TEMPORAL_INLINE_GETTER_SETTER(field)
 
#define DECLARE_TEMPORAL_TIME_INLINE_GETTER_SETTER()
 
#define DECLARE_TEMPORAL_DATE_INLINE_GETTER_SETTER()
 
#define TEMPORAL_UNIMPLEMENTED(T)
 
#define DECLARE_CALENDAR_ABSTRACT_INT_OPERATION(Name)
 
#define DECLARE_CALENDAR_ABSTRACT_OPERATION(Name)
 

Functions

MaybeDirectHandle< JSTemporalPlainDateTimev8::internal::temporal::CreateTemporalDateTime (Isolate *isolate, const DateTimeRecord &date_time, DirectHandle< JSReceiver > calendar)
 
MaybeDirectHandle< JSTemporalTimeZonev8::internal::temporal::CreateTemporalTimeZone (Isolate *isolate, DirectHandle< String > identifier)
 
MaybeDirectHandle< JSTemporalInstantv8::internal::temporal::CreateTemporalInstant (Isolate *isolate, DirectHandle< JSFunction > target, DirectHandle< HeapObject > new_target, DirectHandle< BigInt > epoch_nanoseconds)
 
MaybeDirectHandle< JSTemporalInstantv8::internal::temporal::CreateTemporalInstant (Isolate *isolate, DirectHandle< BigInt > epoch_nanoseconds)
 
DirectHandle< JSTemporalCalendarv8::internal::temporal::GetISO8601Calendar (Isolate *isolate)
 
MaybeDirectHandle< JSTemporalPlainDateTimev8::internal::temporal::BuiltinTimeZoneGetPlainDateTimeFor (Isolate *isolate, DirectHandle< JSReceiver > time_zone, DirectHandle< JSTemporalInstant > instant, DirectHandle< JSReceiver > calendar, const char *method_name)
 
MaybeDirectHandle< Objectv8::internal::temporal::InvokeCalendarMethod (Isolate *isolate, DirectHandle< JSReceiver > calendar, DirectHandle< String > name, DirectHandle< JSReceiver > date_like)
 
MaybeDirectHandle< JSReceiverv8::internal::temporal::ToTemporalCalendar (Isolate *isolate, DirectHandle< Object > temporal_calendar_like, const char *method_name)
 
MaybeDirectHandle< JSReceiverv8::internal::temporal::ToTemporalTimeZone (Isolate *isolate, DirectHandle< Object > temporal_time_zone_like, const char *method_name)
 
MaybeDirectHandle< Oddballv8::internal::temporal::IsInvalidTemporalCalendarField (Isolate *isolate, DirectHandle< String > next_value, DirectHandle< FixedArray > fields_name)
 
MaybeDirectHandle< JSTemporalCalendarv8::internal::temporal::GetBuiltinCalendar (Isolate *isolate, DirectHandle< String > id)
 
MaybeDirectHandle< JSTemporalInstantv8::internal::temporal::BuiltinTimeZoneGetInstantForCompatible (Isolate *isolate, DirectHandle< JSReceiver > time_zone, DirectHandle< JSTemporalPlainDateTime > date_time, const char *method_name)
 
Maybe< DurationRecordv8::internal::temporal::ToPartialDuration (Isolate *isolate, DirectHandle< Object > temporal_duration_like_obj, const DurationRecord &input)
 
bool v8::internal::temporal::IsValidDuration (Isolate *isolate, const DurationRecord &dur)
 

Macro Definition Documentation

◆ DECLARE_CALENDAR_ABSTRACT_INT_OPERATION

#define DECLARE_CALENDAR_ABSTRACT_INT_OPERATION ( Name)
Value:
V8_WARN_UNUSED_RESULT MaybeDirectHandle<Smi> Calendar##Name( \
Isolate* isolate, DirectHandle<JSReceiver> calendar, \
DirectHandle<JSReceiver> date_like);
DirectHandle< Object > calendar
#define V8_WARN_UNUSED_RESULT
Definition v8config.h:671

Definition at line 1148 of file js-temporal-objects.h.

◆ DECLARE_CALENDAR_ABSTRACT_OPERATION

#define DECLARE_CALENDAR_ABSTRACT_OPERATION ( Name)
Value:
V8_WARN_UNUSED_RESULT MaybeDirectHandle<Object> Calendar##Name( \
Isolate* isolate, DirectHandle<JSReceiver> calendar, \
DirectHandle<JSReceiver> date_like);

Definition at line 1152 of file js-temporal-objects.h.

◆ DECLARE_TEMPORAL_DATE_INLINE_GETTER_SETTER

#define DECLARE_TEMPORAL_DATE_INLINE_GETTER_SETTER ( )
Value:
DECLARE_TEMPORAL_INLINE_GETTER_SETTER(iso_month) \
DECLARE_TEMPORAL_INLINE_GETTER_SETTER(iso_day)
#define DECLARE_TEMPORAL_INLINE_GETTER_SETTER(field)

Definition at line 32 of file js-temporal-objects.h.

◆ DECLARE_TEMPORAL_INLINE_GETTER_SETTER

#define DECLARE_TEMPORAL_INLINE_GETTER_SETTER ( field)
Value:
inline void set_##field(int32_t field); \
inline int32_t field() const;
ZoneVector< InstructionOperand > * set_

Definition at line 20 of file js-temporal-objects.h.

◆ DECLARE_TEMPORAL_TIME_INLINE_GETTER_SETTER

#define DECLARE_TEMPORAL_TIME_INLINE_GETTER_SETTER ( )
Value:
DECLARE_TEMPORAL_INLINE_GETTER_SETTER(iso_minute) \
DECLARE_TEMPORAL_INLINE_GETTER_SETTER(iso_second) \
DECLARE_TEMPORAL_INLINE_GETTER_SETTER(iso_millisecond) \
DECLARE_TEMPORAL_INLINE_GETTER_SETTER(iso_microsecond) \
DECLARE_TEMPORAL_INLINE_GETTER_SETTER(iso_nanosecond)

Definition at line 24 of file js-temporal-objects.h.

◆ TEMPORAL_UNIMPLEMENTED

#define TEMPORAL_UNIMPLEMENTED ( T)
Value:
{ \
printf("TBW %s\n", __PRETTY_FUNCTION__); \
UNIMPLEMENTED(); \
}

Definition at line 37 of file js-temporal-objects.h.