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 85 of file TGParser.h.


Member Function Documentation

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

Definition at line 92 of file TGParser.h.

References llvm::PrintError().

Referenced by TokError().

const TGLexer::DependenciesMapTy& llvm::TGParser::getDependencies ( ) const [inline]

Definition at line 99 of file TGParser.h.

References llvm::TGLexer::getDependencies().

Referenced by createDependencyFile().

bool llvm::TGParser::ParseFile ( )

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 96 of file TGParser.h.

References Error(), and llvm::TGLexer::getLoc().


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