Home
last modified time | relevance | path

Searched refs:TokKind (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/TableGen/
DTGLexer.h30 enum TokKind { enum
74 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 …]
DTGLexer.cpp42 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 …]
DTGParser.cpp365 static bool isObjectStart(tgtok::TokKind K) { in isObjectStart()
885 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation()
973 tgtok::TokKind LexCode = Lex.getCode(); in ParseOperation()
/external/clang/lib/Parse/
DParseExprCXX.cpp1168 unsigned TokKind = 0; in ParseLambdaExpressionAfterIntroducer() local
1170 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()