LLVM API Documentation
TGLexer - TableGen Lexer class. More...
#include <TGLexer.h>
Public Types | |
typedef std::map< std::string, SMLoc > | DependenciesMapTy |
Public Member Functions | |
TGLexer (SourceMgr &SrcMgr) | |
~TGLexer () | |
tgtok::TokKind | Lex () |
const DependenciesMapTy & | getDependencies () const |
tgtok::TokKind | getCode () const |
const std::string & | getCurStrVal () const |
int64_t | getCurIntVal () const |
SMLoc | getLoc () const |
typedef std::map<std::string, SMLoc> llvm::TGLexer::DependenciesMapTy |
TGLexer::TGLexer | ( | SourceMgr & | SrcMgr | ) |
Definition at line 29 of file TGLexer.cpp.
References llvm::MemoryBuffer::getBufferStart(), and llvm::SourceMgr::getMemoryBuffer().
|
inline |
|
inline |
Definition at line 104 of file TGLexer.h.
References llvm::tgtok::IntVal.
|
inline |
Definition at line 98 of file TGLexer.h.
References llvm::tgtok::CodeFragment, llvm::tgtok::Id, llvm::tgtok::StrVal, and llvm::tgtok::VarName.
|
inline |
Definition at line 92 of file TGLexer.h.
Referenced by llvm::TGParser::getDependencies().
SMLoc TGLexer::getLoc | ( | ) | const |
Definition at line 36 of file TGLexer.cpp.
References llvm::SMLoc::getFromPointer().
Referenced by llvm::TGParser::TokError().
|
inline |