#include <as_statements.g.hh>
Inheritance diagram for lestes::lang::cplus::sem::as_handler:

Public Member Functions | |
| ptr< as_exception_declaration > | exception_declaration_get () const |
| The method exception_declaration_get returns the value of the field as_handler::exception_declaration. | |
| void | exception_declaration_set (const ptr< as_exception_declaration > &) |
| The method exception_declaration_set sets the field as_handler::exception_declaration to the given value. | |
| ptr< as_compound_statement > | compound_statement_get () const |
| The method compound_statement_get returns the value of the field as_handler::compound_statement. | |
| void | compound_statement_set (const ptr< as_compound_statement > &) |
| The method compound_statement_set sets the field as_handler::compound_statement to the given value. | |
| 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_handler > | create (ptr< ::lestes::std::source_location > a__as_base__location, ptr< as_exception_declaration > a__as_handler__exception_declaration, ptr< as_compound_statement > a__as_handler__compound_statement) |
| First generated factory method for class as_handler. | |
Protected Member Functions | |
| as_handler (ptr< ::lestes::std::source_location > a__as_base__location, ptr< as_exception_declaration > a__as_handler__exception_declaration, ptr< as_compound_statement > a__as_handler__compound_statement) | |
| Generated constructor for class as_handler. | |
| virtual void | gc_mark () |
| Marking routine for class as_handler. | |
Private Attributes | |
| srp< as_exception_declaration > | exception_declaration |
| srp< as_compound_statement > | compound_statement |
Static Private Attributes | |
| static ptr< reflection_list > | reflection = reflection |
Definition at line 1112 of file as_statements.g.hh.
| lestes::lang::cplus::sem::as_handler::as_handler | ( | ptr< ::lestes::std::source_location > | a__as_base__location, | |
| ptr< as_exception_declaration > | a__as_handler__exception_declaration, | |||
| ptr< as_compound_statement > | a__as_handler__compound_statement | |||
| ) | [protected] |
Generated constructor for class as_handler.
Generated constructor for class as_handler.
Definition at line 2182 of file as_statements.g.cc.
Referenced by create().
02185 : as_base(a__as_base__location), exception_declaration(checked(a__as_handler__exception_declaration)), compound_statement(checked(a__as_handler__compound_statement)) 02186 {}
| ptr< as_exception_declaration > lestes::lang::cplus::sem::as_handler::exception_declaration_get | ( | ) | const |
The method exception_declaration_get returns the value of the field as_handler::exception_declaration.
Definition at line 2133 of file as_statements.g.cc.
References exception_declaration.
02134 { 02135 return exception_declaration; 02136 }
| void lestes::lang::cplus::sem::as_handler::exception_declaration_set | ( | const ptr< as_exception_declaration > & | x | ) |
The method exception_declaration_set sets the field as_handler::exception_declaration to the given value.
| [in] | x | The new value to set as_handler::exception_declaration to. |
Definition at line 2142 of file as_statements.g.cc.
References exception_declaration.
02143 { 02144 as_handler::exception_declaration = x; 02145 }
| ptr< as_compound_statement > lestes::lang::cplus::sem::as_handler::compound_statement_get | ( | ) | const |
The method compound_statement_get returns the value of the field as_handler::compound_statement.
Definition at line 2151 of file as_statements.g.cc.
References compound_statement.
02152 { 02153 return compound_statement; 02154 }
| void lestes::lang::cplus::sem::as_handler::compound_statement_set | ( | const ptr< as_compound_statement > & | x | ) |
The method compound_statement_set sets the field as_handler::compound_statement to the given value.
| [in] | x | The new value to set as_handler::compound_statement to. |
Definition at line 2160 of file as_statements.g.cc.
References compound_statement.
02161 { 02162 as_handler::compound_statement = x; 02163 }
| ptr< as_handler > lestes::lang::cplus::sem::as_handler::create | ( | ptr< ::lestes::std::source_location > | a__as_base__location, | |
| ptr< as_exception_declaration > | a__as_handler__exception_declaration, | |||
| ptr< as_compound_statement > | a__as_handler__compound_statement | |||
| ) | [static] |
First generated factory method for class as_handler.
This factory method for class as_handler takes values of all fields as arguments.
Definition at line 2169 of file as_statements.g.cc.
References as_handler().
02172 { 02173 return ptr< as_handler > ( new as_handler(a__as_base__location, 02174 a__as_handler__exception_declaration, 02175 a__as_handler__compound_statement) ); 02176 }
| ptr< object::reflection_list > lestes::lang::cplus::sem::as_handler::reflection_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::intercode::as_base.
Definition at line 2188 of file as_statements.g.cc.
References lestes::std::list< T >::create(), reflection, and lestes::intercode::as_base::reflection_get().
02189 { 02190 if (!reflection) { 02191 typedef class_reflection::field_metadata md; 02192 typedef class_reflection::field_metadata_list mdlist; 02193 ptr<mdlist> mdl = mdlist::create(); 02194 mdl->push_back( md::create( "exception_declaration", "as_exception_declaration" ) ); 02195 mdl->push_back( md::create( "compound_statement", "as_compound_statement" ) ); 02196 reflection = reflection_list::create( ::lestes::intercode::as_base::reflection_get() ); 02197 reflection->push_back( class_reflection::create( "as_handler", mdl ) ); 02198 } 02199 return reflection; 02200 }
| ptr< object::field_list_list > lestes::lang::cplus::sem::as_handler::field_values_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::intercode::as_base.
Definition at line 2202 of file as_statements.g.cc.
References lestes::std::list< T >::create(), and lestes::intercode::as_base::field_values_get().
02203 { 02204 ptr < field_list_list > result = ::lestes::intercode::as_base::field_values_get(); 02205 result->push_back( value_list::create() ); 02206 result->back()->push_back( this->exception_declaration ); 02207 result->push_back( value_list::create() ); 02208 result->back()->push_back( this->compound_statement ); 02209 return result; 02210 }
| void lestes::lang::cplus::sem::as_handler::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class as_handler.
Marking routine is used for garbage collection.
Reimplemented from lestes::intercode::as_base.
Definition at line 2217 of file as_statements.g.cc.
References lestes::intercode::as_base::gc_mark().
02218 { 02219 ::lestes::intercode::as_base::gc_mark(); 02220 }
srp< as_exception_declaration > lestes::lang::cplus::sem::as_handler::exception_declaration [private] |
Definition at line 1151 of file as_statements.g.hh.
Referenced by exception_declaration_get(), and exception_declaration_set().
Definition at line 1152 of file as_statements.g.hh.
Referenced by compound_statement_get(), and compound_statement_set().
ptr< object::reflection_list > lestes::lang::cplus::sem::as_handler::reflection = reflection [static, private] |
Reimplemented from lestes::intercode::as_base.
Definition at line 1153 of file as_statements.g.hh.
Referenced by reflection_get().
1.5.1-20070107