equal
deleted
inserted
replaced
108 symbol_c *get_basetype_decl(symbol_c *variable_name); |
108 symbol_c *get_basetype_decl(symbol_c *variable_name); |
109 symbol_c *get_basetype_id (symbol_c *variable_name); |
109 symbol_c *get_basetype_id (symbol_c *variable_name); |
110 // symbol_c *get_type_decl(symbol_c *variable_name); |
110 // symbol_c *get_type_decl(symbol_c *variable_name); |
111 symbol_c *get_type_id(symbol_c *variable_name); |
111 symbol_c *get_type_id(symbol_c *variable_name); |
112 |
112 |
113 /* NOTE: I have a feeling that this function should be remvoed/deleted. |
113 /* NOTE: The following function should be moved to its own independent visitor class. |
114 * However, it is currently used in stage 4, and before deleting it |
114 * In other words, it will be removed from this class in the future. |
115 * requires that the stage4 code be analysed and fixed (i.e. replace by |
|
116 * a call to one of the above functions get_basetype_decl(), |
|
117 * get_type_decl(), get_type_id(). |
|
118 */ |
115 */ |
119 unsigned int get_vartype(symbol_c *variable_name); |
116 bool type_is_complex(symbol_c *variable_name); |
120 bool type_is_complex(void); |
|
121 |
117 |
122 private: |
118 private: |
123 /* a helper function... */ |
119 /* a helper function... */ |
124 void *visit_list(list_c *list); |
120 void *visit_list(list_c *list); |
125 |
121 |