Lines Matching defs:TokKind
32 enum TokKind {
173 static inline bool isBangOperator(tgtok::TokKind Kind) {
178 static inline bool isObjectStart(tgtok::TokKind Kind) {
183 static inline bool isStringValue(tgtok::TokKind Kind) {
197 tgtok::TokKind CurCode = tgtok::TokKind::Eof;
215 tgtok::TokKind Lex() {
223 tgtok::TokKind getCode() const { return CurCode; }
245 tgtok::TokKind LexToken(bool FileOrLineStart = false);
247 tgtok::TokKind ReturnError(SMLoc Loc, const Twine &Msg);
248 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);
254 tgtok::TokKind LexIdentifier();
256 tgtok::TokKind LexString();
257 tgtok::TokKind LexVarName();
258 tgtok::TokKind LexNumber();
259 tgtok::TokKind LexBracket();
260 tgtok::TokKind LexExclaim();
295 tgtok::TokKind Kind;
347 tgtok::TokKind prepIsDirective() const;
356 void prepEatPreprocessorDirective(tgtok::TokKind Kind);
386 tgtok::TokKind lexPreprocessor(tgtok::TokKind Kind,