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

Public Member Functions

bool IsInvalid ()
 
bool IsUnknown ()
 
bool IsNumber ()
 
bool IsSymbol ()
 
bool IsWhiteSpace ()
 
bool IsEndOfInput ()
 
bool IsKeyword ()
 
int length ()
 
int number ()
 
KeywordType keyword_type ()
 
int keyword_value ()
 
char symbol ()
 
bool IsSymbol (char symbol)
 
bool IsKeywordType (KeywordType tag)
 
bool IsFixedLengthNumber (int length)
 
bool IsAsciiSign ()
 
int ascii_sign ()
 
bool IsKeywordZ ()
 
bool IsUnknown (int character)
 

Static Public Member Functions

static DateToken Keyword (KeywordType tag, int value, int length)
 
static DateToken Number (int value, int length)
 
static DateToken Symbol (char symbol)
 
static DateToken EndOfInput ()
 
static DateToken WhiteSpace (int length)
 
static DateToken Unknown ()
 
static DateToken Invalid ()
 

Private Types

enum  TagType {
  kInvalidTokenTag = -6 , kUnknownTokenTag = -5 , kWhiteSpaceTag = -4 , kNumberTag = -3 ,
  kSymbolTag = -2 , kEndOfInputTag = -1 , kKeywordTagStart = 0
}
 

Private Member Functions

 DateToken (int tag, int length, int value)
 

Private Attributes

int tag_
 
int length_
 
int value_
 

Detailed Description

Definition at line 139 of file dateparser.h.

Member Enumeration Documentation

◆ TagType

Enumerator
kInvalidTokenTag 
kUnknownTokenTag 
kWhiteSpaceTag 
kNumberTag 
kSymbolTag 
kEndOfInputTag 
kKeywordTagStart 

Definition at line 203 of file dateparser.h.

Constructor & Destructor Documentation

◆ DateToken()

v8::internal::DateParser::DateToken::DateToken ( int tag,
int length,
int value )
inlineprivate

Definition at line 212 of file dateparser.h.

Here is the caller graph for this function:

Member Function Documentation

◆ ascii_sign()

int v8::internal::DateParser::DateToken::ascii_sign ( )
inline

Definition at line 177 of file dateparser.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EndOfInput()

static DateToken v8::internal::DateParser::DateToken::EndOfInput ( )
inlinestatic

Definition at line 195 of file dateparser.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Invalid()

static DateToken v8::internal::DateParser::DateToken::Invalid ( )
inlinestatic

Definition at line 200 of file dateparser.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsAsciiSign()

bool v8::internal::DateParser::DateToken::IsAsciiSign ( )
inline

Definition at line 174 of file dateparser.h.

Here is the caller graph for this function:

◆ IsEndOfInput()

bool v8::internal::DateParser::DateToken::IsEndOfInput ( )
inline

Definition at line 146 of file dateparser.h.

Here is the caller graph for this function:

◆ IsFixedLengthNumber()

bool v8::internal::DateParser::DateToken::IsFixedLengthNumber ( int length)
inline

Definition at line 171 of file dateparser.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsInvalid()

bool v8::internal::DateParser::DateToken::IsInvalid ( )
inline

Definition at line 141 of file dateparser.h.

Here is the caller graph for this function:

◆ IsKeyword()

bool v8::internal::DateParser::DateToken::IsKeyword ( )
inline

Definition at line 147 of file dateparser.h.

Here is the caller graph for this function:

◆ IsKeywordType()

bool v8::internal::DateParser::DateToken::IsKeywordType ( KeywordType tag)
inline

Definition at line 170 of file dateparser.h.

Here is the caller graph for this function:

◆ IsKeywordZ()

bool v8::internal::DateParser::DateToken::IsKeywordZ ( )
inline

Definition at line 181 of file dateparser.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsNumber()

bool v8::internal::DateParser::DateToken::IsNumber ( )
inline

Definition at line 143 of file dateparser.h.

Here is the caller graph for this function:

◆ IsSymbol() [1/2]

bool v8::internal::DateParser::DateToken::IsSymbol ( )
inline

Definition at line 144 of file dateparser.h.

Here is the caller graph for this function:

◆ IsSymbol() [2/2]

bool v8::internal::DateParser::DateToken::IsSymbol ( char symbol)
inline

Definition at line 167 of file dateparser.h.

Here is the call graph for this function:

◆ IsUnknown() [1/2]

bool v8::internal::DateParser::DateToken::IsUnknown ( )
inline

Definition at line 142 of file dateparser.h.

◆ IsUnknown() [2/2]

bool v8::internal::DateParser::DateToken::IsUnknown ( int character)
inline

Definition at line 184 of file dateparser.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsWhiteSpace()

bool v8::internal::DateParser::DateToken::IsWhiteSpace ( )
inline

Definition at line 145 of file dateparser.h.

Here is the caller graph for this function:

◆ Keyword()

static DateToken v8::internal::DateParser::DateToken::Keyword ( KeywordType tag,
int value,
int length )
inlinestatic

Definition at line 186 of file dateparser.h.

Here is the call graph for this function:

◆ keyword_type()

KeywordType v8::internal::DateParser::DateToken::keyword_type ( )
inline

Definition at line 155 of file dateparser.h.

Here is the call graph for this function:

◆ keyword_value()

int v8::internal::DateParser::DateToken::keyword_value ( )
inline

Definition at line 159 of file dateparser.h.

Here is the call graph for this function:

◆ length()

int v8::internal::DateParser::DateToken::length ( )
inline

Definition at line 149 of file dateparser.h.

Here is the caller graph for this function:

◆ Number()

static DateToken v8::internal::DateParser::DateToken::Number ( int value,
int length )
inlinestatic

Definition at line 189 of file dateparser.h.

Here is the call graph for this function:

◆ number()

int v8::internal::DateParser::DateToken::number ( )
inline

Definition at line 151 of file dateparser.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Symbol()

static DateToken v8::internal::DateParser::DateToken::Symbol ( char symbol)
inlinestatic

Definition at line 192 of file dateparser.h.

Here is the call graph for this function:

◆ symbol()

char v8::internal::DateParser::DateToken::symbol ( )
inline

Definition at line 163 of file dateparser.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Unknown()

static DateToken v8::internal::DateParser::DateToken::Unknown ( )
inlinestatic

Definition at line 199 of file dateparser.h.

Here is the call graph for this function:

◆ WhiteSpace()

static DateToken v8::internal::DateParser::DateToken::WhiteSpace ( int length)
inlinestatic

Definition at line 196 of file dateparser.h.

Here is the call graph for this function:

Member Data Documentation

◆ length_

int v8::internal::DateParser::DateToken::length_
private

Definition at line 216 of file dateparser.h.

◆ tag_

int v8::internal::DateParser::DateToken::tag_
private

Definition at line 215 of file dateparser.h.

◆ value_

int v8::internal::DateParser::DateToken::value_
private

Definition at line 217 of file dateparser.h.


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