lestes::md::tasm::asm_generator Class Reference

#include <asm_generator.g.hh>

Inheritance diagram for lestes::md::tasm::asm_generator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void generate_tu_prologue ()
 Generates translation unit prologue.
virtual void generate_tu_body (ptr< vector< srp< ::lestes::backend_v2::structs::func_data > > > tu_data)
 Generates translation unit's body.
virtual void generate_tu_epilogue ()
 Generates translation unit epilogue.
void process_function (ptr< ::lestes::backend_v2::structs::func_data > data)
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Static Public Member Functions

static ptr< asm_generatorcreate (::std::ostream &a__asm_generator_base__output)
 First generated factory method for class asm_generator.

Protected Member Functions

 asm_generator (::std::ostream &a__asm_generator_base__output)
 Generated constructor for class asm_generator.
virtual void gc_mark ()
 Marking routine for class asm_generator.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Constructor & Destructor Documentation

lestes::md::tasm::asm_generator::asm_generator ( ::std::ostream &  a__asm_generator_base__output  )  [protected]

Generated constructor for class asm_generator.

Generated constructor for class asm_generator.

Author:
lsg


Member Function Documentation

void lestes::md::tasm::asm_generator::generate_tu_prologue (  )  [virtual]

Generates translation unit prologue.

It generates asm file headers, data sections and declarations

Implements lestes::md::tasm::asm_generator_base.

virtual void lestes::md::tasm::asm_generator::generate_tu_body ( ptr< vector< srp< ::lestes::backend_v2::structs::func_data > > >  tu_data  )  [virtual]

Generates translation unit's body.

Parameters:
tu_data A list of tu's functions.

Implements lestes::md::tasm::asm_generator_base.

void lestes::md::tasm::asm_generator::generate_tu_epilogue (  )  [virtual]

Generates translation unit epilogue.

Implements lestes::md::tasm::asm_generator_base.

void lestes::md::tasm::asm_generator::process_function ( ptr< ::lestes::backend_v2::structs::func_data data  ) 

ptr< asm_generator > lestes::md::tasm::asm_generator::create ( ::std::ostream &  a__asm_generator_base__output  )  [static]

First generated factory method for class asm_generator.

This factory method for class asm_generator takes values of all fields as arguments.

Author:
lsg

ptr< object::reflection_list > lestes::md::tasm::asm_generator::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::md::tasm::asm_generator_base.

ptr< object::field_list_list > lestes::md::tasm::asm_generator::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::md::tasm::asm_generator_base.

void lestes::md::tasm::asm_generator::gc_mark ( void   )  [protected, virtual]

Marking routine for class asm_generator.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::md::tasm::asm_generator_base.


Member Data Documentation

ptr< object::reflection_list > lestes::md::tasm::asm_generator::reflection = reflection [static, private]

Reimplemented from lestes::md::tasm::asm_generator_base.


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:49:24 2007 for lestes by doxygen 1.5.1-20070107