as_id_to_declaration_set.cc

Go to the documentation of this file.
00001 /*
00002    The lestes compiler suite
00003    Copyright (C) 2002, 2003, 2004, 2005 Miroslav Tichy
00004    Copyright (C) 2002, 2003, 2004, 2005 Petr Zika
00005    Copyright (C) 2002, 2003, 2004, 2005 Vojtech Hala
00006    Copyright (C) 2002, 2003, 2004, 2005 Jiri Kosina
00007    Copyright (C) 2002, 2003, 2004, 2005 Pavel Sanda
00008    Copyright (C) 2002, 2003, 2004, 2005 Jan Zouhar
00009    Copyright (C) 2002, 2003, 2004, 2005 Rudolf Thomas
00010 
00011    This program is free software; you can redistribute it and/or modify
00012    it under the terms of the GNU General Public License as published by
00013    the Free Software Foundation; version 2 of the License.
00014 
00015    This program is distributed in the hope that it will be useful,
00016    but WITHOUT ANY WARRANTY; without even the implied warranty of
00017    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018    GNU General Public License for more details.
00019 
00020    See the full text of the GNU General Public License version 2, and
00021    the limitations in the file doc/LICENSE.
00022 
00023    By accepting the license the licensee waives any and all claims
00024    against the copyright holder(s) related in whole or in part to the
00025    work, its use, and/or the inability to use it.
00026  
00027  */
00028 #include <lestes/lang/cplus/sem/as_decl.g.hh>
00029 #include <lestes/lang/cplus/sem/as_id_to_declaration_set.g.hh>
00030 #include <lestes/lang/cplus/sem/as_id_visitor.v.g.hh>
00031 #include <lestes/lang/cplus/sem/ss_declaration.g.hh>
00032 #include <lestes/lang/cplus/sem/ss_misc.g.hh>
00033 #include <lestes/lang/cplus/syn/token.hh>
00034 
00035 package(lestes);
00036 package(lang);
00037 package(cplus);
00038 package(sem);
00039 
00040 void as_id_to_declaration_set::visit_as_template_id(ptr < as_template_id >)
00041 {
00042         lassert2(false, "FIXME");
00043 }
00044 
00045 void as_id_to_declaration_set::visit_as_identifier(ptr < as_identifier > a)
00046 {
00047         declarations_set(a->token_get()->found_decls_get());
00048 }
00049 
00050 void as_id_to_declaration_set::visit_as_destructor_id_token(ptr < as_destructor_id_token >)
00051 {
00052         lassert2(false, "FIXME");
00053 }
00054 
00055 void as_id_to_declaration_set::visit_as_destructor_id_template(ptr < as_destructor_id_template >)
00056 {
00057         lassert2(false, "FIXME");
00058 }
00059 
00060 void as_id_to_declaration_set::visit_as_constructor_id(ptr < as_constructor_id >)
00061 {
00062         lassert2(false, "FIXME");
00063 }
00064 
00065 void as_id_to_declaration_set::visit_as_op_function_id(ptr < as_op_function_id >)
00066 {
00067         // FIXME presvedcit Rudu
00068         declarations_set(NULL);
00069 }
00070 
00071 void as_id_to_declaration_set::visit_as_conv_function_id(ptr < as_conv_function_id >)
00072 {
00073         lassert2(false, "FIXME");
00074 }
00075 
00076 void as_id_to_declaration_set::visit_as_empty_id(ptr < as_empty_id >)
00077 {
00078         lassert2(false, "FIXME");
00079 }
00080 
00081 void as_id_to_declaration_set::visit_as_global_namespace_fake_id(ptr < as_global_namespace_fake_id >)
00082 {
00083         declarations_set(set < srp < ss_declaration > >::create());
00084         declarations_get()->insert(ss_decl_seq::root_instance()->declared_by_get());
00085 }
00086 
00087 end_package(sem);
00088 end_package(cplus);
00089 end_package(lang);
00090 end_package(lestes);
00091 

Generated on Mon Feb 12 18:22:27 2007 for lestes by doxygen 1.5.1-20070107