class TGLexer
Declaration
class TGLexer { /* full declaration omitted */ };
Description
TGLexer - TableGen Lexer class.
Declared at: llvm/lib/TableGen/TGLexer.h:74
Method Overview
- public tgtok::TokKind Lex()
- public TGLexer(llvm::SourceMgr & SrcMgr, ArrayRef<std::string> Macros)
- public tgtok::TokKind getCode() const
- public std::pair<int64_t, unsigned int> getCurBinaryIntVal() const
- public int64_t getCurIntVal() const
- public const std::string & getCurStrVal() const
- public const llvm::TGLexer::DependenciesSetTy & getDependencies() const
- public llvm::SMLoc getLoc() const
Methods
¶tgtok::TokKind Lex()
tgtok::TokKind Lex()
Declared at: llvm/lib/TableGen/TGLexer.h:100
¶TGLexer(llvm::SourceMgr& SrcMgr,
ArrayRef<std::string> Macros)
TGLexer(llvm::SourceMgr& SrcMgr,
ArrayRef<std::string> Macros)
Declared at: llvm/lib/TableGen/TGLexer.h:98
Parameters
- llvm::SourceMgr& SrcMgr
- ArrayRef<std::string> Macros
¶tgtok::TokKind getCode() const
tgtok::TokKind getCode() const
Declared at: llvm/lib/TableGen/TGLexer.h:108
¶std::pair<int64_t, unsigned int>
getCurBinaryIntVal() const
std::pair<int64_t, unsigned int>
getCurBinaryIntVal() const
Declared at: llvm/lib/TableGen/TGLexer.h:120
¶int64_t getCurIntVal() const
int64_t getCurIntVal() const
Declared at: llvm/lib/TableGen/TGLexer.h:116
¶const std::string& getCurStrVal() const
const std::string& getCurStrVal() const
Declared at: llvm/lib/TableGen/TGLexer.h:110
¶const llvm::TGLexer::DependenciesSetTy&
getDependencies() const
const llvm::TGLexer::DependenciesSetTy&
getDependencies() const
Declared at: llvm/lib/TableGen/TGLexer.h:104
¶llvm::SMLoc getLoc() const
llvm::SMLoc getLoc() const
Declared at: llvm/lib/TableGen/TGLexer.h:126