Home | History | Annotate | Download | only in Basic

Lines Matching refs:TOK

32   TokenID = tok::identifier;
119 tok::TokenKind TokenCode, unsigned Flags,
143 Table.get(Keyword, AddResult == 3 ? tok::identifier : TokenCode);
151 tok::TokenKind TokenCode,
160 tok::ObjCKeywordKind ObjCID,
170 AddKeyword(StringRef(#NAME), tok::kw_ ## NAME, \
172 #define ALIAS(NAME, TOK, FLAGS) \
173 AddKeyword(StringRef(NAME), tok::kw_ ## TOK, \
177 AddCXXOperatorKeyword(StringRef(#NAME), tok::ALIAS, *this);
180 AddObjCKeyword(StringRef(#NAME), tok::objc_##NAME, *this);
183 AddObjCKeyword(StringRef(#NAME), tok::objc_##NAME, *this);
188 AddKeyword("__unknown_anytype", tok::kw___unknown_anytype, KEYALL,
192 tok::PPKeywordKind IdentifierInfo::getPPKeywordID() const {
202 return memcmp(Name, #NAME, LEN) ? tok::pp_not_keyword : tok::pp_ ## NAME
205 if (Len < 2) return tok::pp_not_keyword;
208 default: return tok::pp_not_keyword;