lestes::lang::cplus::sem::ss_decl2mem Class Reference

Visitor responsible for getting correct pi_mem_factory for a given declaration. More...

#include <ss_ss2pi_base.g.hh>

Inheritance diagram for lestes::lang::cplus::sem::ss_decl2mem:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_stmt2picaller_get () const
 The method caller_get returns the value of the field ss_decl2mem::caller.
void caller_set (const ptr< ss_stmt2pi > &)
 The method caller_set sets the field ss_decl2mem::caller to the given value.
ptr< ::lestes::backend_v2::intercode::pi_mem_factoryresult_get () const
 The method result_get returns the value of the field ss_decl2mem::result.
void result_set (const ptr< ::lestes::backend_v2::intercode::pi_mem_factory > &)
 The method result_set sets the field ss_decl2mem::result to the given value.
virtual void default_action (ptr< ::lestes::lang::cplus::sem::ss_declaration >)
virtual void visit_ss_parameter_declaration (ptr< ::lestes::lang::cplus::sem::ss_parameter_declaration >)
virtual void visit_ss_fake_declaration (ptr< ::lestes::lang::cplus::sem::ss_fake_declaration >)
virtual void visit_ss_object_declaration (ptr< ::lestes::lang::cplus::sem::ss_object_declaration >)
ptr< ::lestes::backend_v2::intercode::pi_mem_factoryget_real_decl_mem (const ptr< ::lestes::lang::cplus::sem::ss_declaration > &)
 "visit-return" method
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< ss_decl2memcreate (ptr< ss_stmt2pi > a__ss_decl2mem__caller, ptr< ::lestes::backend_v2::intercode::pi_mem_factory > a__ss_decl2mem__result)
 First generated factory method for class ss_decl2mem.
static ptr< ss_decl2memcreate (ptr< ss_stmt2pi > a__ss_decl2mem__caller)
 Second generated factory method for class ss_decl2mem.

Protected Member Functions

 ss_decl2mem (ptr< ss_stmt2pi > a__ss_decl2mem__caller, ptr< ::lestes::backend_v2::intercode::pi_mem_factory > a__ss_decl2mem__result)
 Generated constructor for class ss_decl2mem.
virtual void gc_mark ()
 Marking routine for class ss_decl2mem.

Private Attributes

srp< ss_stmt2picaller
 Statement visitor caller - we need to know current function and variable maps.
srp< ::lestes::backend_v2::intercode::pi_mem_factoryresult
 Returned pi_mem_factory for a given declaration.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Visitor responsible for getting correct pi_mem_factory for a given declaration.

Used for lookup for declarations, which are not declared through ordinary ss_decl_stmt, such as fake declarations, function parameter declarations.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_decl2mem::ss_decl2mem ( ptr< ss_stmt2pi a__ss_decl2mem__caller,
ptr< ::lestes::backend_v2::intercode::pi_mem_factory a__ss_decl2mem__result 
) [protected]

Generated constructor for class ss_decl2mem.

Generated constructor for class ss_decl2mem.

Author:
lsg


Member Function Documentation

ptr< ss_stmt2pi > lestes::lang::cplus::sem::ss_decl2mem::caller_get (  )  const

The method caller_get returns the value of the field ss_decl2mem::caller.

Returns:
The value of ss_decl2mem::caller.
Author:
lsg

void lestes::lang::cplus::sem::ss_decl2mem::caller_set ( const ptr< ss_stmt2pi > &  x  ) 

The method caller_set sets the field ss_decl2mem::caller to the given value.

Parameters:
[in] x The new value to set ss_decl2mem::caller to.
Author:
lsg

ptr<::lestes::backend_v2::intercode::pi_mem_factory > lestes::lang::cplus::sem::ss_decl2mem::result_get (  )  const

The method result_get returns the value of the field ss_decl2mem::result.

Returns:
The value of ss_decl2mem::result.
Author:
lsg

void lestes::lang::cplus::sem::ss_decl2mem::result_set ( const ptr< ::lestes::backend_v2::intercode::pi_mem_factory > &  x  ) 

The method result_set sets the field ss_decl2mem::result to the given value.

Parameters:
[in] x The new value to set ss_decl2mem::result to.
Author:
lsg

virtual void lestes::lang::cplus::sem::ss_decl2mem::default_action ( ptr< ::lestes::lang::cplus::sem::ss_declaration  )  [virtual]

Implements lestes::lang::cplus::sem::ss_decl2pi_default.

virtual void lestes::lang::cplus::sem::ss_decl2mem::visit_ss_parameter_declaration ( ptr< ::lestes::lang::cplus::sem::ss_parameter_declaration  )  [virtual]

Reimplemented from lestes::lang::cplus::sem::ss_decl2pi_default.

virtual void lestes::lang::cplus::sem::ss_decl2mem::visit_ss_fake_declaration ( ptr< ::lestes::lang::cplus::sem::ss_fake_declaration  )  [virtual]

Reimplemented from lestes::lang::cplus::sem::ss_decl2pi_default.

virtual void lestes::lang::cplus::sem::ss_decl2mem::visit_ss_object_declaration ( ptr< ::lestes::lang::cplus::sem::ss_object_declaration  )  [virtual]

Reimplemented from lestes::lang::cplus::sem::ss_decl2pi_default.

ptr< ss_decl2mem > lestes::lang::cplus::sem::ss_decl2mem::create ( ptr< ss_stmt2pi a__ss_decl2mem__caller,
ptr< ::lestes::backend_v2::intercode::pi_mem_factory a__ss_decl2mem__result 
) [static]

First generated factory method for class ss_decl2mem.

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

Author:
lsg

ptr< ss_decl2mem > lestes::lang::cplus::sem::ss_decl2mem::create ( ptr< ss_stmt2pi a__ss_decl2mem__caller  )  [static]

Second generated factory method for class ss_decl2mem.

This factory method for class ss_decl2mem uses initializers.

Author:
lsg

ptr<::lestes::backend_v2::intercode::pi_mem_factory > lestes::lang::cplus::sem::ss_decl2mem::get_real_decl_mem ( const ptr< ::lestes::lang::cplus::sem::ss_declaration > &   ) 

"visit-return" method

ptr< object::reflection_list > lestes::lang::cplus::sem::ss_decl2mem::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::lang::cplus::sem::ss_decl2pi_default.

ptr< object::field_list_list > lestes::lang::cplus::sem::ss_decl2mem::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::lang::cplus::sem::ss_decl2pi_default.

void lestes::lang::cplus::sem::ss_decl2mem::gc_mark ( void   )  [protected, virtual]

Marking routine for class ss_decl2mem.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::lang::cplus::sem::ss_decl2pi_default.


Member Data Documentation

srp< ss_stmt2pi > lestes::lang::cplus::sem::ss_decl2mem::caller [private]

Statement visitor caller - we need to know current function and variable maps.

srp< ::lestes::backend_v2::intercode::pi_mem_factory > lestes::lang::cplus::sem::ss_decl2mem::result [private]

Returned pi_mem_factory for a given declaration.

ptr< object::reflection_list > lestes::lang::cplus::sem::ss_decl2mem::reflection = reflection [static, private]

Reimplemented from lestes::lang::cplus::sem::ss_decl2pi_default.


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