#include <generator.h>
Public Member Functions | |
virtual void | generate (const SourceTree *st)=0 |
Generator (Stream *out) | |
Creates the generator. | |
virtual | ~Generator () |
Protected Attributes | |
Stream * | m_out |
Falcon::Generator::Generator | ( | Stream * | out | ) | [inline] |
Creates the generator.
Although a stream is provided as a parameter, ownership is not taken. The stream is still open and available after generator destruction.
out | the stream where output of this generator will be sent. |
virtual Falcon::Generator::~Generator | ( | ) | [inline, virtual] |
virtual void Falcon::Generator::generate | ( | const SourceTree * | st | ) | [pure virtual] |
Implemented in Falcon::GenCode, Falcon::GenHAsm, and Falcon::GenTree.
Stream* Falcon::Generator::m_out [protected] |