Home
last modified time | relevance | path

Searched refs:NUM_TOKENS (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/parsing/
Dtoken.h208 enum Value { TOKEN_LIST(T, T, T) NUM_TOKENS };
214 DCHECK(tok < NUM_TOKENS); // tok is unsigned in Name()
315 DCHECK(tok < NUM_TOKENS); // tok is unsigned. in String()
320 DCHECK(tok < NUM_TOKENS); in StringLength()
327 DCHECK(tok < NUM_TOKENS); // tok is unsigned. in Precedence()
332 static const char* const name_[NUM_TOKENS];
333 static const char* const string_[NUM_TOKENS];
334 static const uint8_t string_length_[NUM_TOKENS];
335 static const int8_t precedence_[NUM_TOKENS];
336 static const char token_type[NUM_TOKENS];
Dtoken.cc13 const char* const Token::name_[NUM_TOKENS] = {TOKEN_LIST(T, T, T)};
18 const char* const Token::string_[NUM_TOKENS] = {TOKEN_LIST(T, T, T)};
25 const uint8_t Token::string_length_[NUM_TOKENS] = {TOKEN_LIST(T, T, T)};
29 const int8_t Token::precedence_[NUM_TOKENS] = {TOKEN_LIST(T, T, T)};
Dscanner.cc239 STATIC_ASSERT(Token::NUM_TOKENS <= 0x100);
/external/clang/include/clang/Lex/
DTokenConcatenation.h57 char TokenInfo[tok::NUM_TOKENS];
/external/clang/lib/Basic/
DTokenKinds.cpp26 if (Kind < tok::NUM_TOKENS) in getTokenName()
/external/clang/include/clang/Basic/
DTokenKinds.h28 NUM_TOKENS enumerator