v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ParsedISO8601Result Struct Reference

#include <temporal-parser.h>

Collaboration diagram for v8::internal::ParsedISO8601Result:

Public Member Functions

 ParsedISO8601Result ()
 
bool date_year_is_undefined () const
 
bool date_month_is_undefined () const
 
bool date_day_is_undefined () const
 
bool time_hour_is_undefined () const
 
bool time_minute_is_undefined () const
 
bool time_second_is_undefined () const
 
bool time_nanosecond_is_undefined () const
 
bool tzuo_hour_is_undefined () const
 
bool tzuo_minute_is_undefined () const
 
bool tzuo_second_is_undefined () const
 
bool tzuo_sign_is_undefined () const
 
bool tzuo_nanosecond_is_undefined () const
 

Public Attributes

int32_t date_year
 
int32_t date_month
 
int32_t date_day
 
int32_t time_hour
 
int32_t time_minute
 
int32_t time_second
 
int32_t time_nanosecond
 
int32_t tzuo_sign
 
int32_t tzuo_hour
 
int32_t tzuo_minute
 
int32_t tzuo_second
 
int32_t tzuo_nanosecond
 
bool utc_designator
 
int32_t tzi_name_start
 
int32_t tzi_name_length
 
int32_t calendar_name_start
 
int32_t calendar_name_length
 
int32_t offset_string_start
 
int32_t offset_string_length
 

Detailed Description

ParsedISO8601Result contains the parsed result of ISO 8601 grammar documented in #sec-temporal-iso8601grammar for TemporalInstantString, TemporalZonedDateTimeString, CalendarName, TemporalDateString, TemporalDateTimeString, TemporalMonthDayString, TemporalRelativeToString, TemporalTimeString, TimeZoneIdentifier, and TemporalYearMonthString. For all the fields represented by int32_t, a special value kMinInt31 is used to represent the field is "undefined" after parsing.

Definition at line 24 of file temporal-parser.h.

Constructor & Destructor Documentation

◆ ParsedISO8601Result()

v8::internal::ParsedISO8601Result::ParsedISO8601Result ( )
inline

Definition at line 51 of file temporal-parser.h.

Member Function Documentation

◆ date_day_is_undefined()

bool v8::internal::ParsedISO8601Result::date_day_is_undefined ( ) const
inline

Definition at line 74 of file temporal-parser.h.

◆ date_month_is_undefined()

bool v8::internal::ParsedISO8601Result::date_month_is_undefined ( ) const
inline

Definition at line 73 of file temporal-parser.h.

◆ date_year_is_undefined()

bool v8::internal::ParsedISO8601Result::date_year_is_undefined ( ) const
inline

Definition at line 72 of file temporal-parser.h.

◆ time_hour_is_undefined()

bool v8::internal::ParsedISO8601Result::time_hour_is_undefined ( ) const
inline

Definition at line 75 of file temporal-parser.h.

◆ time_minute_is_undefined()

bool v8::internal::ParsedISO8601Result::time_minute_is_undefined ( ) const
inline

Definition at line 76 of file temporal-parser.h.

◆ time_nanosecond_is_undefined()

bool v8::internal::ParsedISO8601Result::time_nanosecond_is_undefined ( ) const
inline

Definition at line 78 of file temporal-parser.h.

◆ time_second_is_undefined()

bool v8::internal::ParsedISO8601Result::time_second_is_undefined ( ) const
inline

Definition at line 77 of file temporal-parser.h.

◆ tzuo_hour_is_undefined()

bool v8::internal::ParsedISO8601Result::tzuo_hour_is_undefined ( ) const
inline

Definition at line 81 of file temporal-parser.h.

◆ tzuo_minute_is_undefined()

bool v8::internal::ParsedISO8601Result::tzuo_minute_is_undefined ( ) const
inline

Definition at line 82 of file temporal-parser.h.

◆ tzuo_nanosecond_is_undefined()

bool v8::internal::ParsedISO8601Result::tzuo_nanosecond_is_undefined ( ) const
inline

Definition at line 85 of file temporal-parser.h.

◆ tzuo_second_is_undefined()

bool v8::internal::ParsedISO8601Result::tzuo_second_is_undefined ( ) const
inline

Definition at line 83 of file temporal-parser.h.

◆ tzuo_sign_is_undefined()

bool v8::internal::ParsedISO8601Result::tzuo_sign_is_undefined ( ) const
inline

Definition at line 84 of file temporal-parser.h.

Member Data Documentation

◆ calendar_name_length

int32_t v8::internal::ParsedISO8601Result::calendar_name_length

Definition at line 45 of file temporal-parser.h.

◆ calendar_name_start

int32_t v8::internal::ParsedISO8601Result::calendar_name_start

Definition at line 43 of file temporal-parser.h.

◆ date_day

int32_t v8::internal::ParsedISO8601Result::date_day

Definition at line 27 of file temporal-parser.h.

◆ date_month

int32_t v8::internal::ParsedISO8601Result::date_month

Definition at line 26 of file temporal-parser.h.

◆ date_year

int32_t v8::internal::ParsedISO8601Result::date_year

Definition at line 25 of file temporal-parser.h.

◆ offset_string_length

int32_t v8::internal::ParsedISO8601Result::offset_string_length

Definition at line 49 of file temporal-parser.h.

◆ offset_string_start

int32_t v8::internal::ParsedISO8601Result::offset_string_start

Definition at line 46 of file temporal-parser.h.

◆ time_hour

int32_t v8::internal::ParsedISO8601Result::time_hour

Definition at line 28 of file temporal-parser.h.

◆ time_minute

int32_t v8::internal::ParsedISO8601Result::time_minute

Definition at line 29 of file temporal-parser.h.

◆ time_nanosecond

int32_t v8::internal::ParsedISO8601Result::time_nanosecond

Definition at line 32 of file temporal-parser.h.

◆ time_second

int32_t v8::internal::ParsedISO8601Result::time_second

Definition at line 30 of file temporal-parser.h.

◆ tzi_name_length

int32_t v8::internal::ParsedISO8601Result::tzi_name_length

Definition at line 42 of file temporal-parser.h.

◆ tzi_name_start

int32_t v8::internal::ParsedISO8601Result::tzi_name_start

Definition at line 40 of file temporal-parser.h.

◆ tzuo_hour

int32_t v8::internal::ParsedISO8601Result::tzuo_hour

Definition at line 34 of file temporal-parser.h.

◆ tzuo_minute

int32_t v8::internal::ParsedISO8601Result::tzuo_minute

Definition at line 35 of file temporal-parser.h.

◆ tzuo_nanosecond

int32_t v8::internal::ParsedISO8601Result::tzuo_nanosecond

Definition at line 38 of file temporal-parser.h.

◆ tzuo_second

int32_t v8::internal::ParsedISO8601Result::tzuo_second

Definition at line 36 of file temporal-parser.h.

◆ tzuo_sign

int32_t v8::internal::ParsedISO8601Result::tzuo_sign

Definition at line 33 of file temporal-parser.h.

◆ utc_designator

bool v8::internal::ParsedISO8601Result::utc_designator

Definition at line 39 of file temporal-parser.h.


The documentation for this struct was generated from the following file: