LLVM API Documentation
#include <TGParser.h>
Classes | |
struct | IterRecord |
Public Member Functions | |
TGParser (SourceMgr &SrcMgr, RecordKeeper &records) | |
bool | ParseFile () |
bool | Error (SMLoc L, const Twine &Msg) const |
bool | TokError (const Twine &Msg) const |
const TGLexer::DependenciesMapTy & | getDependencies () const |
Definition at line 55 of file TGParser.h.
llvm::TGParser::TGParser | ( | SourceMgr & | SrcMgr, |
RecordKeeper & | records | ||
) | [inline] |
Definition at line 87 of file TGParser.h.
bool llvm::TGParser::Error | ( | SMLoc | L, |
const Twine & | Msg | ||
) | const [inline] |
const TGLexer::DependenciesMapTy& llvm::TGParser::getDependencies | ( | ) | const [inline] |
Definition at line 101 of file TGParser.h.
References llvm::TGLexer::getDependencies().
Referenced by createDependencyFile().
ParseFile - Main entrypoint for parsing a tblgen file. These parser routines return true on error, or false on success.
Referenced by llvm::TableGenMain().
bool llvm::TGParser::TokError | ( | const Twine & | Msg | ) | const [inline] |
Definition at line 98 of file TGParser.h.
References Error(), and llvm::TGLexer::getLoc().