00001 // This file is automatically generated, do not edit. 00002 00003 /*! 00004 \file 00005 \brief Common sa header. 00006 Contains common entities for structural analysis. 00007 */ 00008 00009 00010 #include <lestes/std/list.hh> 00011 #include <lestes/std/pair.hh> 00012 #include <lestes/std/reflect.hh> 00013 00014 #include <lestes/lang/cplus/sem/sa_common.g.hh> 00015 00016 package(lestes); 00017 package(lang); 00018 package(cplus); 00019 package(sem); 00020 00021 00022 // ------------- Class declaration_context follows. ------------- 00023 00024 /*! 00025 Generated constructor for class declaration_context. 00026 \author lsg 00027 */ 00028 declaration_context::declaration_context () 00029 : object() 00030 {} 00031 00032 ptr< object::reflection_list > declaration_context::reflection_get() const 00033 { 00034 if (!reflection) { 00035 typedef class_reflection::field_metadata md; 00036 typedef class_reflection::field_metadata_list mdlist; 00037 ptr<mdlist> mdl = mdlist::create(); 00038 reflection = reflection_list::create( ::lestes::std::object::reflection_get() ); 00039 reflection->push_back( class_reflection::create( "declaration_context", mdl ) ); 00040 } 00041 return reflection; 00042 } 00043 00044 ptr< object::field_list_list > declaration_context::field_values_get() const 00045 { 00046 ptr < field_list_list > result = ::lestes::std::object::field_values_get(); 00047 return result; 00048 } 00049 00050 00051 /*! 00052 Marking routine is used for garbage collection. 00053 \author lsg 00054 */ 00055 void declaration_context::gc_mark() 00056 { 00057 ::lestes::std::object::gc_mark(); 00058 } 00059 00060 // End of class declaration_context. 00061 00062 00063 // static data members follow 00064 ptr<object::reflection_list> declaration_context::reflection = reflection; 00065 00066 end_package(sem); 00067 end_package(cplus); 00068 end_package(lang); 00069 end_package(lestes); 00070
1.5.1-20070107