#include <as_expr.g.hh>
Inheritance diagram for lestes::lang::cplus::sem::as_ternary_expression:

Public Member Functions | |
| ptr< as_expression > | first_get () const |
| The method first_get returns the value of the field as_ternary_expression::first. | |
| void | first_set (const ptr< as_expression > &) |
| The method first_set sets the field as_ternary_expression::first to the given value. | |
| ptr< as_expression > | second_get () const |
| The method second_get returns the value of the field as_ternary_expression::second. | |
| void | second_set (const ptr< as_expression > &) |
| The method second_set sets the field as_ternary_expression::second to the given value. | |
| ptr< as_expression > | third_get () const |
| The method third_get returns the value of the field as_ternary_expression::third. | |
| void | third_set (const ptr< as_expression > &) |
| The method third_set sets the field as_ternary_expression::third to the given value. | |
| virtual void | accept_as_expr_visitor (ptr< as_expr_visitor > v) override |
| virtual ptr< reflection_list > | reflection_get () const |
| for purposes of dumping | |
| virtual ptr< field_list_list > | field_values_get () const |
| for purposes of dumping | |
Protected Member Functions | |
| as_ternary_expression (ptr< ::lestes::std::source_location > a__as_base__location, ptr< as_expression > a__as_ternary_expression__first, ptr< as_expression > a__as_ternary_expression__second, ptr< as_expression > a__as_ternary_expression__third) | |
| Generated constructor for class as_ternary_expression. | |
| virtual void | gc_mark () |
| Marking routine for class as_ternary_expression. | |
Private Attributes | |
| srp< as_expression > | first |
| srp< as_expression > | second |
| srp< as_expression > | third |
Static Private Attributes | |
| static ptr< reflection_list > | reflection = reflection |
Definition at line 250 of file as_expr.g.hh.
| lestes::lang::cplus::sem::as_ternary_expression::as_ternary_expression | ( | ptr< ::lestes::std::source_location > | a__as_base__location, | |
| ptr< as_expression > | a__as_ternary_expression__first, | |||
| ptr< as_expression > | a__as_ternary_expression__second, | |||
| ptr< as_expression > | a__as_ternary_expression__third | |||
| ) | [protected] |
Generated constructor for class as_ternary_expression.
Generated constructor for class as_ternary_expression.
Definition at line 320 of file as_expr.g.cc.
00324 : as_expression(a__as_base__location), first(checked(a__as_ternary_expression__first)), second(checked(a__as_ternary_expression__second)), third(checked(a__as_ternary_expression__third)) 00325 {}
| ptr< as_expression > lestes::lang::cplus::sem::as_ternary_expression::first_get | ( | ) | const |
The method first_get returns the value of the field as_ternary_expression::first.
Definition at line 266 of file as_expr.g.cc.
References first.
00267 { 00268 return first; 00269 }
| void lestes::lang::cplus::sem::as_ternary_expression::first_set | ( | const ptr< as_expression > & | x | ) |
The method first_set sets the field as_ternary_expression::first to the given value.
| [in] | x | The new value to set as_ternary_expression::first to. |
Definition at line 275 of file as_expr.g.cc.
References first.
00276 { 00277 as_ternary_expression::first = x; 00278 }
| ptr< as_expression > lestes::lang::cplus::sem::as_ternary_expression::second_get | ( | ) | const |
The method second_get returns the value of the field as_ternary_expression::second.
Definition at line 284 of file as_expr.g.cc.
References second.
00285 { 00286 return second; 00287 }
| void lestes::lang::cplus::sem::as_ternary_expression::second_set | ( | const ptr< as_expression > & | x | ) |
The method second_set sets the field as_ternary_expression::second to the given value.
| [in] | x | The new value to set as_ternary_expression::second to. |
Definition at line 293 of file as_expr.g.cc.
References second.
00294 { 00295 as_ternary_expression::second = x; 00296 }
| ptr< as_expression > lestes::lang::cplus::sem::as_ternary_expression::third_get | ( | ) | const |
The method third_get returns the value of the field as_ternary_expression::third.
Definition at line 302 of file as_expr.g.cc.
References third.
00303 { 00304 return third; 00305 }
| void lestes::lang::cplus::sem::as_ternary_expression::third_set | ( | const ptr< as_expression > & | x | ) |
The method third_set sets the field as_ternary_expression::third to the given value.
| [in] | x | The new value to set as_ternary_expression::third to. |
Definition at line 311 of file as_expr.g.cc.
References third.
00312 { 00313 as_ternary_expression::third = x; 00314 }
| virtual void lestes::lang::cplus::sem::as_ternary_expression::accept_as_expr_visitor | ( | ptr< as_expr_visitor > | v | ) | [pure virtual] |
Implements lestes::lang::cplus::sem::as_expression.
Implemented in lestes::lang::cplus::sem::as_expression_qmark.
| ptr< object::reflection_list > lestes::lang::cplus::sem::as_ternary_expression::reflection_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::as_expression.
Reimplemented in lestes::lang::cplus::sem::as_expression_qmark.
Definition at line 327 of file as_expr.g.cc.
References lestes::std::list< T >::create(), reflection, and lestes::lang::cplus::sem::as_expression::reflection_get().
Referenced by lestes::lang::cplus::sem::as_expression_qmark::reflection_get().
00328 { 00329 if (!reflection) { 00330 typedef class_reflection::field_metadata md; 00331 typedef class_reflection::field_metadata_list mdlist; 00332 ptr<mdlist> mdl = mdlist::create(); 00333 mdl->push_back( md::create( "first", "as_expression" ) ); 00334 mdl->push_back( md::create( "second", "as_expression" ) ); 00335 mdl->push_back( md::create( "third", "as_expression" ) ); 00336 reflection = reflection_list::create( as_expression::reflection_get() ); 00337 reflection->push_back( class_reflection::create( "as_ternary_expression", mdl ) ); 00338 } 00339 return reflection; 00340 }
| ptr< object::field_list_list > lestes::lang::cplus::sem::as_ternary_expression::field_values_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::as_expression.
Reimplemented in lestes::lang::cplus::sem::as_expression_qmark.
Definition at line 342 of file as_expr.g.cc.
References lestes::std::list< T >::create(), and lestes::lang::cplus::sem::as_expression::field_values_get().
Referenced by lestes::lang::cplus::sem::as_expression_qmark::field_values_get().
00343 { 00344 ptr < field_list_list > result = as_expression::field_values_get(); 00345 result->push_back( value_list::create() ); 00346 result->back()->push_back( this->first ); 00347 result->push_back( value_list::create() ); 00348 result->back()->push_back( this->second ); 00349 result->push_back( value_list::create() ); 00350 result->back()->push_back( this->third ); 00351 return result; 00352 }
| void lestes::lang::cplus::sem::as_ternary_expression::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class as_ternary_expression.
Marking routine is used for garbage collection.
Reimplemented from lestes::lang::cplus::sem::as_expression.
Reimplemented in lestes::lang::cplus::sem::as_expression_qmark.
Definition at line 359 of file as_expr.g.cc.
References lestes::lang::cplus::sem::as_expression::gc_mark().
Referenced by lestes::lang::cplus::sem::as_expression_qmark::gc_mark().
00360 { 00361 as_expression::gc_mark(); 00362 }
srp< as_expression > lestes::lang::cplus::sem::as_ternary_expression::first [private] |
srp< as_expression > lestes::lang::cplus::sem::as_ternary_expression::second [private] |
srp< as_expression > lestes::lang::cplus::sem::as_ternary_expression::third [private] |
ptr< object::reflection_list > lestes::lang::cplus::sem::as_ternary_expression::reflection = reflection [static, private] |
Reimplemented from lestes::lang::cplus::sem::as_expression.
Reimplemented in lestes::lang::cplus::sem::as_expression_qmark.
Definition at line 296 of file as_expr.g.hh.
Referenced by reflection_get().
1.5.1-20070107