17 #include "llvm/Support/DataTypes.h"
46 Bit,
Bits,
Class,
Code,
Dag,
Def,
Foreach,
Defm,
Field,
In,
Int,
Let,
List,
71 std::string CurStrVal;
89 return CurCode = LexToken();
101 "This token doesn't have a string value");
105 assert(CurCode ==
tgtok::IntVal &&
"This token isn't an integer");
118 int peekNextChar(
int Index);
119 void SkipBCPLComment();
TGLexer(SourceMgr &SrcMgr)
tgtok::TokKind getCode() const
const DependenciesMapTy & getDependencies() const
int64_t getCurIntVal() const
const std::string & getCurStrVal() const
std::map< std::string, SMLoc > DependenciesMapTy
Represents a location in source code.
TGLexer - TableGen Lexer class.