Searched refs:NUM_TOKENS (Results 1 – 6 of 6) sorted by relevance
/external/v8/src/parsing/ |
D | token.h | 208 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];
|
D | token.cc | 13 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)};
|
D | scanner.cc | 239 STATIC_ASSERT(Token::NUM_TOKENS <= 0x100);
|
/external/clang/include/clang/Lex/ |
D | TokenConcatenation.h | 57 char TokenInfo[tok::NUM_TOKENS];
|
/external/clang/lib/Basic/ |
D | TokenKinds.cpp | 26 if (Kind < tok::NUM_TOKENS) in getTokenName()
|
/external/clang/include/clang/Basic/ |
D | TokenKinds.h | 28 NUM_TOKENS enumerator
|