Searched refs:TokKind (Results 1 – 4 of 4) sorted by relevance
30 enum TokKind { enum70 tgtok::TokKind CurCode;88 tgtok::TokKind Lex() { in Lex()96 tgtok::TokKind getCode() const { return CurCode; } in getCode()113 tgtok::TokKind LexToken();115 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);121 tgtok::TokKind LexIdentifier();123 tgtok::TokKind LexString();124 tgtok::TokKind LexVarName();125 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 …]
382 static bool isObjectStart(tgtok::TokKind K) { in isObjectStart()913 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation()1000 tgtok::TokKind LexCode = Lex.getCode(); in ParseOperation()
1104 unsigned TokKind = 0; in ParseLambdaExpressionAfterIntroducer() local1106 case tok::kw_mutable: TokKind = 0; break; in ParseLambdaExpressionAfterIntroducer()1107 case tok::arrow: TokKind = 1; break; in ParseLambdaExpressionAfterIntroducer()1109 case tok::l_square: TokKind = 2; break; in ParseLambdaExpressionAfterIntroducer()1114 << TokKind in ParseLambdaExpressionAfterIntroducer()