|
LLVM 22.0.0git
|
TGLexer - TableGen Lexer class. More...
#include "TableGen/TGLexer.h"
Public Types | |
| typedef std::set< std::string > | DependenciesSetTy |
Public Member Functions | |
| TGLexer (SourceMgr &SrcMgr, ArrayRef< std::string > Macros) | |
| tgtok::TokKind | Lex () |
| const DependenciesSetTy & | getDependencies () const |
| tgtok::TokKind | getCode () const |
| const std::string & | getCurStrVal () const |
| int64_t | getCurIntVal () const |
| std::pair< int64_t, unsigned > | getCurBinaryIntVal () const |
| SMLoc | getLoc () const |
| SMRange | getLocRange () const |
| typedef std::set<std::string> llvm::TGLexer::DependenciesSetTy |
Definition at line 75 of file TGLexer.cpp.
References lexMacroName(), and llvm::PrintFatalError().
|
inline |
|
inline |
Definition at line 234 of file TGLexer.h.
References assert(), and llvm::tgtok::BinaryIntVal.
|
inline |
Definition at line 230 of file TGLexer.h.
References assert(), and llvm::tgtok::IntVal.
|
inline |
Definition at line 225 of file TGLexer.h.
References assert(), and llvm::tgtok::isStringValue().
|
inline |
| SMLoc TGLexer::getLoc | ( | ) | const |
Definition at line 96 of file TGLexer.cpp.
References llvm::SMLoc::getFromPointer().
Referenced by getLocRange().
| SMRange TGLexer::getLocRange | ( | ) | const |
Definition at line 98 of file TGLexer.cpp.
References llvm::SMLoc::getFromPointer(), and getLoc().
|
inline |