v8::internal::AllStaticを継承しています。
Static Public メソッド | |
| static int | Lookup (const uint32_t *pre, int len) |
| static KeywordType | GetType (int i) |
| static int | GetValue (int i) |
Static Public 変数 | |
| static const int | kPrefixLength = 3 |
| static const int | kTypeOffset = kPrefixLength |
| static const int | kValueOffset = kTypeOffset + 1 |
| static const int | kEntrySize = kValueOffset + 1 |
| static const int8_t | array [][kEntrySize] |
dateparser.h の 135 行で定義されています。
| static KeywordType v8::internal::DateParser::KeywordTable::GetType | ( | int | i | ) | [inline, static] |
| static int v8::internal::DateParser::KeywordTable::GetValue | ( | int | i | ) | [inline, static] |
| int v8::internal::DateParser::KeywordTable::Lookup | ( | const uint32_t * | pre, | |
| int | len | |||
| ) | [static] |
dateparser.cc の 245 行で定義されています。
参照先 array, kPrefixLength, kTypeOffset, と v8::internal::DateParser::MONTH_NAME.
const int8_t v8::internal::DateParser::KeywordTable::array [static] |
{
{'j', 'a', 'n', DateParser::MONTH_NAME, 1},
{'f', 'e', 'b', DateParser::MONTH_NAME, 2},
{'m', 'a', 'r', DateParser::MONTH_NAME, 3},
{'a', 'p', 'r', DateParser::MONTH_NAME, 4},
{'m', 'a', 'y', DateParser::MONTH_NAME, 5},
{'j', 'u', 'n', DateParser::MONTH_NAME, 6},
{'j', 'u', 'l', DateParser::MONTH_NAME, 7},
{'a', 'u', 'g', DateParser::MONTH_NAME, 8},
{'s', 'e', 'p', DateParser::MONTH_NAME, 9},
{'o', 'c', 't', DateParser::MONTH_NAME, 10},
{'n', 'o', 'v', DateParser::MONTH_NAME, 11},
{'d', 'e', 'c', DateParser::MONTH_NAME, 12},
{'a', 'm', '\0', DateParser::AM_PM, 0},
{'p', 'm', '\0', DateParser::AM_PM, 12},
{'u', 't', '\0', DateParser::TIME_ZONE_NAME, 0},
{'u', 't', 'c', DateParser::TIME_ZONE_NAME, 0},
{'g', 'm', 't', DateParser::TIME_ZONE_NAME, 0},
{'c', 'd', 't', DateParser::TIME_ZONE_NAME, -5},
{'c', 's', 't', DateParser::TIME_ZONE_NAME, -6},
{'e', 'd', 't', DateParser::TIME_ZONE_NAME, -4},
{'e', 's', 't', DateParser::TIME_ZONE_NAME, -5},
{'m', 'd', 't', DateParser::TIME_ZONE_NAME, -6},
{'m', 's', 't', DateParser::TIME_ZONE_NAME, -7},
{'p', 'd', 't', DateParser::TIME_ZONE_NAME, -7},
{'p', 's', 't', DateParser::TIME_ZONE_NAME, -8},
{'\0', '\0', '\0', DateParser::INVALID, 0},
}
dateparser.h の 152 行で定義されています。
参照元 GetType(), GetValue(), と Lookup().
const int v8::internal::DateParser::KeywordTable::kEntrySize = kValueOffset + 1 [static] |
dateparser.h の 151 行で定義されています。
const int v8::internal::DateParser::KeywordTable::kPrefixLength = 3 [static] |
dateparser.h の 148 行で定義されています。
const int v8::internal::DateParser::KeywordTable::kTypeOffset = kPrefixLength [static] |
dateparser.h の 149 行で定義されています。
const int v8::internal::DateParser::KeywordTable::kValueOffset = kTypeOffset + 1 [static] |
dateparser.h の 150 行で定義されています。
参照元 GetValue().
1.7.1