lestes::md::symbols::symbol_register_base Class Reference

Register of symbols. More...

#include <symbol_register_base.g.hh>

Inheritance diagram for lestes::md::symbols::symbol_register_base:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void register_symbol (ptr< ::lestes::lang::cplus::sem::ss_declaration > symbol) override
 Registers a symbol.
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Protected Member Functions

 symbol_register_base ()
 Generated constructor for class symbol_register_base.
virtual void gc_mark ()
 Marking routine for class symbol_register_base.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Register of symbols.

Holds list of global symbols (functions, variables) defined within translation unit. Global asm symbol declarations are generated from it during asm code generation phase.

Note: A concrete implementation is target machine-dependent and it is placed in /target/machine/${TARGET_CPU}/lestes/md/symbols/ directory.


Constructor & Destructor Documentation

lestes::md::symbols::symbol_register_base::symbol_register_base (  )  [protected]

Generated constructor for class symbol_register_base.

Generated constructor for class symbol_register_base.

Author:
lsg


Member Function Documentation

virtual void lestes::md::symbols::symbol_register_base::register_symbol ( ptr< ::lestes::lang::cplus::sem::ss_declaration symbol  )  [pure virtual]

Registers a symbol.

Implemented in lestes::md::symbols::symbol_register.

ptr< object::reflection_list > lestes::md::symbols::symbol_register_base::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::symbols::symbol_register.

ptr< object::field_list_list > lestes::md::symbols::symbol_register_base::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::symbols::symbol_register.

void lestes::md::symbols::symbol_register_base::gc_mark ( void   )  [protected, virtual]

Marking routine for class symbol_register_base.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::std::mem::keystone.

Reimplemented in lestes::md::symbols::symbol_register.


Member Data Documentation

ptr< object::reflection_list > lestes::md::symbols::symbol_register_base::reflection = reflection [static, private]

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::symbols::symbol_register.


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