class LLLexer
Declaration
class LLLexer { /* full declaration omitted */ };
Declared at: llvm/lib/AsmParser/LLLexer.h:28
Method Overview
- public bool Error(llvm::LLLexer::LocTy ErrorLoc, const llvm::Twine & Msg) const
- public bool Error(const llvm::Twine & Msg) const
- public LLLexer(llvm::StringRef StartBuf, llvm::SourceMgr & SM, llvm::SMDiagnostic &, llvm::LLVMContext & C)
- public lltok::Kind Lex()
- public void Warning(llvm::LLLexer::LocTy WarningLoc, const llvm::Twine & Msg) const
- public void Warning(const llvm::Twine & Msg) const
- public const llvm::APFloat & getAPFloatVal() const
- public const llvm::APSInt & getAPSIntVal() const
- public lltok::Kind getKind() const
- public llvm::LLLexer::LocTy getLoc() const
- public const std::string & getStrVal() const
- public llvm::Type * getTyVal() const
- public unsigned int getUIntVal() const
- public void setIgnoreColonInIdentifiers(bool val)
Methods
¶bool Error(llvm::LLLexer::LocTy ErrorLoc,
const llvm::Twine& Msg) const
bool Error(llvm::LLLexer::LocTy ErrorLoc,
const llvm::Twine& Msg) const
Declared at: llvm/lib/AsmParser/LLLexer.h:69
Parameters
- llvm::LLLexer::LocTy ErrorLoc
- const llvm::Twine& Msg
¶bool Error(const llvm::Twine& Msg) const
bool Error(const llvm::Twine& Msg) const
Declared at: llvm/lib/AsmParser/LLLexer.h:70
Parameters
- const llvm::Twine& Msg
¶LLLexer(llvm::StringRef StartBuf,
llvm::SourceMgr& SM,
llvm::SMDiagnostic&,
llvm::LLVMContext& C)
LLLexer(llvm::StringRef StartBuf,
llvm::SourceMgr& SM,
llvm::SMDiagnostic&,
llvm::LLVMContext& C)
Declared at: llvm/lib/AsmParser/LLLexer.h:49
Parameters
- llvm::StringRef StartBuf
- llvm::SourceMgr& SM
- llvm::SMDiagnostic&
- llvm::LLVMContext& C
¶lltok::Kind Lex()
lltok::Kind Lex()
Declared at: llvm/lib/AsmParser/LLLexer.h:52
¶void Warning(llvm::LLLexer::LocTy WarningLoc,
const llvm::Twine& Msg) const
void Warning(llvm::LLLexer::LocTy WarningLoc,
const llvm::Twine& Msg) const
Declared at: llvm/lib/AsmParser/LLLexer.h:72
Parameters
- llvm::LLLexer::LocTy WarningLoc
- const llvm::Twine& Msg
¶void Warning(const llvm::Twine& Msg) const
void Warning(const llvm::Twine& Msg) const
Declared at: llvm/lib/AsmParser/LLLexer.h:73
Parameters
- const llvm::Twine& Msg
¶const llvm::APFloat& getAPFloatVal() const
const llvm::APFloat& getAPFloatVal() const
Declared at: llvm/lib/AsmParser/LLLexer.h:63
¶const llvm::APSInt& getAPSIntVal() const
const llvm::APSInt& getAPSIntVal() const
Declared at: llvm/lib/AsmParser/LLLexer.h:62
¶lltok::Kind getKind() const
lltok::Kind getKind() const
Declared at: llvm/lib/AsmParser/LLLexer.h:58
¶llvm::LLLexer::LocTy getLoc() const
llvm::LLLexer::LocTy getLoc() const
Declared at: llvm/lib/AsmParser/LLLexer.h:57
¶const std::string& getStrVal() const
const std::string& getStrVal() const
Declared at: llvm/lib/AsmParser/LLLexer.h:59
¶llvm::Type* getTyVal() const
llvm::Type* getTyVal() const
Declared at: llvm/lib/AsmParser/LLLexer.h:60
¶unsigned int getUIntVal() const
unsigned int getUIntVal() const
Declared at: llvm/lib/AsmParser/LLLexer.h:61
¶void setIgnoreColonInIdentifiers(bool val)
void setIgnoreColonInIdentifiers(bool val)
Declared at: llvm/lib/AsmParser/LLLexer.h:65
Parameters
- bool val