Searched refs:TokKind (Results 1 – 5 of 5) sorted by relevance
32 enum TokKind { enum173 static inline bool isBangOperator(tgtok::TokKind Kind) { in isBangOperator()178 static inline bool isObjectStart(tgtok::TokKind Kind) { in isObjectStart()183 static inline bool isStringValue(tgtok::TokKind Kind) { in isStringValue()197 tgtok::TokKind CurCode = tgtok::TokKind::Eof;215 tgtok::TokKind Lex() { in Lex()223 tgtok::TokKind getCode() const { return CurCode; } in getCode()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);[all …]
36 tgtok::TokKind Kind;72 tgtok::TokKind TGLexer::ReturnError(SMLoc Loc, const Twine &Msg) { in ReturnError()77 tgtok::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) { in ReturnError()142 tgtok::TokKind TGLexer::LexToken(bool FileOrLineStart) { in LexToken()181 tgtok::TokKind Kind = prepIsDirective(); in LexToken()271 tgtok::TokKind TGLexer::LexString() { in LexString()323 tgtok::TokKind TGLexer::LexVarName() { in LexVarName()337 tgtok::TokKind TGLexer::LexIdentifier() { in LexIdentifier()348 tgtok::TokKind Kind = StringSwitch<tgtok::TokKind>(Str) in LexIdentifier()396 tgtok::TokKind Tok = LexToken(); in LexInclude()[all …]
260 bool consume(tgtok::TokKind K);
656 bool TGParser::consume(tgtok::TokKind K) { in consume()1450 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation()1871 tgtok::TokKind LexCode = Lex.getCode(); in ParseOperation()2391 tgtok::TokKind Operation = Lex.getCode(); in ParseOperationForEachFilter()2621 tgtok::TokKind Code = Lex.getCode(); in ParseSimpleValue()2675 tgtok::TokKind Next = Lex.Lex(); in ParseSimpleValue()
2034 AsmToken::TokenKind TokKind = Lexer.getKind(); in parseBinOpRHS() local2036 TokKind = StringSwitch<AsmToken::TokenKind>(Lexer.getTok().getString()) in parseBinOpRHS()2049 .Default(TokKind); in parseBinOpRHS()2052 unsigned TokPrec = getBinOpPrecedence(TokKind, Kind); in parseBinOpRHS()