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

Public Member Functions | |
| ptr< ss_expression > | condition_get () const |
| The method condition_get returns the value of the field ss_if_stmt::condition. | |
| void | condition_set (const ptr< ss_expression > &) |
| The method condition_set sets the field ss_if_stmt::condition to the given value. | |
| ptr< ss_compound_stmt > | cthen_get () const |
| The method cthen_get returns the value of the field ss_if_stmt::cthen. | |
| void | cthen_set (const ptr< ss_compound_stmt > &) |
| The method cthen_set sets the field ss_if_stmt::cthen to the given value. | |
| ptr< ss_compound_stmt > | celse_get () const |
| The method celse_get returns the value of the field ss_if_stmt::celse. | |
| void | celse_set (const ptr< ss_compound_stmt > &) |
| The method celse_set sets the field ss_if_stmt::celse 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_if_stmt > | 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_expression > a__ss_if_stmt__condition, ptr< ss_compound_stmt > a__ss_if_stmt__cthen, ptr< ss_compound_stmt > a__ss_if_stmt__celse) |
| First generated factory method for class ss_if_stmt. | |
Protected Member Functions | |
| ss_if_stmt (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_expression > a__ss_if_stmt__condition, ptr< ss_compound_stmt > a__ss_if_stmt__cthen, ptr< ss_compound_stmt > a__ss_if_stmt__celse) | |
| Generated constructor for class ss_if_stmt. | |
| virtual void | gc_mark () |
| Marking routine for class ss_if_stmt. | |
Private Attributes | |
| srp< ss_expression > | condition |
| srp< ss_compound_stmt > | cthen |
| srp< ss_compound_stmt > | celse |
Static Private Attributes | |
| static ptr< reflection_list > | reflection = reflection |
Definition at line 617 of file ss_statement.g.hh.
| lestes::lang::cplus::sem::ss_if_stmt::ss_if_stmt | ( | 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_expression > | a__ss_if_stmt__condition, | |||
| ptr< ss_compound_stmt > | a__ss_if_stmt__cthen, | |||
| ptr< ss_compound_stmt > | a__ss_if_stmt__celse | |||
| ) | [protected] |
Generated constructor for class ss_if_stmt.
Generated constructor for class ss_if_stmt.
Definition at line 1174 of file ss_statement.g.cc.
Referenced by create().
01183 : ss_statement(a__ss_base_with_location__location, 01184 a__ss_statement__labels, 01185 a__ss_statement__parent, 01186 a__ss_statement__psp, 01187 a__ss_statement__nsp, 01188 a__ss_statement__sequence_points), condition(checked(a__ss_if_stmt__condition)), cthen(checked(a__ss_if_stmt__cthen)), celse(checked(a__ss_if_stmt__celse)) 01189 {}
| ptr< ss_expression > lestes::lang::cplus::sem::ss_if_stmt::condition_get | ( | ) | const |
The method condition_get returns the value of the field ss_if_stmt::condition.
Definition at line 1090 of file ss_statement.g.cc.
References condition.
01091 { 01092 return condition; 01093 }
| void lestes::lang::cplus::sem::ss_if_stmt::condition_set | ( | const ptr< ss_expression > & | x | ) |
The method condition_set sets the field ss_if_stmt::condition to the given value.
| [in] | x | The new value to set ss_if_stmt::condition to. |
Definition at line 1099 of file ss_statement.g.cc.
References condition.
01100 { 01101 ss_if_stmt::condition = x; 01102 }
| ptr< ss_compound_stmt > lestes::lang::cplus::sem::ss_if_stmt::cthen_get | ( | ) | const |
The method cthen_get returns the value of the field ss_if_stmt::cthen.
Definition at line 1108 of file ss_statement.g.cc.
References cthen.
01109 { 01110 return cthen; 01111 }
| void lestes::lang::cplus::sem::ss_if_stmt::cthen_set | ( | const ptr< ss_compound_stmt > & | x | ) |
The method cthen_set sets the field ss_if_stmt::cthen to the given value.
| [in] | x | The new value to set ss_if_stmt::cthen to. |
Definition at line 1117 of file ss_statement.g.cc.
References cthen.
01118 { 01119 ss_if_stmt::cthen = x; 01120 }
| ptr< ss_compound_stmt > lestes::lang::cplus::sem::ss_if_stmt::celse_get | ( | ) | const |
The method celse_get returns the value of the field ss_if_stmt::celse.
Definition at line 1126 of file ss_statement.g.cc.
References celse.
01127 { 01128 return celse; 01129 }
| void lestes::lang::cplus::sem::ss_if_stmt::celse_set | ( | const ptr< ss_compound_stmt > & | x | ) |
The method celse_set sets the field ss_if_stmt::celse to the given value.
| [in] | x | The new value to set ss_if_stmt::celse to. |
Definition at line 1135 of file ss_statement.g.cc.
References celse.
01136 { 01137 ss_if_stmt::celse = x; 01138 }
| void lestes::lang::cplus::sem::ss_if_stmt::accept_ss_statement_visitor | ( | ptr< ss_statement_visitor > | v | ) | [virtual] |
Implements lestes::lang::cplus::sem::ss_statement.
Definition at line 1140 of file ss_statement.g.cc.
| ptr< ss_if_stmt > lestes::lang::cplus::sem::ss_if_stmt::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_expression > | a__ss_if_stmt__condition, | |||
| ptr< ss_compound_stmt > | a__ss_if_stmt__cthen, | |||
| ptr< ss_compound_stmt > | a__ss_if_stmt__celse | |||
| ) | [static] |
First generated factory method for class ss_if_stmt.
This factory method for class ss_if_stmt takes values of all fields as arguments.
Definition at line 1149 of file ss_statement.g.cc.
References ss_if_stmt().
01158 { 01159 return ptr< ss_if_stmt > ( new ss_if_stmt(a__ss_base_with_location__location, 01160 a__ss_statement__labels, 01161 a__ss_statement__parent, 01162 a__ss_statement__psp, 01163 a__ss_statement__nsp, 01164 a__ss_statement__sequence_points, 01165 a__ss_if_stmt__condition, 01166 a__ss_if_stmt__cthen, 01167 a__ss_if_stmt__celse) ); 01168 }
| ptr< object::reflection_list > lestes::lang::cplus::sem::ss_if_stmt::reflection_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::ss_statement.
Definition at line 1191 of file ss_statement.g.cc.
References lestes::std::list< T >::create(), reflection, and lestes::lang::cplus::sem::ss_statement::reflection_get().
01192 { 01193 if (!reflection) { 01194 typedef class_reflection::field_metadata md; 01195 typedef class_reflection::field_metadata_list mdlist; 01196 ptr<mdlist> mdl = mdlist::create(); 01197 mdl->push_back( md::create( "condition", "ss_expression" ) ); 01198 mdl->push_back( md::create( "cthen", "ss_compound_stmt" ) ); 01199 mdl->push_back( md::create( "celse", "ss_compound_stmt" ) ); 01200 reflection = reflection_list::create( ss_statement::reflection_get() ); 01201 reflection->push_back( class_reflection::create( "ss_if_stmt", mdl ) ); 01202 } 01203 return reflection; 01204 }
| ptr< object::field_list_list > lestes::lang::cplus::sem::ss_if_stmt::field_values_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::ss_statement.
Definition at line 1206 of file ss_statement.g.cc.
References lestes::std::list< T >::create(), and lestes::lang::cplus::sem::ss_statement::field_values_get().
01207 { 01208 ptr < field_list_list > result = ss_statement::field_values_get(); 01209 result->push_back( value_list::create() ); 01210 result->back()->push_back( this->condition ); 01211 result->push_back( value_list::create() ); 01212 result->back()->push_back( this->cthen ); 01213 result->push_back( value_list::create() ); 01214 result->back()->push_back( this->celse ); 01215 return result; 01216 }
| void lestes::lang::cplus::sem::ss_if_stmt::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class ss_if_stmt.
Marking routine is used for garbage collection.
Reimplemented from lestes::lang::cplus::sem::ss_statement.
Definition at line 1223 of file ss_statement.g.cc.
References lestes::lang::cplus::sem::ss_statement::gc_mark().
01224 { 01225 ss_statement::gc_mark(); 01226 }
srp< ss_expression > lestes::lang::cplus::sem::ss_if_stmt::condition [private] |
Definition at line 675 of file ss_statement.g.hh.
Referenced by condition_get(), and condition_set().
srp< ss_compound_stmt > lestes::lang::cplus::sem::ss_if_stmt::cthen [private] |
srp< ss_compound_stmt > lestes::lang::cplus::sem::ss_if_stmt::celse [private] |
ptr< object::reflection_list > lestes::lang::cplus::sem::ss_if_stmt::reflection = reflection [static, private] |
Reimplemented from lestes::lang::cplus::sem::ss_statement.
Definition at line 678 of file ss_statement.g.hh.
Referenced by reflection_get().
1.5.1-20070107