Searched refs:TokKind (Results 1 – 6 of 6) sorted by relevance
32 enum TokKind { enum89 tgtok::TokKind CurCode = tgtok::TokKind::Eof;107 tgtok::TokKind Lex() { in Lex()146 tgtok::TokKind LexIdentifier();148 tgtok::TokKind LexString();149 tgtok::TokKind LexVarName();150 tgtok::TokKind LexNumber();151 tgtok::TokKind LexBracket();152 tgtok::TokKind LexExclaim();187 tgtok::TokKind Kind;[all …]
36 tgtok::TokKind Kind;267 tgtok::TokKind TGLexer::LexString() { in LexString()319 tgtok::TokKind TGLexer::LexVarName() { in LexVarName()333 tgtok::TokKind TGLexer::LexIdentifier() { in LexIdentifier()344 tgtok::TokKind Kind = StringSwitch<tgtok::TokKind>(Str) in LexIdentifier()390 tgtok::TokKind Tok = LexToken(); in LexInclude()460 tgtok::TokKind TGLexer::LexNumber() { in LexNumber()515 tgtok::TokKind TGLexer::LexBracket() { in LexBracket()538 tgtok::TokKind TGLexer::LexExclaim() { in LexExclaim()547 tgtok::TokKind Kind = in LexExclaim()[all …]
220 bool consume(tgtok::TokKind K);
516 static bool isObjectStart(tgtok::TokKind K) { in isObjectStart()523 bool TGParser::consume(tgtok::TokKind K) { in consume()1166 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation()1438 tgtok::TokKind LexCode = Lex.getCode(); in ParseOperation()1917 tgtok::TokKind Operation = Lex.getCode(); in ParseOperationForEachFilter()
44 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context); in forwardSkipWhitespaceAndComments() local45 if (TokKind != tok::comment) in forwardSkipWhitespaceAndComments()73 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context); in findEndLocation() local74 if (TokKind != tok::comment) { in findEndLocation()178 tok::TokenKind TokKind = getTokenKind(RParenLoc, SM, Context); in findRParenLoc() local179 if (TokKind != tok::r_paren) in findRParenLoc()
2025 AsmToken::TokenKind TokKind = Lexer.getKind(); in parseBinOpRHS() local2027 TokKind = StringSwitch<AsmToken::TokenKind>(Lexer.getTok().getString()) in parseBinOpRHS()2040 .Default(TokKind); in parseBinOpRHS()2043 unsigned TokPrec = getBinOpPrecedence(TokKind, Kind); in parseBinOpRHS()