class TGParser
Declaration
class TGParser { /* full declaration omitted */ };
Declared at: llvm/lib/TableGen/TGParser.h:131
Method Overview
- public bool Error(llvm::SMLoc L, const llvm::Twine & Msg) const
- public bool ParseFile()
- public void PopLocalScope(llvm::TGLocalVarScope * ExpectedStackTop)
- public llvm::TGLocalVarScope * PushLocalScope()
- public TGParser(llvm::SourceMgr & SM, ArrayRef<std::string> Macros, llvm::RecordKeeper & records)
- public bool TokError(const llvm::Twine & Msg) const
- public const TGLexer::DependenciesSetTy & getDependencies() const
Methods
¶bool Error(llvm::SMLoc L,
const llvm::Twine& Msg) const
bool Error(llvm::SMLoc L,
const llvm::Twine& Msg) const
Declared at: llvm/lib/TableGen/TGParser.h:173
Parameters
- llvm::SMLoc L
- const llvm::Twine& Msg
¶bool ParseFile()
bool ParseFile()
Description
ParseFile - Main entrypoint for parsing a tblgen file. These parser routines return true on error, or false on success.
Declared at: llvm/lib/TableGen/TGParser.h:171
¶void PopLocalScope(
llvm::TGLocalVarScope* ExpectedStackTop)
void PopLocalScope(
llvm::TGLocalVarScope* ExpectedStackTop)
Declared at: llvm/lib/TableGen/TGParser.h:191
Parameters
- llvm::TGLocalVarScope* ExpectedStackTop
¶llvm::TGLocalVarScope* PushLocalScope()
llvm::TGLocalVarScope* PushLocalScope()
Declared at: llvm/lib/TableGen/TGParser.h:184
¶TGParser(llvm::SourceMgr& SM,
ArrayRef<std::string> Macros,
llvm::RecordKeeper& records)
TGParser(llvm::SourceMgr& SM,
ArrayRef<std::string> Macros,
llvm::RecordKeeper& records)
Declared at: llvm/lib/TableGen/TGParser.h:165
Parameters
- llvm::SourceMgr& SM
- ArrayRef<std::string> Macros
- llvm::RecordKeeper& records
¶bool TokError(const llvm::Twine& Msg) const
bool TokError(const llvm::Twine& Msg) const
Declared at: llvm/lib/TableGen/TGParser.h:177
Parameters
- const llvm::Twine& Msg
¶const TGLexer::DependenciesSetTy&
getDependencies() const
const TGLexer::DependenciesSetTy&
getDependencies() const
Declared at: llvm/lib/TableGen/TGParser.h:180