#include <ss_statement.g.hh>
Inheritance diagram for lestes::lang::cplus::sem::ss_try:

Public Member Functions | |
| ptr< ss_compound_stmt > | block_get () const |
| The method block_get returns the value of the field ss_try::block. | |
| void | block_set (const ptr< ss_compound_stmt > &) |
| The method block_set sets the field ss_try::block to the given value. | |
| ptr< ::lestes::std::list< srp< ss_catch > > > | handlers_get () const |
| The method handlers_get returns the value of the field ss_try::handlers. | |
| void | handlers_set (const ptr< ::lestes::std::list< srp< ss_catch > > > &) |
| The method handlers_set sets the field ss_try::handlers to the given value. | |
| virtual void | accept_ss_statement_visitor (ptr< ss_statement_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< ss_try > | create (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ::lestes::std::list< srp< ss_label > > > a__ss_statement__labels, ptr< ss_compound_stmt > a__ss_statement__parent, ptr< ss_sp > a__ss_statement__psp, ptr< ss_sp > a__ss_statement__nsp, ptr< ::lestes::std::list< srp< ss_sp > > > a__ss_statement__sequence_points, ptr< ss_compound_stmt > a__ss_try__block, ptr< ::lestes::std::list< srp< ss_catch > > > a__ss_try__handlers) |
| First generated factory method for class ss_try. | |
Protected Member Functions | |
| ss_try (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ::lestes::std::list< srp< ss_label > > > a__ss_statement__labels, ptr< ss_compound_stmt > a__ss_statement__parent, ptr< ss_sp > a__ss_statement__psp, ptr< ss_sp > a__ss_statement__nsp, ptr< ::lestes::std::list< srp< ss_sp > > > a__ss_statement__sequence_points, ptr< ss_compound_stmt > a__ss_try__block, ptr< ::lestes::std::list< srp< ss_catch > > > a__ss_try__handlers) | |
| Generated constructor for class ss_try. | |
| virtual void | gc_mark () |
| Marking routine for class ss_try. | |
Private Attributes | |
| srp< ss_compound_stmt > | block |
| srp< ::lestes::std::list< srp< ss_catch > > > | handlers |
Static Private Attributes | |
| static ptr< reflection_list > | reflection = reflection |
Definition at line 313 of file ss_statement.g.hh.
| lestes::lang::cplus::sem::ss_try::ss_try | ( | ptr< ::lestes::std::source_location > | a__ss_base_with_location__location, | |
| ptr< ::lestes::std::list< srp< ss_label > > > | a__ss_statement__labels, | |||
| ptr< ss_compound_stmt > | a__ss_statement__parent, | |||
| ptr< ss_sp > | a__ss_statement__psp, | |||
| ptr< ss_sp > | a__ss_statement__nsp, | |||
| ptr< ::lestes::std::list< srp< ss_sp > > > | a__ss_statement__sequence_points, | |||
| ptr< ss_compound_stmt > | a__ss_try__block, | |||
| ptr< ::lestes::std::list< srp< ss_catch > > > | a__ss_try__handlers | |||
| ) | [protected] |
Generated constructor for class ss_try.
Generated constructor for class ss_try.
Definition at line 542 of file ss_statement.g.cc.
Referenced by create().
00550 : ss_statement(a__ss_base_with_location__location, 00551 a__ss_statement__labels, 00552 a__ss_statement__parent, 00553 a__ss_statement__psp, 00554 a__ss_statement__nsp, 00555 a__ss_statement__sequence_points), block(checked(a__ss_try__block)), handlers(checked(a__ss_try__handlers)) 00556 {}
| ptr< ss_compound_stmt > lestes::lang::cplus::sem::ss_try::block_get | ( | ) | const |
The method block_get returns the value of the field ss_try::block.
Definition at line 478 of file ss_statement.g.cc.
References block.
00479 { 00480 return block; 00481 }
| void lestes::lang::cplus::sem::ss_try::block_set | ( | const ptr< ss_compound_stmt > & | x | ) |
The method block_set sets the field ss_try::block to the given value.
| [in] | x | The new value to set ss_try::block to. |
Definition at line 487 of file ss_statement.g.cc.
References block.
00488 { 00489 ss_try::block = x; 00490 }
| ptr<::lestes::std::list< srp< ss_catch > > > lestes::lang::cplus::sem::ss_try::handlers_get | ( | ) | const |
The method handlers_get returns the value of the field ss_try::handlers.
Definition at line 496 of file ss_statement.g.cc.
References handlers.
00497 { 00498 return handlers; 00499 }
| void lestes::lang::cplus::sem::ss_try::handlers_set | ( | const ptr< ::lestes::std::list< srp< ss_catch > > > & | x | ) |
The method handlers_set sets the field ss_try::handlers to the given value.
| [in] | x | The new value to set ss_try::handlers to. |
Definition at line 505 of file ss_statement.g.cc.
References handlers.
00506 { 00507 ss_try::handlers = x; 00508 }
| void lestes::lang::cplus::sem::ss_try::accept_ss_statement_visitor | ( | ptr< ss_statement_visitor > | v | ) | [virtual] |
Implements lestes::lang::cplus::sem::ss_statement.
Definition at line 510 of file ss_statement.g.cc.
| ptr< ss_try > lestes::lang::cplus::sem::ss_try::create | ( | ptr< ::lestes::std::source_location > | a__ss_base_with_location__location, | |
| ptr< ::lestes::std::list< srp< ss_label > > > | a__ss_statement__labels, | |||
| ptr< ss_compound_stmt > | a__ss_statement__parent, | |||
| ptr< ss_sp > | a__ss_statement__psp, | |||
| ptr< ss_sp > | a__ss_statement__nsp, | |||
| ptr< ::lestes::std::list< srp< ss_sp > > > | a__ss_statement__sequence_points, | |||
| ptr< ss_compound_stmt > | a__ss_try__block, | |||
| ptr< ::lestes::std::list< srp< ss_catch > > > | a__ss_try__handlers | |||
| ) | [static] |
First generated factory method for class ss_try.
This factory method for class ss_try takes values of all fields as arguments.
Definition at line 519 of file ss_statement.g.cc.
References ss_try().
00527 { 00528 return ptr< ss_try > ( new ss_try(a__ss_base_with_location__location, 00529 a__ss_statement__labels, 00530 a__ss_statement__parent, 00531 a__ss_statement__psp, 00532 a__ss_statement__nsp, 00533 a__ss_statement__sequence_points, 00534 a__ss_try__block, 00535 a__ss_try__handlers) ); 00536 }
| ptr< object::reflection_list > lestes::lang::cplus::sem::ss_try::reflection_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::ss_statement.
Definition at line 558 of file ss_statement.g.cc.
References lestes::std::list< T >::create(), reflection, and lestes::lang::cplus::sem::ss_statement::reflection_get().
00559 { 00560 if (!reflection) { 00561 typedef class_reflection::field_metadata md; 00562 typedef class_reflection::field_metadata_list mdlist; 00563 ptr<mdlist> mdl = mdlist::create(); 00564 mdl->push_back( md::create( "block", "ss_compound_stmt" ) ); 00565 mdl->push_back( md::create( "handlers", "list< srp< ss_catch > >" ) ); 00566 reflection = reflection_list::create( ss_statement::reflection_get() ); 00567 reflection->push_back( class_reflection::create( "ss_try", mdl ) ); 00568 } 00569 return reflection; 00570 }
| ptr< object::field_list_list > lestes::lang::cplus::sem::ss_try::field_values_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::ss_statement.
Definition at line 572 of file ss_statement.g.cc.
References lestes::std::list< T >::create(), and lestes::lang::cplus::sem::ss_statement::field_values_get().
00573 { 00574 ptr < field_list_list > result = ss_statement::field_values_get(); 00575 result->push_back( value_list::create() ); 00576 result->back()->push_back( this->block ); 00577 result->push_back( value_list::create() ); 00578 result->back()->push_back( this->handlers ); 00579 return result; 00580 }
| void lestes::lang::cplus::sem::ss_try::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class ss_try.
Marking routine is used for garbage collection.
Reimplemented from lestes::lang::cplus::sem::ss_statement.
Definition at line 587 of file ss_statement.g.cc.
References lestes::lang::cplus::sem::ss_statement::gc_mark().
00588 { 00589 ss_statement::gc_mark(); 00590 }
srp< ss_compound_stmt > lestes::lang::cplus::sem::ss_try::block [private] |
srp< ::lestes::std::list< srp< ss_catch > > > lestes::lang::cplus::sem::ss_try::handlers [private] |
ptr< object::reflection_list > lestes::lang::cplus::sem::ss_try::reflection = reflection [static, private] |
Reimplemented from lestes::lang::cplus::sem::ss_statement.
Definition at line 365 of file ss_statement.g.hh.
Referenced by reflection_get().
1.5.1-20070107