132 /* a helper function... */ |
132 /* a helper function... */ |
133 void *base_type(symbol_c *symbol); |
133 void *base_type(symbol_c *symbol); |
134 |
134 |
135 |
135 |
136 private: |
136 private: |
137 /* We override the base class' visitor to identifier_c. |
137 /*************************/ |
138 * This is so because the base class does not consider a function block |
138 /* B.1 - Common elements */ |
139 * to be a type, unlike this class that allows a variable instance |
139 /*************************/ |
140 * of a function block type... |
140 /*******************************************/ |
141 */ |
141 /* B 1.1 - Letters, digits and identifiers */ |
142 // void *visit(identifier_c *type_name); |
142 /*******************************************/ |
143 |
143 void *visit(identifier_c *variable_name); |
|
144 |
144 /********************************/ |
145 /********************************/ |
145 /* B 1.3.3 - Derived data types */ |
146 /* B 1.3.3 - Derived data types */ |
146 /********************************/ |
147 /********************************/ |
147 /* identifier ':' array_spec_init */ |
148 /* identifier ':' array_spec_init */ |
148 void *visit(array_type_declaration_c *symbol); |
149 void *visit(array_type_declaration_c *symbol); |