Searched refs:TokKind (Results 1 – 4 of 4) sorted by relevance
30 enum TokKind { enum74 tgtok::TokKind CurCode;91 tgtok::TokKind Lex() { in Lex()99 tgtok::TokKind getCode() const { return CurCode; } in getCode()121 tgtok::TokKind LexToken();123 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);129 tgtok::TokKind LexIdentifier();131 tgtok::TokKind LexString();132 tgtok::TokKind LexVarName();133 tgtok::TokKind LexNumber();[all …]
42 tgtok::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) { in ReturnError()88 tgtok::TokKind TGLexer::LexToken() { in LexToken()183 tgtok::TokKind TGLexer::LexString() { in LexString()235 tgtok::TokKind TGLexer::LexVarName() { in LexVarName()250 tgtok::TokKind TGLexer::LexIdentifier() { in LexIdentifier()266 tgtok::TokKind Kind = StringSwitch<tgtok::TokKind>(Str) in LexIdentifier()293 tgtok::TokKind Tok = LexToken(); in LexInclude()379 tgtok::TokKind TGLexer::LexNumber() { in LexNumber()434 tgtok::TokKind TGLexer::LexBracket() { in LexBracket()457 tgtok::TokKind TGLexer::LexExclaim() { in LexExclaim()[all …]
365 static bool isObjectStart(tgtok::TokKind K) { in isObjectStart()885 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation()973 tgtok::TokKind LexCode = Lex.getCode(); in ParseOperation()
1168 unsigned TokKind = 0; in ParseLambdaExpressionAfterIntroducer() local1170 case tok::kw_mutable: TokKind = 0; break; in ParseLambdaExpressionAfterIntroducer()1171 case tok::arrow: TokKind = 1; break; in ParseLambdaExpressionAfterIntroducer()1173 case tok::l_square: TokKind = 2; break; in ParseLambdaExpressionAfterIntroducer()1178 << TokKind in ParseLambdaExpressionAfterIntroducer()