LLVM: llvm::LLLexer Class Reference (original) (raw)
#include "[llvm/AsmParser/LLLexer.h](LLLexer%5F8h%5Fsource.html)"
| Public Member Functions |
|
|
LLLexer (StringRef StartBuf, SourceMgr &SM, SMDiagnostic &, LLVMContext &C) |
| lltok::Kind |
Lex () |
| LocTy |
getLoc () const |
| lltok::Kind |
getKind () const |
| const std::string & |
getStrVal () const |
| Type * |
getTyVal () const |
| unsigned |
getUIntVal () const |
| const APSInt & |
getAPSIntVal () const |
| const APFloat & |
getAPFloatVal () const |
| void |
setIgnoreColonInIdentifiers (bool val) |
| std::pair< unsigned, unsigned > |
getTokLineColumnPos () |
|
Get the line, column position of the start of the current token, zero-indexed. |
| std::pair< unsigned, unsigned > |
getPrevTokEndLineColumnPos () |
|
Get the line, column position of the end of the previous token, zero-indexed exclusive. |
| bool |
ParseError (LocTy ErrorLoc, const Twine &Msg) |
| bool |
ParseError (const Twine &Msg) |
| void |
Warning (LocTy WarningLoc, const Twine &Msg) const |
| void |
Warning (const Twine &Msg) const |
Definition at line 28 of file LLLexer.h.
◆ LocTy
◆ getAPFloatVal()
| const APFloat & llvm::LLLexer::getAPFloatVal ( ) const |
inline |
◆ getAPSIntVal()
| const APSInt & llvm::LLLexer::getAPSIntVal ( ) const |
inline |
◆ getKind()
◆ getLoc()
| LocTy llvm::LLLexer::getLoc ( ) const |
inline |
◆ getPrevTokEndLineColumnPos()
| std::pair< unsigned, unsigned > llvm::LLLexer::getPrevTokEndLineColumnPos ( ) |
inline |
◆ getStrVal()
| const std::string & llvm::LLLexer::getStrVal ( ) const |
inline |
◆ getTokLineColumnPos()
◆ getTyVal()
| Type * llvm::LLLexer::getTyVal ( ) const |
inline |
◆ getUIntVal()
| unsigned llvm::LLLexer::getUIntVal ( ) const |
inline |
◆ Lex()
◆ ParseError() [1/2]
◆ ParseError() [2/2]
◆ setIgnoreColonInIdentifiers()
| void llvm::LLLexer::setIgnoreColonInIdentifiers ( bool val) |
inline |
◆ Warning() [1/2]
| void llvm::LLLexer::Warning ( const Twine & Msg) const |
inline |
◆ Warning() [2/2]
The documentation for this class was generated from the following files: