LLVM API Documentation

Classes | Public Member Functions
llvm::TGParser Class Reference

#include <TGParser.h>

List of all members.

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::DependenciesMapTygetDependencies () const

Detailed Description

Definition at line 55 of file TGParser.h.


Constructor & Destructor Documentation

llvm::TGParser::TGParser ( SourceMgr SrcMgr,
RecordKeeper records 
) [inline]

Definition at line 87 of file TGParser.h.


Member Function Documentation

bool llvm::TGParser::Error ( SMLoc  L,
const Twine Msg 
) const [inline]

Definition at line 94 of file TGParser.h.

References llvm::PrintError().

Referenced by TokError().

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().


The documentation for this class was generated from the following files: