#include <as_decl.g.hh>
Inheritance diagram for lestes::lang::cplus::sem::as_enumeration_specifier:

Public Member Functions | |
| ptr< as_name > | name_get () const |
| The method name_get returns the value of the field as_enumeration_specifier::name. | |
| void | name_set (const ptr< as_name > &) |
| The method name_set sets the field as_enumeration_specifier::name to the given value. | |
| ptr< ::lestes::std::list< srp< as_enumerator_definition > > > | enumerators_get () const |
| The method enumerators_get returns the value of the field as_enumeration_specifier::enumerators. | |
| void | enumerators_set (const ptr< ::lestes::std::list< srp< as_enumerator_definition > > > &) |
| The method enumerators_set sets the field as_enumeration_specifier::enumerators to the given value. | |
| virtual void | accept_as_declaration_specifier_visitor (ptr< as_declaration_specifier_visitor > v) |
| virtual ptr< reflection_list > | reflection_get () const |
| for purposes of dumping | |
| virtual ptr< field_list_list > | field_values_get () const |
| for purposes of dumping | |
Static Public Member Functions | |
| static ptr< as_enumeration_specifier > | create (ptr< ::lestes::std::source_location > a__as_base__location, ptr< as_name > a__as_enumeration_specifier__name, ptr< ::lestes::std::list< srp< as_enumerator_definition > > > a__as_enumeration_specifier__enumerators) |
| First generated factory method for class as_enumeration_specifier. | |
Protected Member Functions | |
| as_enumeration_specifier (ptr< ::lestes::std::source_location > a__as_base__location, ptr< as_name > a__as_enumeration_specifier__name, ptr< ::lestes::std::list< srp< as_enumerator_definition > > > a__as_enumeration_specifier__enumerators) | |
| Generated constructor for class as_enumeration_specifier. | |
| virtual void | gc_mark () |
| Marking routine for class as_enumeration_specifier. | |
Private Attributes | |
| srp< as_name > | name |
| srp< ::lestes::std::list< srp< as_enumerator_definition > > > | enumerators |
Static Private Attributes | |
| static ptr< reflection_list > | reflection = reflection |
Definition at line 2616 of file as_decl.g.hh.
| lestes::lang::cplus::sem::as_enumeration_specifier::as_enumeration_specifier | ( | ptr< ::lestes::std::source_location > | a__as_base__location, | |
| ptr< as_name > | a__as_enumeration_specifier__name, | |||
| ptr< ::lestes::std::list< srp< as_enumerator_definition > > > | a__as_enumeration_specifier__enumerators | |||
| ) | [protected] |
Generated constructor for class as_enumeration_specifier.
Generated constructor for class as_enumeration_specifier.
Definition at line 4817 of file as_decl.g.cc.
Referenced by create().
04820 : as_type_specifier(a__as_base__location), name(a__as_enumeration_specifier__name), enumerators(checked(a__as_enumeration_specifier__enumerators)) 04821 {}
| ptr< as_name > lestes::lang::cplus::sem::as_enumeration_specifier::name_get | ( | void | ) | const |
The method name_get returns the value of the field as_enumeration_specifier::name.
Definition at line 4763 of file as_decl.g.cc.
References name.
04764 { 04765 return name; 04766 }
| void lestes::lang::cplus::sem::as_enumeration_specifier::name_set | ( | const ptr< as_name > & | x | ) |
The method name_set sets the field as_enumeration_specifier::name to the given value.
| [in] | x | The new value to set as_enumeration_specifier::name to. |
Definition at line 4772 of file as_decl.g.cc.
References name.
04773 { 04774 as_enumeration_specifier::name = x; 04775 }
| ptr<::lestes::std::list< srp< as_enumerator_definition > > > lestes::lang::cplus::sem::as_enumeration_specifier::enumerators_get | ( | ) | const |
The method enumerators_get returns the value of the field as_enumeration_specifier::enumerators.
Definition at line 4781 of file as_decl.g.cc.
References enumerators.
04782 { 04783 return enumerators; 04784 }
| void lestes::lang::cplus::sem::as_enumeration_specifier::enumerators_set | ( | const ptr< ::lestes::std::list< srp< as_enumerator_definition > > > & | x | ) |
The method enumerators_set sets the field as_enumeration_specifier::enumerators to the given value.
| [in] | x | The new value to set as_enumeration_specifier::enumerators to. |
Definition at line 4790 of file as_decl.g.cc.
References enumerators.
04791 { 04792 as_enumeration_specifier::enumerators = x; 04793 }
| void lestes::lang::cplus::sem::as_enumeration_specifier::accept_as_declaration_specifier_visitor | ( | ptr< as_declaration_specifier_visitor > | v | ) | [virtual] |
Implements lestes::lang::cplus::sem::as_type_specifier.
Definition at line 4795 of file as_decl.g.cc.
| ptr< as_enumeration_specifier > lestes::lang::cplus::sem::as_enumeration_specifier::create | ( | ptr< ::lestes::std::source_location > | a__as_base__location, | |
| ptr< as_name > | a__as_enumeration_specifier__name, | |||
| ptr< ::lestes::std::list< srp< as_enumerator_definition > > > | a__as_enumeration_specifier__enumerators | |||
| ) | [static] |
First generated factory method for class as_enumeration_specifier.
This factory method for class as_enumeration_specifier takes values of all fields as arguments.
Definition at line 4804 of file as_decl.g.cc.
References as_enumeration_specifier().
04807 { 04808 return ptr< as_enumeration_specifier > ( new as_enumeration_specifier(a__as_base__location, 04809 a__as_enumeration_specifier__name, 04810 a__as_enumeration_specifier__enumerators) ); 04811 }
| ptr< object::reflection_list > lestes::lang::cplus::sem::as_enumeration_specifier::reflection_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::as_type_specifier.
Definition at line 4823 of file as_decl.g.cc.
References lestes::std::list< T >::create(), reflection, and lestes::lang::cplus::sem::as_type_specifier::reflection_get().
04824 { 04825 if (!reflection) { 04826 typedef class_reflection::field_metadata md; 04827 typedef class_reflection::field_metadata_list mdlist; 04828 ptr<mdlist> mdl = mdlist::create(); 04829 mdl->push_back( md::create( "name", "as_name" ) ); 04830 mdl->push_back( md::create( "enumerators", "list< srp< as_enumerator_definition > >" ) ); 04831 reflection = reflection_list::create( as_type_specifier::reflection_get() ); 04832 reflection->push_back( class_reflection::create( "as_enumeration_specifier", mdl ) ); 04833 } 04834 return reflection; 04835 }
| ptr< object::field_list_list > lestes::lang::cplus::sem::as_enumeration_specifier::field_values_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::as_type_specifier.
Definition at line 4837 of file as_decl.g.cc.
References lestes::std::list< T >::create(), and lestes::lang::cplus::sem::as_type_specifier::field_values_get().
04838 { 04839 ptr < field_list_list > result = as_type_specifier::field_values_get(); 04840 result->push_back( value_list::create() ); 04841 result->back()->push_back( this->name ); 04842 result->push_back( value_list::create() ); 04843 result->back()->push_back( this->enumerators ); 04844 return result; 04845 }
| void lestes::lang::cplus::sem::as_enumeration_specifier::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class as_enumeration_specifier.
Marking routine is used for garbage collection.
Reimplemented from lestes::lang::cplus::sem::as_type_specifier.
Definition at line 4852 of file as_decl.g.cc.
References lestes::lang::cplus::sem::as_type_specifier::gc_mark().
04853 { 04854 as_type_specifier::gc_mark(); 04855 }
srp< as_name > lestes::lang::cplus::sem::as_enumeration_specifier::name [private] |
srp< ::lestes::std::list< srp< as_enumerator_definition > > > lestes::lang::cplus::sem::as_enumeration_specifier::enumerators [private] |
Definition at line 2657 of file as_decl.g.hh.
Referenced by enumerators_get(), and enumerators_set().
ptr< object::reflection_list > lestes::lang::cplus::sem::as_enumeration_specifier::reflection = reflection [static, private] |
Reimplemented from lestes::lang::cplus::sem::as_type_specifier.
Definition at line 2658 of file as_decl.g.hh.
Referenced by reflection_get().
1.5.1-20070107