lestes::lang::cplus::sem::get_real_declaration Class Reference

If the declaration is a fake declaration, this visitor gets a real declaration from it. Otherwise it returns its input. More...

#include <sa_statements.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_declarationresult_get () const
 The method result_get returns the value of the field get_real_declaration::result.
void result_set (const ptr< ss_declaration > &)
 The method result_set sets the field get_real_declaration::result to the given value.
virtual void visit_ss_fake_declaration (ptr< ::lestes::lang::cplus::sem::ss_fake_declaration >)
virtual void default_action (ptr< ::lestes::lang::cplus::sem::ss_declaration >)
ptr< ss_declarationprocess (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< get_real_declarationinstance ()
 Generated instance() method for singleton class get_real_declaration.

Protected Member Functions

 get_real_declaration (ptr< ss_declaration > a__get_real_declaration__result)
 Generated constructor for class get_real_declaration.
virtual void gc_mark ()
 Marking routine for class get_real_declaration.

Private Attributes

srp< ss_declarationresult

Static Private Attributes

static ptr< reflection_listreflection = reflection
static ptr< get_real_declarationthe_instance = the_instance

Detailed Description

If the declaration is a fake declaration, this visitor gets a real declaration from it. Otherwise it returns its input.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::get_real_declaration::get_real_declaration ( ptr< ss_declaration a__get_real_declaration__result  )  [protected]

Generated constructor for class get_real_declaration.

Generated constructor for class get_real_declaration.

Author:
lsg


Member Function Documentation

ptr< ss_declaration > lestes::lang::cplus::sem::get_real_declaration::result_get (  )  const

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

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

void lestes::lang::cplus::sem::get_real_declaration::result_set ( const ptr< ss_declaration > &  x  ) 

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

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

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

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

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

Implements lestes::lang::cplus::sem::ss_declaration_default_visitor.

ptr< get_real_declaration > lestes::lang::cplus::sem::get_real_declaration::instance ( void   )  [static]

Generated instance() method for singleton class get_real_declaration.

Generated instance() method for singleton class get_real_declaration.

Author:
lsg

ptr< ss_declaration > lestes::lang::cplus::sem::get_real_declaration::process ( const ptr< ::lestes::lang::cplus::sem::ss_declaration > &   ) 

"visit-return" method

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

for purposes of dumping

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

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

for purposes of dumping

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

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

Marking routine for class get_real_declaration.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

srp< ss_declaration > lestes::lang::cplus::sem::get_real_declaration::result [private]

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

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

ptr< get_real_declaration > lestes::lang::cplus::sem::get_real_declaration::the_instance = the_instance [static, private]

Static field get_real_declaration::the_instance.

Author:
lsg


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