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

Public Member Functions | |
| ptr< ss_expr_stmt > | iteration_get () const |
| The method iteration_get returns the value of the field ss_for::iteration. | |
| void | iteration_set (const ptr< ss_expr_stmt > &) |
| The method iteration_set sets the field ss_for::iteration 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_for > | 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_breakable_stmt__body, ptr< ss_expression > a__ss_breakable_stmt__condition, ptr< ss_expr_stmt > a__ss_for__iteration) |
| First generated factory method for class ss_for. | |
Protected Member Functions | |
| ss_for (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_breakable_stmt__body, ptr< ss_expression > a__ss_breakable_stmt__condition, ptr< ss_expr_stmt > a__ss_for__iteration) | |
| Generated constructor for class ss_for. | |
| virtual void | gc_mark () |
| Marking routine for class ss_for. | |
Private Attributes | |
| srp< ss_expr_stmt > | iteration |
Static Private Attributes | |
| static ptr< reflection_list > | reflection = reflection |
The field "iteration" is not checked for non-NULLness, since the iteration expression is optional.
Definition at line 997 of file ss_statement.g.hh.
| lestes::lang::cplus::sem::ss_for::ss_for | ( | 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_breakable_stmt__body, | |||
| ptr< ss_expression > | a__ss_breakable_stmt__condition, | |||
| ptr< ss_expr_stmt > | a__ss_for__iteration | |||
| ) | [protected] |
Generated constructor for class ss_for.
Generated constructor for class ss_for.
Definition at line 1848 of file ss_statement.g.cc.
Referenced by create().
01857 : ss_iteration_stmt(a__ss_base_with_location__location, 01858 a__ss_statement__labels, 01859 a__ss_statement__parent, 01860 a__ss_statement__psp, 01861 a__ss_statement__nsp, 01862 a__ss_statement__sequence_points, 01863 a__ss_breakable_stmt__body, 01864 a__ss_breakable_stmt__condition), iteration(a__ss_for__iteration) 01865 {}
| ptr< ss_expr_stmt > lestes::lang::cplus::sem::ss_for::iteration_get | ( | ) | const |
The method iteration_get returns the value of the field ss_for::iteration.
Definition at line 1800 of file ss_statement.g.cc.
References iteration.
01801 { 01802 return iteration; 01803 }
| void lestes::lang::cplus::sem::ss_for::iteration_set | ( | const ptr< ss_expr_stmt > & | x | ) |
The method iteration_set sets the field ss_for::iteration to the given value.
| [in] | x | The new value to set ss_for::iteration to. |
Definition at line 1809 of file ss_statement.g.cc.
References iteration.
01810 { 01811 ss_for::iteration = x; 01812 }
| void lestes::lang::cplus::sem::ss_for::accept_ss_statement_visitor | ( | ptr< ss_statement_visitor > | v | ) | [virtual] |
Implements lestes::lang::cplus::sem::ss_iteration_stmt.
Definition at line 1814 of file ss_statement.g.cc.
| ptr< ss_for > lestes::lang::cplus::sem::ss_for::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_breakable_stmt__body, | |||
| ptr< ss_expression > | a__ss_breakable_stmt__condition, | |||
| ptr< ss_expr_stmt > | a__ss_for__iteration | |||
| ) | [static] |
First generated factory method for class ss_for.
This factory method for class ss_for takes values of all fields as arguments.
Definition at line 1823 of file ss_statement.g.cc.
References ss_for().
01832 { 01833 return ptr< ss_for > ( new ss_for(a__ss_base_with_location__location, 01834 a__ss_statement__labels, 01835 a__ss_statement__parent, 01836 a__ss_statement__psp, 01837 a__ss_statement__nsp, 01838 a__ss_statement__sequence_points, 01839 a__ss_breakable_stmt__body, 01840 a__ss_breakable_stmt__condition, 01841 a__ss_for__iteration) ); 01842 }
| ptr< object::reflection_list > lestes::lang::cplus::sem::ss_for::reflection_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::ss_iteration_stmt.
Definition at line 1867 of file ss_statement.g.cc.
References lestes::std::list< T >::create(), reflection, and lestes::lang::cplus::sem::ss_iteration_stmt::reflection_get().
01868 { 01869 if (!reflection) { 01870 typedef class_reflection::field_metadata md; 01871 typedef class_reflection::field_metadata_list mdlist; 01872 ptr<mdlist> mdl = mdlist::create(); 01873 mdl->push_back( md::create( "iteration", "ss_expr_stmt" ) ); 01874 reflection = reflection_list::create( ss_iteration_stmt::reflection_get() ); 01875 reflection->push_back( class_reflection::create( "ss_for", mdl ) ); 01876 } 01877 return reflection; 01878 }
| ptr< object::field_list_list > lestes::lang::cplus::sem::ss_for::field_values_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::ss_iteration_stmt.
Definition at line 1880 of file ss_statement.g.cc.
References lestes::std::list< T >::create(), and lestes::lang::cplus::sem::ss_iteration_stmt::field_values_get().
01881 { 01882 ptr < field_list_list > result = ss_iteration_stmt::field_values_get(); 01883 result->push_back( value_list::create() ); 01884 result->back()->push_back( this->iteration ); 01885 return result; 01886 }
| void lestes::lang::cplus::sem::ss_for::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class ss_for.
Marking routine is used for garbage collection.
Reimplemented from lestes::lang::cplus::sem::ss_iteration_stmt.
Definition at line 1893 of file ss_statement.g.cc.
References lestes::lang::cplus::sem::ss_iteration_stmt::gc_mark().
01894 { 01895 ss_iteration_stmt::gc_mark(); 01896 }
srp< ss_expr_stmt > lestes::lang::cplus::sem::ss_for::iteration [private] |
Definition at line 1043 of file ss_statement.g.hh.
Referenced by iteration_get(), and iteration_set().
ptr< object::reflection_list > lestes::lang::cplus::sem::ss_for::reflection = reflection [static, private] |
Reimplemented from lestes::lang::cplus::sem::ss_iteration_stmt.
Definition at line 1044 of file ss_statement.g.hh.
Referenced by reflection_get().
1.5.1-20070107