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

Public Member Functions | |
| ptr< as_for_init_statement > | for_init_get () const |
| The method for_init_get returns the value of the field as_for_statement::for_init. | |
| void | for_init_set (const ptr< as_for_init_statement > &) |
| The method for_init_set sets the field as_for_statement::for_init to the given value. | |
| ptr< as_condition > | condition_get () const |
| The method condition_get returns the value of the field as_for_statement::condition. | |
| void | condition_set (const ptr< as_condition > &) |
| The method condition_set sets the field as_for_statement::condition to the given value. | |
| ptr< as_expression > | increment_get () const |
| The method increment_get returns the value of the field as_for_statement::increment. | |
| void | increment_set (const ptr< as_expression > &) |
| The method increment_set sets the field as_for_statement::increment to the given value. | |
| virtual void | accept_as_statement_visitor (ptr< as_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< as_for_statement > | create (ptr< ::lestes::std::source_location > a__as_base__location, ptr< as_statement > a__as_iteration_statement__controlled_statement, ptr< as_for_init_statement > a__as_for_statement__for_init, ptr< as_condition > a__as_for_statement__condition, ptr< as_expression > a__as_for_statement__increment) |
| First generated factory method for class as_for_statement. | |
Protected Member Functions | |
| as_for_statement (ptr< ::lestes::std::source_location > a__as_base__location, ptr< as_statement > a__as_iteration_statement__controlled_statement, ptr< as_for_init_statement > a__as_for_statement__for_init, ptr< as_condition > a__as_for_statement__condition, ptr< as_expression > a__as_for_statement__increment) | |
| Generated constructor for class as_for_statement. | |
| virtual void | gc_mark () |
| Marking routine for class as_for_statement. | |
Private Attributes | |
| srp< as_for_init_statement > | for_init |
| srp< as_condition > | condition |
| srp< as_expression > | increment |
Static Private Attributes | |
| static ptr< reflection_list > | reflection = reflection |
Definition at line 567 of file as_statements.g.hh.
| lestes::lang::cplus::sem::as_for_statement::as_for_statement | ( | ptr< ::lestes::std::source_location > | a__as_base__location, | |
| ptr< as_statement > | a__as_iteration_statement__controlled_statement, | |||
| ptr< as_for_init_statement > | a__as_for_statement__for_init, | |||
| ptr< as_condition > | a__as_for_statement__condition, | |||
| ptr< as_expression > | a__as_for_statement__increment | |||
| ) | [protected] |
Generated constructor for class as_for_statement.
Generated constructor for class as_for_statement.
Definition at line 1111 of file as_statements.g.cc.
Referenced by create().
01116 : as_iteration_statement(a__as_base__location, 01117 a__as_iteration_statement__controlled_statement), for_init(checked(a__as_for_statement__for_init)), condition(checked(a__as_for_statement__condition)), increment(checked(a__as_for_statement__increment)) 01118 {}
| ptr< as_for_init_statement > lestes::lang::cplus::sem::as_for_statement::for_init_get | ( | ) | const |
The method for_init_get returns the value of the field as_for_statement::for_init.
Definition at line 1035 of file as_statements.g.cc.
References for_init.
01036 { 01037 return for_init; 01038 }
| void lestes::lang::cplus::sem::as_for_statement::for_init_set | ( | const ptr< as_for_init_statement > & | x | ) |
The method for_init_set sets the field as_for_statement::for_init to the given value.
| [in] | x | The new value to set as_for_statement::for_init to. |
Definition at line 1044 of file as_statements.g.cc.
References for_init.
01045 { 01046 as_for_statement::for_init = x; 01047 }
| ptr< as_condition > lestes::lang::cplus::sem::as_for_statement::condition_get | ( | ) | const |
The method condition_get returns the value of the field as_for_statement::condition.
Definition at line 1053 of file as_statements.g.cc.
References condition.
01054 { 01055 return condition; 01056 }
| void lestes::lang::cplus::sem::as_for_statement::condition_set | ( | const ptr< as_condition > & | x | ) |
The method condition_set sets the field as_for_statement::condition to the given value.
| [in] | x | The new value to set as_for_statement::condition to. |
Definition at line 1062 of file as_statements.g.cc.
References condition.
01063 { 01064 as_for_statement::condition = x; 01065 }
| ptr< as_expression > lestes::lang::cplus::sem::as_for_statement::increment_get | ( | ) | const |
The method increment_get returns the value of the field as_for_statement::increment.
Definition at line 1071 of file as_statements.g.cc.
References increment.
01072 { 01073 return increment; 01074 }
| void lestes::lang::cplus::sem::as_for_statement::increment_set | ( | const ptr< as_expression > & | x | ) |
The method increment_set sets the field as_for_statement::increment to the given value.
| [in] | x | The new value to set as_for_statement::increment to. |
Definition at line 1080 of file as_statements.g.cc.
References increment.
01081 { 01082 as_for_statement::increment = x; 01083 }
| void lestes::lang::cplus::sem::as_for_statement::accept_as_statement_visitor | ( | ptr< as_statement_visitor > | v | ) | [virtual] |
Implements lestes::lang::cplus::sem::as_iteration_statement.
Definition at line 1085 of file as_statements.g.cc.
| ptr< as_for_statement > lestes::lang::cplus::sem::as_for_statement::create | ( | ptr< ::lestes::std::source_location > | a__as_base__location, | |
| ptr< as_statement > | a__as_iteration_statement__controlled_statement, | |||
| ptr< as_for_init_statement > | a__as_for_statement__for_init, | |||
| ptr< as_condition > | a__as_for_statement__condition, | |||
| ptr< as_expression > | a__as_for_statement__increment | |||
| ) | [static] |
First generated factory method for class as_for_statement.
This factory method for class as_for_statement takes values of all fields as arguments.
Definition at line 1094 of file as_statements.g.cc.
References as_for_statement().
01099 { 01100 return ptr< as_for_statement > ( new as_for_statement(a__as_base__location, 01101 a__as_iteration_statement__controlled_statement, 01102 a__as_for_statement__for_init, 01103 a__as_for_statement__condition, 01104 a__as_for_statement__increment) ); 01105 }
| ptr< object::reflection_list > lestes::lang::cplus::sem::as_for_statement::reflection_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::as_iteration_statement.
Definition at line 1120 of file as_statements.g.cc.
References lestes::std::list< T >::create(), reflection, and lestes::lang::cplus::sem::as_iteration_statement::reflection_get().
01121 { 01122 if (!reflection) { 01123 typedef class_reflection::field_metadata md; 01124 typedef class_reflection::field_metadata_list mdlist; 01125 ptr<mdlist> mdl = mdlist::create(); 01126 mdl->push_back( md::create( "for_init", "as_for_init_statement" ) ); 01127 mdl->push_back( md::create( "condition", "as_condition" ) ); 01128 mdl->push_back( md::create( "increment", "as_expression" ) ); 01129 reflection = reflection_list::create( as_iteration_statement::reflection_get() ); 01130 reflection->push_back( class_reflection::create( "as_for_statement", mdl ) ); 01131 } 01132 return reflection; 01133 }
| ptr< object::field_list_list > lestes::lang::cplus::sem::as_for_statement::field_values_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::as_iteration_statement.
Definition at line 1135 of file as_statements.g.cc.
References lestes::std::list< T >::create(), and lestes::lang::cplus::sem::as_iteration_statement::field_values_get().
01136 { 01137 ptr < field_list_list > result = as_iteration_statement::field_values_get(); 01138 result->push_back( value_list::create() ); 01139 result->back()->push_back( this->for_init ); 01140 result->push_back( value_list::create() ); 01141 result->back()->push_back( this->condition ); 01142 result->push_back( value_list::create() ); 01143 result->back()->push_back( this->increment ); 01144 return result; 01145 }
| void lestes::lang::cplus::sem::as_for_statement::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class as_for_statement.
Marking routine is used for garbage collection.
Reimplemented from lestes::lang::cplus::sem::as_iteration_statement.
Definition at line 1152 of file as_statements.g.cc.
References lestes::lang::cplus::sem::as_iteration_statement::gc_mark().
01153 { 01154 as_iteration_statement::gc_mark(); 01155 }
Definition at line 617 of file as_statements.g.hh.
Referenced by for_init_get(), and for_init_set().
srp< as_condition > lestes::lang::cplus::sem::as_for_statement::condition [private] |
Definition at line 618 of file as_statements.g.hh.
Referenced by condition_get(), and condition_set().
srp< as_expression > lestes::lang::cplus::sem::as_for_statement::increment [private] |
Definition at line 619 of file as_statements.g.hh.
Referenced by increment_get(), and increment_set().
ptr< object::reflection_list > lestes::lang::cplus::sem::as_for_statement::reflection = reflection [static, private] |
Reimplemented from lestes::lang::cplus::sem::as_iteration_statement.
Definition at line 620 of file as_statements.g.hh.
Referenced by reflection_get().
1.5.1-20070107