Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

cbl::TCompiler Class Reference

#include <compiler.h>

List of all members.


Public Methods

  TCompiler (const std::string &AID, const std::string &ACopyright, const std::string &ASourceExt)
virtual  ~TCompiler ()
std::string  languageId () const
  returns the language identification string. More...

std::string  copyright () const
  returns the copyright string of the implementers of this compiler. More...

std::deque< std::string > &  sourceExtensions ()
  returns the list of source file extensions. More...

const std::deque< std::string > &  sourceExtensions () const
  returns the list as const of source file extensions. More...

virtual codetree::symbols::TModuleSym parse (const std::string &ASourceFile)=0
  parses the given input file and returns its module symbol. More...

virtual TCompiler *  clone () const=0
  returns a copy of this object to be used for other intends. More...


Detailed Description

Each compiler using this library must support this information structure used by the qcc main application to compile the sources supported by this compiler

Definition at line 46 of file compiler.h.


Constructor & Destructor Documentation

cbl::TCompiler::TCompiler const std::string &    AID,
const std::string &    ACopyright,
const std::string &    ASourceExt
 

virtual cbl::TCompiler::~TCompiler   [virtual]
 


Member Function Documentation

virtual TCompiler* cbl::TCompiler::clone   const [pure virtual]
 

returns a copy of this object to be used for other intends.

std::string cbl::TCompiler::copyright   const
 

returns the copyright string of the implementers of this compiler.

std::string cbl::TCompiler::languageId   const
 

returns the language identification string.

virtual codetree::symbols::TModuleSym* cbl::TCompiler::parse const std::string &    ASourceFile [pure virtual]
 

parses the given input file and returns its module symbol.

const std::deque& cbl::TCompiler::sourceExtensions   const
 

returns the list as const of source file extensions.

std::deque& cbl::TCompiler::sourceExtensions  
 

returns the list of source file extensions.


The documentation for this class was generated from the following file:
Generated on Sat Apr 6 19:07:26 2002 for Compiler Backend Library by doxygen1.2.14 written by , © 1997-2002