Home | History | Annotate | Download | only in Basic

Lines Matching refs:TOK

34   TokenID = tok::identifier;
161 tok::TokenKind TokenCode, unsigned Flags,
178 Table.get(Keyword, AddResult == KS_Future ? tok::identifier : TokenCode);
186 tok::TokenKind TokenCode,
195 tok::ObjCKeywordKind ObjCID,
205 AddKeyword(StringRef(#NAME), tok::kw_ ## NAME, \
207 #define ALIAS(NAME, TOK, FLAGS) \
208 AddKeyword(StringRef(NAME), tok::kw_ ## TOK, \
212 AddCXXOperatorKeyword(StringRef(#NAME), tok::ALIAS, *this);
215 AddObjCKeyword(StringRef(#NAME), tok::objc_##NAME, *this);
218 AddObjCKeyword(StringRef(#NAME), tok::objc_##NAME, *this);
223 AddKeyword("__unknown_anytype", tok::kw___unknown_anytype, KEYALL,
227 AddKeyword("__declspec", tok::kw___declspec, KEYALL, LangOpts, *this);
234 tok::TokenKind K) {
237 case tok::kw_##NAME: return getKeywordStatus(LangOpts, FLAGS);
255 tok::PPKeywordKind IdentifierInfo::getPPKeywordID() const {
265 return memcmp(Name, #NAME, LEN) ? tok::pp_not_keyword : tok::pp_ ## NAME
268 if (Len < 2) return tok::pp_not_keyword;
271 default: return tok::pp_not_keyword;