lestes::md::symbols::name_mangler Class Reference

Performs C++ symbol name magling (GNU GCC style). More...

#include <name_mangler.g.hh>

Inheritance diagram for lestes::md::symbols::name_mangler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

lstring mangle (ptr< ::lestes::lang::cplus::sem::ss_declaration > decl)
 Mangles declaration.
lstring wchar_escapes_replace (lstring name)
 Replaces wide character escapes after its uppercase form.
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< name_manglersingleton_instance_get ()
 The method singleton_instance_get returns the value of the field name_mangler::singleton_instance.
static void singleton_instance_set (const ptr< name_mangler > &)
 The method singleton_instance_set sets the field name_mangler::singleton_instance to the given value.
static ptr< name_manglerinstance ()
 Returns a singleton instance.
static ptr< name_manglercreate ()
 First generated factory method for class name_mangler.

Protected Member Functions

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

Static Private Attributes

static ptr< name_manglersingleton_instance = NULL
static ptr< reflection_listreflection = reflection

Detailed Description

Performs C++ symbol name magling (GNU GCC style).


Constructor & Destructor Documentation

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

Generated constructor for class name_mangler.

Generated constructor for class name_mangler.

Author:
lsg


Member Function Documentation

ptr< name_mangler > lestes::md::symbols::name_mangler::singleton_instance_get (  )  [static]

The method singleton_instance_get returns the value of the field name_mangler::singleton_instance.

Returns:
The value of name_mangler::singleton_instance.
Author:
lsg

void lestes::md::symbols::name_mangler::singleton_instance_set ( const ptr< name_mangler > &  x  )  [static]

The method singleton_instance_set sets the field name_mangler::singleton_instance to the given value.

Parameters:
[in] x The new value to set name_mangler::singleton_instance to.
Author:
lsg

ptr< name_mangler > lestes::md::symbols::name_mangler::instance (  )  [static]

Returns a singleton instance.

lstring lestes::md::symbols::name_mangler::mangle ( ptr< ::lestes::lang::cplus::sem::ss_declaration decl  ) 

Mangles declaration.

lstring lestes::md::symbols::name_mangler::wchar_escapes_replace ( lstring  name  ) 

Replaces wide character escapes after its uppercase form.

Parameters:
name The string.
Returns:
String with repacements.

ptr< name_mangler > lestes::md::symbols::name_mangler::create ( void   )  [static]

First generated factory method for class name_mangler.

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

Author:
lsg

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

for purposes of dumping

Reimplemented from lestes::std::object.

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

for purposes of dumping

Reimplemented from lestes::std::object.

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

Marking routine for class name_mangler.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

ptr< name_mangler > lestes::md::symbols::name_mangler::singleton_instance = NULL [static, private]

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

Reimplemented from lestes::std::object.


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