00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT! -*- c++ -*- 00002 00003 #ifndef decl_read_i_h 00004 #define decl_read_i_h 00005 00006 #include <ptree-core.h> 00007 #include "except.h" 00008 #include "symbol_table.h" 00009 #include "ptree_util.h" 00010 #include "scope.h" 00011 #include "downcast.h" 00012 #include "symbol_name.h" 00013 #include "class.h" 00014 00015 /************************** Abstract Declarator **************************/ 00016 00017 class Ad_reader : public Declaration_reader { 00018 public: 00019 Type t; 00020 Ad_reader(Abstract_scope* as) 00021 : Declaration_reader(as) { } 00022 void declare_variable(Type type, Ptree* name, Ptree* initializer, Ptree* bitsize) { 00023 t = type; 00024 assert(!name); 00025 assert(!initializer); 00026 assert(!bitsize); 00027 } 00028 }; 00029 00030 /********************************* Names *********************************/ 00031 00032 class Name_decl_reader : public Declaration_reader { 00033 public: 00034 Name_decl_reader(Abstract_scope* as) 00035 : Declaration_reader(as) { } 00036 void declare_variable(Type, Ptree*, Ptree*, Ptree*) { } 00037 }; 00038 00039 #endif // decl_read_i_h