Line data Source code
1 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStaticDataManagingClassSource.macro" */
2 : /* JH (01/01/2006) This file is generated using ROSETTA. It should never be
3 : manipulated by hand. The generation is located in buildStorageClasses.C!
4 :
5 : This file contains all decfinitions for the StorageClasses used for the ast file IO.
6 : */
7 :
8 : #ifndef STORAGE_CLASSES_H
9 : #define STORAGE_CLASSES_H
10 :
11 : #include "sage3basic.hhh" // static data managing
12 :
13 : /* JH (02/02/2006) REMARK: Since the declarations, definitions and use of the static member functions of
14 : the templated EasyStorage classes is spread over the files below, we need to compile them all together
15 : at this point. The splitting into several files is just to simplify and separate their contents!
16 : */
17 :
18 : #include "rosedefs.h"
19 : #include "Cxx_Grammar.h"
20 :
21 : #include "AST_FILE_IO.h"
22 : #include "Cxx_GrammarMemoryPoolSupport.h"
23 : #include "StorageClasses.h"
24 :
25 : // DQ (3/7/2010): Added to support debugging.
26 : #include "AstDiagnostics.h"
27 :
28 : #include "StorageClassMemoryManagement.C"
29 : #include "SourcesOfIRNodesAstFileIOSupport.C"
30 :
31 :
32 : SgProject*
33 4 : AstSpecificDataManagingClass::getRootOfAst () const
34 : {
35 4 : return rootOfAst;
36 : }
37 :
38 : unsigned long
39 28802700 : AstSpecificDataManagingClass::getNumberOfAccumulatedNodes (const int position) const
40 : {
41 28802700 : return listOfAccumulatedPoolSizes[position];
42 : }
43 :
44 : unsigned long
45 4098 : AstSpecificDataManagingClass::getMemoryPoolSize (const int position) const
46 : {
47 4098 : return listOfAccumulatedPoolSizes[position + 1] - listOfAccumulatedPoolSizes[position];
48 : }
49 :
50 : unsigned long
51 1739590 : AstSpecificDataManagingClass::getTotalNumberOfASTIRNodes ( ) const
52 : {
53 1739590 : return listOfAccumulatedPoolSizes[ 690 ] ;
54 : }
55 :
56 : int
57 2 : AstSpecificDataManagingClass::get_AstIndex() const
58 : {
59 2 : return astIndex;
60 : }
61 :
62 :
63 : /* #line 64 "../../../src/frontend/SageIII//StorageClasses.C" */
64 : SgFunctionTypeTable*
65 0 : AstSpecificDataManagingClass::get_SgNode_globalFunctionTypeTable() const
66 : {
67 0 : return SgNode_globalFunctionTypeTable;
68 : }
69 :
70 : SgTypeTable*
71 0 : AstSpecificDataManagingClass::get_SgNode_globalTypeTable() const
72 : {
73 0 : return SgNode_globalTypeTable;
74 : }
75 :
76 : std::map<SgNode*,std::string>
77 0 : AstSpecificDataManagingClass::get_SgNode_globalMangledNameMap() const
78 : {
79 0 : return SgNode_globalMangledNameMap;
80 : }
81 :
82 : std::map<std::string, int>
83 0 : AstSpecificDataManagingClass::get_SgNode_shortMangledNameCache() const
84 : {
85 0 : return SgNode_shortMangledNameCache;
86 : }
87 :
88 : std::map<SgNode*,std::string>
89 0 : AstSpecificDataManagingClass::get_SgNode_globalQualifiedNameMapForNames() const
90 : {
91 0 : return SgNode_globalQualifiedNameMapForNames;
92 : }
93 :
94 : std::map<SgNode*,std::string>
95 0 : AstSpecificDataManagingClass::get_SgNode_globalQualifiedNameMapForTypes() const
96 : {
97 0 : return SgNode_globalQualifiedNameMapForTypes;
98 : }
99 :
100 : std::map<SgNode*,std::string>
101 0 : AstSpecificDataManagingClass::get_SgNode_globalQualifiedNameMapForTemplateHeaders() const
102 : {
103 0 : return SgNode_globalQualifiedNameMapForTemplateHeaders;
104 : }
105 :
106 : std::map<SgNode*,std::string>
107 0 : AstSpecificDataManagingClass::get_SgNode_globalTypeNameMap() const
108 : {
109 0 : return SgNode_globalTypeNameMap;
110 : }
111 :
112 : std::map<SgNode*,std::map<SgNode*,std::string> >
113 0 : AstSpecificDataManagingClass::get_SgNode_globalQualifiedNameMapForMapsOfTypes() const
114 : {
115 0 : return SgNode_globalQualifiedNameMapForMapsOfTypes;
116 : }
117 :
118 : SgNodeSet
119 0 : AstSpecificDataManagingClass::get_SgSymbolTable_aliasSymbolCausalNodeSet() const
120 : {
121 0 : return SgSymbolTable_aliasSymbolCausalNodeSet;
122 : }
123 :
124 : bool
125 0 : AstSpecificDataManagingClass::get_SgSymbolTable_force_search_of_base_classes() const
126 : {
127 0 : return SgSymbolTable_force_search_of_base_classes;
128 : }
129 :
130 : std::map<int, std::string>
131 0 : AstSpecificDataManagingClass::get_Sg_File_Info_fileidtoname_map() const
132 : {
133 0 : return Sg_File_Info_fileidtoname_map;
134 : }
135 :
136 : std::map<std::string, int>
137 0 : AstSpecificDataManagingClass::get_Sg_File_Info_nametofileid_map() const
138 : {
139 0 : return Sg_File_Info_nametofileid_map;
140 : }
141 :
142 : bool
143 0 : AstSpecificDataManagingClass::get_SgFile_skip_unparse_asm_commands() const
144 : {
145 0 : return SgFile_skip_unparse_asm_commands;
146 : }
147 :
148 : bool
149 0 : AstSpecificDataManagingClass::get_SgFile_header_file_unparsing_optimization() const
150 : {
151 0 : return SgFile_header_file_unparsing_optimization;
152 : }
153 :
154 : SgTypePtrList
155 0 : AstSpecificDataManagingClass::get_SgUnparse_Info_structureTagProcessingList() const
156 : {
157 0 : return SgUnparse_Info_structureTagProcessingList;
158 : }
159 :
160 : bool
161 0 : AstSpecificDataManagingClass::get_SgUnparse_Info_forceDefaultConstructorToTriggerError() const
162 : {
163 0 : return SgUnparse_Info_forceDefaultConstructorToTriggerError;
164 : }
165 :
166 : bool
167 0 : AstSpecificDataManagingClass::get_SgUnparse_Info_extern_C_with_braces() const
168 : {
169 0 : return SgUnparse_Info_extern_C_with_braces;
170 : }
171 :
172 : int
173 0 : AstSpecificDataManagingClass::get_SgGraph_index_counter() const
174 : {
175 0 : return SgGraph_index_counter;
176 : }
177 :
178 : int
179 0 : AstSpecificDataManagingClass::get_SgGraphNode_index_counter() const
180 : {
181 0 : return SgGraphNode_index_counter;
182 : }
183 :
184 : int
185 0 : AstSpecificDataManagingClass::get_SgGraphEdge_index_counter() const
186 : {
187 0 : return SgGraphEdge_index_counter;
188 : }
189 :
190 : SgTypeUnknown*
191 0 : AstSpecificDataManagingClass::get_SgTypeUnknown_builtin_type() const
192 : {
193 0 : return SgTypeUnknown_builtin_type;
194 : }
195 :
196 : SgTypeChar*
197 0 : AstSpecificDataManagingClass::get_SgTypeChar_builtin_type() const
198 : {
199 0 : return SgTypeChar_builtin_type;
200 : }
201 :
202 : SgTypeSignedChar*
203 0 : AstSpecificDataManagingClass::get_SgTypeSignedChar_builtin_type() const
204 : {
205 0 : return SgTypeSignedChar_builtin_type;
206 : }
207 :
208 : SgTypeUnsignedChar*
209 0 : AstSpecificDataManagingClass::get_SgTypeUnsignedChar_builtin_type() const
210 : {
211 0 : return SgTypeUnsignedChar_builtin_type;
212 : }
213 :
214 : SgTypeShort*
215 0 : AstSpecificDataManagingClass::get_SgTypeShort_builtin_type() const
216 : {
217 0 : return SgTypeShort_builtin_type;
218 : }
219 :
220 : SgTypeSignedShort*
221 0 : AstSpecificDataManagingClass::get_SgTypeSignedShort_builtin_type() const
222 : {
223 0 : return SgTypeSignedShort_builtin_type;
224 : }
225 :
226 : SgTypeUnsignedShort*
227 0 : AstSpecificDataManagingClass::get_SgTypeUnsignedShort_builtin_type() const
228 : {
229 0 : return SgTypeUnsignedShort_builtin_type;
230 : }
231 :
232 : SgTypeInt*
233 0 : AstSpecificDataManagingClass::get_SgTypeInt_builtin_type() const
234 : {
235 0 : return SgTypeInt_builtin_type;
236 : }
237 :
238 : SgTypeSignedInt*
239 0 : AstSpecificDataManagingClass::get_SgTypeSignedInt_builtin_type() const
240 : {
241 0 : return SgTypeSignedInt_builtin_type;
242 : }
243 :
244 : SgTypeUnsignedInt*
245 0 : AstSpecificDataManagingClass::get_SgTypeUnsignedInt_builtin_type() const
246 : {
247 0 : return SgTypeUnsignedInt_builtin_type;
248 : }
249 :
250 : SgTypeLong*
251 0 : AstSpecificDataManagingClass::get_SgTypeLong_builtin_type() const
252 : {
253 0 : return SgTypeLong_builtin_type;
254 : }
255 :
256 : SgTypeSignedLong*
257 0 : AstSpecificDataManagingClass::get_SgTypeSignedLong_builtin_type() const
258 : {
259 0 : return SgTypeSignedLong_builtin_type;
260 : }
261 :
262 : SgTypeUnsignedLong*
263 0 : AstSpecificDataManagingClass::get_SgTypeUnsignedLong_builtin_type() const
264 : {
265 0 : return SgTypeUnsignedLong_builtin_type;
266 : }
267 :
268 : SgTypeVoid*
269 0 : AstSpecificDataManagingClass::get_SgTypeVoid_builtin_type() const
270 : {
271 0 : return SgTypeVoid_builtin_type;
272 : }
273 :
274 : SgTypeGlobalVoid*
275 0 : AstSpecificDataManagingClass::get_SgTypeGlobalVoid_builtin_type() const
276 : {
277 0 : return SgTypeGlobalVoid_builtin_type;
278 : }
279 :
280 : SgTypeWchar*
281 0 : AstSpecificDataManagingClass::get_SgTypeWchar_builtin_type() const
282 : {
283 0 : return SgTypeWchar_builtin_type;
284 : }
285 :
286 : SgTypeFloat*
287 0 : AstSpecificDataManagingClass::get_SgTypeFloat_builtin_type() const
288 : {
289 0 : return SgTypeFloat_builtin_type;
290 : }
291 :
292 : SgTypeDouble*
293 0 : AstSpecificDataManagingClass::get_SgTypeDouble_builtin_type() const
294 : {
295 0 : return SgTypeDouble_builtin_type;
296 : }
297 :
298 : SgTypeLongLong*
299 0 : AstSpecificDataManagingClass::get_SgTypeLongLong_builtin_type() const
300 : {
301 0 : return SgTypeLongLong_builtin_type;
302 : }
303 :
304 : SgTypeSignedLongLong*
305 0 : AstSpecificDataManagingClass::get_SgTypeSignedLongLong_builtin_type() const
306 : {
307 0 : return SgTypeSignedLongLong_builtin_type;
308 : }
309 :
310 : SgTypeUnsignedLongLong*
311 0 : AstSpecificDataManagingClass::get_SgTypeUnsignedLongLong_builtin_type() const
312 : {
313 0 : return SgTypeUnsignedLongLong_builtin_type;
314 : }
315 :
316 : SgTypeSigned128bitInteger*
317 0 : AstSpecificDataManagingClass::get_SgTypeSigned128bitInteger_builtin_type() const
318 : {
319 0 : return SgTypeSigned128bitInteger_builtin_type;
320 : }
321 :
322 : SgTypeUnsigned128bitInteger*
323 0 : AstSpecificDataManagingClass::get_SgTypeUnsigned128bitInteger_builtin_type() const
324 : {
325 0 : return SgTypeUnsigned128bitInteger_builtin_type;
326 : }
327 :
328 : SgTypeFloat80*
329 0 : AstSpecificDataManagingClass::get_SgTypeFloat80_builtin_type() const
330 : {
331 0 : return SgTypeFloat80_builtin_type;
332 : }
333 :
334 : SgTypeLongDouble*
335 0 : AstSpecificDataManagingClass::get_SgTypeLongDouble_builtin_type() const
336 : {
337 0 : return SgTypeLongDouble_builtin_type;
338 : }
339 :
340 : SgTypeBool*
341 0 : AstSpecificDataManagingClass::get_SgTypeBool_builtin_type() const
342 : {
343 0 : return SgTypeBool_builtin_type;
344 : }
345 :
346 : SgNamedType*
347 0 : AstSpecificDataManagingClass::get_SgNamedType_builtin_type() const
348 : {
349 0 : return SgNamedType_builtin_type;
350 : }
351 :
352 : SgPartialFunctionModifierType*
353 0 : AstSpecificDataManagingClass::get_SgPartialFunctionModifierType_builtin_type() const
354 : {
355 0 : return SgPartialFunctionModifierType_builtin_type;
356 : }
357 :
358 : SgTypeEllipse*
359 0 : AstSpecificDataManagingClass::get_SgTypeEllipse_builtin_type() const
360 : {
361 0 : return SgTypeEllipse_builtin_type;
362 : }
363 :
364 : SgTypeDefault*
365 0 : AstSpecificDataManagingClass::get_SgTypeDefault_builtin_type() const
366 : {
367 0 : return SgTypeDefault_builtin_type;
368 : }
369 :
370 : SgTypeCAFTeam*
371 0 : AstSpecificDataManagingClass::get_SgTypeCAFTeam_builtin_type() const
372 : {
373 0 : return SgTypeCAFTeam_builtin_type;
374 : }
375 :
376 : SgTypeCrayPointer*
377 0 : AstSpecificDataManagingClass::get_SgTypeCrayPointer_builtin_type() const
378 : {
379 0 : return SgTypeCrayPointer_builtin_type;
380 : }
381 :
382 : SgTypeLabel*
383 0 : AstSpecificDataManagingClass::get_SgTypeLabel_builtin_type() const
384 : {
385 0 : return SgTypeLabel_builtin_type;
386 : }
387 :
388 : SgTypeNullptr*
389 0 : AstSpecificDataManagingClass::get_SgTypeNullptr_builtin_type() const
390 : {
391 0 : return SgTypeNullptr_builtin_type;
392 : }
393 :
394 : SgTypeMatrix*
395 0 : AstSpecificDataManagingClass::get_SgTypeMatrix_builtin_type() const
396 : {
397 0 : return SgTypeMatrix_builtin_type;
398 : }
399 :
400 : SgTypeTuple*
401 0 : AstSpecificDataManagingClass::get_SgTypeTuple_builtin_type() const
402 : {
403 0 : return SgTypeTuple_builtin_type;
404 : }
405 :
406 : SgTypeChar16*
407 0 : AstSpecificDataManagingClass::get_SgTypeChar16_builtin_type() const
408 : {
409 0 : return SgTypeChar16_builtin_type;
410 : }
411 :
412 : SgTypeChar32*
413 0 : AstSpecificDataManagingClass::get_SgTypeChar32_builtin_type() const
414 : {
415 0 : return SgTypeChar32_builtin_type;
416 : }
417 :
418 : SgTypeFloat128*
419 0 : AstSpecificDataManagingClass::get_SgTypeFloat128_builtin_type() const
420 : {
421 0 : return SgTypeFloat128_builtin_type;
422 : }
423 :
424 5 : AstSpecificDataManagingClass::AstSpecificDataManagingClass( SgProject* root )
425 : {
426 5 : rootOfAst = root;
427 5 : astIndex = AST_FILE_IO::getNumberOfAsts();
428 5 : SgNode_globalFunctionTypeTable = SgNode::p_globalFunctionTypeTable;
429 5 : SgNode_globalTypeTable = SgNode::p_globalTypeTable;
430 5 : SgNode_globalMangledNameMap = SgNode::p_globalMangledNameMap;
431 5 : SgNode_shortMangledNameCache = SgNode::p_shortMangledNameCache;
432 5 : SgNode_globalQualifiedNameMapForNames = SgNode::p_globalQualifiedNameMapForNames;
433 5 : SgNode_globalQualifiedNameMapForTypes = SgNode::p_globalQualifiedNameMapForTypes;
434 5 : SgNode_globalQualifiedNameMapForTemplateHeaders = SgNode::p_globalQualifiedNameMapForTemplateHeaders;
435 5 : SgNode_globalTypeNameMap = SgNode::p_globalTypeNameMap;
436 5 : SgNode_globalQualifiedNameMapForMapsOfTypes = SgNode::p_globalQualifiedNameMapForMapsOfTypes;
437 5 : SgSymbolTable_aliasSymbolCausalNodeSet = SgSymbolTable::p_aliasSymbolCausalNodeSet;
438 5 : SgSymbolTable_force_search_of_base_classes = SgSymbolTable::p_force_search_of_base_classes;
439 5 : Sg_File_Info_fileidtoname_map = Sg_File_Info::p_fileidtoname_map;
440 5 : Sg_File_Info_nametofileid_map = Sg_File_Info::p_nametofileid_map;
441 5 : SgFile_skip_unparse_asm_commands = SgFile::p_skip_unparse_asm_commands;
442 5 : SgFile_header_file_unparsing_optimization = SgFile::p_header_file_unparsing_optimization;
443 5 : SgUnparse_Info_structureTagProcessingList = SgUnparse_Info::p_structureTagProcessingList;
444 5 : SgUnparse_Info_forceDefaultConstructorToTriggerError = SgUnparse_Info::p_forceDefaultConstructorToTriggerError;
445 5 : SgUnparse_Info_extern_C_with_braces = SgUnparse_Info::p_extern_C_with_braces;
446 5 : SgGraph_index_counter = SgGraph::p_index_counter;
447 5 : SgGraphNode_index_counter = SgGraphNode::p_index_counter;
448 5 : SgGraphEdge_index_counter = SgGraphEdge::p_index_counter;
449 5 : SgTypeUnknown_builtin_type = SgTypeUnknown::p_builtin_type;
450 5 : SgTypeChar_builtin_type = SgTypeChar::p_builtin_type;
451 5 : SgTypeSignedChar_builtin_type = SgTypeSignedChar::p_builtin_type;
452 5 : SgTypeUnsignedChar_builtin_type = SgTypeUnsignedChar::p_builtin_type;
453 5 : SgTypeShort_builtin_type = SgTypeShort::p_builtin_type;
454 5 : SgTypeSignedShort_builtin_type = SgTypeSignedShort::p_builtin_type;
455 5 : SgTypeUnsignedShort_builtin_type = SgTypeUnsignedShort::p_builtin_type;
456 5 : SgTypeInt_builtin_type = SgTypeInt::p_builtin_type;
457 5 : SgTypeSignedInt_builtin_type = SgTypeSignedInt::p_builtin_type;
458 5 : SgTypeUnsignedInt_builtin_type = SgTypeUnsignedInt::p_builtin_type;
459 5 : SgTypeLong_builtin_type = SgTypeLong::p_builtin_type;
460 5 : SgTypeSignedLong_builtin_type = SgTypeSignedLong::p_builtin_type;
461 5 : SgTypeUnsignedLong_builtin_type = SgTypeUnsignedLong::p_builtin_type;
462 5 : SgTypeVoid_builtin_type = SgTypeVoid::p_builtin_type;
463 5 : SgTypeGlobalVoid_builtin_type = SgTypeGlobalVoid::p_builtin_type;
464 5 : SgTypeWchar_builtin_type = SgTypeWchar::p_builtin_type;
465 5 : SgTypeFloat_builtin_type = SgTypeFloat::p_builtin_type;
466 5 : SgTypeDouble_builtin_type = SgTypeDouble::p_builtin_type;
467 5 : SgTypeLongLong_builtin_type = SgTypeLongLong::p_builtin_type;
468 5 : SgTypeSignedLongLong_builtin_type = SgTypeSignedLongLong::p_builtin_type;
469 5 : SgTypeUnsignedLongLong_builtin_type = SgTypeUnsignedLongLong::p_builtin_type;
470 5 : SgTypeSigned128bitInteger_builtin_type = SgTypeSigned128bitInteger::p_builtin_type;
471 5 : SgTypeUnsigned128bitInteger_builtin_type = SgTypeUnsigned128bitInteger::p_builtin_type;
472 5 : SgTypeFloat80_builtin_type = SgTypeFloat80::p_builtin_type;
473 5 : SgTypeLongDouble_builtin_type = SgTypeLongDouble::p_builtin_type;
474 5 : SgTypeBool_builtin_type = SgTypeBool::p_builtin_type;
475 5 : SgNamedType_builtin_type = SgNamedType::p_builtin_type;
476 5 : SgPartialFunctionModifierType_builtin_type = SgPartialFunctionModifierType::p_builtin_type;
477 5 : SgTypeEllipse_builtin_type = SgTypeEllipse::p_builtin_type;
478 5 : SgTypeDefault_builtin_type = SgTypeDefault::p_builtin_type;
479 5 : SgTypeCAFTeam_builtin_type = SgTypeCAFTeam::p_builtin_type;
480 5 : SgTypeCrayPointer_builtin_type = SgTypeCrayPointer::p_builtin_type;
481 5 : SgTypeLabel_builtin_type = SgTypeLabel::p_builtin_type;
482 5 : SgTypeNullptr_builtin_type = SgTypeNullptr::p_builtin_type;
483 5 : SgTypeMatrix_builtin_type = SgTypeMatrix::p_builtin_type;
484 5 : SgTypeTuple_builtin_type = SgTypeTuple::p_builtin_type;
485 5 : SgTypeChar16_builtin_type = SgTypeChar16::p_builtin_type;
486 5 : SgTypeChar32_builtin_type = SgTypeChar32::p_builtin_type;
487 5 : SgTypeFloat128_builtin_type = SgTypeFloat128::p_builtin_type;
488 5 : }
489 :
490 : void
491 2 : AstSpecificDataManagingClass::setStaticDataMembersOfIRNodes ( ) const
492 : {
493 2 : if ( SgNode_globalFunctionTypeTable != NULL )
494 : {
495 2 : if (SgNode::p_globalFunctionTypeTable == NULL)
496 : {
497 2 : SgNode::p_globalFunctionTypeTable = SgNode_globalFunctionTypeTable;
498 : }
499 : }
500 2 : if ( SgNode_globalTypeTable != NULL )
501 : {
502 2 : if (SgNode::p_globalTypeTable == NULL)
503 : {
504 2 : SgNode::p_globalTypeTable = SgNode_globalTypeTable;
505 : }
506 : }
507 2 : SgNode::p_globalMangledNameMap = SgNode_globalMangledNameMap;
508 2 : SgNode::p_shortMangledNameCache = SgNode_shortMangledNameCache;
509 2 : SgNode::p_globalQualifiedNameMapForNames = SgNode_globalQualifiedNameMapForNames;
510 2 : SgNode::p_globalQualifiedNameMapForTypes = SgNode_globalQualifiedNameMapForTypes;
511 2 : SgNode::p_globalQualifiedNameMapForTemplateHeaders = SgNode_globalQualifiedNameMapForTemplateHeaders;
512 2 : SgNode::p_globalTypeNameMap = SgNode_globalTypeNameMap;
513 2 : SgNode::p_globalQualifiedNameMapForMapsOfTypes = SgNode_globalQualifiedNameMapForMapsOfTypes;
514 2 : SgSymbolTable::p_aliasSymbolCausalNodeSet = SgSymbolTable_aliasSymbolCausalNodeSet;
515 2 : SgSymbolTable::p_force_search_of_base_classes = SgSymbolTable_force_search_of_base_classes;
516 2 : Sg_File_Info::p_fileidtoname_map = Sg_File_Info_fileidtoname_map;
517 2 : Sg_File_Info::p_nametofileid_map = Sg_File_Info_nametofileid_map;
518 2 : SgFile::p_skip_unparse_asm_commands = SgFile_skip_unparse_asm_commands;
519 2 : SgFile::p_header_file_unparsing_optimization = SgFile_header_file_unparsing_optimization;
520 2 : SgUnparse_Info::p_structureTagProcessingList = SgUnparse_Info_structureTagProcessingList;
521 2 : SgUnparse_Info::p_forceDefaultConstructorToTriggerError = SgUnparse_Info_forceDefaultConstructorToTriggerError;
522 2 : SgUnparse_Info::p_extern_C_with_braces = SgUnparse_Info_extern_C_with_braces;
523 2 : SgGraph::p_index_counter = SgGraph_index_counter;
524 2 : SgGraphNode::p_index_counter = SgGraphNode_index_counter;
525 2 : SgGraphEdge::p_index_counter = SgGraphEdge_index_counter;
526 2 : if ( SgTypeUnknown_builtin_type != NULL )
527 : {
528 0 : if (SgTypeUnknown::p_builtin_type == NULL)
529 : {
530 0 : SgTypeUnknown::p_builtin_type = SgTypeUnknown_builtin_type;
531 : }
532 : }
533 2 : if ( SgTypeChar_builtin_type != NULL )
534 : {
535 0 : if (SgTypeChar::p_builtin_type == NULL)
536 : {
537 0 : SgTypeChar::p_builtin_type = SgTypeChar_builtin_type;
538 : }
539 : }
540 2 : if ( SgTypeSignedChar_builtin_type != NULL )
541 : {
542 0 : if (SgTypeSignedChar::p_builtin_type == NULL)
543 : {
544 0 : SgTypeSignedChar::p_builtin_type = SgTypeSignedChar_builtin_type;
545 : }
546 : }
547 2 : if ( SgTypeUnsignedChar_builtin_type != NULL )
548 : {
549 0 : if (SgTypeUnsignedChar::p_builtin_type == NULL)
550 : {
551 0 : SgTypeUnsignedChar::p_builtin_type = SgTypeUnsignedChar_builtin_type;
552 : }
553 : }
554 2 : if ( SgTypeShort_builtin_type != NULL )
555 : {
556 0 : if (SgTypeShort::p_builtin_type == NULL)
557 : {
558 0 : SgTypeShort::p_builtin_type = SgTypeShort_builtin_type;
559 : }
560 : }
561 2 : if ( SgTypeSignedShort_builtin_type != NULL )
562 : {
563 0 : if (SgTypeSignedShort::p_builtin_type == NULL)
564 : {
565 0 : SgTypeSignedShort::p_builtin_type = SgTypeSignedShort_builtin_type;
566 : }
567 : }
568 2 : if ( SgTypeUnsignedShort_builtin_type != NULL )
569 : {
570 0 : if (SgTypeUnsignedShort::p_builtin_type == NULL)
571 : {
572 0 : SgTypeUnsignedShort::p_builtin_type = SgTypeUnsignedShort_builtin_type;
573 : }
574 : }
575 2 : if ( SgTypeInt_builtin_type != NULL )
576 : {
577 0 : if (SgTypeInt::p_builtin_type == NULL)
578 : {
579 0 : SgTypeInt::p_builtin_type = SgTypeInt_builtin_type;
580 : }
581 : }
582 2 : if ( SgTypeSignedInt_builtin_type != NULL )
583 : {
584 0 : if (SgTypeSignedInt::p_builtin_type == NULL)
585 : {
586 0 : SgTypeSignedInt::p_builtin_type = SgTypeSignedInt_builtin_type;
587 : }
588 : }
589 2 : if ( SgTypeUnsignedInt_builtin_type != NULL )
590 : {
591 0 : if (SgTypeUnsignedInt::p_builtin_type == NULL)
592 : {
593 0 : SgTypeUnsignedInt::p_builtin_type = SgTypeUnsignedInt_builtin_type;
594 : }
595 : }
596 2 : if ( SgTypeLong_builtin_type != NULL )
597 : {
598 0 : if (SgTypeLong::p_builtin_type == NULL)
599 : {
600 0 : SgTypeLong::p_builtin_type = SgTypeLong_builtin_type;
601 : }
602 : }
603 2 : if ( SgTypeSignedLong_builtin_type != NULL )
604 : {
605 0 : if (SgTypeSignedLong::p_builtin_type == NULL)
606 : {
607 0 : SgTypeSignedLong::p_builtin_type = SgTypeSignedLong_builtin_type;
608 : }
609 : }
610 2 : if ( SgTypeUnsignedLong_builtin_type != NULL )
611 : {
612 0 : if (SgTypeUnsignedLong::p_builtin_type == NULL)
613 : {
614 0 : SgTypeUnsignedLong::p_builtin_type = SgTypeUnsignedLong_builtin_type;
615 : }
616 : }
617 2 : if ( SgTypeVoid_builtin_type != NULL )
618 : {
619 0 : if (SgTypeVoid::p_builtin_type == NULL)
620 : {
621 0 : SgTypeVoid::p_builtin_type = SgTypeVoid_builtin_type;
622 : }
623 : }
624 2 : if ( SgTypeGlobalVoid_builtin_type != NULL )
625 : {
626 0 : if (SgTypeGlobalVoid::p_builtin_type == NULL)
627 : {
628 0 : SgTypeGlobalVoid::p_builtin_type = SgTypeGlobalVoid_builtin_type;
629 : }
630 : }
631 2 : if ( SgTypeWchar_builtin_type != NULL )
632 : {
633 0 : if (SgTypeWchar::p_builtin_type == NULL)
634 : {
635 0 : SgTypeWchar::p_builtin_type = SgTypeWchar_builtin_type;
636 : }
637 : }
638 2 : if ( SgTypeFloat_builtin_type != NULL )
639 : {
640 0 : if (SgTypeFloat::p_builtin_type == NULL)
641 : {
642 0 : SgTypeFloat::p_builtin_type = SgTypeFloat_builtin_type;
643 : }
644 : }
645 2 : if ( SgTypeDouble_builtin_type != NULL )
646 : {
647 0 : if (SgTypeDouble::p_builtin_type == NULL)
648 : {
649 0 : SgTypeDouble::p_builtin_type = SgTypeDouble_builtin_type;
650 : }
651 : }
652 2 : if ( SgTypeLongLong_builtin_type != NULL )
653 : {
654 0 : if (SgTypeLongLong::p_builtin_type == NULL)
655 : {
656 0 : SgTypeLongLong::p_builtin_type = SgTypeLongLong_builtin_type;
657 : }
658 : }
659 2 : if ( SgTypeSignedLongLong_builtin_type != NULL )
660 : {
661 0 : if (SgTypeSignedLongLong::p_builtin_type == NULL)
662 : {
663 0 : SgTypeSignedLongLong::p_builtin_type = SgTypeSignedLongLong_builtin_type;
664 : }
665 : }
666 2 : if ( SgTypeUnsignedLongLong_builtin_type != NULL )
667 : {
668 0 : if (SgTypeUnsignedLongLong::p_builtin_type == NULL)
669 : {
670 0 : SgTypeUnsignedLongLong::p_builtin_type = SgTypeUnsignedLongLong_builtin_type;
671 : }
672 : }
673 2 : if ( SgTypeSigned128bitInteger_builtin_type != NULL )
674 : {
675 0 : if (SgTypeSigned128bitInteger::p_builtin_type == NULL)
676 : {
677 0 : SgTypeSigned128bitInteger::p_builtin_type = SgTypeSigned128bitInteger_builtin_type;
678 : }
679 : }
680 2 : if ( SgTypeUnsigned128bitInteger_builtin_type != NULL )
681 : {
682 0 : if (SgTypeUnsigned128bitInteger::p_builtin_type == NULL)
683 : {
684 0 : SgTypeUnsigned128bitInteger::p_builtin_type = SgTypeUnsigned128bitInteger_builtin_type;
685 : }
686 : }
687 2 : if ( SgTypeFloat80_builtin_type != NULL )
688 : {
689 0 : if (SgTypeFloat80::p_builtin_type == NULL)
690 : {
691 0 : SgTypeFloat80::p_builtin_type = SgTypeFloat80_builtin_type;
692 : }
693 : }
694 2 : if ( SgTypeLongDouble_builtin_type != NULL )
695 : {
696 0 : if (SgTypeLongDouble::p_builtin_type == NULL)
697 : {
698 0 : SgTypeLongDouble::p_builtin_type = SgTypeLongDouble_builtin_type;
699 : }
700 : }
701 2 : if ( SgTypeBool_builtin_type != NULL )
702 : {
703 0 : if (SgTypeBool::p_builtin_type == NULL)
704 : {
705 0 : SgTypeBool::p_builtin_type = SgTypeBool_builtin_type;
706 : }
707 : }
708 2 : if ( SgNamedType_builtin_type != NULL )
709 : {
710 0 : if (SgNamedType::p_builtin_type == NULL)
711 : {
712 0 : SgNamedType::p_builtin_type = SgNamedType_builtin_type;
713 : }
714 : }
715 2 : if ( SgPartialFunctionModifierType_builtin_type != NULL )
716 : {
717 0 : if (SgPartialFunctionModifierType::p_builtin_type == NULL)
718 : {
719 0 : SgPartialFunctionModifierType::p_builtin_type = SgPartialFunctionModifierType_builtin_type;
720 : }
721 : }
722 2 : if ( SgTypeEllipse_builtin_type != NULL )
723 : {
724 0 : if (SgTypeEllipse::p_builtin_type == NULL)
725 : {
726 0 : SgTypeEllipse::p_builtin_type = SgTypeEllipse_builtin_type;
727 : }
728 : }
729 2 : if ( SgTypeDefault_builtin_type != NULL )
730 : {
731 0 : if (SgTypeDefault::p_builtin_type == NULL)
732 : {
733 0 : SgTypeDefault::p_builtin_type = SgTypeDefault_builtin_type;
734 : }
735 : }
736 2 : if ( SgTypeCAFTeam_builtin_type != NULL )
737 : {
738 0 : if (SgTypeCAFTeam::p_builtin_type == NULL)
739 : {
740 0 : SgTypeCAFTeam::p_builtin_type = SgTypeCAFTeam_builtin_type;
741 : }
742 : }
743 2 : if ( SgTypeCrayPointer_builtin_type != NULL )
744 : {
745 0 : if (SgTypeCrayPointer::p_builtin_type == NULL)
746 : {
747 0 : SgTypeCrayPointer::p_builtin_type = SgTypeCrayPointer_builtin_type;
748 : }
749 : }
750 2 : if ( SgTypeLabel_builtin_type != NULL )
751 : {
752 0 : if (SgTypeLabel::p_builtin_type == NULL)
753 : {
754 0 : SgTypeLabel::p_builtin_type = SgTypeLabel_builtin_type;
755 : }
756 : }
757 2 : if ( SgTypeNullptr_builtin_type != NULL )
758 : {
759 0 : if (SgTypeNullptr::p_builtin_type == NULL)
760 : {
761 0 : SgTypeNullptr::p_builtin_type = SgTypeNullptr_builtin_type;
762 : }
763 : }
764 2 : if ( SgTypeMatrix_builtin_type != NULL )
765 : {
766 0 : if (SgTypeMatrix::p_builtin_type == NULL)
767 : {
768 0 : SgTypeMatrix::p_builtin_type = SgTypeMatrix_builtin_type;
769 : }
770 : }
771 2 : if ( SgTypeTuple_builtin_type != NULL )
772 : {
773 0 : if (SgTypeTuple::p_builtin_type == NULL)
774 : {
775 0 : SgTypeTuple::p_builtin_type = SgTypeTuple_builtin_type;
776 : }
777 : }
778 2 : if ( SgTypeChar16_builtin_type != NULL )
779 : {
780 0 : if (SgTypeChar16::p_builtin_type == NULL)
781 : {
782 0 : SgTypeChar16::p_builtin_type = SgTypeChar16_builtin_type;
783 : }
784 : }
785 2 : if ( SgTypeChar32_builtin_type != NULL )
786 : {
787 0 : if (SgTypeChar32::p_builtin_type == NULL)
788 : {
789 0 : SgTypeChar32::p_builtin_type = SgTypeChar32_builtin_type;
790 : }
791 : }
792 2 : if ( SgTypeFloat128_builtin_type != NULL )
793 : {
794 0 : if (SgTypeFloat128::p_builtin_type == NULL)
795 : {
796 0 : SgTypeFloat128::p_builtin_type = SgTypeFloat128_builtin_type;
797 : }
798 : }
799 2 : }
800 :
801 : void
802 3 : AstSpecificDataManagingClassStorageClass::pickOutIRNodeData ( AstSpecificDataManagingClass* source )
803 : {
804 2076 : for(int i = 0; i < 690 + 1; ++ i )
805 : {
806 2073 : listOfAccumulatedPoolSizes[i] = source->listOfAccumulatedPoolSizes[i];
807 : }
808 3 : rootOfAst = AST_FILE_IO::getGlobalIndexFromSgClassPointer (source->rootOfAst);
809 3 : storageOf_SgNode_globalFunctionTypeTable = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgNode_globalFunctionTypeTable );
810 3 : storageOf_SgNode_globalTypeTable = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgNode_globalTypeTable );
811 3 : storageOf_SgNode_globalMangledNameMap.storeDataInEasyStorageClass( source->SgNode_globalMangledNameMap);
812 3 : storageOf_SgNode_shortMangledNameCache.storeDataInEasyStorageClass( source->SgNode_shortMangledNameCache);
813 3 : storageOf_SgNode_globalQualifiedNameMapForNames.storeDataInEasyStorageClass( source->SgNode_globalQualifiedNameMapForNames);
814 3 : storageOf_SgNode_globalQualifiedNameMapForTypes.storeDataInEasyStorageClass( source->SgNode_globalQualifiedNameMapForTypes);
815 3 : storageOf_SgNode_globalQualifiedNameMapForTemplateHeaders.storeDataInEasyStorageClass( source->SgNode_globalQualifiedNameMapForTemplateHeaders);
816 3 : storageOf_SgNode_globalTypeNameMap.storeDataInEasyStorageClass( source->SgNode_globalTypeNameMap);
817 3 : storageOf_SgNode_globalQualifiedNameMapForMapsOfTypes.storeDataInEasyStorageClass( source->SgNode_globalQualifiedNameMapForMapsOfTypes);
818 3 : storageOf_SgSymbolTable_aliasSymbolCausalNodeSet.storeDataInEasyStorageClass( source->SgSymbolTable_aliasSymbolCausalNodeSet);
819 3 : storageOf_SgSymbolTable_force_search_of_base_classes = source->SgSymbolTable_force_search_of_base_classes ;
820 3 : storageOf_Sg_File_Info_fileidtoname_map.storeDataInEasyStorageClass( source->Sg_File_Info_fileidtoname_map);
821 3 : storageOf_Sg_File_Info_nametofileid_map.storeDataInEasyStorageClass( source->Sg_File_Info_nametofileid_map);
822 3 : storageOf_SgFile_skip_unparse_asm_commands = source->SgFile_skip_unparse_asm_commands ;
823 3 : storageOf_SgFile_header_file_unparsing_optimization = source->SgFile_header_file_unparsing_optimization ;
824 3 : SgTypePtrList::iterator i_SgUnparse_Info = source->SgUnparse_Info_structureTagProcessingList.begin() ;
825 3 : unsigned int tempListCountSgUnparse_Info = 0;
826 3 : SgTypePtrList::value_type * tempListSgUnparse_Info = new SgTypePtrList::value_type[ source->SgUnparse_Info_structureTagProcessingList.size() ];
827 3 : for ( ; i_SgUnparse_Info != source->SgUnparse_Info_structureTagProcessingList.end(); ++i_SgUnparse_Info )
828 : {
829 0 : tempListSgUnparse_Info[tempListCountSgUnparse_Info] = *i_SgUnparse_Info;
830 0 : tempListCountSgUnparse_Info++;
831 0 : (*i_SgUnparse_Info) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_SgUnparse_Info ) );
832 : }
833 3 : storageOf_SgUnparse_Info_structureTagProcessingList.storeDataInEasyStorageClass(source->SgUnparse_Info_structureTagProcessingList);
834 3 : tempListCountSgUnparse_Info = 0;
835 3 : i_SgUnparse_Info = source->SgUnparse_Info_structureTagProcessingList.begin() ;
836 3 : for ( ; i_SgUnparse_Info != source->SgUnparse_Info_structureTagProcessingList.end(); ++i_SgUnparse_Info )
837 : {
838 0 : *i_SgUnparse_Info = tempListSgUnparse_Info[tempListCountSgUnparse_Info] ;
839 0 : tempListCountSgUnparse_Info++;
840 : }
841 3 : delete [] tempListSgUnparse_Info;
842 3 : storageOf_SgUnparse_Info_forceDefaultConstructorToTriggerError = source->SgUnparse_Info_forceDefaultConstructorToTriggerError ;
843 3 : storageOf_SgUnparse_Info_extern_C_with_braces = source->SgUnparse_Info_extern_C_with_braces ;
844 3 : storageOf_SgGraph_index_counter = source->SgGraph_index_counter ;
845 3 : storageOf_SgGraphNode_index_counter = source->SgGraphNode_index_counter ;
846 3 : storageOf_SgGraphEdge_index_counter = source->SgGraphEdge_index_counter ;
847 3 : storageOf_SgTypeUnknown_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeUnknown_builtin_type );
848 3 : storageOf_SgTypeChar_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeChar_builtin_type );
849 3 : storageOf_SgTypeSignedChar_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeSignedChar_builtin_type );
850 3 : storageOf_SgTypeUnsignedChar_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeUnsignedChar_builtin_type );
851 3 : storageOf_SgTypeShort_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeShort_builtin_type );
852 3 : storageOf_SgTypeSignedShort_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeSignedShort_builtin_type );
853 3 : storageOf_SgTypeUnsignedShort_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeUnsignedShort_builtin_type );
854 3 : storageOf_SgTypeInt_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeInt_builtin_type );
855 3 : storageOf_SgTypeSignedInt_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeSignedInt_builtin_type );
856 3 : storageOf_SgTypeUnsignedInt_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeUnsignedInt_builtin_type );
857 3 : storageOf_SgTypeLong_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeLong_builtin_type );
858 3 : storageOf_SgTypeSignedLong_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeSignedLong_builtin_type );
859 3 : storageOf_SgTypeUnsignedLong_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeUnsignedLong_builtin_type );
860 3 : storageOf_SgTypeVoid_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeVoid_builtin_type );
861 3 : storageOf_SgTypeGlobalVoid_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeGlobalVoid_builtin_type );
862 3 : storageOf_SgTypeWchar_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeWchar_builtin_type );
863 3 : storageOf_SgTypeFloat_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeFloat_builtin_type );
864 3 : storageOf_SgTypeDouble_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeDouble_builtin_type );
865 3 : storageOf_SgTypeLongLong_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeLongLong_builtin_type );
866 3 : storageOf_SgTypeSignedLongLong_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeSignedLongLong_builtin_type );
867 3 : storageOf_SgTypeUnsignedLongLong_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeUnsignedLongLong_builtin_type );
868 3 : storageOf_SgTypeSigned128bitInteger_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeSigned128bitInteger_builtin_type );
869 3 : storageOf_SgTypeUnsigned128bitInteger_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeUnsigned128bitInteger_builtin_type );
870 3 : storageOf_SgTypeFloat80_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeFloat80_builtin_type );
871 3 : storageOf_SgTypeLongDouble_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeLongDouble_builtin_type );
872 3 : storageOf_SgTypeBool_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeBool_builtin_type );
873 3 : storageOf_SgNamedType_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgNamedType_builtin_type );
874 3 : storageOf_SgPartialFunctionModifierType_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgPartialFunctionModifierType_builtin_type );
875 3 : storageOf_SgTypeEllipse_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeEllipse_builtin_type );
876 3 : storageOf_SgTypeDefault_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeDefault_builtin_type );
877 3 : storageOf_SgTypeCAFTeam_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeCAFTeam_builtin_type );
878 3 : storageOf_SgTypeCrayPointer_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeCrayPointer_builtin_type );
879 3 : storageOf_SgTypeLabel_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeLabel_builtin_type );
880 3 : storageOf_SgTypeNullptr_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeNullptr_builtin_type );
881 3 : storageOf_SgTypeMatrix_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeMatrix_builtin_type );
882 3 : storageOf_SgTypeTuple_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeTuple_builtin_type );
883 3 : storageOf_SgTypeChar16_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeChar16_builtin_type );
884 3 : storageOf_SgTypeChar32_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeChar32_builtin_type );
885 3 : storageOf_SgTypeFloat128_builtin_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->SgTypeFloat128_builtin_type );
886 3 : }
887 :
888 2 : AstSpecificDataManagingClass::AstSpecificDataManagingClass(const AstSpecificDataManagingClassStorageClass& source)
889 : {
890 1384 : for(int i = 0; i < 690 + 1; ++ i )
891 : {
892 1382 : listOfAccumulatedPoolSizes[i] = source.listOfAccumulatedPoolSizes[i];
893 : }
894 2 : astIndex = AST_FILE_IO::getNumberOfAsts();
895 2 : AST_FILE_IO::addNewAst(this);
896 :
897 : // Note that this call is required to define the locations of IR nodes as addresses
898 : // which will be used to reset pointers from global IDs to pointer valuses within the
899 : // AST FILE I/O (reading binary ASTs)
900 2 : AST_FILE_IO::extendMemoryPoolsForRebuildingAST();
901 :
902 2 : rootOfAst = (SgProject*)(AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.rootOfAst));
903 2 : SgNode_globalFunctionTypeTable = (SgFunctionTypeTable* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgNode_globalFunctionTypeTable ) );
904 2 : SgNode_globalTypeTable = (SgTypeTable* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgNode_globalTypeTable ) );
905 2 : SgNode_globalMangledNameMap = source.storageOf_SgNode_globalMangledNameMap.rebuildDataStoredInEasyStorageClass();
906 2 : SgNode_shortMangledNameCache = source.storageOf_SgNode_shortMangledNameCache.rebuildDataStoredInEasyStorageClass();
907 2 : SgNode_globalQualifiedNameMapForNames = source.storageOf_SgNode_globalQualifiedNameMapForNames.rebuildDataStoredInEasyStorageClass();
908 2 : SgNode_globalQualifiedNameMapForTypes = source.storageOf_SgNode_globalQualifiedNameMapForTypes.rebuildDataStoredInEasyStorageClass();
909 2 : SgNode_globalQualifiedNameMapForTemplateHeaders = source.storageOf_SgNode_globalQualifiedNameMapForTemplateHeaders.rebuildDataStoredInEasyStorageClass();
910 2 : SgNode_globalTypeNameMap = source.storageOf_SgNode_globalTypeNameMap.rebuildDataStoredInEasyStorageClass();
911 2 : SgNode_globalQualifiedNameMapForMapsOfTypes = source.storageOf_SgNode_globalQualifiedNameMapForMapsOfTypes.rebuildDataStoredInEasyStorageClass();
912 2 : SgSymbolTable_aliasSymbolCausalNodeSet = source.storageOf_SgSymbolTable_aliasSymbolCausalNodeSet.rebuildDataStoredInEasyStorageClass();
913 2 : SgSymbolTable_force_search_of_base_classes = source.storageOf_SgSymbolTable_force_search_of_base_classes;
914 2 : Sg_File_Info_fileidtoname_map = source.storageOf_Sg_File_Info_fileidtoname_map.rebuildDataStoredInEasyStorageClass();
915 2 : Sg_File_Info_nametofileid_map = source.storageOf_Sg_File_Info_nametofileid_map.rebuildDataStoredInEasyStorageClass();
916 2 : SgFile_skip_unparse_asm_commands = source.storageOf_SgFile_skip_unparse_asm_commands;
917 2 : SgFile_header_file_unparsing_optimization = source.storageOf_SgFile_header_file_unparsing_optimization;
918 2 : SgUnparse_Info_structureTagProcessingList = source.storageOf_SgUnparse_Info_structureTagProcessingList.rebuildDataStoredInEasyStorageClass();
919 2 : SgTypePtrList::iterator i_SgUnparse_Info = SgUnparse_Info_structureTagProcessingList.begin() ;
920 2 : for ( ; i_SgUnparse_Info != SgUnparse_Info_structureTagProcessingList.end(); ++i_SgUnparse_Info )
921 : {
922 0 : (*i_SgUnparse_Info) = (SgTypePtrList::value_type)(AST_FILE_IO::getSgClassPointerFromGlobalIndex ( (unsigned long) (*i_SgUnparse_Info ) ) );
923 : }
924 2 : SgUnparse_Info_forceDefaultConstructorToTriggerError = source.storageOf_SgUnparse_Info_forceDefaultConstructorToTriggerError;
925 2 : SgUnparse_Info_extern_C_with_braces = source.storageOf_SgUnparse_Info_extern_C_with_braces;
926 2 : SgGraph_index_counter = source.storageOf_SgGraph_index_counter;
927 2 : SgGraphNode_index_counter = source.storageOf_SgGraphNode_index_counter;
928 2 : SgGraphEdge_index_counter = source.storageOf_SgGraphEdge_index_counter;
929 2 : SgTypeUnknown_builtin_type = (SgTypeUnknown* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeUnknown_builtin_type ) );
930 2 : SgTypeChar_builtin_type = (SgTypeChar* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeChar_builtin_type ) );
931 2 : SgTypeSignedChar_builtin_type = (SgTypeSignedChar* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeSignedChar_builtin_type ) );
932 2 : SgTypeUnsignedChar_builtin_type = (SgTypeUnsignedChar* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeUnsignedChar_builtin_type ) );
933 2 : SgTypeShort_builtin_type = (SgTypeShort* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeShort_builtin_type ) );
934 2 : SgTypeSignedShort_builtin_type = (SgTypeSignedShort* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeSignedShort_builtin_type ) );
935 2 : SgTypeUnsignedShort_builtin_type = (SgTypeUnsignedShort* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeUnsignedShort_builtin_type ) );
936 2 : SgTypeInt_builtin_type = (SgTypeInt* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeInt_builtin_type ) );
937 2 : SgTypeSignedInt_builtin_type = (SgTypeSignedInt* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeSignedInt_builtin_type ) );
938 2 : SgTypeUnsignedInt_builtin_type = (SgTypeUnsignedInt* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeUnsignedInt_builtin_type ) );
939 2 : SgTypeLong_builtin_type = (SgTypeLong* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeLong_builtin_type ) );
940 2 : SgTypeSignedLong_builtin_type = (SgTypeSignedLong* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeSignedLong_builtin_type ) );
941 2 : SgTypeUnsignedLong_builtin_type = (SgTypeUnsignedLong* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeUnsignedLong_builtin_type ) );
942 2 : SgTypeVoid_builtin_type = (SgTypeVoid* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeVoid_builtin_type ) );
943 2 : SgTypeGlobalVoid_builtin_type = (SgTypeGlobalVoid* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeGlobalVoid_builtin_type ) );
944 2 : SgTypeWchar_builtin_type = (SgTypeWchar* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeWchar_builtin_type ) );
945 2 : SgTypeFloat_builtin_type = (SgTypeFloat* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeFloat_builtin_type ) );
946 2 : SgTypeDouble_builtin_type = (SgTypeDouble* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeDouble_builtin_type ) );
947 2 : SgTypeLongLong_builtin_type = (SgTypeLongLong* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeLongLong_builtin_type ) );
948 2 : SgTypeSignedLongLong_builtin_type = (SgTypeSignedLongLong* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeSignedLongLong_builtin_type ) );
949 2 : SgTypeUnsignedLongLong_builtin_type = (SgTypeUnsignedLongLong* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeUnsignedLongLong_builtin_type ) );
950 2 : SgTypeSigned128bitInteger_builtin_type = (SgTypeSigned128bitInteger* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeSigned128bitInteger_builtin_type ) );
951 2 : SgTypeUnsigned128bitInteger_builtin_type = (SgTypeUnsigned128bitInteger* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeUnsigned128bitInteger_builtin_type ) );
952 2 : SgTypeFloat80_builtin_type = (SgTypeFloat80* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeFloat80_builtin_type ) );
953 2 : SgTypeLongDouble_builtin_type = (SgTypeLongDouble* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeLongDouble_builtin_type ) );
954 2 : SgTypeBool_builtin_type = (SgTypeBool* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeBool_builtin_type ) );
955 2 : SgNamedType_builtin_type = (SgNamedType* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgNamedType_builtin_type ) );
956 2 : SgPartialFunctionModifierType_builtin_type = (SgPartialFunctionModifierType* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgPartialFunctionModifierType_builtin_type ) );
957 2 : SgTypeEllipse_builtin_type = (SgTypeEllipse* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeEllipse_builtin_type ) );
958 2 : SgTypeDefault_builtin_type = (SgTypeDefault* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeDefault_builtin_type ) );
959 2 : SgTypeCAFTeam_builtin_type = (SgTypeCAFTeam* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeCAFTeam_builtin_type ) );
960 2 : SgTypeCrayPointer_builtin_type = (SgTypeCrayPointer* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeCrayPointer_builtin_type ) );
961 2 : SgTypeLabel_builtin_type = (SgTypeLabel* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeLabel_builtin_type ) );
962 2 : SgTypeNullptr_builtin_type = (SgTypeNullptr* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeNullptr_builtin_type ) );
963 2 : SgTypeMatrix_builtin_type = (SgTypeMatrix* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeMatrix_builtin_type ) );
964 2 : SgTypeTuple_builtin_type = (SgTypeTuple* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeTuple_builtin_type ) );
965 2 : SgTypeChar16_builtin_type = (SgTypeChar16* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeChar16_builtin_type ) );
966 2 : SgTypeChar32_builtin_type = (SgTypeChar32* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeChar32_builtin_type ) );
967 2 : SgTypeFloat128_builtin_type = (SgTypeFloat128* ) (AST_FILE_IO::getSgClassPointerFromGlobalIndex (source.storageOf_SgTypeFloat128_builtin_type ) );
968 2 : }
969 :
970 : void
971 3 : AstSpecificDataManagingClassStorageClass:: writeEasyStorageDataToFile (std::ostream& out)
972 : {
973 3 : EasyStorage<std::map<SgNode*,std::string> > :: writeToFile(out);
974 3 : EasyStorage<std::map<std::string, int> > :: writeToFile(out);
975 3 : EasyStorage<std::map<SgNode*,std::map<SgNode*,std::string> > > :: writeToFile(out);
976 3 : EasyStorage<SgNodeSet > :: writeToFile(out);
977 3 : EasyStorage<std::map<int, std::string> > :: writeToFile(out);
978 3 : EasyStorage<std::map<std::string, int> > :: writeToFile(out);
979 3 : EasyStorage<SgTypePtrList > :: writeToFile(out);
980 3 : }
981 :
982 : void
983 2 : AstSpecificDataManagingClassStorageClass:: readEasyStorageDataFromFile (std::istream& in)
984 : {
985 2 : EasyStorage<std::map<SgNode*,std::string> > :: readFromFile(in) ;
986 2 : EasyStorage<std::map<std::string, int> > :: readFromFile(in) ;
987 2 : EasyStorage<std::map<SgNode*,std::map<SgNode*,std::string> > > :: readFromFile(in) ;
988 2 : EasyStorage<SgNodeSet > :: readFromFile(in) ;
989 2 : EasyStorage<std::map<int, std::string> > :: readFromFile(in) ;
990 2 : EasyStorage<std::map<std::string, int> > :: readFromFile(in) ;
991 2 : EasyStorage<SgTypePtrList > :: readFromFile(in) ;
992 2 : }
993 :
994 : void
995 0 : AstSpecificDataManagingClassStorageClass:: arrangeStaticDataOfEasyStorageClassesInOneBlock()
996 : {
997 0 : EasyStorage<std::map<SgNode*,std::string> > :: arrangeMemoryPoolInOneBlock();
998 0 : EasyStorage<std::map<std::string, int> > :: arrangeMemoryPoolInOneBlock();
999 0 : EasyStorage<std::map<SgNode*,std::map<SgNode*,std::string> > > :: arrangeMemoryPoolInOneBlock();
1000 0 : EasyStorage<SgNodeSet > :: arrangeMemoryPoolInOneBlock();
1001 0 : EasyStorage<std::map<int, std::string> > :: arrangeMemoryPoolInOneBlock();
1002 0 : EasyStorage<std::map<std::string, int> > :: arrangeMemoryPoolInOneBlock();
1003 0 : EasyStorage<SgTypePtrList > :: arrangeMemoryPoolInOneBlock();
1004 0 : }
1005 :
1006 : void
1007 2 : AstSpecificDataManagingClassStorageClass:: deleteStaticDataOfEasyStorageClasses()
1008 : {
1009 2 : EasyStorage<std::map<SgNode*,std::string> > :: deleteMemoryPool();
1010 2 : EasyStorage<std::map<std::string, int> > :: deleteMemoryPool();
1011 2 : EasyStorage<std::map<SgNode*,std::map<SgNode*,std::string> > > :: deleteMemoryPool();
1012 2 : EasyStorage<SgNodeSet > :: deleteMemoryPool();
1013 2 : EasyStorage<std::map<int, std::string> > :: deleteMemoryPool();
1014 2 : EasyStorage<std::map<std::string, int> > :: deleteMemoryPool();
1015 2 : EasyStorage<SgTypePtrList > :: deleteMemoryPool();
1016 2 : }
1017 :
1018 :
1019 :
1020 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1021 :
1022 : // ****************************************************************
1023 : // member functions definition specific to each node in the grammar
1024 : // these are the SgNodeStorageClass parts !!!!
1025 : // ROSETTA generated code. Do not change by hand.
1026 : // ****************************************************************
1027 :
1028 :
1029 : /* #line 1030 "../../../src/frontend/SageIII//StorageClasses.C" */
1030 :
1031 :
1032 : void
1033 0 : SgNodeStorageClass::pickOutIRNodeData ( SgNode* pointer )
1034 : {
1035 0 : SgNode* source = (SgNode*) (pointer);
1036 : #if FILE_IO_EXTRA_CHECK
1037 0 : assert ( source != NULL ) ;
1038 0 : assert ( source->p_freepointer != NULL) ;
1039 : #endif
1040 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1041 0 : storageOf_isModified = source->p_isModified ;
1042 0 : storageOf_containsTransformation = source->p_containsTransformation ;
1043 0 : }
1044 :
1045 :
1046 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1047 :
1048 :
1049 : // ********************************************************
1050 :
1051 : /* #line 1052 "../../../src/frontend/SageIII//StorageClasses.C" */
1052 :
1053 :
1054 :
1055 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1056 :
1057 : // ****************************************************************
1058 : // member functions definition specific to each node in the grammar
1059 : // these are the SgSupportStorageClass parts !!!!
1060 : // ROSETTA generated code. Do not change by hand.
1061 : // ****************************************************************
1062 :
1063 :
1064 : /* #line 1065 "../../../src/frontend/SageIII//StorageClasses.C" */
1065 :
1066 :
1067 : void
1068 0 : SgSupportStorageClass::pickOutIRNodeData ( SgSupport* pointer )
1069 : {
1070 0 : SgSupport* source = (SgSupport*) (pointer);
1071 : #if FILE_IO_EXTRA_CHECK
1072 0 : assert ( source != NULL ) ;
1073 0 : assert ( source->p_freepointer != NULL) ;
1074 : #endif
1075 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1076 0 : storageOf_isModified = source->p_isModified ;
1077 0 : storageOf_containsTransformation = source->p_containsTransformation ;
1078 0 : }
1079 :
1080 :
1081 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1082 :
1083 :
1084 : // ********************************************************
1085 :
1086 : /* #line 1087 "../../../src/frontend/SageIII//StorageClasses.C" */
1087 :
1088 :
1089 :
1090 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1091 :
1092 : // ****************************************************************
1093 : // member functions definition specific to each node in the grammar
1094 : // these are the SgModifierStorageClass parts !!!!
1095 : // ROSETTA generated code. Do not change by hand.
1096 : // ****************************************************************
1097 :
1098 :
1099 : /* #line 1100 "../../../src/frontend/SageIII//StorageClasses.C" */
1100 :
1101 :
1102 : void
1103 0 : SgModifierStorageClass::pickOutIRNodeData ( SgModifier* pointer )
1104 : {
1105 0 : SgModifier* source = (SgModifier*) (pointer);
1106 : #if FILE_IO_EXTRA_CHECK
1107 0 : assert ( source != NULL ) ;
1108 0 : assert ( source->p_freepointer != NULL) ;
1109 : #endif
1110 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1111 0 : storageOf_isModified = source->p_isModified ;
1112 0 : storageOf_containsTransformation = source->p_containsTransformation ;
1113 0 : }
1114 :
1115 :
1116 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1117 :
1118 :
1119 : // ********************************************************
1120 :
1121 : /* #line 1122 "../../../src/frontend/SageIII//StorageClasses.C" */
1122 :
1123 :
1124 :
1125 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1126 :
1127 : // ****************************************************************
1128 : // member functions definition specific to each node in the grammar
1129 : // these are the SgModifierNodesStorageClass parts !!!!
1130 : // ROSETTA generated code. Do not change by hand.
1131 : // ****************************************************************
1132 :
1133 :
1134 : /* #line 1135 "../../../src/frontend/SageIII//StorageClasses.C" */
1135 :
1136 :
1137 : void
1138 0 : SgModifierNodesStorageClass::pickOutIRNodeData ( SgModifierNodes* pointer )
1139 : {
1140 0 : SgModifierNodes* source = (SgModifierNodes*) (pointer);
1141 : #if FILE_IO_EXTRA_CHECK
1142 0 : assert ( source != NULL ) ;
1143 0 : assert ( source->p_freepointer != NULL) ;
1144 : #endif
1145 0 : SgModifierTypePtrVector::iterator i_nodes = source->p_nodes.begin() ;
1146 0 : unsigned int tempListCountnodes = 0;
1147 0 : SgModifierTypePtrVector::value_type * tempListnodes = new SgModifierTypePtrVector::value_type[ source->p_nodes.size() ];
1148 0 : for ( ; i_nodes != source->p_nodes.end(); ++i_nodes )
1149 : {
1150 0 : tempListnodes[tempListCountnodes] = *i_nodes;
1151 0 : tempListCountnodes++;
1152 0 : (*i_nodes) = (SgModifierTypePtrVector::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_nodes ) );
1153 : }
1154 0 : storageOf_nodes.storeDataInEasyStorageClass(source->p_nodes);
1155 0 : tempListCountnodes = 0;
1156 0 : i_nodes = source->p_nodes.begin() ;
1157 0 : for ( ; i_nodes != source->p_nodes.end(); ++i_nodes )
1158 : {
1159 0 : *i_nodes = tempListnodes[tempListCountnodes] ;
1160 0 : tempListCountnodes++;
1161 : }
1162 0 : delete [] tempListnodes;
1163 0 : storageOf_next = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_next );
1164 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1165 0 : storageOf_isModified = source->p_isModified ;
1166 0 : storageOf_containsTransformation = source->p_containsTransformation ;
1167 0 : }
1168 :
1169 : void
1170 0 : SgModifierNodesStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
1171 : {
1172 0 : EasyStorage < SgModifierTypePtrVector > :: arrangeMemoryPoolInOneBlock() ;
1173 0 : }
1174 :
1175 : void
1176 2 : SgModifierNodesStorageClass::deleteStaticDataOfEasyStorageClasses ( )
1177 : {
1178 2 : EasyStorage < SgModifierTypePtrVector > :: deleteMemoryPool() ;
1179 2 : }
1180 :
1181 : void
1182 0 : SgModifierNodesStorageClass::writeEasyStorageDataToFile (std::ostream& out)
1183 : {
1184 0 : EasyStorage < SgModifierTypePtrVector > :: writeToFile(out) ;
1185 0 : }
1186 :
1187 :
1188 : void
1189 0 : SgModifierNodesStorageClass::readEasyStorageDataFromFile (std::istream& in)
1190 : {
1191 0 : EasyStorage < SgModifierTypePtrVector > :: readFromFile(in) ;
1192 0 : }
1193 :
1194 :
1195 :
1196 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1197 :
1198 :
1199 : // ********************************************************
1200 :
1201 : /* #line 1202 "../../../src/frontend/SageIII//StorageClasses.C" */
1202 :
1203 :
1204 :
1205 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1206 :
1207 : // ****************************************************************
1208 : // member functions definition specific to each node in the grammar
1209 : // these are the SgConstVolatileModifierStorageClass parts !!!!
1210 : // ROSETTA generated code. Do not change by hand.
1211 : // ****************************************************************
1212 :
1213 :
1214 : /* #line 1215 "../../../src/frontend/SageIII//StorageClasses.C" */
1215 :
1216 :
1217 : void
1218 54715 : SgConstVolatileModifierStorageClass::pickOutIRNodeData ( SgConstVolatileModifier* pointer )
1219 : {
1220 54715 : SgConstVolatileModifier* source = (SgConstVolatileModifier*) (pointer);
1221 : #if FILE_IO_EXTRA_CHECK
1222 54715 : assert ( source != NULL ) ;
1223 54715 : assert ( source->p_freepointer != NULL) ;
1224 : #endif
1225 54715 : storageOf_modifier = source->p_modifier ;
1226 54715 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1227 54715 : storageOf_isModified = source->p_isModified ;
1228 54715 : storageOf_containsTransformation = source->p_containsTransformation ;
1229 54715 : }
1230 :
1231 :
1232 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1233 :
1234 :
1235 : // ********************************************************
1236 :
1237 : /* #line 1238 "../../../src/frontend/SageIII//StorageClasses.C" */
1238 :
1239 :
1240 :
1241 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1242 :
1243 : // ****************************************************************
1244 : // member functions definition specific to each node in the grammar
1245 : // these are the SgStorageModifierStorageClass parts !!!!
1246 : // ROSETTA generated code. Do not change by hand.
1247 : // ****************************************************************
1248 :
1249 :
1250 : /* #line 1251 "../../../src/frontend/SageIII//StorageClasses.C" */
1251 :
1252 :
1253 : void
1254 109064 : SgStorageModifierStorageClass::pickOutIRNodeData ( SgStorageModifier* pointer )
1255 : {
1256 109064 : SgStorageModifier* source = (SgStorageModifier*) (pointer);
1257 : #if FILE_IO_EXTRA_CHECK
1258 109064 : assert ( source != NULL ) ;
1259 109064 : assert ( source->p_freepointer != NULL) ;
1260 : #endif
1261 109064 : storageOf_modifier = source->p_modifier ;
1262 109064 : storageOf_thread_local_storage = source->p_thread_local_storage ;
1263 109064 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1264 109064 : storageOf_isModified = source->p_isModified ;
1265 109064 : storageOf_containsTransformation = source->p_containsTransformation ;
1266 109064 : }
1267 :
1268 :
1269 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1270 :
1271 :
1272 : // ********************************************************
1273 :
1274 : /* #line 1275 "../../../src/frontend/SageIII//StorageClasses.C" */
1275 :
1276 :
1277 :
1278 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1279 :
1280 : // ****************************************************************
1281 : // member functions definition specific to each node in the grammar
1282 : // these are the SgAccessModifierStorageClass parts !!!!
1283 : // ROSETTA generated code. Do not change by hand.
1284 : // ****************************************************************
1285 :
1286 :
1287 : /* #line 1288 "../../../src/frontend/SageIII//StorageClasses.C" */
1288 :
1289 :
1290 : void
1291 54459 : SgAccessModifierStorageClass::pickOutIRNodeData ( SgAccessModifier* pointer )
1292 : {
1293 54459 : SgAccessModifier* source = (SgAccessModifier*) (pointer);
1294 : #if FILE_IO_EXTRA_CHECK
1295 54459 : assert ( source != NULL ) ;
1296 54459 : assert ( source->p_freepointer != NULL) ;
1297 : #endif
1298 54459 : storageOf_modifier = source->p_modifier ;
1299 54459 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1300 54459 : storageOf_isModified = source->p_isModified ;
1301 54459 : storageOf_containsTransformation = source->p_containsTransformation ;
1302 54459 : }
1303 :
1304 :
1305 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1306 :
1307 :
1308 : // ********************************************************
1309 :
1310 : /* #line 1311 "../../../src/frontend/SageIII//StorageClasses.C" */
1311 :
1312 :
1313 :
1314 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1315 :
1316 : // ****************************************************************
1317 : // member functions definition specific to each node in the grammar
1318 : // these are the SgFunctionModifierStorageClass parts !!!!
1319 : // ROSETTA generated code. Do not change by hand.
1320 : // ****************************************************************
1321 :
1322 :
1323 : /* #line 1324 "../../../src/frontend/SageIII//StorageClasses.C" */
1324 :
1325 :
1326 : void
1327 13304 : SgFunctionModifierStorageClass::pickOutIRNodeData ( SgFunctionModifier* pointer )
1328 : {
1329 13304 : SgFunctionModifier* source = (SgFunctionModifier*) (pointer);
1330 : #if FILE_IO_EXTRA_CHECK
1331 13304 : assert ( source != NULL ) ;
1332 13304 : assert ( source->p_freepointer != NULL) ;
1333 : #endif
1334 13304 : storageOf_modifierVector.storeDataInEasyStorageClass(source->p_modifierVector);
1335 13304 : storageOf_gnu_attribute_constructor_destructor_priority = source->p_gnu_attribute_constructor_destructor_priority ;
1336 13304 : storageOf_gnu_attribute_named_weak_reference.storeDataInEasyStorageClass(source->p_gnu_attribute_named_weak_reference);
1337 13304 : storageOf_gnu_attribute_named_alias.storeDataInEasyStorageClass(source->p_gnu_attribute_named_alias);
1338 13304 : storageOf_opencl_vec_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_opencl_vec_type );
1339 13304 : storageOf_opencl_work_group_size = source->p_opencl_work_group_size ;
1340 13304 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1341 13304 : storageOf_isModified = source->p_isModified ;
1342 13304 : storageOf_containsTransformation = source->p_containsTransformation ;
1343 13304 : }
1344 :
1345 : void
1346 0 : SgFunctionModifierStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
1347 : {
1348 0 : EasyStorage < SgBitVector > :: arrangeMemoryPoolInOneBlock() ;
1349 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
1350 0 : }
1351 :
1352 : void
1353 20 : SgFunctionModifierStorageClass::deleteStaticDataOfEasyStorageClasses ( )
1354 : {
1355 20 : EasyStorage < SgBitVector > :: deleteMemoryPool() ;
1356 20 : EasyStorage < std::string > :: deleteMemoryPool() ;
1357 20 : }
1358 :
1359 : void
1360 8 : SgFunctionModifierStorageClass::writeEasyStorageDataToFile (std::ostream& out)
1361 : {
1362 8 : EasyStorage < SgBitVector > :: writeToFile(out) ;
1363 8 : EasyStorage < std::string > :: writeToFile(out) ;
1364 8 : }
1365 :
1366 :
1367 : void
1368 7 : SgFunctionModifierStorageClass::readEasyStorageDataFromFile (std::istream& in)
1369 : {
1370 7 : EasyStorage < SgBitVector > :: readFromFile(in) ;
1371 7 : EasyStorage < std::string > :: readFromFile(in) ;
1372 7 : }
1373 :
1374 :
1375 :
1376 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1377 :
1378 :
1379 : // ********************************************************
1380 :
1381 : /* #line 1382 "../../../src/frontend/SageIII//StorageClasses.C" */
1382 :
1383 :
1384 :
1385 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1386 :
1387 : // ****************************************************************
1388 : // member functions definition specific to each node in the grammar
1389 : // these are the SgUPC_AccessModifierStorageClass parts !!!!
1390 : // ROSETTA generated code. Do not change by hand.
1391 : // ****************************************************************
1392 :
1393 :
1394 : /* #line 1395 "../../../src/frontend/SageIII//StorageClasses.C" */
1395 :
1396 :
1397 : void
1398 54715 : SgUPC_AccessModifierStorageClass::pickOutIRNodeData ( SgUPC_AccessModifier* pointer )
1399 : {
1400 54715 : SgUPC_AccessModifier* source = (SgUPC_AccessModifier*) (pointer);
1401 : #if FILE_IO_EXTRA_CHECK
1402 54715 : assert ( source != NULL ) ;
1403 54715 : assert ( source->p_freepointer != NULL) ;
1404 : #endif
1405 54715 : storageOf_modifier = source->p_modifier ;
1406 54715 : storageOf_isShared = source->p_isShared ;
1407 54715 : storageOf_layout = source->p_layout ;
1408 54715 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1409 54715 : storageOf_isModified = source->p_isModified ;
1410 54715 : storageOf_containsTransformation = source->p_containsTransformation ;
1411 54715 : }
1412 :
1413 :
1414 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1415 :
1416 :
1417 : // ********************************************************
1418 :
1419 : /* #line 1420 "../../../src/frontend/SageIII//StorageClasses.C" */
1420 :
1421 :
1422 :
1423 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1424 :
1425 : // ****************************************************************
1426 : // member functions definition specific to each node in the grammar
1427 : // these are the SgSpecialFunctionModifierStorageClass parts !!!!
1428 : // ROSETTA generated code. Do not change by hand.
1429 : // ****************************************************************
1430 :
1431 :
1432 : /* #line 1433 "../../../src/frontend/SageIII//StorageClasses.C" */
1433 :
1434 :
1435 : void
1436 13304 : SgSpecialFunctionModifierStorageClass::pickOutIRNodeData ( SgSpecialFunctionModifier* pointer )
1437 : {
1438 13304 : SgSpecialFunctionModifier* source = (SgSpecialFunctionModifier*) (pointer);
1439 : #if FILE_IO_EXTRA_CHECK
1440 13304 : assert ( source != NULL ) ;
1441 13304 : assert ( source->p_freepointer != NULL) ;
1442 : #endif
1443 13304 : storageOf_modifierVector.storeDataInEasyStorageClass(source->p_modifierVector);
1444 13304 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1445 13304 : storageOf_isModified = source->p_isModified ;
1446 13304 : storageOf_containsTransformation = source->p_containsTransformation ;
1447 13304 : }
1448 :
1449 : void
1450 0 : SgSpecialFunctionModifierStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
1451 : {
1452 0 : EasyStorage < SgBitVector > :: arrangeMemoryPoolInOneBlock() ;
1453 0 : }
1454 :
1455 : void
1456 20 : SgSpecialFunctionModifierStorageClass::deleteStaticDataOfEasyStorageClasses ( )
1457 : {
1458 20 : EasyStorage < SgBitVector > :: deleteMemoryPool() ;
1459 20 : }
1460 :
1461 : void
1462 8 : SgSpecialFunctionModifierStorageClass::writeEasyStorageDataToFile (std::ostream& out)
1463 : {
1464 8 : EasyStorage < SgBitVector > :: writeToFile(out) ;
1465 8 : }
1466 :
1467 :
1468 : void
1469 7 : SgSpecialFunctionModifierStorageClass::readEasyStorageDataFromFile (std::istream& in)
1470 : {
1471 7 : EasyStorage < SgBitVector > :: readFromFile(in) ;
1472 7 : }
1473 :
1474 :
1475 :
1476 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1477 :
1478 :
1479 : // ********************************************************
1480 :
1481 : /* #line 1482 "../../../src/frontend/SageIII//StorageClasses.C" */
1482 :
1483 :
1484 :
1485 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1486 :
1487 : // ****************************************************************
1488 : // member functions definition specific to each node in the grammar
1489 : // these are the SgElaboratedTypeModifierStorageClass parts !!!!
1490 : // ROSETTA generated code. Do not change by hand.
1491 : // ****************************************************************
1492 :
1493 :
1494 : /* #line 1495 "../../../src/frontend/SageIII//StorageClasses.C" */
1495 :
1496 :
1497 : void
1498 54715 : SgElaboratedTypeModifierStorageClass::pickOutIRNodeData ( SgElaboratedTypeModifier* pointer )
1499 : {
1500 54715 : SgElaboratedTypeModifier* source = (SgElaboratedTypeModifier*) (pointer);
1501 : #if FILE_IO_EXTRA_CHECK
1502 54715 : assert ( source != NULL ) ;
1503 54715 : assert ( source->p_freepointer != NULL) ;
1504 : #endif
1505 54715 : storageOf_modifier = source->p_modifier ;
1506 54715 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1507 54715 : storageOf_isModified = source->p_isModified ;
1508 54715 : storageOf_containsTransformation = source->p_containsTransformation ;
1509 54715 : }
1510 :
1511 :
1512 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1513 :
1514 :
1515 : // ********************************************************
1516 :
1517 : /* #line 1518 "../../../src/frontend/SageIII//StorageClasses.C" */
1518 :
1519 :
1520 :
1521 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1522 :
1523 : // ****************************************************************
1524 : // member functions definition specific to each node in the grammar
1525 : // these are the SgLinkageModifierStorageClass parts !!!!
1526 : // ROSETTA generated code. Do not change by hand.
1527 : // ****************************************************************
1528 :
1529 :
1530 : /* #line 1531 "../../../src/frontend/SageIII//StorageClasses.C" */
1531 :
1532 :
1533 : void
1534 0 : SgLinkageModifierStorageClass::pickOutIRNodeData ( SgLinkageModifier* pointer )
1535 : {
1536 0 : SgLinkageModifier* source = (SgLinkageModifier*) (pointer);
1537 : #if FILE_IO_EXTRA_CHECK
1538 0 : assert ( source != NULL ) ;
1539 0 : assert ( source->p_freepointer != NULL) ;
1540 : #endif
1541 0 : storageOf_modifier = source->p_modifier ;
1542 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1543 0 : storageOf_isModified = source->p_isModified ;
1544 0 : storageOf_containsTransformation = source->p_containsTransformation ;
1545 0 : }
1546 :
1547 :
1548 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1549 :
1550 :
1551 : // ********************************************************
1552 :
1553 : /* #line 1554 "../../../src/frontend/SageIII//StorageClasses.C" */
1554 :
1555 :
1556 :
1557 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1558 :
1559 : // ****************************************************************
1560 : // member functions definition specific to each node in the grammar
1561 : // these are the SgBaseClassModifierStorageClass parts !!!!
1562 : // ROSETTA generated code. Do not change by hand.
1563 : // ****************************************************************
1564 :
1565 :
1566 : /* #line 1567 "../../../src/frontend/SageIII//StorageClasses.C" */
1567 :
1568 :
1569 : void
1570 620 : SgBaseClassModifierStorageClass::pickOutIRNodeData ( SgBaseClassModifier* pointer )
1571 : {
1572 620 : SgBaseClassModifier* source = (SgBaseClassModifier*) (pointer);
1573 : #if FILE_IO_EXTRA_CHECK
1574 620 : assert ( source != NULL ) ;
1575 620 : assert ( source->p_freepointer != NULL) ;
1576 : #endif
1577 620 : storageOf_modifier = source->p_modifier ;
1578 620 : storageOf_accessModifier.pickOutIRNodeData( &(source->p_accessModifier) );
1579 620 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1580 620 : storageOf_isModified = source->p_isModified ;
1581 620 : storageOf_containsTransformation = source->p_containsTransformation ;
1582 620 : }
1583 :
1584 : void
1585 0 : SgBaseClassModifierStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
1586 : {
1587 0 : }
1588 :
1589 : void
1590 2 : SgBaseClassModifierStorageClass::deleteStaticDataOfEasyStorageClasses ( )
1591 : {
1592 2 : }
1593 :
1594 : void
1595 1 : SgBaseClassModifierStorageClass::writeEasyStorageDataToFile (std::ostream& out)
1596 : {
1597 1 : }
1598 :
1599 :
1600 : void
1601 1 : SgBaseClassModifierStorageClass::readEasyStorageDataFromFile (std::istream& in)
1602 : {
1603 1 : }
1604 :
1605 :
1606 :
1607 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1608 :
1609 :
1610 : // ********************************************************
1611 :
1612 : /* #line 1613 "../../../src/frontend/SageIII//StorageClasses.C" */
1613 :
1614 :
1615 :
1616 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1617 :
1618 : // ****************************************************************
1619 : // member functions definition specific to each node in the grammar
1620 : // these are the SgStructureModifierStorageClass parts !!!!
1621 : // ROSETTA generated code. Do not change by hand.
1622 : // ****************************************************************
1623 :
1624 :
1625 : /* #line 1626 "../../../src/frontend/SageIII//StorageClasses.C" */
1626 :
1627 :
1628 : void
1629 54715 : SgStructureModifierStorageClass::pickOutIRNodeData ( SgStructureModifier* pointer )
1630 : {
1631 54715 : SgStructureModifier* source = (SgStructureModifier*) (pointer);
1632 : #if FILE_IO_EXTRA_CHECK
1633 54715 : assert ( source != NULL ) ;
1634 54715 : assert ( source->p_freepointer != NULL) ;
1635 : #endif
1636 54715 : storageOf_modifier = source->p_modifier ;
1637 54715 : storageOf_bits_per_entry = source->p_bits_per_entry ;
1638 54715 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1639 54715 : storageOf_isModified = source->p_isModified ;
1640 54715 : storageOf_containsTransformation = source->p_containsTransformation ;
1641 54715 : }
1642 :
1643 :
1644 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1645 :
1646 :
1647 : // ********************************************************
1648 :
1649 : /* #line 1650 "../../../src/frontend/SageIII//StorageClasses.C" */
1650 :
1651 :
1652 :
1653 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1654 :
1655 : // ****************************************************************
1656 : // member functions definition specific to each node in the grammar
1657 : // these are the SgTypeModifierStorageClass parts !!!!
1658 : // ROSETTA generated code. Do not change by hand.
1659 : // ****************************************************************
1660 :
1661 :
1662 : /* #line 1663 "../../../src/frontend/SageIII//StorageClasses.C" */
1663 :
1664 :
1665 : void
1666 54715 : SgTypeModifierStorageClass::pickOutIRNodeData ( SgTypeModifier* pointer )
1667 : {
1668 54715 : SgTypeModifier* source = (SgTypeModifier*) (pointer);
1669 : #if FILE_IO_EXTRA_CHECK
1670 54715 : assert ( source != NULL ) ;
1671 54715 : assert ( source->p_freepointer != NULL) ;
1672 : #endif
1673 54715 : storageOf_modifierVector.storeDataInEasyStorageClass(source->p_modifierVector);
1674 54715 : storageOf_upcModifier.pickOutIRNodeData( &(source->p_upcModifier) );
1675 54715 : storageOf_structureModifier.pickOutIRNodeData( &(source->p_structureModifier) );
1676 54715 : storageOf_constVolatileModifier.pickOutIRNodeData( &(source->p_constVolatileModifier) );
1677 54715 : storageOf_elaboratedTypeModifier.pickOutIRNodeData( &(source->p_elaboratedTypeModifier) );
1678 54715 : storageOf_gnu_extension_machine_mode = source->p_gnu_extension_machine_mode ;
1679 54715 : storageOf_gnu_attribute_alignment = source->p_gnu_attribute_alignment ;
1680 54715 : storageOf_gnu_attribute_sentinel = source->p_gnu_attribute_sentinel ;
1681 54715 : storageOf_address_space_value = source->p_address_space_value ;
1682 54715 : storageOf_vector_size = source->p_vector_size ;
1683 54715 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1684 54715 : storageOf_isModified = source->p_isModified ;
1685 54715 : storageOf_containsTransformation = source->p_containsTransformation ;
1686 54715 : }
1687 :
1688 : void
1689 0 : SgTypeModifierStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
1690 : {
1691 0 : EasyStorage < SgBitVector > :: arrangeMemoryPoolInOneBlock() ;
1692 0 : }
1693 :
1694 : void
1695 156 : SgTypeModifierStorageClass::deleteStaticDataOfEasyStorageClasses ( )
1696 : {
1697 156 : EasyStorage < SgBitVector > :: deleteMemoryPool() ;
1698 156 : }
1699 :
1700 : void
1701 35 : SgTypeModifierStorageClass::writeEasyStorageDataToFile (std::ostream& out)
1702 : {
1703 35 : EasyStorage < SgBitVector > :: writeToFile(out) ;
1704 35 : }
1705 :
1706 :
1707 : void
1708 33 : SgTypeModifierStorageClass::readEasyStorageDataFromFile (std::istream& in)
1709 : {
1710 33 : EasyStorage < SgBitVector > :: readFromFile(in) ;
1711 33 : }
1712 :
1713 :
1714 :
1715 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1716 :
1717 :
1718 : // ********************************************************
1719 :
1720 : /* #line 1721 "../../../src/frontend/SageIII//StorageClasses.C" */
1721 :
1722 :
1723 :
1724 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1725 :
1726 : // ****************************************************************
1727 : // member functions definition specific to each node in the grammar
1728 : // these are the SgDeclarationModifierStorageClass parts !!!!
1729 : // ROSETTA generated code. Do not change by hand.
1730 : // ****************************************************************
1731 :
1732 :
1733 : /* #line 1734 "../../../src/frontend/SageIII//StorageClasses.C" */
1734 :
1735 :
1736 : void
1737 53839 : SgDeclarationModifierStorageClass::pickOutIRNodeData ( SgDeclarationModifier* pointer )
1738 : {
1739 53839 : SgDeclarationModifier* source = (SgDeclarationModifier*) (pointer);
1740 : #if FILE_IO_EXTRA_CHECK
1741 53839 : assert ( source != NULL ) ;
1742 53839 : assert ( source->p_freepointer != NULL) ;
1743 : #endif
1744 53839 : storageOf_modifierVector.storeDataInEasyStorageClass(source->p_modifierVector);
1745 53839 : storageOf_typeModifier.pickOutIRNodeData( &(source->p_typeModifier) );
1746 53839 : storageOf_accessModifier.pickOutIRNodeData( &(source->p_accessModifier) );
1747 53839 : storageOf_storageModifier.pickOutIRNodeData( &(source->p_storageModifier) );
1748 53839 : storageOf_gnu_attribute_section_name.storeDataInEasyStorageClass(source->p_gnu_attribute_section_name);
1749 53839 : storageOf_gnu_attribute_visability = source->p_gnu_attribute_visability ;
1750 53839 : storageOf_microsoft_uuid_string.storeDataInEasyStorageClass(source->p_microsoft_uuid_string);
1751 53839 : storageOf_microsoft_property_get_function_name.storeDataInEasyStorageClass(source->p_microsoft_property_get_function_name);
1752 53839 : storageOf_microsoft_property_put_function_name.storeDataInEasyStorageClass(source->p_microsoft_property_put_function_name);
1753 53839 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1754 53839 : storageOf_isModified = source->p_isModified ;
1755 53839 : storageOf_containsTransformation = source->p_containsTransformation ;
1756 53839 : }
1757 :
1758 : void
1759 0 : SgDeclarationModifierStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
1760 : {
1761 0 : EasyStorage < SgBitVector > :: arrangeMemoryPoolInOneBlock() ;
1762 0 : SgTypeModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
1763 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
1764 0 : }
1765 :
1766 : void
1767 152 : SgDeclarationModifierStorageClass::deleteStaticDataOfEasyStorageClasses ( )
1768 : {
1769 152 : EasyStorage < SgBitVector > :: deleteMemoryPool() ;
1770 152 : SgTypeModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
1771 152 : EasyStorage < std::string > :: deleteMemoryPool() ;
1772 152 : }
1773 :
1774 : void
1775 33 : SgDeclarationModifierStorageClass::writeEasyStorageDataToFile (std::ostream& out)
1776 : {
1777 33 : EasyStorage < SgBitVector > :: writeToFile(out) ;
1778 33 : SgTypeModifierStorageClass :: writeEasyStorageDataToFile(out) ;
1779 33 : EasyStorage < std::string > :: writeToFile(out) ;
1780 33 : }
1781 :
1782 :
1783 : void
1784 31 : SgDeclarationModifierStorageClass::readEasyStorageDataFromFile (std::istream& in)
1785 : {
1786 31 : EasyStorage < SgBitVector > :: readFromFile(in) ;
1787 31 : SgTypeModifierStorageClass :: readEasyStorageDataFromFile(in) ;
1788 31 : EasyStorage < std::string > :: readFromFile(in) ;
1789 31 : }
1790 :
1791 :
1792 :
1793 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1794 :
1795 :
1796 : // ********************************************************
1797 :
1798 : /* #line 1799 "../../../src/frontend/SageIII//StorageClasses.C" */
1799 :
1800 :
1801 :
1802 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1803 :
1804 : // ****************************************************************
1805 : // member functions definition specific to each node in the grammar
1806 : // these are the SgOpenclAccessModeModifierStorageClass parts !!!!
1807 : // ROSETTA generated code. Do not change by hand.
1808 : // ****************************************************************
1809 :
1810 :
1811 : /* #line 1812 "../../../src/frontend/SageIII//StorageClasses.C" */
1812 :
1813 :
1814 : void
1815 0 : SgOpenclAccessModeModifierStorageClass::pickOutIRNodeData ( SgOpenclAccessModeModifier* pointer )
1816 : {
1817 0 : SgOpenclAccessModeModifier* source = (SgOpenclAccessModeModifier*) (pointer);
1818 : #if FILE_IO_EXTRA_CHECK
1819 0 : assert ( source != NULL ) ;
1820 0 : assert ( source->p_freepointer != NULL) ;
1821 : #endif
1822 0 : storageOf_modifier = source->p_modifier ;
1823 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1824 0 : storageOf_isModified = source->p_isModified ;
1825 0 : storageOf_containsTransformation = source->p_containsTransformation ;
1826 0 : }
1827 :
1828 :
1829 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1830 :
1831 :
1832 : // ********************************************************
1833 :
1834 : /* #line 1835 "../../../src/frontend/SageIII//StorageClasses.C" */
1835 :
1836 :
1837 :
1838 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1839 :
1840 : // ****************************************************************
1841 : // member functions definition specific to each node in the grammar
1842 : // these are the SgNameStorageClass parts !!!!
1843 : // ROSETTA generated code. Do not change by hand.
1844 : // ****************************************************************
1845 :
1846 :
1847 : /* #line 1848 "../../../src/frontend/SageIII//StorageClasses.C" */
1848 :
1849 :
1850 : void
1851 140135 : SgNameStorageClass::pickOutIRNodeData ( SgName* pointer )
1852 : {
1853 140135 : SgName* source = (SgName*) (pointer);
1854 : #if FILE_IO_EXTRA_CHECK
1855 140135 : assert ( source != NULL ) ;
1856 140135 : assert ( source->p_freepointer != NULL) ;
1857 : #endif
1858 140135 : storageOf_char.storeDataInEasyStorageClass(source->p_char);
1859 140135 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1860 140135 : storageOf_isModified = source->p_isModified ;
1861 140135 : storageOf_containsTransformation = source->p_containsTransformation ;
1862 140135 : }
1863 :
1864 : void
1865 0 : SgNameStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
1866 : {
1867 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
1868 0 : }
1869 :
1870 : void
1871 100 : SgNameStorageClass::deleteStaticDataOfEasyStorageClasses ( )
1872 : {
1873 100 : EasyStorage < std::string > :: deleteMemoryPool() ;
1874 100 : }
1875 :
1876 : void
1877 39 : SgNameStorageClass::writeEasyStorageDataToFile (std::ostream& out)
1878 : {
1879 39 : EasyStorage < std::string > :: writeToFile(out) ;
1880 39 : }
1881 :
1882 :
1883 : void
1884 35 : SgNameStorageClass::readEasyStorageDataFromFile (std::istream& in)
1885 : {
1886 35 : EasyStorage < std::string > :: readFromFile(in) ;
1887 35 : }
1888 :
1889 :
1890 :
1891 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1892 :
1893 :
1894 : // ********************************************************
1895 :
1896 : /* #line 1897 "../../../src/frontend/SageIII//StorageClasses.C" */
1897 :
1898 :
1899 :
1900 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1901 :
1902 : // ****************************************************************
1903 : // member functions definition specific to each node in the grammar
1904 : // these are the SgSymbolTableStorageClass parts !!!!
1905 : // ROSETTA generated code. Do not change by hand.
1906 : // ****************************************************************
1907 :
1908 :
1909 : /* #line 1910 "../../../src/frontend/SageIII//StorageClasses.C" */
1910 :
1911 :
1912 : void
1913 26910 : SgSymbolTableStorageClass::pickOutIRNodeData ( SgSymbolTable* pointer )
1914 : {
1915 26910 : SgSymbolTable* source = (SgSymbolTable*) (pointer);
1916 : #if FILE_IO_EXTRA_CHECK
1917 26910 : assert ( source != NULL ) ;
1918 26910 : assert ( source->p_freepointer != NULL) ;
1919 : #endif
1920 26910 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
1921 26910 : storageOf_no_name = source->p_no_name ;
1922 26910 : rose_hash_multimap::iterator it;
1923 26910 : unsigned int tempListCounttable = 0;
1924 26910 : SgSymbol** tempListtable = new SgSymbol* [ source->p_table->size() ];
1925 71664 : for (it = source->p_table->begin(); it != source->p_table->end(); ++it)
1926 : {
1927 44754 : tempListtable[tempListCounttable] = it->second;
1928 44754 : tempListCounttable++;
1929 44754 : it->second = (SgSymbol*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(it->second) );
1930 : }
1931 26910 : storageOf_table.storeDataInEasyStorageClass(source->p_table);
1932 26910 : tempListCounttable = 0;
1933 71664 : for (it = source->p_table->begin(); it != source->p_table->end(); ++it)
1934 : {
1935 44754 : it->second = tempListtable [ tempListCounttable ];
1936 44754 : tempListCounttable++;
1937 : }
1938 26910 : delete [] tempListtable;
1939 26910 : storageOf_symbolSet.storeDataInEasyStorageClass(source->p_symbolSet);
1940 26910 : storageOf_case_insensitive = source->p_case_insensitive ;
1941 26910 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
1942 26910 : storageOf_isModified = source->p_isModified ;
1943 26910 : storageOf_containsTransformation = source->p_containsTransformation ;
1944 26910 : }
1945 :
1946 : void
1947 0 : SgSymbolTableStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
1948 : {
1949 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
1950 0 : EasyStorage < rose_hash_multimap* > :: arrangeMemoryPoolInOneBlock() ;
1951 0 : EasyStorage < SgNodeSet > :: arrangeMemoryPoolInOneBlock() ;
1952 0 : }
1953 :
1954 : void
1955 2 : SgSymbolTableStorageClass::deleteStaticDataOfEasyStorageClasses ( )
1956 : {
1957 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
1958 2 : EasyStorage < rose_hash_multimap* > :: deleteMemoryPool() ;
1959 2 : EasyStorage < SgNodeSet > :: deleteMemoryPool() ;
1960 2 : }
1961 :
1962 : void
1963 3 : SgSymbolTableStorageClass::writeEasyStorageDataToFile (std::ostream& out)
1964 : {
1965 3 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
1966 3 : EasyStorage < rose_hash_multimap* > :: writeToFile(out) ;
1967 3 : EasyStorage < SgNodeSet > :: writeToFile(out) ;
1968 3 : }
1969 :
1970 :
1971 : void
1972 2 : SgSymbolTableStorageClass::readEasyStorageDataFromFile (std::istream& in)
1973 : {
1974 2 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
1975 2 : EasyStorage < rose_hash_multimap* > :: readFromFile(in) ;
1976 2 : EasyStorage < SgNodeSet > :: readFromFile(in) ;
1977 2 : }
1978 :
1979 :
1980 :
1981 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1982 :
1983 :
1984 : // ********************************************************
1985 :
1986 : /* #line 1987 "../../../src/frontend/SageIII//StorageClasses.C" */
1987 :
1988 :
1989 :
1990 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
1991 :
1992 : // ****************************************************************
1993 : // member functions definition specific to each node in the grammar
1994 : // these are the SgAttributeStorageClass parts !!!!
1995 : // ROSETTA generated code. Do not change by hand.
1996 : // ****************************************************************
1997 :
1998 :
1999 : /* #line 2000 "../../../src/frontend/SageIII//StorageClasses.C" */
2000 :
2001 :
2002 : void
2003 0 : SgAttributeStorageClass::pickOutIRNodeData ( SgAttribute* pointer )
2004 : {
2005 0 : SgAttribute* source = (SgAttribute*) (pointer);
2006 : #if FILE_IO_EXTRA_CHECK
2007 0 : assert ( source != NULL ) ;
2008 0 : assert ( source->p_freepointer != NULL) ;
2009 : #endif
2010 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
2011 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
2012 0 : storageOf_isModified = source->p_isModified ;
2013 0 : storageOf_containsTransformation = source->p_containsTransformation ;
2014 0 : }
2015 :
2016 : void
2017 0 : SgAttributeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
2018 : {
2019 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
2020 0 : }
2021 :
2022 : void
2023 2 : SgAttributeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
2024 : {
2025 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
2026 2 : }
2027 :
2028 : void
2029 0 : SgAttributeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
2030 : {
2031 0 : EasyStorage < std::string > :: writeToFile(out) ;
2032 0 : }
2033 :
2034 :
2035 : void
2036 0 : SgAttributeStorageClass::readEasyStorageDataFromFile (std::istream& in)
2037 : {
2038 0 : EasyStorage < std::string > :: readFromFile(in) ;
2039 0 : }
2040 :
2041 :
2042 :
2043 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2044 :
2045 :
2046 : // ********************************************************
2047 :
2048 : /* #line 2049 "../../../src/frontend/SageIII//StorageClasses.C" */
2049 :
2050 :
2051 :
2052 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2053 :
2054 : // ****************************************************************
2055 : // member functions definition specific to each node in the grammar
2056 : // these are the SgPragmaStorageClass parts !!!!
2057 : // ROSETTA generated code. Do not change by hand.
2058 : // ****************************************************************
2059 :
2060 :
2061 : /* #line 2062 "../../../src/frontend/SageIII//StorageClasses.C" */
2062 :
2063 :
2064 : void
2065 97 : SgPragmaStorageClass::pickOutIRNodeData ( SgPragma* pointer )
2066 : {
2067 97 : SgPragma* source = (SgPragma*) (pointer);
2068 : #if FILE_IO_EXTRA_CHECK
2069 97 : assert ( source != NULL ) ;
2070 97 : assert ( source->p_freepointer != NULL) ;
2071 : #endif
2072 97 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
2073 97 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
2074 97 : storageOf_printed = source->p_printed ;
2075 97 : storageOf_args = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_args );
2076 97 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
2077 97 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
2078 97 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
2079 97 : storageOf_isModified = source->p_isModified ;
2080 97 : storageOf_containsTransformation = source->p_containsTransformation ;
2081 97 : }
2082 :
2083 : void
2084 0 : SgPragmaStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
2085 : {
2086 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
2087 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
2088 0 : }
2089 :
2090 : void
2091 2 : SgPragmaStorageClass::deleteStaticDataOfEasyStorageClasses ( )
2092 : {
2093 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
2094 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
2095 2 : }
2096 :
2097 : void
2098 1 : SgPragmaStorageClass::writeEasyStorageDataToFile (std::ostream& out)
2099 : {
2100 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
2101 1 : EasyStorage < std::string > :: writeToFile(out) ;
2102 1 : }
2103 :
2104 :
2105 : void
2106 1 : SgPragmaStorageClass::readEasyStorageDataFromFile (std::istream& in)
2107 : {
2108 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
2109 1 : EasyStorage < std::string > :: readFromFile(in) ;
2110 1 : }
2111 :
2112 :
2113 :
2114 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2115 :
2116 :
2117 : // ********************************************************
2118 :
2119 : /* #line 2120 "../../../src/frontend/SageIII//StorageClasses.C" */
2120 :
2121 :
2122 :
2123 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2124 :
2125 : // ****************************************************************
2126 : // member functions definition specific to each node in the grammar
2127 : // these are the SgBitAttributeStorageClass parts !!!!
2128 : // ROSETTA generated code. Do not change by hand.
2129 : // ****************************************************************
2130 :
2131 :
2132 : /* #line 2133 "../../../src/frontend/SageIII//StorageClasses.C" */
2133 :
2134 :
2135 : void
2136 0 : SgBitAttributeStorageClass::pickOutIRNodeData ( SgBitAttribute* pointer )
2137 : {
2138 0 : SgBitAttribute* source = (SgBitAttribute*) (pointer);
2139 : #if FILE_IO_EXTRA_CHECK
2140 0 : assert ( source != NULL ) ;
2141 0 : assert ( source->p_freepointer != NULL) ;
2142 : #endif
2143 0 : storageOf_bitflag = source->p_bitflag ;
2144 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
2145 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
2146 0 : storageOf_isModified = source->p_isModified ;
2147 0 : storageOf_containsTransformation = source->p_containsTransformation ;
2148 0 : }
2149 :
2150 : void
2151 0 : SgBitAttributeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
2152 : {
2153 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
2154 0 : }
2155 :
2156 : void
2157 2 : SgBitAttributeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
2158 : {
2159 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
2160 2 : }
2161 :
2162 : void
2163 0 : SgBitAttributeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
2164 : {
2165 0 : EasyStorage < std::string > :: writeToFile(out) ;
2166 0 : }
2167 :
2168 :
2169 : void
2170 0 : SgBitAttributeStorageClass::readEasyStorageDataFromFile (std::istream& in)
2171 : {
2172 0 : EasyStorage < std::string > :: readFromFile(in) ;
2173 0 : }
2174 :
2175 :
2176 :
2177 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2178 :
2179 :
2180 : // ********************************************************
2181 :
2182 : /* #line 2183 "../../../src/frontend/SageIII//StorageClasses.C" */
2183 :
2184 :
2185 :
2186 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2187 :
2188 : // ****************************************************************
2189 : // member functions definition specific to each node in the grammar
2190 : // these are the SgFuncDecl_attrStorageClass parts !!!!
2191 : // ROSETTA generated code. Do not change by hand.
2192 : // ****************************************************************
2193 :
2194 :
2195 : /* #line 2196 "../../../src/frontend/SageIII//StorageClasses.C" */
2196 :
2197 :
2198 : void
2199 0 : SgFuncDecl_attrStorageClass::pickOutIRNodeData ( SgFuncDecl_attr* pointer )
2200 : {
2201 0 : SgFuncDecl_attr* source = (SgFuncDecl_attr*) (pointer);
2202 : #if FILE_IO_EXTRA_CHECK
2203 0 : assert ( source != NULL ) ;
2204 0 : assert ( source->p_freepointer != NULL) ;
2205 : #endif
2206 0 : storageOf_bitflag = source->p_bitflag ;
2207 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
2208 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
2209 0 : storageOf_isModified = source->p_isModified ;
2210 0 : storageOf_containsTransformation = source->p_containsTransformation ;
2211 0 : }
2212 :
2213 : void
2214 0 : SgFuncDecl_attrStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
2215 : {
2216 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
2217 0 : }
2218 :
2219 : void
2220 2 : SgFuncDecl_attrStorageClass::deleteStaticDataOfEasyStorageClasses ( )
2221 : {
2222 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
2223 2 : }
2224 :
2225 : void
2226 0 : SgFuncDecl_attrStorageClass::writeEasyStorageDataToFile (std::ostream& out)
2227 : {
2228 0 : EasyStorage < std::string > :: writeToFile(out) ;
2229 0 : }
2230 :
2231 :
2232 : void
2233 0 : SgFuncDecl_attrStorageClass::readEasyStorageDataFromFile (std::istream& in)
2234 : {
2235 0 : EasyStorage < std::string > :: readFromFile(in) ;
2236 0 : }
2237 :
2238 :
2239 :
2240 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2241 :
2242 :
2243 : // ********************************************************
2244 :
2245 : /* #line 2246 "../../../src/frontend/SageIII//StorageClasses.C" */
2246 :
2247 :
2248 :
2249 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2250 :
2251 : // ****************************************************************
2252 : // member functions definition specific to each node in the grammar
2253 : // these are the SgClassDecl_attrStorageClass parts !!!!
2254 : // ROSETTA generated code. Do not change by hand.
2255 : // ****************************************************************
2256 :
2257 :
2258 : /* #line 2259 "../../../src/frontend/SageIII//StorageClasses.C" */
2259 :
2260 :
2261 : void
2262 0 : SgClassDecl_attrStorageClass::pickOutIRNodeData ( SgClassDecl_attr* pointer )
2263 : {
2264 0 : SgClassDecl_attr* source = (SgClassDecl_attr*) (pointer);
2265 : #if FILE_IO_EXTRA_CHECK
2266 0 : assert ( source != NULL ) ;
2267 0 : assert ( source->p_freepointer != NULL) ;
2268 : #endif
2269 0 : storageOf_bitflag = source->p_bitflag ;
2270 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
2271 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
2272 0 : storageOf_isModified = source->p_isModified ;
2273 0 : storageOf_containsTransformation = source->p_containsTransformation ;
2274 0 : }
2275 :
2276 : void
2277 0 : SgClassDecl_attrStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
2278 : {
2279 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
2280 0 : }
2281 :
2282 : void
2283 2 : SgClassDecl_attrStorageClass::deleteStaticDataOfEasyStorageClasses ( )
2284 : {
2285 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
2286 2 : }
2287 :
2288 : void
2289 0 : SgClassDecl_attrStorageClass::writeEasyStorageDataToFile (std::ostream& out)
2290 : {
2291 0 : EasyStorage < std::string > :: writeToFile(out) ;
2292 0 : }
2293 :
2294 :
2295 : void
2296 0 : SgClassDecl_attrStorageClass::readEasyStorageDataFromFile (std::istream& in)
2297 : {
2298 0 : EasyStorage < std::string > :: readFromFile(in) ;
2299 0 : }
2300 :
2301 :
2302 :
2303 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2304 :
2305 :
2306 : // ********************************************************
2307 :
2308 : /* #line 2309 "../../../src/frontend/SageIII//StorageClasses.C" */
2309 :
2310 :
2311 :
2312 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2313 :
2314 : // ****************************************************************
2315 : // member functions definition specific to each node in the grammar
2316 : // these are the Sg_File_InfoStorageClass parts !!!!
2317 : // ROSETTA generated code. Do not change by hand.
2318 : // ****************************************************************
2319 :
2320 :
2321 : /* #line 2322 "../../../src/frontend/SageIII//StorageClasses.C" */
2322 :
2323 :
2324 : void
2325 648013 : Sg_File_InfoStorageClass::pickOutIRNodeData ( Sg_File_Info* pointer )
2326 : {
2327 648013 : Sg_File_Info* source = (Sg_File_Info*) (pointer);
2328 : #if FILE_IO_EXTRA_CHECK
2329 648013 : assert ( source != NULL ) ;
2330 648013 : assert ( source->p_freepointer != NULL) ;
2331 : #endif
2332 648013 : storageOf_file_id = source->p_file_id ;
2333 648013 : storageOf_line = source->p_line ;
2334 648013 : storageOf_col = source->p_col ;
2335 648013 : storageOf_classificationBitField = source->p_classificationBitField ;
2336 648013 : storageOf_physical_file_id = source->p_physical_file_id ;
2337 648013 : storageOf_physical_line = source->p_physical_line ;
2338 648013 : storageOf_source_sequence_number = source->p_source_sequence_number ;
2339 648013 : storageOf_fileIDsToUnparse.storeDataInEasyStorageClass(source->p_fileIDsToUnparse);
2340 648013 : storageOf_fileLineNumbersToUnparse.storeDataInEasyStorageClass(source->p_fileLineNumbersToUnparse);
2341 648013 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
2342 648013 : storageOf_isModified = source->p_isModified ;
2343 648013 : storageOf_containsTransformation = source->p_containsTransformation ;
2344 648013 : }
2345 :
2346 : void
2347 0 : Sg_File_InfoStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
2348 : {
2349 0 : EasyStorage < SgFileIdList > :: arrangeMemoryPoolInOneBlock() ;
2350 0 : EasyStorage < SgFileLineNumberList > :: arrangeMemoryPoolInOneBlock() ;
2351 0 : }
2352 :
2353 : void
2354 2 : Sg_File_InfoStorageClass::deleteStaticDataOfEasyStorageClasses ( )
2355 : {
2356 2 : EasyStorage < SgFileIdList > :: deleteMemoryPool() ;
2357 2 : EasyStorage < SgFileLineNumberList > :: deleteMemoryPool() ;
2358 2 : }
2359 :
2360 : void
2361 3 : Sg_File_InfoStorageClass::writeEasyStorageDataToFile (std::ostream& out)
2362 : {
2363 3 : EasyStorage < SgFileIdList > :: writeToFile(out) ;
2364 3 : EasyStorage < SgFileLineNumberList > :: writeToFile(out) ;
2365 3 : }
2366 :
2367 :
2368 : void
2369 2 : Sg_File_InfoStorageClass::readEasyStorageDataFromFile (std::istream& in)
2370 : {
2371 2 : EasyStorage < SgFileIdList > :: readFromFile(in) ;
2372 2 : EasyStorage < SgFileLineNumberList > :: readFromFile(in) ;
2373 2 : }
2374 :
2375 :
2376 :
2377 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2378 :
2379 :
2380 : // ********************************************************
2381 :
2382 : /* #line 2383 "../../../src/frontend/SageIII//StorageClasses.C" */
2383 :
2384 :
2385 :
2386 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2387 :
2388 : // ****************************************************************
2389 : // member functions definition specific to each node in the grammar
2390 : // these are the SgFileStorageClass parts !!!!
2391 : // ROSETTA generated code. Do not change by hand.
2392 : // ****************************************************************
2393 :
2394 :
2395 : /* #line 2396 "../../../src/frontend/SageIII//StorageClasses.C" */
2396 :
2397 :
2398 : void
2399 0 : SgFileStorageClass::pickOutIRNodeData ( SgFile* pointer )
2400 : {
2401 0 : SgFile* source = (SgFile*) (pointer);
2402 : #if FILE_IO_EXTRA_CHECK
2403 0 : assert ( source != NULL ) ;
2404 0 : assert ( source->p_freepointer != NULL) ;
2405 : #endif
2406 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
2407 0 : storageOf_originalCommandLineArgumentList.storeDataInEasyStorageClass(source->p_originalCommandLineArgumentList);
2408 0 : storageOf_verbose = source->p_verbose ;
2409 0 : storageOf_output_warnings = source->p_output_warnings ;
2410 0 : storageOf_C_only = source->p_C_only ;
2411 0 : storageOf_Cxx_only = source->p_Cxx_only ;
2412 0 : storageOf_Fortran_only = source->p_Fortran_only ;
2413 0 : storageOf_CoArrayFortran_only = source->p_CoArrayFortran_only ;
2414 0 : storageOf_upc_threads = source->p_upc_threads ;
2415 0 : storageOf_Cuda_only = source->p_Cuda_only ;
2416 0 : storageOf_OpenCL_only = source->p_OpenCL_only ;
2417 0 : storageOf_requires_C_preprocessor = source->p_requires_C_preprocessor ;
2418 0 : storageOf_inputFormat = source->p_inputFormat ;
2419 0 : storageOf_outputFormat = source->p_outputFormat ;
2420 0 : storageOf_backendCompileFormat = source->p_backendCompileFormat ;
2421 0 : storageOf_fortran_implicit_none = source->p_fortran_implicit_none ;
2422 0 : storageOf_openmp = source->p_openmp ;
2423 0 : storageOf_openmp_parse_only = source->p_openmp_parse_only ;
2424 0 : storageOf_openmp_ast_only = source->p_openmp_ast_only ;
2425 0 : storageOf_openmp_lowering = source->p_openmp_lowering ;
2426 0 : storageOf_openmp_analyzing = source->p_openmp_analyzing ;
2427 0 : storageOf_cray_pointer_support = source->p_cray_pointer_support ;
2428 0 : storageOf_failsafe = source->p_failsafe ;
2429 0 : storageOf_output_parser_actions = source->p_output_parser_actions ;
2430 0 : storageOf_exit_after_parser = source->p_exit_after_parser ;
2431 0 : storageOf_skip_syntax_check = source->p_skip_syntax_check ;
2432 0 : storageOf_skip_parser = source->p_skip_parser ;
2433 0 : storageOf_relax_syntax_check = source->p_relax_syntax_check ;
2434 0 : storageOf_skip_translation_from_edg_ast_to_rose_ast = source->p_skip_translation_from_edg_ast_to_rose_ast ;
2435 0 : storageOf_skip_transformation = source->p_skip_transformation ;
2436 0 : storageOf_skip_unparse = source->p_skip_unparse ;
2437 0 : storageOf_skipfinalCompileStep = source->p_skipfinalCompileStep ;
2438 0 : storageOf_unparse_includes = source->p_unparse_includes ;
2439 0 : storageOf_unparse_line_directives = source->p_unparse_line_directives ;
2440 0 : storageOf_unparse_function_calls_using_operator_syntax = source->p_unparse_function_calls_using_operator_syntax ;
2441 0 : storageOf_unparse_function_calls_using_operator_names = source->p_unparse_function_calls_using_operator_names ;
2442 0 : storageOf_unparse_instruction_addresses = source->p_unparse_instruction_addresses ;
2443 0 : storageOf_unparse_raw_memory_contents = source->p_unparse_raw_memory_contents ;
2444 0 : storageOf_unparse_binary_file_format = source->p_unparse_binary_file_format ;
2445 0 : storageOf_outputLanguage = source->p_outputLanguage ;
2446 0 : storageOf_inputLanguage = source->p_inputLanguage ;
2447 0 : storageOf_sourceFileNameWithPath.storeDataInEasyStorageClass(source->p_sourceFileNameWithPath);
2448 0 : storageOf_sourceFileNameWithoutPath.storeDataInEasyStorageClass(source->p_sourceFileNameWithoutPath);
2449 0 : storageOf_unparse_output_filename.storeDataInEasyStorageClass(source->p_unparse_output_filename);
2450 0 : storageOf_objectFileNameWithPath.storeDataInEasyStorageClass(source->p_objectFileNameWithPath);
2451 0 : storageOf_objectFileNameWithoutPath.storeDataInEasyStorageClass(source->p_objectFileNameWithoutPath);
2452 0 : storageOf_useBackendOnly = source->p_useBackendOnly ;
2453 0 : storageOf_compileOnly = source->p_compileOnly ;
2454 0 : storageOf_savedFrontendCommandLine.storeDataInEasyStorageClass(source->p_savedFrontendCommandLine);
2455 0 : storageOf_no_implicit_templates = source->p_no_implicit_templates ;
2456 0 : storageOf_no_implicit_inline_templates = source->p_no_implicit_inline_templates ;
2457 0 : storageOf_skip_commentsAndDirectives = source->p_skip_commentsAndDirectives ;
2458 0 : storageOf_collectAllCommentsAndDirectives = source->p_collectAllCommentsAndDirectives ;
2459 0 : storageOf_translateCommentsAndDirectivesIntoAST = source->p_translateCommentsAndDirectivesIntoAST ;
2460 0 : storageOf_unparseHeaderFiles = source->p_unparseHeaderFiles ;
2461 0 : storageOf_preprocessorDirectivesAndCommentsList.storeDataInEasyStorageClass(source->p_preprocessorDirectivesAndCommentsList);
2462 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
2463 0 : storageOf_KCC_frontend = source->p_KCC_frontend ;
2464 0 : storageOf_new_frontend = source->p_new_frontend ;
2465 0 : storageOf_disable_edg_backend = source->p_disable_edg_backend ;
2466 0 : storageOf_disable_sage_backend = source->p_disable_sage_backend ;
2467 0 : storageOf_testingLevel = source->p_testingLevel ;
2468 0 : storageOf_preinit_il = source->p_preinit_il ;
2469 0 : storageOf_enable_cp_backend = source->p_enable_cp_backend ;
2470 0 : storageOf_markGeneratedFiles = source->p_markGeneratedFiles ;
2471 0 : storageOf_negative_test = source->p_negative_test ;
2472 0 : storageOf_strict_language_handling = source->p_strict_language_handling ;
2473 0 : storageOf_wave = source->p_wave ;
2474 0 : storageOf_embedColorCodesInGeneratedCode = source->p_embedColorCodesInGeneratedCode ;
2475 0 : storageOf_generateSourcePositionCodes = source->p_generateSourcePositionCodes ;
2476 0 : storageOf_sourceFileUsesCppFileExtension = source->p_sourceFileUsesCppFileExtension ;
2477 0 : storageOf_sourceFileUsesFortranFileExtension = source->p_sourceFileUsesFortranFileExtension ;
2478 0 : storageOf_sourceFileUsesFortran77FileExtension = source->p_sourceFileUsesFortran77FileExtension ;
2479 0 : storageOf_sourceFileUsesFortran90FileExtension = source->p_sourceFileUsesFortran90FileExtension ;
2480 0 : storageOf_sourceFileUsesFortran95FileExtension = source->p_sourceFileUsesFortran95FileExtension ;
2481 0 : storageOf_sourceFileUsesFortran2003FileExtension = source->p_sourceFileUsesFortran2003FileExtension ;
2482 0 : storageOf_sourceFileUsesFortran2008FileExtension = source->p_sourceFileUsesFortran2008FileExtension ;
2483 0 : storageOf_sourceFileUsesCoArrayFortranFileExtension = source->p_sourceFileUsesCoArrayFortranFileExtension ;
2484 0 : storageOf_sourceFileUsesPHPFileExtension = source->p_sourceFileUsesPHPFileExtension ;
2485 0 : storageOf_sourceFileUsesPythonFileExtension = source->p_sourceFileUsesPythonFileExtension ;
2486 0 : storageOf_sourceFileTypeIsUnknown = source->p_sourceFileTypeIsUnknown ;
2487 0 : storageOf_detect_dangling_pointers = source->p_detect_dangling_pointers ;
2488 0 : storageOf_experimental_fortran_frontend = source->p_experimental_fortran_frontend ;
2489 0 : storageOf_experimental_flang_frontend = source->p_experimental_flang_frontend ;
2490 0 : storageOf_experimental_cuda_fortran_frontend = source->p_experimental_cuda_fortran_frontend ;
2491 0 : storageOf_experimental_fortran_frontend_OFP_test = source->p_experimental_fortran_frontend_OFP_test ;
2492 0 : storageOf_read_executable_file_format_only = source->p_read_executable_file_format_only ;
2493 0 : storageOf_visualize_executable_file_format_skip_symbols = source->p_visualize_executable_file_format_skip_symbols ;
2494 0 : storageOf_visualize_dwarf_only = source->p_visualize_dwarf_only ;
2495 0 : storageOf_read_instructions_only = source->p_read_instructions_only ;
2496 0 : storageOf_libraryArchiveObjectFileNameList.storeDataInEasyStorageClass(source->p_libraryArchiveObjectFileNameList);
2497 0 : storageOf_isLibraryArchive = source->p_isLibraryArchive ;
2498 0 : storageOf_isObjectFile = source->p_isObjectFile ;
2499 0 : storageOf_unparse_tokens = source->p_unparse_tokens ;
2500 0 : storageOf_unparse_tokens_testing = source->p_unparse_tokens_testing ;
2501 0 : storageOf_unparse_using_leading_and_trailing_token_mappings = source->p_unparse_using_leading_and_trailing_token_mappings ;
2502 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
2503 0 : storageOf_skipAstConsistancyTests = source->p_skipAstConsistancyTests ;
2504 0 : storageOf_multifile_support = source->p_multifile_support ;
2505 0 : storageOf_optimization = source->p_optimization ;
2506 0 : storageOf_use_token_stream_to_improve_source_position_info = source->p_use_token_stream_to_improve_source_position_info ;
2507 0 : storageOf_suppress_variable_declaration_normalization = source->p_suppress_variable_declaration_normalization ;
2508 0 : storageOf_edg_il_to_graphviz = source->p_edg_il_to_graphviz ;
2509 0 : storageOf_clang_il_to_graphviz = source->p_clang_il_to_graphviz ;
2510 0 : storageOf_no_optimize_flag_for_frontend = source->p_no_optimize_flag_for_frontend ;
2511 0 : storageOf_unparse_edg_normalized_method_ROSE_1392 = source->p_unparse_edg_normalized_method_ROSE_1392 ;
2512 0 : storageOf_header_file_unparsing_optimization_source_file = source->p_header_file_unparsing_optimization_source_file ;
2513 0 : storageOf_header_file_unparsing_optimization_header_file = source->p_header_file_unparsing_optimization_header_file ;
2514 0 : storageOf_standard = source->p_standard ;
2515 0 : storageOf_gnu_standard = source->p_gnu_standard ;
2516 0 : storageOf_frontendErrorCode = source->p_frontendErrorCode ;
2517 0 : storageOf_javacErrorCode = source->p_javacErrorCode ;
2518 0 : storageOf_ecjErrorCode = source->p_ecjErrorCode ;
2519 0 : storageOf_midendErrorCode = source->p_midendErrorCode ;
2520 0 : storageOf_unparserErrorCode = source->p_unparserErrorCode ;
2521 0 : storageOf_backendCompilerErrorCode = source->p_backendCompilerErrorCode ;
2522 0 : storageOf_unparsedFileFailedCompilation = source->p_unparsedFileFailedCompilation ;
2523 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
2524 0 : storageOf_isModified = source->p_isModified ;
2525 0 : storageOf_containsTransformation = source->p_containsTransformation ;
2526 0 : }
2527 :
2528 : void
2529 0 : SgFileStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
2530 : {
2531 0 : EasyStorage < SgStringList > :: arrangeMemoryPoolInOneBlock() ;
2532 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
2533 0 : EasyStorage < ROSEAttributesListContainerPtr > :: arrangeMemoryPoolInOneBlock() ;
2534 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
2535 0 : }
2536 :
2537 : void
2538 2 : SgFileStorageClass::deleteStaticDataOfEasyStorageClasses ( )
2539 : {
2540 2 : EasyStorage < SgStringList > :: deleteMemoryPool() ;
2541 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
2542 2 : EasyStorage < ROSEAttributesListContainerPtr > :: deleteMemoryPool() ;
2543 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
2544 2 : }
2545 :
2546 : void
2547 0 : SgFileStorageClass::writeEasyStorageDataToFile (std::ostream& out)
2548 : {
2549 0 : EasyStorage < SgStringList > :: writeToFile(out) ;
2550 0 : EasyStorage < std::string > :: writeToFile(out) ;
2551 0 : EasyStorage < ROSEAttributesListContainerPtr > :: writeToFile(out) ;
2552 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
2553 0 : }
2554 :
2555 :
2556 : void
2557 0 : SgFileStorageClass::readEasyStorageDataFromFile (std::istream& in)
2558 : {
2559 0 : EasyStorage < SgStringList > :: readFromFile(in) ;
2560 0 : EasyStorage < std::string > :: readFromFile(in) ;
2561 0 : EasyStorage < ROSEAttributesListContainerPtr > :: readFromFile(in) ;
2562 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
2563 0 : }
2564 :
2565 :
2566 :
2567 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2568 :
2569 :
2570 : // ********************************************************
2571 :
2572 : /* #line 2573 "../../../src/frontend/SageIII//StorageClasses.C" */
2573 :
2574 :
2575 :
2576 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2577 :
2578 : // ****************************************************************
2579 : // member functions definition specific to each node in the grammar
2580 : // these are the SgSourceFileStorageClass parts !!!!
2581 : // ROSETTA generated code. Do not change by hand.
2582 : // ****************************************************************
2583 :
2584 :
2585 : /* #line 2586 "../../../src/frontend/SageIII//StorageClasses.C" */
2586 :
2587 :
2588 : void
2589 198 : SgSourceFileStorageClass::pickOutIRNodeData ( SgSourceFile* pointer )
2590 : {
2591 198 : SgSourceFile* source = (SgSourceFile*) (pointer);
2592 : #if FILE_IO_EXTRA_CHECK
2593 198 : assert ( source != NULL ) ;
2594 198 : assert ( source->p_freepointer != NULL) ;
2595 : #endif
2596 198 : storageOf_globalScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_globalScope );
2597 198 : SgModuleStatementPtrList::iterator i_module_list = source->p_module_list.begin() ;
2598 198 : unsigned int tempListCountmodule_list = 0;
2599 198 : SgModuleStatementPtrList::value_type * tempListmodule_list = new SgModuleStatementPtrList::value_type[ source->p_module_list.size() ];
2600 198 : for ( ; i_module_list != source->p_module_list.end(); ++i_module_list )
2601 : {
2602 0 : tempListmodule_list[tempListCountmodule_list] = *i_module_list;
2603 0 : tempListCountmodule_list++;
2604 0 : (*i_module_list) = (SgModuleStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_module_list ) );
2605 : }
2606 198 : storageOf_module_list.storeDataInEasyStorageClass(source->p_module_list);
2607 198 : tempListCountmodule_list = 0;
2608 198 : i_module_list = source->p_module_list.begin() ;
2609 198 : for ( ; i_module_list != source->p_module_list.end(); ++i_module_list )
2610 : {
2611 0 : *i_module_list = tempListmodule_list[tempListCountmodule_list] ;
2612 0 : tempListCountmodule_list++;
2613 : }
2614 198 : delete [] tempListmodule_list;
2615 198 : SgTokenPtrList::iterator i_token_list = source->p_token_list.begin() ;
2616 198 : unsigned int tempListCounttoken_list = 0;
2617 198 : SgTokenPtrList::value_type * tempListtoken_list = new SgTokenPtrList::value_type[ source->p_token_list.size() ];
2618 198 : for ( ; i_token_list != source->p_token_list.end(); ++i_token_list )
2619 : {
2620 0 : tempListtoken_list[tempListCounttoken_list] = *i_token_list;
2621 0 : tempListCounttoken_list++;
2622 0 : (*i_token_list) = (SgTokenPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_token_list ) );
2623 : }
2624 198 : storageOf_token_list.storeDataInEasyStorageClass(source->p_token_list);
2625 198 : tempListCounttoken_list = 0;
2626 198 : i_token_list = source->p_token_list.begin() ;
2627 198 : for ( ; i_token_list != source->p_token_list.end(); ++i_token_list )
2628 : {
2629 0 : *i_token_list = tempListtoken_list[tempListCounttoken_list] ;
2630 0 : tempListCounttoken_list++;
2631 : }
2632 198 : delete [] tempListtoken_list;
2633 198 : storageOf_temp_holding_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_temp_holding_scope );
2634 198 : storageOf_isHeaderFile = source->p_isHeaderFile ;
2635 198 : storageOf_isHeaderFileIncludedMoreThanOnce = source->p_isHeaderFileIncludedMoreThanOnce ;
2636 198 : storageOf_headerFileReport = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_headerFileReport );
2637 198 : storageOf_extraIncludeDirectorySpecifierBeforeList.storeDataInEasyStorageClass(source->p_extraIncludeDirectorySpecifierBeforeList);
2638 198 : storageOf_extraIncludeDirectorySpecifierAfterList.storeDataInEasyStorageClass(source->p_extraIncludeDirectorySpecifierAfterList);
2639 198 : storageOf_associated_include_file = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_associated_include_file );
2640 198 : storageOf_processedToIncludeCppDirectivesAndComments = source->p_processedToIncludeCppDirectivesAndComments ;
2641 198 : SgNodePtrList::iterator i_extra_nodes_for_namequal_init = source->p_extra_nodes_for_namequal_init.begin() ;
2642 198 : unsigned int tempListCountextra_nodes_for_namequal_init = 0;
2643 198 : SgNodePtrList::value_type * tempListextra_nodes_for_namequal_init = new SgNodePtrList::value_type[ source->p_extra_nodes_for_namequal_init.size() ];
2644 198 : for ( ; i_extra_nodes_for_namequal_init != source->p_extra_nodes_for_namequal_init.end(); ++i_extra_nodes_for_namequal_init )
2645 : {
2646 0 : tempListextra_nodes_for_namequal_init[tempListCountextra_nodes_for_namequal_init] = *i_extra_nodes_for_namequal_init;
2647 0 : tempListCountextra_nodes_for_namequal_init++;
2648 0 : (*i_extra_nodes_for_namequal_init) = (SgNodePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_extra_nodes_for_namequal_init ) );
2649 : }
2650 198 : storageOf_extra_nodes_for_namequal_init.storeDataInEasyStorageClass(source->p_extra_nodes_for_namequal_init);
2651 198 : tempListCountextra_nodes_for_namequal_init = 0;
2652 198 : i_extra_nodes_for_namequal_init = source->p_extra_nodes_for_namequal_init.begin() ;
2653 198 : for ( ; i_extra_nodes_for_namequal_init != source->p_extra_nodes_for_namequal_init.end(); ++i_extra_nodes_for_namequal_init )
2654 : {
2655 0 : *i_extra_nodes_for_namequal_init = tempListextra_nodes_for_namequal_init[tempListCountextra_nodes_for_namequal_init] ;
2656 0 : tempListCountextra_nodes_for_namequal_init++;
2657 : }
2658 198 : delete [] tempListextra_nodes_for_namequal_init;
2659 198 : storageOf_isDynamicLibrary = source->p_isDynamicLibrary ;
2660 198 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
2661 198 : storageOf_originalCommandLineArgumentList.storeDataInEasyStorageClass(source->p_originalCommandLineArgumentList);
2662 198 : storageOf_verbose = source->p_verbose ;
2663 198 : storageOf_output_warnings = source->p_output_warnings ;
2664 198 : storageOf_C_only = source->p_C_only ;
2665 198 : storageOf_Cxx_only = source->p_Cxx_only ;
2666 198 : storageOf_Fortran_only = source->p_Fortran_only ;
2667 198 : storageOf_CoArrayFortran_only = source->p_CoArrayFortran_only ;
2668 198 : storageOf_upc_threads = source->p_upc_threads ;
2669 198 : storageOf_Cuda_only = source->p_Cuda_only ;
2670 198 : storageOf_OpenCL_only = source->p_OpenCL_only ;
2671 198 : storageOf_requires_C_preprocessor = source->p_requires_C_preprocessor ;
2672 198 : storageOf_inputFormat = source->p_inputFormat ;
2673 198 : storageOf_outputFormat = source->p_outputFormat ;
2674 198 : storageOf_backendCompileFormat = source->p_backendCompileFormat ;
2675 198 : storageOf_fortran_implicit_none = source->p_fortran_implicit_none ;
2676 198 : storageOf_openmp = source->p_openmp ;
2677 198 : storageOf_openmp_parse_only = source->p_openmp_parse_only ;
2678 198 : storageOf_openmp_ast_only = source->p_openmp_ast_only ;
2679 198 : storageOf_openmp_lowering = source->p_openmp_lowering ;
2680 198 : storageOf_openmp_analyzing = source->p_openmp_analyzing ;
2681 198 : storageOf_cray_pointer_support = source->p_cray_pointer_support ;
2682 198 : storageOf_failsafe = source->p_failsafe ;
2683 198 : storageOf_output_parser_actions = source->p_output_parser_actions ;
2684 198 : storageOf_exit_after_parser = source->p_exit_after_parser ;
2685 198 : storageOf_skip_syntax_check = source->p_skip_syntax_check ;
2686 198 : storageOf_skip_parser = source->p_skip_parser ;
2687 198 : storageOf_relax_syntax_check = source->p_relax_syntax_check ;
2688 198 : storageOf_skip_translation_from_edg_ast_to_rose_ast = source->p_skip_translation_from_edg_ast_to_rose_ast ;
2689 198 : storageOf_skip_transformation = source->p_skip_transformation ;
2690 198 : storageOf_skip_unparse = source->p_skip_unparse ;
2691 198 : storageOf_skipfinalCompileStep = source->p_skipfinalCompileStep ;
2692 198 : storageOf_unparse_includes = source->p_unparse_includes ;
2693 198 : storageOf_unparse_line_directives = source->p_unparse_line_directives ;
2694 198 : storageOf_unparse_function_calls_using_operator_syntax = source->p_unparse_function_calls_using_operator_syntax ;
2695 198 : storageOf_unparse_function_calls_using_operator_names = source->p_unparse_function_calls_using_operator_names ;
2696 198 : storageOf_unparse_instruction_addresses = source->p_unparse_instruction_addresses ;
2697 198 : storageOf_unparse_raw_memory_contents = source->p_unparse_raw_memory_contents ;
2698 198 : storageOf_unparse_binary_file_format = source->p_unparse_binary_file_format ;
2699 198 : storageOf_outputLanguage = source->p_outputLanguage ;
2700 198 : storageOf_inputLanguage = source->p_inputLanguage ;
2701 198 : storageOf_sourceFileNameWithPath.storeDataInEasyStorageClass(source->p_sourceFileNameWithPath);
2702 198 : storageOf_sourceFileNameWithoutPath.storeDataInEasyStorageClass(source->p_sourceFileNameWithoutPath);
2703 198 : storageOf_unparse_output_filename.storeDataInEasyStorageClass(source->p_unparse_output_filename);
2704 198 : storageOf_objectFileNameWithPath.storeDataInEasyStorageClass(source->p_objectFileNameWithPath);
2705 198 : storageOf_objectFileNameWithoutPath.storeDataInEasyStorageClass(source->p_objectFileNameWithoutPath);
2706 198 : storageOf_useBackendOnly = source->p_useBackendOnly ;
2707 198 : storageOf_compileOnly = source->p_compileOnly ;
2708 198 : storageOf_savedFrontendCommandLine.storeDataInEasyStorageClass(source->p_savedFrontendCommandLine);
2709 198 : storageOf_no_implicit_templates = source->p_no_implicit_templates ;
2710 198 : storageOf_no_implicit_inline_templates = source->p_no_implicit_inline_templates ;
2711 198 : storageOf_skip_commentsAndDirectives = source->p_skip_commentsAndDirectives ;
2712 198 : storageOf_collectAllCommentsAndDirectives = source->p_collectAllCommentsAndDirectives ;
2713 198 : storageOf_translateCommentsAndDirectivesIntoAST = source->p_translateCommentsAndDirectivesIntoAST ;
2714 198 : storageOf_unparseHeaderFiles = source->p_unparseHeaderFiles ;
2715 198 : storageOf_preprocessorDirectivesAndCommentsList.storeDataInEasyStorageClass(source->p_preprocessorDirectivesAndCommentsList);
2716 198 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
2717 198 : storageOf_KCC_frontend = source->p_KCC_frontend ;
2718 198 : storageOf_new_frontend = source->p_new_frontend ;
2719 198 : storageOf_disable_edg_backend = source->p_disable_edg_backend ;
2720 198 : storageOf_disable_sage_backend = source->p_disable_sage_backend ;
2721 198 : storageOf_testingLevel = source->p_testingLevel ;
2722 198 : storageOf_preinit_il = source->p_preinit_il ;
2723 198 : storageOf_enable_cp_backend = source->p_enable_cp_backend ;
2724 198 : storageOf_markGeneratedFiles = source->p_markGeneratedFiles ;
2725 198 : storageOf_negative_test = source->p_negative_test ;
2726 198 : storageOf_strict_language_handling = source->p_strict_language_handling ;
2727 198 : storageOf_wave = source->p_wave ;
2728 198 : storageOf_embedColorCodesInGeneratedCode = source->p_embedColorCodesInGeneratedCode ;
2729 198 : storageOf_generateSourcePositionCodes = source->p_generateSourcePositionCodes ;
2730 198 : storageOf_sourceFileUsesCppFileExtension = source->p_sourceFileUsesCppFileExtension ;
2731 198 : storageOf_sourceFileUsesFortranFileExtension = source->p_sourceFileUsesFortranFileExtension ;
2732 198 : storageOf_sourceFileUsesFortran77FileExtension = source->p_sourceFileUsesFortran77FileExtension ;
2733 198 : storageOf_sourceFileUsesFortran90FileExtension = source->p_sourceFileUsesFortran90FileExtension ;
2734 198 : storageOf_sourceFileUsesFortran95FileExtension = source->p_sourceFileUsesFortran95FileExtension ;
2735 198 : storageOf_sourceFileUsesFortran2003FileExtension = source->p_sourceFileUsesFortran2003FileExtension ;
2736 198 : storageOf_sourceFileUsesFortran2008FileExtension = source->p_sourceFileUsesFortran2008FileExtension ;
2737 198 : storageOf_sourceFileUsesCoArrayFortranFileExtension = source->p_sourceFileUsesCoArrayFortranFileExtension ;
2738 198 : storageOf_sourceFileUsesPHPFileExtension = source->p_sourceFileUsesPHPFileExtension ;
2739 198 : storageOf_sourceFileUsesPythonFileExtension = source->p_sourceFileUsesPythonFileExtension ;
2740 198 : storageOf_sourceFileTypeIsUnknown = source->p_sourceFileTypeIsUnknown ;
2741 198 : storageOf_detect_dangling_pointers = source->p_detect_dangling_pointers ;
2742 198 : storageOf_experimental_fortran_frontend = source->p_experimental_fortran_frontend ;
2743 198 : storageOf_experimental_flang_frontend = source->p_experimental_flang_frontend ;
2744 198 : storageOf_experimental_cuda_fortran_frontend = source->p_experimental_cuda_fortran_frontend ;
2745 198 : storageOf_experimental_fortran_frontend_OFP_test = source->p_experimental_fortran_frontend_OFP_test ;
2746 198 : storageOf_read_executable_file_format_only = source->p_read_executable_file_format_only ;
2747 198 : storageOf_visualize_executable_file_format_skip_symbols = source->p_visualize_executable_file_format_skip_symbols ;
2748 198 : storageOf_visualize_dwarf_only = source->p_visualize_dwarf_only ;
2749 198 : storageOf_read_instructions_only = source->p_read_instructions_only ;
2750 198 : storageOf_libraryArchiveObjectFileNameList.storeDataInEasyStorageClass(source->p_libraryArchiveObjectFileNameList);
2751 198 : storageOf_isLibraryArchive = source->p_isLibraryArchive ;
2752 198 : storageOf_isObjectFile = source->p_isObjectFile ;
2753 198 : storageOf_unparse_tokens = source->p_unparse_tokens ;
2754 198 : storageOf_unparse_tokens_testing = source->p_unparse_tokens_testing ;
2755 198 : storageOf_unparse_using_leading_and_trailing_token_mappings = source->p_unparse_using_leading_and_trailing_token_mappings ;
2756 198 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
2757 198 : storageOf_skipAstConsistancyTests = source->p_skipAstConsistancyTests ;
2758 198 : storageOf_multifile_support = source->p_multifile_support ;
2759 198 : storageOf_optimization = source->p_optimization ;
2760 198 : storageOf_use_token_stream_to_improve_source_position_info = source->p_use_token_stream_to_improve_source_position_info ;
2761 198 : storageOf_suppress_variable_declaration_normalization = source->p_suppress_variable_declaration_normalization ;
2762 198 : storageOf_edg_il_to_graphviz = source->p_edg_il_to_graphviz ;
2763 198 : storageOf_clang_il_to_graphviz = source->p_clang_il_to_graphviz ;
2764 198 : storageOf_no_optimize_flag_for_frontend = source->p_no_optimize_flag_for_frontend ;
2765 198 : storageOf_unparse_edg_normalized_method_ROSE_1392 = source->p_unparse_edg_normalized_method_ROSE_1392 ;
2766 198 : storageOf_header_file_unparsing_optimization_source_file = source->p_header_file_unparsing_optimization_source_file ;
2767 198 : storageOf_header_file_unparsing_optimization_header_file = source->p_header_file_unparsing_optimization_header_file ;
2768 198 : storageOf_standard = source->p_standard ;
2769 198 : storageOf_gnu_standard = source->p_gnu_standard ;
2770 198 : storageOf_frontendErrorCode = source->p_frontendErrorCode ;
2771 198 : storageOf_javacErrorCode = source->p_javacErrorCode ;
2772 198 : storageOf_ecjErrorCode = source->p_ecjErrorCode ;
2773 198 : storageOf_midendErrorCode = source->p_midendErrorCode ;
2774 198 : storageOf_unparserErrorCode = source->p_unparserErrorCode ;
2775 198 : storageOf_backendCompilerErrorCode = source->p_backendCompilerErrorCode ;
2776 198 : storageOf_unparsedFileFailedCompilation = source->p_unparsedFileFailedCompilation ;
2777 198 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
2778 198 : storageOf_isModified = source->p_isModified ;
2779 198 : storageOf_containsTransformation = source->p_containsTransformation ;
2780 198 : }
2781 :
2782 : void
2783 0 : SgSourceFileStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
2784 : {
2785 0 : EasyStorage < SgModuleStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
2786 0 : EasyStorage < SgTokenPtrList > :: arrangeMemoryPoolInOneBlock() ;
2787 0 : EasyStorage < SgStringList > :: arrangeMemoryPoolInOneBlock() ;
2788 0 : EasyStorage < SgNodePtrList > :: arrangeMemoryPoolInOneBlock() ;
2789 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
2790 0 : EasyStorage < ROSEAttributesListContainerPtr > :: arrangeMemoryPoolInOneBlock() ;
2791 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
2792 0 : }
2793 :
2794 : void
2795 2 : SgSourceFileStorageClass::deleteStaticDataOfEasyStorageClasses ( )
2796 : {
2797 2 : EasyStorage < SgModuleStatementPtrList > :: deleteMemoryPool() ;
2798 2 : EasyStorage < SgTokenPtrList > :: deleteMemoryPool() ;
2799 2 : EasyStorage < SgStringList > :: deleteMemoryPool() ;
2800 2 : EasyStorage < SgNodePtrList > :: deleteMemoryPool() ;
2801 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
2802 2 : EasyStorage < ROSEAttributesListContainerPtr > :: deleteMemoryPool() ;
2803 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
2804 2 : }
2805 :
2806 : void
2807 3 : SgSourceFileStorageClass::writeEasyStorageDataToFile (std::ostream& out)
2808 : {
2809 3 : EasyStorage < SgModuleStatementPtrList > :: writeToFile(out) ;
2810 3 : EasyStorage < SgTokenPtrList > :: writeToFile(out) ;
2811 3 : EasyStorage < SgStringList > :: writeToFile(out) ;
2812 3 : EasyStorage < SgNodePtrList > :: writeToFile(out) ;
2813 3 : EasyStorage < std::string > :: writeToFile(out) ;
2814 3 : EasyStorage < ROSEAttributesListContainerPtr > :: writeToFile(out) ;
2815 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
2816 3 : }
2817 :
2818 :
2819 : void
2820 2 : SgSourceFileStorageClass::readEasyStorageDataFromFile (std::istream& in)
2821 : {
2822 2 : EasyStorage < SgModuleStatementPtrList > :: readFromFile(in) ;
2823 2 : EasyStorage < SgTokenPtrList > :: readFromFile(in) ;
2824 2 : EasyStorage < SgStringList > :: readFromFile(in) ;
2825 2 : EasyStorage < SgNodePtrList > :: readFromFile(in) ;
2826 2 : EasyStorage < std::string > :: readFromFile(in) ;
2827 2 : EasyStorage < ROSEAttributesListContainerPtr > :: readFromFile(in) ;
2828 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
2829 2 : }
2830 :
2831 :
2832 :
2833 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2834 :
2835 :
2836 : // ********************************************************
2837 :
2838 : /* #line 2839 "../../../src/frontend/SageIII//StorageClasses.C" */
2839 :
2840 :
2841 :
2842 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
2843 :
2844 : // ****************************************************************
2845 : // member functions definition specific to each node in the grammar
2846 : // these are the SgUnknownFileStorageClass parts !!!!
2847 : // ROSETTA generated code. Do not change by hand.
2848 : // ****************************************************************
2849 :
2850 :
2851 : /* #line 2852 "../../../src/frontend/SageIII//StorageClasses.C" */
2852 :
2853 :
2854 : void
2855 0 : SgUnknownFileStorageClass::pickOutIRNodeData ( SgUnknownFile* pointer )
2856 : {
2857 0 : SgUnknownFile* source = (SgUnknownFile*) (pointer);
2858 : #if FILE_IO_EXTRA_CHECK
2859 0 : assert ( source != NULL ) ;
2860 0 : assert ( source->p_freepointer != NULL) ;
2861 : #endif
2862 0 : storageOf_globalScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_globalScope );
2863 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
2864 0 : storageOf_originalCommandLineArgumentList.storeDataInEasyStorageClass(source->p_originalCommandLineArgumentList);
2865 0 : storageOf_verbose = source->p_verbose ;
2866 0 : storageOf_output_warnings = source->p_output_warnings ;
2867 0 : storageOf_C_only = source->p_C_only ;
2868 0 : storageOf_Cxx_only = source->p_Cxx_only ;
2869 0 : storageOf_Fortran_only = source->p_Fortran_only ;
2870 0 : storageOf_CoArrayFortran_only = source->p_CoArrayFortran_only ;
2871 0 : storageOf_upc_threads = source->p_upc_threads ;
2872 0 : storageOf_Cuda_only = source->p_Cuda_only ;
2873 0 : storageOf_OpenCL_only = source->p_OpenCL_only ;
2874 0 : storageOf_requires_C_preprocessor = source->p_requires_C_preprocessor ;
2875 0 : storageOf_inputFormat = source->p_inputFormat ;
2876 0 : storageOf_outputFormat = source->p_outputFormat ;
2877 0 : storageOf_backendCompileFormat = source->p_backendCompileFormat ;
2878 0 : storageOf_fortran_implicit_none = source->p_fortran_implicit_none ;
2879 0 : storageOf_openmp = source->p_openmp ;
2880 0 : storageOf_openmp_parse_only = source->p_openmp_parse_only ;
2881 0 : storageOf_openmp_ast_only = source->p_openmp_ast_only ;
2882 0 : storageOf_openmp_lowering = source->p_openmp_lowering ;
2883 0 : storageOf_openmp_analyzing = source->p_openmp_analyzing ;
2884 0 : storageOf_cray_pointer_support = source->p_cray_pointer_support ;
2885 0 : storageOf_failsafe = source->p_failsafe ;
2886 0 : storageOf_output_parser_actions = source->p_output_parser_actions ;
2887 0 : storageOf_exit_after_parser = source->p_exit_after_parser ;
2888 0 : storageOf_skip_syntax_check = source->p_skip_syntax_check ;
2889 0 : storageOf_skip_parser = source->p_skip_parser ;
2890 0 : storageOf_relax_syntax_check = source->p_relax_syntax_check ;
2891 0 : storageOf_skip_translation_from_edg_ast_to_rose_ast = source->p_skip_translation_from_edg_ast_to_rose_ast ;
2892 0 : storageOf_skip_transformation = source->p_skip_transformation ;
2893 0 : storageOf_skip_unparse = source->p_skip_unparse ;
2894 0 : storageOf_skipfinalCompileStep = source->p_skipfinalCompileStep ;
2895 0 : storageOf_unparse_includes = source->p_unparse_includes ;
2896 0 : storageOf_unparse_line_directives = source->p_unparse_line_directives ;
2897 0 : storageOf_unparse_function_calls_using_operator_syntax = source->p_unparse_function_calls_using_operator_syntax ;
2898 0 : storageOf_unparse_function_calls_using_operator_names = source->p_unparse_function_calls_using_operator_names ;
2899 0 : storageOf_unparse_instruction_addresses = source->p_unparse_instruction_addresses ;
2900 0 : storageOf_unparse_raw_memory_contents = source->p_unparse_raw_memory_contents ;
2901 0 : storageOf_unparse_binary_file_format = source->p_unparse_binary_file_format ;
2902 0 : storageOf_outputLanguage = source->p_outputLanguage ;
2903 0 : storageOf_inputLanguage = source->p_inputLanguage ;
2904 0 : storageOf_sourceFileNameWithPath.storeDataInEasyStorageClass(source->p_sourceFileNameWithPath);
2905 0 : storageOf_sourceFileNameWithoutPath.storeDataInEasyStorageClass(source->p_sourceFileNameWithoutPath);
2906 0 : storageOf_unparse_output_filename.storeDataInEasyStorageClass(source->p_unparse_output_filename);
2907 0 : storageOf_objectFileNameWithPath.storeDataInEasyStorageClass(source->p_objectFileNameWithPath);
2908 0 : storageOf_objectFileNameWithoutPath.storeDataInEasyStorageClass(source->p_objectFileNameWithoutPath);
2909 0 : storageOf_useBackendOnly = source->p_useBackendOnly ;
2910 0 : storageOf_compileOnly = source->p_compileOnly ;
2911 0 : storageOf_savedFrontendCommandLine.storeDataInEasyStorageClass(source->p_savedFrontendCommandLine);
2912 0 : storageOf_no_implicit_templates = source->p_no_implicit_templates ;
2913 0 : storageOf_no_implicit_inline_templates = source->p_no_implicit_inline_templates ;
2914 0 : storageOf_skip_commentsAndDirectives = source->p_skip_commentsAndDirectives ;
2915 0 : storageOf_collectAllCommentsAndDirectives = source->p_collectAllCommentsAndDirectives ;
2916 0 : storageOf_translateCommentsAndDirectivesIntoAST = source->p_translateCommentsAndDirectivesIntoAST ;
2917 0 : storageOf_unparseHeaderFiles = source->p_unparseHeaderFiles ;
2918 0 : storageOf_preprocessorDirectivesAndCommentsList.storeDataInEasyStorageClass(source->p_preprocessorDirectivesAndCommentsList);
2919 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
2920 0 : storageOf_KCC_frontend = source->p_KCC_frontend ;
2921 0 : storageOf_new_frontend = source->p_new_frontend ;
2922 0 : storageOf_disable_edg_backend = source->p_disable_edg_backend ;
2923 0 : storageOf_disable_sage_backend = source->p_disable_sage_backend ;
2924 0 : storageOf_testingLevel = source->p_testingLevel ;
2925 0 : storageOf_preinit_il = source->p_preinit_il ;
2926 0 : storageOf_enable_cp_backend = source->p_enable_cp_backend ;
2927 0 : storageOf_markGeneratedFiles = source->p_markGeneratedFiles ;
2928 0 : storageOf_negative_test = source->p_negative_test ;
2929 0 : storageOf_strict_language_handling = source->p_strict_language_handling ;
2930 0 : storageOf_wave = source->p_wave ;
2931 0 : storageOf_embedColorCodesInGeneratedCode = source->p_embedColorCodesInGeneratedCode ;
2932 0 : storageOf_generateSourcePositionCodes = source->p_generateSourcePositionCodes ;
2933 0 : storageOf_sourceFileUsesCppFileExtension = source->p_sourceFileUsesCppFileExtension ;
2934 0 : storageOf_sourceFileUsesFortranFileExtension = source->p_sourceFileUsesFortranFileExtension ;
2935 0 : storageOf_sourceFileUsesFortran77FileExtension = source->p_sourceFileUsesFortran77FileExtension ;
2936 0 : storageOf_sourceFileUsesFortran90FileExtension = source->p_sourceFileUsesFortran90FileExtension ;
2937 0 : storageOf_sourceFileUsesFortran95FileExtension = source->p_sourceFileUsesFortran95FileExtension ;
2938 0 : storageOf_sourceFileUsesFortran2003FileExtension = source->p_sourceFileUsesFortran2003FileExtension ;
2939 0 : storageOf_sourceFileUsesFortran2008FileExtension = source->p_sourceFileUsesFortran2008FileExtension ;
2940 0 : storageOf_sourceFileUsesCoArrayFortranFileExtension = source->p_sourceFileUsesCoArrayFortranFileExtension ;
2941 0 : storageOf_sourceFileUsesPHPFileExtension = source->p_sourceFileUsesPHPFileExtension ;
2942 0 : storageOf_sourceFileUsesPythonFileExtension = source->p_sourceFileUsesPythonFileExtension ;
2943 0 : storageOf_sourceFileTypeIsUnknown = source->p_sourceFileTypeIsUnknown ;
2944 0 : storageOf_detect_dangling_pointers = source->p_detect_dangling_pointers ;
2945 0 : storageOf_experimental_fortran_frontend = source->p_experimental_fortran_frontend ;
2946 0 : storageOf_experimental_flang_frontend = source->p_experimental_flang_frontend ;
2947 0 : storageOf_experimental_cuda_fortran_frontend = source->p_experimental_cuda_fortran_frontend ;
2948 0 : storageOf_experimental_fortran_frontend_OFP_test = source->p_experimental_fortran_frontend_OFP_test ;
2949 0 : storageOf_read_executable_file_format_only = source->p_read_executable_file_format_only ;
2950 0 : storageOf_visualize_executable_file_format_skip_symbols = source->p_visualize_executable_file_format_skip_symbols ;
2951 0 : storageOf_visualize_dwarf_only = source->p_visualize_dwarf_only ;
2952 0 : storageOf_read_instructions_only = source->p_read_instructions_only ;
2953 0 : storageOf_libraryArchiveObjectFileNameList.storeDataInEasyStorageClass(source->p_libraryArchiveObjectFileNameList);
2954 0 : storageOf_isLibraryArchive = source->p_isLibraryArchive ;
2955 0 : storageOf_isObjectFile = source->p_isObjectFile ;
2956 0 : storageOf_unparse_tokens = source->p_unparse_tokens ;
2957 0 : storageOf_unparse_tokens_testing = source->p_unparse_tokens_testing ;
2958 0 : storageOf_unparse_using_leading_and_trailing_token_mappings = source->p_unparse_using_leading_and_trailing_token_mappings ;
2959 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
2960 0 : storageOf_skipAstConsistancyTests = source->p_skipAstConsistancyTests ;
2961 0 : storageOf_multifile_support = source->p_multifile_support ;
2962 0 : storageOf_optimization = source->p_optimization ;
2963 0 : storageOf_use_token_stream_to_improve_source_position_info = source->p_use_token_stream_to_improve_source_position_info ;
2964 0 : storageOf_suppress_variable_declaration_normalization = source->p_suppress_variable_declaration_normalization ;
2965 0 : storageOf_edg_il_to_graphviz = source->p_edg_il_to_graphviz ;
2966 0 : storageOf_clang_il_to_graphviz = source->p_clang_il_to_graphviz ;
2967 0 : storageOf_no_optimize_flag_for_frontend = source->p_no_optimize_flag_for_frontend ;
2968 0 : storageOf_unparse_edg_normalized_method_ROSE_1392 = source->p_unparse_edg_normalized_method_ROSE_1392 ;
2969 0 : storageOf_header_file_unparsing_optimization_source_file = source->p_header_file_unparsing_optimization_source_file ;
2970 0 : storageOf_header_file_unparsing_optimization_header_file = source->p_header_file_unparsing_optimization_header_file ;
2971 0 : storageOf_standard = source->p_standard ;
2972 0 : storageOf_gnu_standard = source->p_gnu_standard ;
2973 0 : storageOf_frontendErrorCode = source->p_frontendErrorCode ;
2974 0 : storageOf_javacErrorCode = source->p_javacErrorCode ;
2975 0 : storageOf_ecjErrorCode = source->p_ecjErrorCode ;
2976 0 : storageOf_midendErrorCode = source->p_midendErrorCode ;
2977 0 : storageOf_unparserErrorCode = source->p_unparserErrorCode ;
2978 0 : storageOf_backendCompilerErrorCode = source->p_backendCompilerErrorCode ;
2979 0 : storageOf_unparsedFileFailedCompilation = source->p_unparsedFileFailedCompilation ;
2980 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
2981 0 : storageOf_isModified = source->p_isModified ;
2982 0 : storageOf_containsTransformation = source->p_containsTransformation ;
2983 0 : }
2984 :
2985 : void
2986 0 : SgUnknownFileStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
2987 : {
2988 0 : EasyStorage < SgStringList > :: arrangeMemoryPoolInOneBlock() ;
2989 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
2990 0 : EasyStorage < ROSEAttributesListContainerPtr > :: arrangeMemoryPoolInOneBlock() ;
2991 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
2992 0 : }
2993 :
2994 : void
2995 2 : SgUnknownFileStorageClass::deleteStaticDataOfEasyStorageClasses ( )
2996 : {
2997 2 : EasyStorage < SgStringList > :: deleteMemoryPool() ;
2998 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
2999 2 : EasyStorage < ROSEAttributesListContainerPtr > :: deleteMemoryPool() ;
3000 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
3001 2 : }
3002 :
3003 : void
3004 0 : SgUnknownFileStorageClass::writeEasyStorageDataToFile (std::ostream& out)
3005 : {
3006 0 : EasyStorage < SgStringList > :: writeToFile(out) ;
3007 0 : EasyStorage < std::string > :: writeToFile(out) ;
3008 0 : EasyStorage < ROSEAttributesListContainerPtr > :: writeToFile(out) ;
3009 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
3010 0 : }
3011 :
3012 :
3013 : void
3014 0 : SgUnknownFileStorageClass::readEasyStorageDataFromFile (std::istream& in)
3015 : {
3016 0 : EasyStorage < SgStringList > :: readFromFile(in) ;
3017 0 : EasyStorage < std::string > :: readFromFile(in) ;
3018 0 : EasyStorage < ROSEAttributesListContainerPtr > :: readFromFile(in) ;
3019 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
3020 0 : }
3021 :
3022 :
3023 :
3024 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3025 :
3026 :
3027 : // ********************************************************
3028 :
3029 : /* #line 3030 "../../../src/frontend/SageIII//StorageClasses.C" */
3030 :
3031 :
3032 :
3033 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3034 :
3035 : // ****************************************************************
3036 : // member functions definition specific to each node in the grammar
3037 : // these are the SgProjectStorageClass parts !!!!
3038 : // ROSETTA generated code. Do not change by hand.
3039 : // ****************************************************************
3040 :
3041 :
3042 : /* #line 3043 "../../../src/frontend/SageIII//StorageClasses.C" */
3043 :
3044 :
3045 : void
3046 3 : SgProjectStorageClass::pickOutIRNodeData ( SgProject* pointer )
3047 : {
3048 3 : SgProject* source = (SgProject*) (pointer);
3049 : #if FILE_IO_EXTRA_CHECK
3050 3 : assert ( source != NULL ) ;
3051 3 : assert ( source->p_freepointer != NULL) ;
3052 : #endif
3053 3 : storageOf_fileList_ptr = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_fileList_ptr );
3054 3 : storageOf_originalCommandLineArgumentList.storeDataInEasyStorageClass(source->p_originalCommandLineArgumentList);
3055 3 : storageOf_frontendErrorCode = source->p_frontendErrorCode ;
3056 3 : storageOf_javacErrorCode = source->p_javacErrorCode ;
3057 3 : storageOf_ecjErrorCode = source->p_ecjErrorCode ;
3058 3 : storageOf_midendErrorCode = source->p_midendErrorCode ;
3059 3 : storageOf_backendErrorCode = source->p_backendErrorCode ;
3060 3 : storageOf_keep_going = source->p_keep_going ;
3061 3 : storageOf_unparser__clobber_input_file = source->p_unparser__clobber_input_file ;
3062 3 : storageOf_outputFileName.storeDataInEasyStorageClass(source->p_outputFileName);
3063 3 : storageOf_sourceFileNameList.storeDataInEasyStorageClass(source->p_sourceFileNameList);
3064 3 : storageOf_objectFileNameList.storeDataInEasyStorageClass(source->p_objectFileNameList);
3065 3 : storageOf_libraryFileList.storeDataInEasyStorageClass(source->p_libraryFileList);
3066 3 : storageOf_librarySpecifierList.storeDataInEasyStorageClass(source->p_librarySpecifierList);
3067 3 : storageOf_libraryDirectorySpecifierList.storeDataInEasyStorageClass(source->p_libraryDirectorySpecifierList);
3068 3 : storageOf_includeDirectorySpecifierList.storeDataInEasyStorageClass(source->p_includeDirectorySpecifierList);
3069 3 : storageOf_macroSpecifierList.storeDataInEasyStorageClass(source->p_macroSpecifierList);
3070 3 : storageOf_preincludeFileList.storeDataInEasyStorageClass(source->p_preincludeFileList);
3071 3 : storageOf_preincludeDirectoryList.storeDataInEasyStorageClass(source->p_preincludeDirectoryList);
3072 3 : storageOf_compileOnly = source->p_compileOnly ;
3073 3 : storageOf_wave = source->p_wave ;
3074 3 : storageOf_prelink = source->p_prelink ;
3075 3 : storageOf_template_instantiation_mode = source->p_template_instantiation_mode ;
3076 3 : storageOf_ast_merge = source->p_ast_merge ;
3077 3 : storageOf_projectSpecificDatabaseFile.storeDataInEasyStorageClass(source->p_projectSpecificDatabaseFile);
3078 3 : storageOf_C_PreprocessorOnly = source->p_C_PreprocessorOnly ;
3079 3 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
3080 3 : storageOf_compilationPerformanceFile.storeDataInEasyStorageClass(source->p_compilationPerformanceFile);
3081 3 : storageOf_includePathList.storeDataInEasyStorageClass(source->p_includePathList);
3082 3 : storageOf_excludePathList.storeDataInEasyStorageClass(source->p_excludePathList);
3083 3 : storageOf_includeFileList.storeDataInEasyStorageClass(source->p_includeFileList);
3084 3 : storageOf_excludeFileList.storeDataInEasyStorageClass(source->p_excludeFileList);
3085 3 : storageOf_binary_only = source->p_binary_only ;
3086 3 : storageOf_directoryList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_directoryList );
3087 3 : storageOf_C_only = source->p_C_only ;
3088 3 : storageOf_Cxx_only = source->p_Cxx_only ;
3089 3 : storageOf_C11_only = source->p_C11_only ;
3090 3 : storageOf_Cxx0x_only = source->p_Cxx0x_only ;
3091 3 : storageOf_Cxx11_only = source->p_Cxx11_only ;
3092 3 : storageOf_C14_only = source->p_C14_only ;
3093 3 : storageOf_Cxx14_only = source->p_Cxx14_only ;
3094 3 : storageOf_Fortran_only = source->p_Fortran_only ;
3095 3 : storageOf_Fortran_ofp_jvm_options.storeDataInEasyStorageClass(source->p_Fortran_ofp_jvm_options);
3096 3 : storageOf_openmp_linking = source->p_openmp_linking ;
3097 3 : storageOf_Java_ecj_jvm_options.storeDataInEasyStorageClass(source->p_Java_ecj_jvm_options);
3098 3 : storageOf_Java_batch_mode = source->p_Java_batch_mode ;
3099 3 : storageOf_Java_classpath.storeDataInEasyStorageClass(source->p_Java_classpath);
3100 3 : storageOf_Java_sourcepath.storeDataInEasyStorageClass(source->p_Java_sourcepath);
3101 3 : storageOf_Java_destdir.storeDataInEasyStorageClass(source->p_Java_destdir);
3102 3 : storageOf_Java_source_destdir.storeDataInEasyStorageClass(source->p_Java_source_destdir);
3103 3 : storageOf_addCppDirectivesToAST = source->p_addCppDirectivesToAST ;
3104 3 : storageOf_includingPreprocessingInfosMap.storeDataInEasyStorageClass(source->p_includingPreprocessingInfosMap);
3105 3 : storageOf_quotedIncludesSearchPaths.storeDataInEasyStorageClass(source->p_quotedIncludesSearchPaths);
3106 3 : storageOf_bracketedIncludesSearchPaths.storeDataInEasyStorageClass(source->p_bracketedIncludesSearchPaths);
3107 3 : storageOf_unparseHeaderFilesRootFolder.storeDataInEasyStorageClass(source->p_unparseHeaderFilesRootFolder);
3108 3 : storageOf_frontendConstantFolding = source->p_frontendConstantFolding ;
3109 3 : storageOf_globalScopeAcrossFiles = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_globalScopeAcrossFiles );
3110 3 : storageOf_unparse_in_same_directory_as_input_file = source->p_unparse_in_same_directory_as_input_file ;
3111 3 : storageOf_stop_after_compilation_do_not_assemble_file = source->p_stop_after_compilation_do_not_assemble_file ;
3112 3 : storageOf_gnuOptionForUndefinedSymbol.storeDataInEasyStorageClass(source->p_gnuOptionForUndefinedSymbol);
3113 3 : storageOf_mode_32_bit = source->p_mode_32_bit ;
3114 3 : storageOf_noclobber_output_file = source->p_noclobber_output_file ;
3115 3 : storageOf_noclobber_if_different_output_file = source->p_noclobber_if_different_output_file ;
3116 3 : storageOf_suppressConstantFoldingPostProcessing = source->p_suppressConstantFoldingPostProcessing ;
3117 3 : storageOf_appendPID = source->p_appendPID ;
3118 3 : storageOf_reportOnHeaderFileUnparsing = source->p_reportOnHeaderFileUnparsing ;
3119 3 : storageOf_applicationRootDirectory.storeDataInEasyStorageClass(source->p_applicationRootDirectory);
3120 3 : storageOf_usingApplicationRootDirectory = source->p_usingApplicationRootDirectory ;
3121 3 : storageOf_usingDeferredTransformations = source->p_usingDeferredTransformations ;
3122 3 : storageOf_astfile_out.storeDataInEasyStorageClass(source->p_astfile_out);
3123 3 : storageOf_astfiles_in.storeDataInEasyStorageClass(source->p_astfiles_in);
3124 3 : storageOf_extraIncludeDirectorySpecifierBeforeList.storeDataInEasyStorageClass(source->p_extraIncludeDirectorySpecifierBeforeList);
3125 3 : storageOf_extraIncludeDirectorySpecifierAfterList.storeDataInEasyStorageClass(source->p_extraIncludeDirectorySpecifierAfterList);
3126 3 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3127 3 : storageOf_isModified = source->p_isModified ;
3128 3 : storageOf_containsTransformation = source->p_containsTransformation ;
3129 3 : }
3130 :
3131 : void
3132 0 : SgProjectStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
3133 : {
3134 0 : EasyStorage < SgStringList > :: arrangeMemoryPoolInOneBlock() ;
3135 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
3136 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
3137 0 : EasyStorage < std::list<std::string> > :: arrangeMemoryPoolInOneBlock() ;
3138 0 : EasyStorage < std::map<std::string, std::set<PreprocessingInfo*> > > :: arrangeMemoryPoolInOneBlock() ;
3139 0 : }
3140 :
3141 : void
3142 2 : SgProjectStorageClass::deleteStaticDataOfEasyStorageClasses ( )
3143 : {
3144 2 : EasyStorage < SgStringList > :: deleteMemoryPool() ;
3145 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
3146 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
3147 2 : EasyStorage < std::list<std::string> > :: deleteMemoryPool() ;
3148 2 : EasyStorage < std::map<std::string, std::set<PreprocessingInfo*> > > :: deleteMemoryPool() ;
3149 2 : }
3150 :
3151 : void
3152 3 : SgProjectStorageClass::writeEasyStorageDataToFile (std::ostream& out)
3153 : {
3154 3 : EasyStorage < SgStringList > :: writeToFile(out) ;
3155 3 : EasyStorage < std::string > :: writeToFile(out) ;
3156 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
3157 3 : EasyStorage < std::list<std::string> > :: writeToFile(out) ;
3158 3 : EasyStorage < std::map<std::string, std::set<PreprocessingInfo*> > > :: writeToFile(out) ;
3159 3 : }
3160 :
3161 :
3162 : void
3163 2 : SgProjectStorageClass::readEasyStorageDataFromFile (std::istream& in)
3164 : {
3165 2 : EasyStorage < SgStringList > :: readFromFile(in) ;
3166 2 : EasyStorage < std::string > :: readFromFile(in) ;
3167 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
3168 2 : EasyStorage < std::list<std::string> > :: readFromFile(in) ;
3169 2 : EasyStorage < std::map<std::string, std::set<PreprocessingInfo*> > > :: readFromFile(in) ;
3170 2 : }
3171 :
3172 :
3173 :
3174 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3175 :
3176 :
3177 : // ********************************************************
3178 :
3179 : /* #line 3180 "../../../src/frontend/SageIII//StorageClasses.C" */
3180 :
3181 :
3182 :
3183 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3184 :
3185 : // ****************************************************************
3186 : // member functions definition specific to each node in the grammar
3187 : // these are the SgOptionsStorageClass parts !!!!
3188 : // ROSETTA generated code. Do not change by hand.
3189 : // ****************************************************************
3190 :
3191 :
3192 : /* #line 3193 "../../../src/frontend/SageIII//StorageClasses.C" */
3193 :
3194 :
3195 : void
3196 0 : SgOptionsStorageClass::pickOutIRNodeData ( SgOptions* pointer )
3197 : {
3198 0 : SgOptions* source = (SgOptions*) (pointer);
3199 : #if FILE_IO_EXTRA_CHECK
3200 0 : assert ( source != NULL ) ;
3201 0 : assert ( source->p_freepointer != NULL) ;
3202 : #endif
3203 0 : storageOf_debug_level = source->p_debug_level ;
3204 0 : storageOf_logging_level = source->p_logging_level ;
3205 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3206 0 : storageOf_isModified = source->p_isModified ;
3207 0 : storageOf_containsTransformation = source->p_containsTransformation ;
3208 0 : }
3209 :
3210 :
3211 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3212 :
3213 :
3214 : // ********************************************************
3215 :
3216 : /* #line 3217 "../../../src/frontend/SageIII//StorageClasses.C" */
3217 :
3218 :
3219 :
3220 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3221 :
3222 : // ****************************************************************
3223 : // member functions definition specific to each node in the grammar
3224 : // these are the SgUnparse_InfoStorageClass parts !!!!
3225 : // ROSETTA generated code. Do not change by hand.
3226 : // ****************************************************************
3227 :
3228 :
3229 : /* #line 3230 "../../../src/frontend/SageIII//StorageClasses.C" */
3230 :
3231 :
3232 : void
3233 0 : SgUnparse_InfoStorageClass::pickOutIRNodeData ( SgUnparse_Info* pointer )
3234 : {
3235 0 : SgUnparse_Info* source = (SgUnparse_Info*) (pointer);
3236 : #if FILE_IO_EXTRA_CHECK
3237 0 : assert ( source != NULL ) ;
3238 0 : assert ( source->p_freepointer != NULL) ;
3239 : #endif
3240 0 : storageOf_unparse_attribute.storeDataInEasyStorageClass(source->p_unparse_attribute);
3241 0 : storageOf_access_attribute = source->p_access_attribute ;
3242 0 : storageOf_nested_expression = source->p_nested_expression ;
3243 0 : storageOf_operator_name.storeDataInEasyStorageClass(source->p_operator_name);
3244 0 : storageOf_var_name.pickOutIRNodeData( &(source->p_var_name) );
3245 0 : storageOf_declstatement_ptr = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declstatement_ptr );
3246 0 : storageOf_declaration_of_context = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration_of_context );
3247 0 : storageOf_current_context = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_current_context );
3248 0 : storageOf_array_index_list.pickOutIRNodeData( &(source->p_array_index_list) );
3249 0 : storageOf_current_namespace = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_current_namespace );
3250 0 : storageOf_outputCodeGenerationFormatDelimiters = source->p_outputCodeGenerationFormatDelimiters ;
3251 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
3252 0 : unsigned int tempListCountqualifiedNameList = 0;
3253 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
3254 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
3255 : {
3256 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
3257 0 : tempListCountqualifiedNameList++;
3258 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
3259 : }
3260 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
3261 0 : tempListCountqualifiedNameList = 0;
3262 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
3263 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
3264 : {
3265 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
3266 0 : tempListCountqualifiedNameList++;
3267 : }
3268 0 : delete [] tempListqualifiedNameList;
3269 0 : storageOf_current_function_call = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_current_function_call );
3270 0 : storageOf_current_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_current_scope );
3271 0 : storageOf_reference_node_for_qualification = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_reference_node_for_qualification );
3272 0 : storageOf_name_qualification_length = source->p_name_qualification_length ;
3273 0 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
3274 0 : storageOf_global_qualification_required = source->p_global_qualification_required ;
3275 0 : storageOf_nestingLevel = source->p_nestingLevel ;
3276 0 : storageOf_language = source->p_language ;
3277 0 : storageOf_current_source_file = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_current_source_file );
3278 0 : storageOf_use_generated_name_for_template_arguments = source->p_use_generated_name_for_template_arguments ;
3279 0 : storageOf_user_defined_literal = source->p_user_defined_literal ;
3280 0 : storageOf_declstatement_associated_with_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declstatement_associated_with_type );
3281 0 : storageOf_context_for_added_parentheses = source->p_context_for_added_parentheses ;
3282 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3283 0 : storageOf_isModified = source->p_isModified ;
3284 0 : storageOf_containsTransformation = source->p_containsTransformation ;
3285 0 : }
3286 :
3287 : void
3288 0 : SgUnparse_InfoStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
3289 : {
3290 0 : EasyStorage < SgBitVector > :: arrangeMemoryPoolInOneBlock() ;
3291 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
3292 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
3293 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
3294 0 : }
3295 :
3296 : void
3297 2 : SgUnparse_InfoStorageClass::deleteStaticDataOfEasyStorageClasses ( )
3298 : {
3299 2 : EasyStorage < SgBitVector > :: deleteMemoryPool() ;
3300 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
3301 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
3302 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
3303 2 : }
3304 :
3305 : void
3306 0 : SgUnparse_InfoStorageClass::writeEasyStorageDataToFile (std::ostream& out)
3307 : {
3308 0 : EasyStorage < SgBitVector > :: writeToFile(out) ;
3309 0 : EasyStorage < std::string > :: writeToFile(out) ;
3310 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
3311 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
3312 0 : }
3313 :
3314 :
3315 : void
3316 0 : SgUnparse_InfoStorageClass::readEasyStorageDataFromFile (std::istream& in)
3317 : {
3318 0 : EasyStorage < SgBitVector > :: readFromFile(in) ;
3319 0 : EasyStorage < std::string > :: readFromFile(in) ;
3320 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
3321 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
3322 0 : }
3323 :
3324 :
3325 :
3326 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3327 :
3328 :
3329 : // ********************************************************
3330 :
3331 : /* #line 3332 "../../../src/frontend/SageIII//StorageClasses.C" */
3332 :
3333 :
3334 :
3335 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3336 :
3337 : // ****************************************************************
3338 : // member functions definition specific to each node in the grammar
3339 : // these are the SgBaseClassStorageClass parts !!!!
3340 : // ROSETTA generated code. Do not change by hand.
3341 : // ****************************************************************
3342 :
3343 :
3344 : /* #line 3345 "../../../src/frontend/SageIII//StorageClasses.C" */
3345 :
3346 :
3347 : void
3348 420 : SgBaseClassStorageClass::pickOutIRNodeData ( SgBaseClass* pointer )
3349 : {
3350 420 : SgBaseClass* source = (SgBaseClass*) (pointer);
3351 : #if FILE_IO_EXTRA_CHECK
3352 420 : assert ( source != NULL ) ;
3353 420 : assert ( source->p_freepointer != NULL) ;
3354 : #endif
3355 420 : storageOf_base_class = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_class );
3356 420 : storageOf_isDirectBaseClass = source->p_isDirectBaseClass ;
3357 420 : storageOf_baseClassModifier = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_baseClassModifier );
3358 420 : storageOf_name_qualification_length = source->p_name_qualification_length ;
3359 420 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
3360 420 : storageOf_global_qualification_required = source->p_global_qualification_required ;
3361 420 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3362 420 : storageOf_isModified = source->p_isModified ;
3363 420 : storageOf_containsTransformation = source->p_containsTransformation ;
3364 420 : }
3365 :
3366 :
3367 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3368 :
3369 :
3370 : // ********************************************************
3371 :
3372 : /* #line 3373 "../../../src/frontend/SageIII//StorageClasses.C" */
3373 :
3374 :
3375 :
3376 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3377 :
3378 : // ****************************************************************
3379 : // member functions definition specific to each node in the grammar
3380 : // these are the SgExpBaseClassStorageClass parts !!!!
3381 : // ROSETTA generated code. Do not change by hand.
3382 : // ****************************************************************
3383 :
3384 :
3385 : /* #line 3386 "../../../src/frontend/SageIII//StorageClasses.C" */
3386 :
3387 :
3388 : void
3389 0 : SgExpBaseClassStorageClass::pickOutIRNodeData ( SgExpBaseClass* pointer )
3390 : {
3391 0 : SgExpBaseClass* source = (SgExpBaseClass*) (pointer);
3392 : #if FILE_IO_EXTRA_CHECK
3393 0 : assert ( source != NULL ) ;
3394 0 : assert ( source->p_freepointer != NULL) ;
3395 : #endif
3396 0 : storageOf_base_class_exp = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_class_exp );
3397 0 : storageOf_base_class = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_class );
3398 0 : storageOf_isDirectBaseClass = source->p_isDirectBaseClass ;
3399 0 : storageOf_baseClassModifier = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_baseClassModifier );
3400 0 : storageOf_name_qualification_length = source->p_name_qualification_length ;
3401 0 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
3402 0 : storageOf_global_qualification_required = source->p_global_qualification_required ;
3403 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3404 0 : storageOf_isModified = source->p_isModified ;
3405 0 : storageOf_containsTransformation = source->p_containsTransformation ;
3406 0 : }
3407 :
3408 :
3409 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3410 :
3411 :
3412 : // ********************************************************
3413 :
3414 : /* #line 3415 "../../../src/frontend/SageIII//StorageClasses.C" */
3415 :
3416 :
3417 :
3418 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3419 :
3420 : // ****************************************************************
3421 : // member functions definition specific to each node in the grammar
3422 : // these are the SgNonrealBaseClassStorageClass parts !!!!
3423 : // ROSETTA generated code. Do not change by hand.
3424 : // ****************************************************************
3425 :
3426 :
3427 : /* #line 3428 "../../../src/frontend/SageIII//StorageClasses.C" */
3428 :
3429 :
3430 : void
3431 200 : SgNonrealBaseClassStorageClass::pickOutIRNodeData ( SgNonrealBaseClass* pointer )
3432 : {
3433 200 : SgNonrealBaseClass* source = (SgNonrealBaseClass*) (pointer);
3434 : #if FILE_IO_EXTRA_CHECK
3435 200 : assert ( source != NULL ) ;
3436 200 : assert ( source->p_freepointer != NULL) ;
3437 : #endif
3438 200 : storageOf_base_class_nonreal = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_class_nonreal );
3439 200 : storageOf_base_class = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_class );
3440 200 : storageOf_isDirectBaseClass = source->p_isDirectBaseClass ;
3441 200 : storageOf_baseClassModifier = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_baseClassModifier );
3442 200 : storageOf_name_qualification_length = source->p_name_qualification_length ;
3443 200 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
3444 200 : storageOf_global_qualification_required = source->p_global_qualification_required ;
3445 200 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3446 200 : storageOf_isModified = source->p_isModified ;
3447 200 : storageOf_containsTransformation = source->p_containsTransformation ;
3448 200 : }
3449 :
3450 :
3451 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3452 :
3453 :
3454 : // ********************************************************
3455 :
3456 : /* #line 3457 "../../../src/frontend/SageIII//StorageClasses.C" */
3457 :
3458 :
3459 :
3460 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3461 :
3462 : // ****************************************************************
3463 : // member functions definition specific to each node in the grammar
3464 : // these are the SgTypedefSeqStorageClass parts !!!!
3465 : // ROSETTA generated code. Do not change by hand.
3466 : // ****************************************************************
3467 :
3468 :
3469 : /* #line 3470 "../../../src/frontend/SageIII//StorageClasses.C" */
3470 :
3471 :
3472 : void
3473 16447 : SgTypedefSeqStorageClass::pickOutIRNodeData ( SgTypedefSeq* pointer )
3474 : {
3475 16447 : SgTypedefSeq* source = (SgTypedefSeq*) (pointer);
3476 : #if FILE_IO_EXTRA_CHECK
3477 16447 : assert ( source != NULL ) ;
3478 16447 : assert ( source->p_freepointer != NULL) ;
3479 : #endif
3480 16447 : SgTypePtrList::iterator i_typedefs = source->p_typedefs.begin() ;
3481 16447 : unsigned int tempListCounttypedefs = 0;
3482 16447 : SgTypePtrList::value_type * tempListtypedefs = new SgTypePtrList::value_type[ source->p_typedefs.size() ];
3483 18295 : for ( ; i_typedefs != source->p_typedefs.end(); ++i_typedefs )
3484 : {
3485 1848 : tempListtypedefs[tempListCounttypedefs] = *i_typedefs;
3486 1848 : tempListCounttypedefs++;
3487 1848 : (*i_typedefs) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_typedefs ) );
3488 : }
3489 16447 : storageOf_typedefs.storeDataInEasyStorageClass(source->p_typedefs);
3490 16447 : tempListCounttypedefs = 0;
3491 16447 : i_typedefs = source->p_typedefs.begin() ;
3492 18295 : for ( ; i_typedefs != source->p_typedefs.end(); ++i_typedefs )
3493 : {
3494 1848 : *i_typedefs = tempListtypedefs[tempListCounttypedefs] ;
3495 1848 : tempListCounttypedefs++;
3496 : }
3497 16447 : delete [] tempListtypedefs;
3498 16447 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3499 16447 : storageOf_isModified = source->p_isModified ;
3500 16447 : storageOf_containsTransformation = source->p_containsTransformation ;
3501 16447 : }
3502 :
3503 : void
3504 0 : SgTypedefSeqStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
3505 : {
3506 0 : EasyStorage < SgTypePtrList > :: arrangeMemoryPoolInOneBlock() ;
3507 0 : }
3508 :
3509 : void
3510 2 : SgTypedefSeqStorageClass::deleteStaticDataOfEasyStorageClasses ( )
3511 : {
3512 2 : EasyStorage < SgTypePtrList > :: deleteMemoryPool() ;
3513 2 : }
3514 :
3515 : void
3516 3 : SgTypedefSeqStorageClass::writeEasyStorageDataToFile (std::ostream& out)
3517 : {
3518 3 : EasyStorage < SgTypePtrList > :: writeToFile(out) ;
3519 3 : }
3520 :
3521 :
3522 : void
3523 2 : SgTypedefSeqStorageClass::readEasyStorageDataFromFile (std::istream& in)
3524 : {
3525 2 : EasyStorage < SgTypePtrList > :: readFromFile(in) ;
3526 2 : }
3527 :
3528 :
3529 :
3530 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3531 :
3532 :
3533 : // ********************************************************
3534 :
3535 : /* #line 3536 "../../../src/frontend/SageIII//StorageClasses.C" */
3536 :
3537 :
3538 :
3539 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3540 :
3541 : // ****************************************************************
3542 : // member functions definition specific to each node in the grammar
3543 : // these are the SgTemplateParameterStorageClass parts !!!!
3544 : // ROSETTA generated code. Do not change by hand.
3545 : // ****************************************************************
3546 :
3547 :
3548 : /* #line 3549 "../../../src/frontend/SageIII//StorageClasses.C" */
3549 :
3550 :
3551 : void
3552 2167 : SgTemplateParameterStorageClass::pickOutIRNodeData ( SgTemplateParameter* pointer )
3553 : {
3554 2167 : SgTemplateParameter* source = (SgTemplateParameter*) (pointer);
3555 : #if FILE_IO_EXTRA_CHECK
3556 2167 : assert ( source != NULL ) ;
3557 2167 : assert ( source->p_freepointer != NULL) ;
3558 : #endif
3559 2167 : storageOf_parameterType = source->p_parameterType ;
3560 2167 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
3561 2167 : storageOf_defaultTypeParameter = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_defaultTypeParameter );
3562 2167 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
3563 2167 : storageOf_defaultExpressionParameter = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_defaultExpressionParameter );
3564 2167 : storageOf_templateDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_templateDeclaration );
3565 2167 : storageOf_defaultTemplateDeclarationParameter = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_defaultTemplateDeclarationParameter );
3566 2167 : storageOf_initializedName = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_initializedName );
3567 2167 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3568 2167 : storageOf_isModified = source->p_isModified ;
3569 2167 : storageOf_containsTransformation = source->p_containsTransformation ;
3570 2167 : }
3571 :
3572 :
3573 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3574 :
3575 :
3576 : // ********************************************************
3577 :
3578 : /* #line 3579 "../../../src/frontend/SageIII//StorageClasses.C" */
3579 :
3580 :
3581 :
3582 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3583 :
3584 : // ****************************************************************
3585 : // member functions definition specific to each node in the grammar
3586 : // these are the SgTemplateArgumentStorageClass parts !!!!
3587 : // ROSETTA generated code. Do not change by hand.
3588 : // ****************************************************************
3589 :
3590 :
3591 : /* #line 3592 "../../../src/frontend/SageIII//StorageClasses.C" */
3592 :
3593 :
3594 : void
3595 6725 : SgTemplateArgumentStorageClass::pickOutIRNodeData ( SgTemplateArgument* pointer )
3596 : {
3597 6725 : SgTemplateArgument* source = (SgTemplateArgument*) (pointer);
3598 : #if FILE_IO_EXTRA_CHECK
3599 6725 : assert ( source != NULL ) ;
3600 6725 : assert ( source->p_freepointer != NULL) ;
3601 : #endif
3602 6725 : storageOf_argumentType = source->p_argumentType ;
3603 6725 : storageOf_isArrayBoundUnknownType = source->p_isArrayBoundUnknownType ;
3604 6725 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
3605 6725 : storageOf_unparsable_type_alias = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unparsable_type_alias );
3606 6725 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
3607 6725 : storageOf_templateDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_templateDeclaration );
3608 6725 : storageOf_initializedName = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_initializedName );
3609 6725 : storageOf_explicitlySpecified = source->p_explicitlySpecified ;
3610 6725 : storageOf_name_qualification_length = source->p_name_qualification_length ;
3611 6725 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
3612 6725 : storageOf_global_qualification_required = source->p_global_qualification_required ;
3613 6725 : storageOf_requiresGlobalNameQualificationOnType = source->p_requiresGlobalNameQualificationOnType ;
3614 6725 : storageOf_name_qualification_length_for_type = source->p_name_qualification_length_for_type ;
3615 6725 : storageOf_type_elaboration_required_for_type = source->p_type_elaboration_required_for_type ;
3616 6725 : storageOf_global_qualification_required_for_type = source->p_global_qualification_required_for_type ;
3617 6725 : storageOf_previous_instance = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_previous_instance );
3618 6725 : storageOf_next_instance = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_next_instance );
3619 6725 : storageOf_is_pack_element = source->p_is_pack_element ;
3620 6725 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3621 6725 : storageOf_isModified = source->p_isModified ;
3622 6725 : storageOf_containsTransformation = source->p_containsTransformation ;
3623 6725 : }
3624 :
3625 :
3626 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3627 :
3628 :
3629 : // ********************************************************
3630 :
3631 : /* #line 3632 "../../../src/frontend/SageIII//StorageClasses.C" */
3632 :
3633 :
3634 :
3635 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3636 :
3637 : // ****************************************************************
3638 : // member functions definition specific to each node in the grammar
3639 : // these are the SgDirectoryStorageClass parts !!!!
3640 : // ROSETTA generated code. Do not change by hand.
3641 : // ****************************************************************
3642 :
3643 :
3644 : /* #line 3645 "../../../src/frontend/SageIII//StorageClasses.C" */
3645 :
3646 :
3647 : void
3648 0 : SgDirectoryStorageClass::pickOutIRNodeData ( SgDirectory* pointer )
3649 : {
3650 0 : SgDirectory* source = (SgDirectory*) (pointer);
3651 : #if FILE_IO_EXTRA_CHECK
3652 0 : assert ( source != NULL ) ;
3653 0 : assert ( source->p_freepointer != NULL) ;
3654 : #endif
3655 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
3656 0 : storageOf_fileList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_fileList );
3657 0 : storageOf_directoryList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_directoryList );
3658 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
3659 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3660 0 : storageOf_isModified = source->p_isModified ;
3661 0 : storageOf_containsTransformation = source->p_containsTransformation ;
3662 0 : }
3663 :
3664 : void
3665 0 : SgDirectoryStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
3666 : {
3667 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
3668 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
3669 0 : }
3670 :
3671 : void
3672 2 : SgDirectoryStorageClass::deleteStaticDataOfEasyStorageClasses ( )
3673 : {
3674 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
3675 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
3676 2 : }
3677 :
3678 : void
3679 0 : SgDirectoryStorageClass::writeEasyStorageDataToFile (std::ostream& out)
3680 : {
3681 0 : EasyStorage < std::string > :: writeToFile(out) ;
3682 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
3683 0 : }
3684 :
3685 :
3686 : void
3687 0 : SgDirectoryStorageClass::readEasyStorageDataFromFile (std::istream& in)
3688 : {
3689 0 : EasyStorage < std::string > :: readFromFile(in) ;
3690 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
3691 0 : }
3692 :
3693 :
3694 :
3695 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3696 :
3697 :
3698 : // ********************************************************
3699 :
3700 : /* #line 3701 "../../../src/frontend/SageIII//StorageClasses.C" */
3701 :
3702 :
3703 :
3704 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3705 :
3706 : // ****************************************************************
3707 : // member functions definition specific to each node in the grammar
3708 : // these are the SgFileListStorageClass parts !!!!
3709 : // ROSETTA generated code. Do not change by hand.
3710 : // ****************************************************************
3711 :
3712 :
3713 : /* #line 3714 "../../../src/frontend/SageIII//StorageClasses.C" */
3714 :
3715 :
3716 : void
3717 3 : SgFileListStorageClass::pickOutIRNodeData ( SgFileList* pointer )
3718 : {
3719 3 : SgFileList* source = (SgFileList*) (pointer);
3720 : #if FILE_IO_EXTRA_CHECK
3721 3 : assert ( source != NULL ) ;
3722 3 : assert ( source->p_freepointer != NULL) ;
3723 : #endif
3724 3 : SgFilePtrList::iterator i_listOfFiles = source->p_listOfFiles.begin() ;
3725 3 : unsigned int tempListCountlistOfFiles = 0;
3726 3 : SgFilePtrList::value_type * tempListlistOfFiles = new SgFilePtrList::value_type[ source->p_listOfFiles.size() ];
3727 6 : for ( ; i_listOfFiles != source->p_listOfFiles.end(); ++i_listOfFiles )
3728 : {
3729 3 : tempListlistOfFiles[tempListCountlistOfFiles] = *i_listOfFiles;
3730 3 : tempListCountlistOfFiles++;
3731 3 : (*i_listOfFiles) = (SgFilePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_listOfFiles ) );
3732 : }
3733 3 : storageOf_listOfFiles.storeDataInEasyStorageClass(source->p_listOfFiles);
3734 3 : tempListCountlistOfFiles = 0;
3735 3 : i_listOfFiles = source->p_listOfFiles.begin() ;
3736 6 : for ( ; i_listOfFiles != source->p_listOfFiles.end(); ++i_listOfFiles )
3737 : {
3738 3 : *i_listOfFiles = tempListlistOfFiles[tempListCountlistOfFiles] ;
3739 3 : tempListCountlistOfFiles++;
3740 : }
3741 3 : delete [] tempListlistOfFiles;
3742 3 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
3743 3 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3744 3 : storageOf_isModified = source->p_isModified ;
3745 3 : storageOf_containsTransformation = source->p_containsTransformation ;
3746 3 : }
3747 :
3748 : void
3749 0 : SgFileListStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
3750 : {
3751 0 : EasyStorage < SgFilePtrList > :: arrangeMemoryPoolInOneBlock() ;
3752 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
3753 0 : }
3754 :
3755 : void
3756 2 : SgFileListStorageClass::deleteStaticDataOfEasyStorageClasses ( )
3757 : {
3758 2 : EasyStorage < SgFilePtrList > :: deleteMemoryPool() ;
3759 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
3760 2 : }
3761 :
3762 : void
3763 3 : SgFileListStorageClass::writeEasyStorageDataToFile (std::ostream& out)
3764 : {
3765 3 : EasyStorage < SgFilePtrList > :: writeToFile(out) ;
3766 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
3767 3 : }
3768 :
3769 :
3770 : void
3771 2 : SgFileListStorageClass::readEasyStorageDataFromFile (std::istream& in)
3772 : {
3773 2 : EasyStorage < SgFilePtrList > :: readFromFile(in) ;
3774 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
3775 2 : }
3776 :
3777 :
3778 :
3779 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3780 :
3781 :
3782 : // ********************************************************
3783 :
3784 : /* #line 3785 "../../../src/frontend/SageIII//StorageClasses.C" */
3785 :
3786 :
3787 :
3788 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3789 :
3790 : // ****************************************************************
3791 : // member functions definition specific to each node in the grammar
3792 : // these are the SgDirectoryListStorageClass parts !!!!
3793 : // ROSETTA generated code. Do not change by hand.
3794 : // ****************************************************************
3795 :
3796 :
3797 : /* #line 3798 "../../../src/frontend/SageIII//StorageClasses.C" */
3798 :
3799 :
3800 : void
3801 3 : SgDirectoryListStorageClass::pickOutIRNodeData ( SgDirectoryList* pointer )
3802 : {
3803 3 : SgDirectoryList* source = (SgDirectoryList*) (pointer);
3804 : #if FILE_IO_EXTRA_CHECK
3805 3 : assert ( source != NULL ) ;
3806 3 : assert ( source->p_freepointer != NULL) ;
3807 : #endif
3808 3 : SgDirectoryPtrList::iterator i_listOfDirectories = source->p_listOfDirectories.begin() ;
3809 3 : unsigned int tempListCountlistOfDirectories = 0;
3810 3 : SgDirectoryPtrList::value_type * tempListlistOfDirectories = new SgDirectoryPtrList::value_type[ source->p_listOfDirectories.size() ];
3811 3 : for ( ; i_listOfDirectories != source->p_listOfDirectories.end(); ++i_listOfDirectories )
3812 : {
3813 0 : tempListlistOfDirectories[tempListCountlistOfDirectories] = *i_listOfDirectories;
3814 0 : tempListCountlistOfDirectories++;
3815 0 : (*i_listOfDirectories) = (SgDirectoryPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_listOfDirectories ) );
3816 : }
3817 3 : storageOf_listOfDirectories.storeDataInEasyStorageClass(source->p_listOfDirectories);
3818 3 : tempListCountlistOfDirectories = 0;
3819 3 : i_listOfDirectories = source->p_listOfDirectories.begin() ;
3820 3 : for ( ; i_listOfDirectories != source->p_listOfDirectories.end(); ++i_listOfDirectories )
3821 : {
3822 0 : *i_listOfDirectories = tempListlistOfDirectories[tempListCountlistOfDirectories] ;
3823 0 : tempListCountlistOfDirectories++;
3824 : }
3825 3 : delete [] tempListlistOfDirectories;
3826 3 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3827 3 : storageOf_isModified = source->p_isModified ;
3828 3 : storageOf_containsTransformation = source->p_containsTransformation ;
3829 3 : }
3830 :
3831 : void
3832 0 : SgDirectoryListStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
3833 : {
3834 0 : EasyStorage < SgDirectoryPtrList > :: arrangeMemoryPoolInOneBlock() ;
3835 0 : }
3836 :
3837 : void
3838 2 : SgDirectoryListStorageClass::deleteStaticDataOfEasyStorageClasses ( )
3839 : {
3840 2 : EasyStorage < SgDirectoryPtrList > :: deleteMemoryPool() ;
3841 2 : }
3842 :
3843 : void
3844 3 : SgDirectoryListStorageClass::writeEasyStorageDataToFile (std::ostream& out)
3845 : {
3846 3 : EasyStorage < SgDirectoryPtrList > :: writeToFile(out) ;
3847 3 : }
3848 :
3849 :
3850 : void
3851 2 : SgDirectoryListStorageClass::readEasyStorageDataFromFile (std::istream& in)
3852 : {
3853 2 : EasyStorage < SgDirectoryPtrList > :: readFromFile(in) ;
3854 2 : }
3855 :
3856 :
3857 :
3858 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3859 :
3860 :
3861 : // ********************************************************
3862 :
3863 : /* #line 3864 "../../../src/frontend/SageIII//StorageClasses.C" */
3864 :
3865 :
3866 :
3867 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3868 :
3869 : // ****************************************************************
3870 : // member functions definition specific to each node in the grammar
3871 : // these are the SgFunctionParameterTypeListStorageClass parts !!!!
3872 : // ROSETTA generated code. Do not change by hand.
3873 : // ****************************************************************
3874 :
3875 :
3876 : /* #line 3877 "../../../src/frontend/SageIII//StorageClasses.C" */
3877 :
3878 :
3879 : void
3880 8411 : SgFunctionParameterTypeListStorageClass::pickOutIRNodeData ( SgFunctionParameterTypeList* pointer )
3881 : {
3882 8411 : SgFunctionParameterTypeList* source = (SgFunctionParameterTypeList*) (pointer);
3883 : #if FILE_IO_EXTRA_CHECK
3884 8411 : assert ( source != NULL ) ;
3885 8411 : assert ( source->p_freepointer != NULL) ;
3886 : #endif
3887 8411 : SgTypePtrList::iterator i_arguments = source->p_arguments.begin() ;
3888 8411 : unsigned int tempListCountarguments = 0;
3889 8411 : SgTypePtrList::value_type * tempListarguments = new SgTypePtrList::value_type[ source->p_arguments.size() ];
3890 23188 : for ( ; i_arguments != source->p_arguments.end(); ++i_arguments )
3891 : {
3892 14777 : tempListarguments[tempListCountarguments] = *i_arguments;
3893 14777 : tempListCountarguments++;
3894 14777 : (*i_arguments) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_arguments ) );
3895 : }
3896 8411 : storageOf_arguments.storeDataInEasyStorageClass(source->p_arguments);
3897 8411 : tempListCountarguments = 0;
3898 8411 : i_arguments = source->p_arguments.begin() ;
3899 23188 : for ( ; i_arguments != source->p_arguments.end(); ++i_arguments )
3900 : {
3901 14777 : *i_arguments = tempListarguments[tempListCountarguments] ;
3902 14777 : tempListCountarguments++;
3903 : }
3904 8411 : delete [] tempListarguments;
3905 8411 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3906 8411 : storageOf_isModified = source->p_isModified ;
3907 8411 : storageOf_containsTransformation = source->p_containsTransformation ;
3908 8411 : }
3909 :
3910 : void
3911 0 : SgFunctionParameterTypeListStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
3912 : {
3913 0 : EasyStorage < SgTypePtrList > :: arrangeMemoryPoolInOneBlock() ;
3914 0 : }
3915 :
3916 : void
3917 2 : SgFunctionParameterTypeListStorageClass::deleteStaticDataOfEasyStorageClasses ( )
3918 : {
3919 2 : EasyStorage < SgTypePtrList > :: deleteMemoryPool() ;
3920 2 : }
3921 :
3922 : void
3923 3 : SgFunctionParameterTypeListStorageClass::writeEasyStorageDataToFile (std::ostream& out)
3924 : {
3925 3 : EasyStorage < SgTypePtrList > :: writeToFile(out) ;
3926 3 : }
3927 :
3928 :
3929 : void
3930 2 : SgFunctionParameterTypeListStorageClass::readEasyStorageDataFromFile (std::istream& in)
3931 : {
3932 2 : EasyStorage < SgTypePtrList > :: readFromFile(in) ;
3933 2 : }
3934 :
3935 :
3936 :
3937 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3938 :
3939 :
3940 : // ********************************************************
3941 :
3942 : /* #line 3943 "../../../src/frontend/SageIII//StorageClasses.C" */
3943 :
3944 :
3945 :
3946 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3947 :
3948 : // ****************************************************************
3949 : // member functions definition specific to each node in the grammar
3950 : // these are the SgQualifiedNameStorageClass parts !!!!
3951 : // ROSETTA generated code. Do not change by hand.
3952 : // ****************************************************************
3953 :
3954 :
3955 : /* #line 3956 "../../../src/frontend/SageIII//StorageClasses.C" */
3956 :
3957 :
3958 : void
3959 0 : SgQualifiedNameStorageClass::pickOutIRNodeData ( SgQualifiedName* pointer )
3960 : {
3961 0 : SgQualifiedName* source = (SgQualifiedName*) (pointer);
3962 : #if FILE_IO_EXTRA_CHECK
3963 0 : assert ( source != NULL ) ;
3964 0 : assert ( source->p_freepointer != NULL) ;
3965 : #endif
3966 0 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
3967 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
3968 0 : storageOf_isModified = source->p_isModified ;
3969 0 : storageOf_containsTransformation = source->p_containsTransformation ;
3970 0 : }
3971 :
3972 :
3973 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3974 :
3975 :
3976 : // ********************************************************
3977 :
3978 : /* #line 3979 "../../../src/frontend/SageIII//StorageClasses.C" */
3979 :
3980 :
3981 :
3982 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
3983 :
3984 : // ****************************************************************
3985 : // member functions definition specific to each node in the grammar
3986 : // these are the SgTemplateArgumentListStorageClass parts !!!!
3987 : // ROSETTA generated code. Do not change by hand.
3988 : // ****************************************************************
3989 :
3990 :
3991 : /* #line 3992 "../../../src/frontend/SageIII//StorageClasses.C" */
3992 :
3993 :
3994 : void
3995 0 : SgTemplateArgumentListStorageClass::pickOutIRNodeData ( SgTemplateArgumentList* pointer )
3996 : {
3997 0 : SgTemplateArgumentList* source = (SgTemplateArgumentList*) (pointer);
3998 : #if FILE_IO_EXTRA_CHECK
3999 0 : assert ( source != NULL ) ;
4000 0 : assert ( source->p_freepointer != NULL) ;
4001 : #endif
4002 0 : SgTemplateArgumentPtrList::iterator i_args = source->p_args.begin() ;
4003 0 : unsigned int tempListCountargs = 0;
4004 0 : SgTemplateArgumentPtrList::value_type * tempListargs = new SgTemplateArgumentPtrList::value_type[ source->p_args.size() ];
4005 0 : for ( ; i_args != source->p_args.end(); ++i_args )
4006 : {
4007 0 : tempListargs[tempListCountargs] = *i_args;
4008 0 : tempListCountargs++;
4009 0 : (*i_args) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_args ) );
4010 : }
4011 0 : storageOf_args.storeDataInEasyStorageClass(source->p_args);
4012 0 : tempListCountargs = 0;
4013 0 : i_args = source->p_args.begin() ;
4014 0 : for ( ; i_args != source->p_args.end(); ++i_args )
4015 : {
4016 0 : *i_args = tempListargs[tempListCountargs] ;
4017 0 : tempListCountargs++;
4018 : }
4019 0 : delete [] tempListargs;
4020 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
4021 0 : storageOf_isModified = source->p_isModified ;
4022 0 : storageOf_containsTransformation = source->p_containsTransformation ;
4023 0 : }
4024 :
4025 : void
4026 0 : SgTemplateArgumentListStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
4027 : {
4028 0 : EasyStorage < SgTemplateArgumentPtrList > :: arrangeMemoryPoolInOneBlock() ;
4029 0 : }
4030 :
4031 : void
4032 2 : SgTemplateArgumentListStorageClass::deleteStaticDataOfEasyStorageClasses ( )
4033 : {
4034 2 : EasyStorage < SgTemplateArgumentPtrList > :: deleteMemoryPool() ;
4035 2 : }
4036 :
4037 : void
4038 0 : SgTemplateArgumentListStorageClass::writeEasyStorageDataToFile (std::ostream& out)
4039 : {
4040 0 : EasyStorage < SgTemplateArgumentPtrList > :: writeToFile(out) ;
4041 0 : }
4042 :
4043 :
4044 : void
4045 0 : SgTemplateArgumentListStorageClass::readEasyStorageDataFromFile (std::istream& in)
4046 : {
4047 0 : EasyStorage < SgTemplateArgumentPtrList > :: readFromFile(in) ;
4048 0 : }
4049 :
4050 :
4051 :
4052 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
4053 :
4054 :
4055 : // ********************************************************
4056 :
4057 : /* #line 4058 "../../../src/frontend/SageIII//StorageClasses.C" */
4058 :
4059 :
4060 :
4061 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
4062 :
4063 : // ****************************************************************
4064 : // member functions definition specific to each node in the grammar
4065 : // these are the SgTemplateParameterListStorageClass parts !!!!
4066 : // ROSETTA generated code. Do not change by hand.
4067 : // ****************************************************************
4068 :
4069 :
4070 : /* #line 4071 "../../../src/frontend/SageIII//StorageClasses.C" */
4071 :
4072 :
4073 : void
4074 0 : SgTemplateParameterListStorageClass::pickOutIRNodeData ( SgTemplateParameterList* pointer )
4075 : {
4076 0 : SgTemplateParameterList* source = (SgTemplateParameterList*) (pointer);
4077 : #if FILE_IO_EXTRA_CHECK
4078 0 : assert ( source != NULL ) ;
4079 0 : assert ( source->p_freepointer != NULL) ;
4080 : #endif
4081 0 : SgTemplateParameterPtrList::iterator i_args = source->p_args.begin() ;
4082 0 : unsigned int tempListCountargs = 0;
4083 0 : SgTemplateParameterPtrList::value_type * tempListargs = new SgTemplateParameterPtrList::value_type[ source->p_args.size() ];
4084 0 : for ( ; i_args != source->p_args.end(); ++i_args )
4085 : {
4086 0 : tempListargs[tempListCountargs] = *i_args;
4087 0 : tempListCountargs++;
4088 0 : (*i_args) = (SgTemplateParameterPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_args ) );
4089 : }
4090 0 : storageOf_args.storeDataInEasyStorageClass(source->p_args);
4091 0 : tempListCountargs = 0;
4092 0 : i_args = source->p_args.begin() ;
4093 0 : for ( ; i_args != source->p_args.end(); ++i_args )
4094 : {
4095 0 : *i_args = tempListargs[tempListCountargs] ;
4096 0 : tempListCountargs++;
4097 : }
4098 0 : delete [] tempListargs;
4099 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
4100 0 : storageOf_isModified = source->p_isModified ;
4101 0 : storageOf_containsTransformation = source->p_containsTransformation ;
4102 0 : }
4103 :
4104 : void
4105 0 : SgTemplateParameterListStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
4106 : {
4107 0 : EasyStorage < SgTemplateParameterPtrList > :: arrangeMemoryPoolInOneBlock() ;
4108 0 : }
4109 :
4110 : void
4111 2 : SgTemplateParameterListStorageClass::deleteStaticDataOfEasyStorageClasses ( )
4112 : {
4113 2 : EasyStorage < SgTemplateParameterPtrList > :: deleteMemoryPool() ;
4114 2 : }
4115 :
4116 : void
4117 0 : SgTemplateParameterListStorageClass::writeEasyStorageDataToFile (std::ostream& out)
4118 : {
4119 0 : EasyStorage < SgTemplateParameterPtrList > :: writeToFile(out) ;
4120 0 : }
4121 :
4122 :
4123 : void
4124 0 : SgTemplateParameterListStorageClass::readEasyStorageDataFromFile (std::istream& in)
4125 : {
4126 0 : EasyStorage < SgTemplateParameterPtrList > :: readFromFile(in) ;
4127 0 : }
4128 :
4129 :
4130 :
4131 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
4132 :
4133 :
4134 : // ********************************************************
4135 :
4136 : /* #line 4137 "../../../src/frontend/SageIII//StorageClasses.C" */
4137 :
4138 :
4139 :
4140 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
4141 :
4142 : // ****************************************************************
4143 : // member functions definition specific to each node in the grammar
4144 : // these are the SgGraphStorageClass parts !!!!
4145 : // ROSETTA generated code. Do not change by hand.
4146 : // ****************************************************************
4147 :
4148 :
4149 : /* #line 4150 "../../../src/frontend/SageIII//StorageClasses.C" */
4150 :
4151 :
4152 : void
4153 0 : SgGraphStorageClass::pickOutIRNodeData ( SgGraph* pointer )
4154 : {
4155 0 : SgGraph* source = (SgGraph*) (pointer);
4156 : #if FILE_IO_EXTRA_CHECK
4157 0 : assert ( source != NULL ) ;
4158 0 : assert ( source->p_freepointer != NULL) ;
4159 : #endif
4160 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
4161 0 : rose_graph_integer_node_hash_map::iterator integer_node_it;
4162 0 : unsigned int tempListCountnode_index_to_node_map = 0;
4163 0 : SgGraphNode** tempListnode_index_to_node_map = new SgGraphNode* [ source->p_node_index_to_node_map.size() ];
4164 0 : for (integer_node_it = source->p_node_index_to_node_map.begin(); integer_node_it != source->p_node_index_to_node_map.end(); ++integer_node_it)
4165 : {
4166 0 : tempListnode_index_to_node_map[tempListCountnode_index_to_node_map] = integer_node_it->second;
4167 0 : tempListCountnode_index_to_node_map++;
4168 0 : integer_node_it->second = (SgGraphNode*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_node_it->second) );
4169 : }
4170 0 : storageOf_node_index_to_node_map.storeDataInEasyStorageClass(source->p_node_index_to_node_map);
4171 0 : tempListCountnode_index_to_node_map = 0;
4172 0 : for (integer_node_it = source->p_node_index_to_node_map.begin(); integer_node_it != source->p_node_index_to_node_map.end(); ++integer_node_it)
4173 : {
4174 0 : integer_node_it->second = tempListnode_index_to_node_map [ tempListCountnode_index_to_node_map ];
4175 0 : tempListCountnode_index_to_node_map++;
4176 : }
4177 0 : delete [] tempListnode_index_to_node_map;
4178 0 : rose_graph_integer_edge_hash_map::iterator integer_edge_it;
4179 0 : unsigned int tempListCountedge_index_to_edge_map = 0;
4180 0 : SgGraphEdge** tempListedge_index_to_edge_map = new SgGraphEdge* [ source->p_edge_index_to_edge_map.size() ];
4181 0 : for (integer_edge_it = source->p_edge_index_to_edge_map.begin(); integer_edge_it != source->p_edge_index_to_edge_map.end(); ++integer_edge_it)
4182 : {
4183 0 : tempListedge_index_to_edge_map[tempListCountedge_index_to_edge_map] = integer_edge_it->second;
4184 0 : tempListCountedge_index_to_edge_map++;
4185 0 : integer_edge_it->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it->second) );
4186 : }
4187 0 : storageOf_edge_index_to_edge_map.storeDataInEasyStorageClass(source->p_edge_index_to_edge_map);
4188 0 : tempListCountedge_index_to_edge_map = 0;
4189 0 : for (integer_edge_it = source->p_edge_index_to_edge_map.begin(); integer_edge_it != source->p_edge_index_to_edge_map.end(); ++integer_edge_it)
4190 : {
4191 0 : integer_edge_it->second = tempListedge_index_to_edge_map [ tempListCountedge_index_to_edge_map ];
4192 0 : tempListCountedge_index_to_edge_map++;
4193 : }
4194 0 : delete [] tempListedge_index_to_edge_map;
4195 0 : rose_graph_integerpair_edge_hash_multimap::iterator integerpair_edge_it;
4196 0 : unsigned int tempListCountnode_index_pair_to_edge_multimap = 0;
4197 0 : SgGraphEdge** tempListnode_index_pair_to_edge_multimap = new SgGraphEdge* [ source->p_node_index_pair_to_edge_multimap.size() ];
4198 0 : for (integerpair_edge_it = source->p_node_index_pair_to_edge_multimap.begin(); integerpair_edge_it != source->p_node_index_pair_to_edge_multimap.end(); ++integerpair_edge_it)
4199 : {
4200 0 : tempListnode_index_pair_to_edge_multimap[tempListCountnode_index_pair_to_edge_multimap] = integerpair_edge_it->second;
4201 0 : tempListCountnode_index_pair_to_edge_multimap++;
4202 0 : integerpair_edge_it->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integerpair_edge_it->second) );
4203 : }
4204 0 : storageOf_node_index_pair_to_edge_multimap.storeDataInEasyStorageClass(source->p_node_index_pair_to_edge_multimap);
4205 0 : tempListCountnode_index_pair_to_edge_multimap = 0;
4206 0 : for (integerpair_edge_it = source->p_node_index_pair_to_edge_multimap.begin(); integerpair_edge_it != source->p_node_index_pair_to_edge_multimap.end(); ++integerpair_edge_it)
4207 : {
4208 0 : integerpair_edge_it->second = tempListnode_index_pair_to_edge_multimap [ tempListCountnode_index_pair_to_edge_multimap ];
4209 0 : tempListCountnode_index_pair_to_edge_multimap++;
4210 : }
4211 0 : delete [] tempListnode_index_pair_to_edge_multimap;
4212 0 : {
4213 0 : rose_graph_string_integer_hash_multimap::iterator string_integer_it;
4214 0 : unsigned int tempListCountstring_to_node_index_multimap = 0;
4215 0 : int* tempListstring_to_node_index_multimap = new int [ source->p_string_to_node_index_multimap.size() ];
4216 0 : for (string_integer_it = source->p_string_to_node_index_multimap.begin(); string_integer_it != source->p_string_to_node_index_multimap.end(); ++string_integer_it)
4217 : {
4218 0 : tempListstring_to_node_index_multimap[tempListCountstring_to_node_index_multimap] = string_integer_it->second;
4219 0 : tempListCountstring_to_node_index_multimap++;
4220 0 : string_integer_it->second = 0; printf ("Unimplemented support for rose_graph_string_integer_hash_multimap: Fixme! \n"); ROSE_ASSERT(false);
4221 : }
4222 0 : storageOf_string_to_node_index_multimap.storeDataInEasyStorageClass(source->p_string_to_node_index_multimap);
4223 0 : tempListCountstring_to_node_index_multimap = 0;
4224 0 : for (string_integer_it = source->p_string_to_node_index_multimap.begin(); string_integer_it != source->p_string_to_node_index_multimap.end(); ++string_integer_it)
4225 : {
4226 0 : string_integer_it->second = tempListstring_to_node_index_multimap [ tempListCountstring_to_node_index_multimap ];
4227 0 : tempListCountstring_to_node_index_multimap++;
4228 : }
4229 0 : delete [] tempListstring_to_node_index_multimap;
4230 : }
4231 0 : {
4232 0 : rose_graph_string_integer_hash_multimap::iterator string_integer_it;
4233 0 : unsigned int tempListCountstring_to_edge_index_multimap = 0;
4234 0 : int* tempListstring_to_edge_index_multimap = new int [ source->p_string_to_edge_index_multimap.size() ];
4235 0 : for (string_integer_it = source->p_string_to_edge_index_multimap.begin(); string_integer_it != source->p_string_to_edge_index_multimap.end(); ++string_integer_it)
4236 : {
4237 0 : tempListstring_to_edge_index_multimap[tempListCountstring_to_edge_index_multimap] = string_integer_it->second;
4238 0 : tempListCountstring_to_edge_index_multimap++;
4239 0 : string_integer_it->second = 0; printf ("Unimplemented support for rose_graph_string_integer_hash_multimap: Fixme! \n"); ROSE_ASSERT(false);
4240 : }
4241 0 : storageOf_string_to_edge_index_multimap.storeDataInEasyStorageClass(source->p_string_to_edge_index_multimap);
4242 0 : tempListCountstring_to_edge_index_multimap = 0;
4243 0 : for (string_integer_it = source->p_string_to_edge_index_multimap.begin(); string_integer_it != source->p_string_to_edge_index_multimap.end(); ++string_integer_it)
4244 : {
4245 0 : string_integer_it->second = tempListstring_to_edge_index_multimap [ tempListCountstring_to_edge_index_multimap ];
4246 0 : tempListCountstring_to_edge_index_multimap++;
4247 : }
4248 0 : delete [] tempListstring_to_edge_index_multimap;
4249 : }
4250 0 : {
4251 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
4252 0 : unsigned int tempListCountnode_index_to_edge_multimap = 0;
4253 0 : SgGraphEdge** tempListnode_index_to_edge_multimap = new SgGraphEdge* [ source->p_node_index_to_edge_multimap.size() ];
4254 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap.end(); ++integer_edge_it2)
4255 : {
4256 0 : tempListnode_index_to_edge_multimap[tempListCountnode_index_to_edge_multimap] = integer_edge_it2->second;
4257 0 : tempListCountnode_index_to_edge_multimap++;
4258 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
4259 : }
4260 0 : storageOf_node_index_to_edge_multimap.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap);
4261 0 : tempListCountnode_index_to_edge_multimap = 0;
4262 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap.end(); ++integer_edge_it2)
4263 : {
4264 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap [ tempListCountnode_index_to_edge_multimap ];
4265 0 : tempListCountnode_index_to_edge_multimap++;
4266 : }
4267 0 : delete [] tempListnode_index_to_edge_multimap;
4268 : }
4269 0 : storageOf_index = source->p_index ;
4270 0 : storageOf_boost_edges.storeDataInEasyStorageClass(source->p_boost_edges);
4271 0 : storageOf_boost_edge_weights.storeDataInEasyStorageClass(source->p_boost_edge_weights);
4272 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
4273 0 : storageOf_properties.storeDataInEasyStorageClass(source->p_properties);
4274 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
4275 0 : storageOf_isModified = source->p_isModified ;
4276 0 : storageOf_containsTransformation = source->p_containsTransformation ;
4277 0 : }
4278 :
4279 : void
4280 0 : SgGraphStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
4281 : {
4282 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
4283 0 : EasyStorage < rose_graph_integer_node_hash_map > :: arrangeMemoryPoolInOneBlock() ;
4284 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: arrangeMemoryPoolInOneBlock() ;
4285 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
4286 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
4287 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
4288 0 : EasyStorage < SgBoostEdgeList > :: arrangeMemoryPoolInOneBlock() ;
4289 0 : EasyStorage < SgBoostEdgeWeightList > :: arrangeMemoryPoolInOneBlock() ;
4290 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
4291 0 : EasyStorage < std::map<int, std::string> > :: arrangeMemoryPoolInOneBlock() ;
4292 0 : }
4293 :
4294 : void
4295 2 : SgGraphStorageClass::deleteStaticDataOfEasyStorageClasses ( )
4296 : {
4297 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
4298 2 : EasyStorage < rose_graph_integer_node_hash_map > :: deleteMemoryPool() ;
4299 2 : EasyStorage < rose_graph_integer_edge_hash_map > :: deleteMemoryPool() ;
4300 2 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: deleteMemoryPool() ;
4301 2 : EasyStorage < rose_graph_string_integer_hash_multimap > :: deleteMemoryPool() ;
4302 2 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: deleteMemoryPool() ;
4303 2 : EasyStorage < SgBoostEdgeList > :: deleteMemoryPool() ;
4304 2 : EasyStorage < SgBoostEdgeWeightList > :: deleteMemoryPool() ;
4305 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
4306 2 : EasyStorage < std::map<int, std::string> > :: deleteMemoryPool() ;
4307 2 : }
4308 :
4309 : void
4310 0 : SgGraphStorageClass::writeEasyStorageDataToFile (std::ostream& out)
4311 : {
4312 0 : EasyStorage < std::string > :: writeToFile(out) ;
4313 0 : EasyStorage < rose_graph_integer_node_hash_map > :: writeToFile(out) ;
4314 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: writeToFile(out) ;
4315 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: writeToFile(out) ;
4316 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: writeToFile(out) ;
4317 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: writeToFile(out) ;
4318 0 : EasyStorage < SgBoostEdgeList > :: writeToFile(out) ;
4319 0 : EasyStorage < SgBoostEdgeWeightList > :: writeToFile(out) ;
4320 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
4321 0 : EasyStorage < std::map<int, std::string> > :: writeToFile(out) ;
4322 0 : }
4323 :
4324 :
4325 : void
4326 0 : SgGraphStorageClass::readEasyStorageDataFromFile (std::istream& in)
4327 : {
4328 0 : EasyStorage < std::string > :: readFromFile(in) ;
4329 0 : EasyStorage < rose_graph_integer_node_hash_map > :: readFromFile(in) ;
4330 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: readFromFile(in) ;
4331 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: readFromFile(in) ;
4332 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: readFromFile(in) ;
4333 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: readFromFile(in) ;
4334 0 : EasyStorage < SgBoostEdgeList > :: readFromFile(in) ;
4335 0 : EasyStorage < SgBoostEdgeWeightList > :: readFromFile(in) ;
4336 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
4337 0 : EasyStorage < std::map<int, std::string> > :: readFromFile(in) ;
4338 0 : }
4339 :
4340 :
4341 :
4342 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
4343 :
4344 :
4345 : // ********************************************************
4346 :
4347 : /* #line 4348 "../../../src/frontend/SageIII//StorageClasses.C" */
4348 :
4349 :
4350 :
4351 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
4352 :
4353 : // ****************************************************************
4354 : // member functions definition specific to each node in the grammar
4355 : // these are the SgIncidenceDirectedGraphStorageClass parts !!!!
4356 : // ROSETTA generated code. Do not change by hand.
4357 : // ****************************************************************
4358 :
4359 :
4360 : /* #line 4361 "../../../src/frontend/SageIII//StorageClasses.C" */
4361 :
4362 :
4363 : void
4364 0 : SgIncidenceDirectedGraphStorageClass::pickOutIRNodeData ( SgIncidenceDirectedGraph* pointer )
4365 : {
4366 0 : SgIncidenceDirectedGraph* source = (SgIncidenceDirectedGraph*) (pointer);
4367 : #if FILE_IO_EXTRA_CHECK
4368 0 : assert ( source != NULL ) ;
4369 0 : assert ( source->p_freepointer != NULL) ;
4370 : #endif
4371 0 : {
4372 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
4373 0 : unsigned int tempListCountnode_index_to_edge_multimap_edgesOut = 0;
4374 0 : SgGraphEdge** tempListnode_index_to_edge_multimap_edgesOut = new SgGraphEdge* [ source->p_node_index_to_edge_multimap_edgesOut.size() ];
4375 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesOut.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesOut.end(); ++integer_edge_it2)
4376 : {
4377 0 : tempListnode_index_to_edge_multimap_edgesOut[tempListCountnode_index_to_edge_multimap_edgesOut] = integer_edge_it2->second;
4378 0 : tempListCountnode_index_to_edge_multimap_edgesOut++;
4379 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
4380 : }
4381 0 : storageOf_node_index_to_edge_multimap_edgesOut.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap_edgesOut);
4382 0 : tempListCountnode_index_to_edge_multimap_edgesOut = 0;
4383 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesOut.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesOut.end(); ++integer_edge_it2)
4384 : {
4385 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap_edgesOut [ tempListCountnode_index_to_edge_multimap_edgesOut ];
4386 0 : tempListCountnode_index_to_edge_multimap_edgesOut++;
4387 : }
4388 0 : delete [] tempListnode_index_to_edge_multimap_edgesOut;
4389 : }
4390 0 : {
4391 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
4392 0 : unsigned int tempListCountnode_index_to_edge_multimap_edgesIn = 0;
4393 0 : SgGraphEdge** tempListnode_index_to_edge_multimap_edgesIn = new SgGraphEdge* [ source->p_node_index_to_edge_multimap_edgesIn.size() ];
4394 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesIn.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesIn.end(); ++integer_edge_it2)
4395 : {
4396 0 : tempListnode_index_to_edge_multimap_edgesIn[tempListCountnode_index_to_edge_multimap_edgesIn] = integer_edge_it2->second;
4397 0 : tempListCountnode_index_to_edge_multimap_edgesIn++;
4398 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
4399 : }
4400 0 : storageOf_node_index_to_edge_multimap_edgesIn.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap_edgesIn);
4401 0 : tempListCountnode_index_to_edge_multimap_edgesIn = 0;
4402 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesIn.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesIn.end(); ++integer_edge_it2)
4403 : {
4404 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap_edgesIn [ tempListCountnode_index_to_edge_multimap_edgesIn ];
4405 0 : tempListCountnode_index_to_edge_multimap_edgesIn++;
4406 : }
4407 0 : delete [] tempListnode_index_to_edge_multimap_edgesIn;
4408 : }
4409 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
4410 0 : rose_graph_integer_node_hash_map::iterator integer_node_it;
4411 0 : unsigned int tempListCountnode_index_to_node_map = 0;
4412 0 : SgGraphNode** tempListnode_index_to_node_map = new SgGraphNode* [ source->p_node_index_to_node_map.size() ];
4413 0 : for (integer_node_it = source->p_node_index_to_node_map.begin(); integer_node_it != source->p_node_index_to_node_map.end(); ++integer_node_it)
4414 : {
4415 0 : tempListnode_index_to_node_map[tempListCountnode_index_to_node_map] = integer_node_it->second;
4416 0 : tempListCountnode_index_to_node_map++;
4417 0 : integer_node_it->second = (SgGraphNode*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_node_it->second) );
4418 : }
4419 0 : storageOf_node_index_to_node_map.storeDataInEasyStorageClass(source->p_node_index_to_node_map);
4420 0 : tempListCountnode_index_to_node_map = 0;
4421 0 : for (integer_node_it = source->p_node_index_to_node_map.begin(); integer_node_it != source->p_node_index_to_node_map.end(); ++integer_node_it)
4422 : {
4423 0 : integer_node_it->second = tempListnode_index_to_node_map [ tempListCountnode_index_to_node_map ];
4424 0 : tempListCountnode_index_to_node_map++;
4425 : }
4426 0 : delete [] tempListnode_index_to_node_map;
4427 0 : rose_graph_integer_edge_hash_map::iterator integer_edge_it;
4428 0 : unsigned int tempListCountedge_index_to_edge_map = 0;
4429 0 : SgGraphEdge** tempListedge_index_to_edge_map = new SgGraphEdge* [ source->p_edge_index_to_edge_map.size() ];
4430 0 : for (integer_edge_it = source->p_edge_index_to_edge_map.begin(); integer_edge_it != source->p_edge_index_to_edge_map.end(); ++integer_edge_it)
4431 : {
4432 0 : tempListedge_index_to_edge_map[tempListCountedge_index_to_edge_map] = integer_edge_it->second;
4433 0 : tempListCountedge_index_to_edge_map++;
4434 0 : integer_edge_it->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it->second) );
4435 : }
4436 0 : storageOf_edge_index_to_edge_map.storeDataInEasyStorageClass(source->p_edge_index_to_edge_map);
4437 0 : tempListCountedge_index_to_edge_map = 0;
4438 0 : for (integer_edge_it = source->p_edge_index_to_edge_map.begin(); integer_edge_it != source->p_edge_index_to_edge_map.end(); ++integer_edge_it)
4439 : {
4440 0 : integer_edge_it->second = tempListedge_index_to_edge_map [ tempListCountedge_index_to_edge_map ];
4441 0 : tempListCountedge_index_to_edge_map++;
4442 : }
4443 0 : delete [] tempListedge_index_to_edge_map;
4444 0 : rose_graph_integerpair_edge_hash_multimap::iterator integerpair_edge_it;
4445 0 : unsigned int tempListCountnode_index_pair_to_edge_multimap = 0;
4446 0 : SgGraphEdge** tempListnode_index_pair_to_edge_multimap = new SgGraphEdge* [ source->p_node_index_pair_to_edge_multimap.size() ];
4447 0 : for (integerpair_edge_it = source->p_node_index_pair_to_edge_multimap.begin(); integerpair_edge_it != source->p_node_index_pair_to_edge_multimap.end(); ++integerpair_edge_it)
4448 : {
4449 0 : tempListnode_index_pair_to_edge_multimap[tempListCountnode_index_pair_to_edge_multimap] = integerpair_edge_it->second;
4450 0 : tempListCountnode_index_pair_to_edge_multimap++;
4451 0 : integerpair_edge_it->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integerpair_edge_it->second) );
4452 : }
4453 0 : storageOf_node_index_pair_to_edge_multimap.storeDataInEasyStorageClass(source->p_node_index_pair_to_edge_multimap);
4454 0 : tempListCountnode_index_pair_to_edge_multimap = 0;
4455 0 : for (integerpair_edge_it = source->p_node_index_pair_to_edge_multimap.begin(); integerpair_edge_it != source->p_node_index_pair_to_edge_multimap.end(); ++integerpair_edge_it)
4456 : {
4457 0 : integerpair_edge_it->second = tempListnode_index_pair_to_edge_multimap [ tempListCountnode_index_pair_to_edge_multimap ];
4458 0 : tempListCountnode_index_pair_to_edge_multimap++;
4459 : }
4460 0 : delete [] tempListnode_index_pair_to_edge_multimap;
4461 0 : {
4462 0 : rose_graph_string_integer_hash_multimap::iterator string_integer_it;
4463 0 : unsigned int tempListCountstring_to_node_index_multimap = 0;
4464 0 : int* tempListstring_to_node_index_multimap = new int [ source->p_string_to_node_index_multimap.size() ];
4465 0 : for (string_integer_it = source->p_string_to_node_index_multimap.begin(); string_integer_it != source->p_string_to_node_index_multimap.end(); ++string_integer_it)
4466 : {
4467 0 : tempListstring_to_node_index_multimap[tempListCountstring_to_node_index_multimap] = string_integer_it->second;
4468 0 : tempListCountstring_to_node_index_multimap++;
4469 0 : string_integer_it->second = 0; printf ("Unimplemented support for rose_graph_string_integer_hash_multimap: Fixme! \n"); ROSE_ASSERT(false);
4470 : }
4471 0 : storageOf_string_to_node_index_multimap.storeDataInEasyStorageClass(source->p_string_to_node_index_multimap);
4472 0 : tempListCountstring_to_node_index_multimap = 0;
4473 0 : for (string_integer_it = source->p_string_to_node_index_multimap.begin(); string_integer_it != source->p_string_to_node_index_multimap.end(); ++string_integer_it)
4474 : {
4475 0 : string_integer_it->second = tempListstring_to_node_index_multimap [ tempListCountstring_to_node_index_multimap ];
4476 0 : tempListCountstring_to_node_index_multimap++;
4477 : }
4478 0 : delete [] tempListstring_to_node_index_multimap;
4479 : }
4480 0 : {
4481 0 : rose_graph_string_integer_hash_multimap::iterator string_integer_it;
4482 0 : unsigned int tempListCountstring_to_edge_index_multimap = 0;
4483 0 : int* tempListstring_to_edge_index_multimap = new int [ source->p_string_to_edge_index_multimap.size() ];
4484 0 : for (string_integer_it = source->p_string_to_edge_index_multimap.begin(); string_integer_it != source->p_string_to_edge_index_multimap.end(); ++string_integer_it)
4485 : {
4486 0 : tempListstring_to_edge_index_multimap[tempListCountstring_to_edge_index_multimap] = string_integer_it->second;
4487 0 : tempListCountstring_to_edge_index_multimap++;
4488 0 : string_integer_it->second = 0; printf ("Unimplemented support for rose_graph_string_integer_hash_multimap: Fixme! \n"); ROSE_ASSERT(false);
4489 : }
4490 0 : storageOf_string_to_edge_index_multimap.storeDataInEasyStorageClass(source->p_string_to_edge_index_multimap);
4491 0 : tempListCountstring_to_edge_index_multimap = 0;
4492 0 : for (string_integer_it = source->p_string_to_edge_index_multimap.begin(); string_integer_it != source->p_string_to_edge_index_multimap.end(); ++string_integer_it)
4493 : {
4494 0 : string_integer_it->second = tempListstring_to_edge_index_multimap [ tempListCountstring_to_edge_index_multimap ];
4495 0 : tempListCountstring_to_edge_index_multimap++;
4496 : }
4497 0 : delete [] tempListstring_to_edge_index_multimap;
4498 : }
4499 0 : {
4500 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
4501 0 : unsigned int tempListCountnode_index_to_edge_multimap = 0;
4502 0 : SgGraphEdge** tempListnode_index_to_edge_multimap = new SgGraphEdge* [ source->p_node_index_to_edge_multimap.size() ];
4503 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap.end(); ++integer_edge_it2)
4504 : {
4505 0 : tempListnode_index_to_edge_multimap[tempListCountnode_index_to_edge_multimap] = integer_edge_it2->second;
4506 0 : tempListCountnode_index_to_edge_multimap++;
4507 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
4508 : }
4509 0 : storageOf_node_index_to_edge_multimap.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap);
4510 0 : tempListCountnode_index_to_edge_multimap = 0;
4511 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap.end(); ++integer_edge_it2)
4512 : {
4513 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap [ tempListCountnode_index_to_edge_multimap ];
4514 0 : tempListCountnode_index_to_edge_multimap++;
4515 : }
4516 0 : delete [] tempListnode_index_to_edge_multimap;
4517 : }
4518 0 : storageOf_index = source->p_index ;
4519 0 : storageOf_boost_edges.storeDataInEasyStorageClass(source->p_boost_edges);
4520 0 : storageOf_boost_edge_weights.storeDataInEasyStorageClass(source->p_boost_edge_weights);
4521 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
4522 0 : storageOf_properties.storeDataInEasyStorageClass(source->p_properties);
4523 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
4524 0 : storageOf_isModified = source->p_isModified ;
4525 0 : storageOf_containsTransformation = source->p_containsTransformation ;
4526 0 : }
4527 :
4528 : void
4529 0 : SgIncidenceDirectedGraphStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
4530 : {
4531 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
4532 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
4533 0 : EasyStorage < rose_graph_integer_node_hash_map > :: arrangeMemoryPoolInOneBlock() ;
4534 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: arrangeMemoryPoolInOneBlock() ;
4535 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
4536 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
4537 0 : EasyStorage < SgBoostEdgeList > :: arrangeMemoryPoolInOneBlock() ;
4538 0 : EasyStorage < SgBoostEdgeWeightList > :: arrangeMemoryPoolInOneBlock() ;
4539 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
4540 0 : EasyStorage < std::map<int, std::string> > :: arrangeMemoryPoolInOneBlock() ;
4541 0 : }
4542 :
4543 : void
4544 2 : SgIncidenceDirectedGraphStorageClass::deleteStaticDataOfEasyStorageClasses ( )
4545 : {
4546 2 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: deleteMemoryPool() ;
4547 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
4548 2 : EasyStorage < rose_graph_integer_node_hash_map > :: deleteMemoryPool() ;
4549 2 : EasyStorage < rose_graph_integer_edge_hash_map > :: deleteMemoryPool() ;
4550 2 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: deleteMemoryPool() ;
4551 2 : EasyStorage < rose_graph_string_integer_hash_multimap > :: deleteMemoryPool() ;
4552 2 : EasyStorage < SgBoostEdgeList > :: deleteMemoryPool() ;
4553 2 : EasyStorage < SgBoostEdgeWeightList > :: deleteMemoryPool() ;
4554 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
4555 2 : EasyStorage < std::map<int, std::string> > :: deleteMemoryPool() ;
4556 2 : }
4557 :
4558 : void
4559 0 : SgIncidenceDirectedGraphStorageClass::writeEasyStorageDataToFile (std::ostream& out)
4560 : {
4561 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: writeToFile(out) ;
4562 0 : EasyStorage < std::string > :: writeToFile(out) ;
4563 0 : EasyStorage < rose_graph_integer_node_hash_map > :: writeToFile(out) ;
4564 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: writeToFile(out) ;
4565 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: writeToFile(out) ;
4566 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: writeToFile(out) ;
4567 0 : EasyStorage < SgBoostEdgeList > :: writeToFile(out) ;
4568 0 : EasyStorage < SgBoostEdgeWeightList > :: writeToFile(out) ;
4569 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
4570 0 : EasyStorage < std::map<int, std::string> > :: writeToFile(out) ;
4571 0 : }
4572 :
4573 :
4574 : void
4575 0 : SgIncidenceDirectedGraphStorageClass::readEasyStorageDataFromFile (std::istream& in)
4576 : {
4577 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: readFromFile(in) ;
4578 0 : EasyStorage < std::string > :: readFromFile(in) ;
4579 0 : EasyStorage < rose_graph_integer_node_hash_map > :: readFromFile(in) ;
4580 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: readFromFile(in) ;
4581 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: readFromFile(in) ;
4582 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: readFromFile(in) ;
4583 0 : EasyStorage < SgBoostEdgeList > :: readFromFile(in) ;
4584 0 : EasyStorage < SgBoostEdgeWeightList > :: readFromFile(in) ;
4585 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
4586 0 : EasyStorage < std::map<int, std::string> > :: readFromFile(in) ;
4587 0 : }
4588 :
4589 :
4590 :
4591 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
4592 :
4593 :
4594 : // ********************************************************
4595 :
4596 : /* #line 4597 "../../../src/frontend/SageIII//StorageClasses.C" */
4597 :
4598 :
4599 :
4600 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
4601 :
4602 : // ****************************************************************
4603 : // member functions definition specific to each node in the grammar
4604 : // these are the SgBidirectionalGraphStorageClass parts !!!!
4605 : // ROSETTA generated code. Do not change by hand.
4606 : // ****************************************************************
4607 :
4608 :
4609 : /* #line 4610 "../../../src/frontend/SageIII//StorageClasses.C" */
4610 :
4611 :
4612 : void
4613 0 : SgBidirectionalGraphStorageClass::pickOutIRNodeData ( SgBidirectionalGraph* pointer )
4614 : {
4615 0 : SgBidirectionalGraph* source = (SgBidirectionalGraph*) (pointer);
4616 : #if FILE_IO_EXTRA_CHECK
4617 0 : assert ( source != NULL ) ;
4618 0 : assert ( source->p_freepointer != NULL) ;
4619 : #endif
4620 0 : {
4621 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
4622 0 : unsigned int tempListCountnode_index_to_edge_multimap_edgesOut = 0;
4623 0 : SgGraphEdge** tempListnode_index_to_edge_multimap_edgesOut = new SgGraphEdge* [ source->p_node_index_to_edge_multimap_edgesOut.size() ];
4624 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesOut.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesOut.end(); ++integer_edge_it2)
4625 : {
4626 0 : tempListnode_index_to_edge_multimap_edgesOut[tempListCountnode_index_to_edge_multimap_edgesOut] = integer_edge_it2->second;
4627 0 : tempListCountnode_index_to_edge_multimap_edgesOut++;
4628 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
4629 : }
4630 0 : storageOf_node_index_to_edge_multimap_edgesOut.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap_edgesOut);
4631 0 : tempListCountnode_index_to_edge_multimap_edgesOut = 0;
4632 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesOut.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesOut.end(); ++integer_edge_it2)
4633 : {
4634 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap_edgesOut [ tempListCountnode_index_to_edge_multimap_edgesOut ];
4635 0 : tempListCountnode_index_to_edge_multimap_edgesOut++;
4636 : }
4637 0 : delete [] tempListnode_index_to_edge_multimap_edgesOut;
4638 : }
4639 0 : {
4640 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
4641 0 : unsigned int tempListCountnode_index_to_edge_multimap_edgesIn = 0;
4642 0 : SgGraphEdge** tempListnode_index_to_edge_multimap_edgesIn = new SgGraphEdge* [ source->p_node_index_to_edge_multimap_edgesIn.size() ];
4643 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesIn.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesIn.end(); ++integer_edge_it2)
4644 : {
4645 0 : tempListnode_index_to_edge_multimap_edgesIn[tempListCountnode_index_to_edge_multimap_edgesIn] = integer_edge_it2->second;
4646 0 : tempListCountnode_index_to_edge_multimap_edgesIn++;
4647 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
4648 : }
4649 0 : storageOf_node_index_to_edge_multimap_edgesIn.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap_edgesIn);
4650 0 : tempListCountnode_index_to_edge_multimap_edgesIn = 0;
4651 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesIn.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesIn.end(); ++integer_edge_it2)
4652 : {
4653 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap_edgesIn [ tempListCountnode_index_to_edge_multimap_edgesIn ];
4654 0 : tempListCountnode_index_to_edge_multimap_edgesIn++;
4655 : }
4656 0 : delete [] tempListnode_index_to_edge_multimap_edgesIn;
4657 : }
4658 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
4659 0 : rose_graph_integer_node_hash_map::iterator integer_node_it;
4660 0 : unsigned int tempListCountnode_index_to_node_map = 0;
4661 0 : SgGraphNode** tempListnode_index_to_node_map = new SgGraphNode* [ source->p_node_index_to_node_map.size() ];
4662 0 : for (integer_node_it = source->p_node_index_to_node_map.begin(); integer_node_it != source->p_node_index_to_node_map.end(); ++integer_node_it)
4663 : {
4664 0 : tempListnode_index_to_node_map[tempListCountnode_index_to_node_map] = integer_node_it->second;
4665 0 : tempListCountnode_index_to_node_map++;
4666 0 : integer_node_it->second = (SgGraphNode*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_node_it->second) );
4667 : }
4668 0 : storageOf_node_index_to_node_map.storeDataInEasyStorageClass(source->p_node_index_to_node_map);
4669 0 : tempListCountnode_index_to_node_map = 0;
4670 0 : for (integer_node_it = source->p_node_index_to_node_map.begin(); integer_node_it != source->p_node_index_to_node_map.end(); ++integer_node_it)
4671 : {
4672 0 : integer_node_it->second = tempListnode_index_to_node_map [ tempListCountnode_index_to_node_map ];
4673 0 : tempListCountnode_index_to_node_map++;
4674 : }
4675 0 : delete [] tempListnode_index_to_node_map;
4676 0 : rose_graph_integer_edge_hash_map::iterator integer_edge_it;
4677 0 : unsigned int tempListCountedge_index_to_edge_map = 0;
4678 0 : SgGraphEdge** tempListedge_index_to_edge_map = new SgGraphEdge* [ source->p_edge_index_to_edge_map.size() ];
4679 0 : for (integer_edge_it = source->p_edge_index_to_edge_map.begin(); integer_edge_it != source->p_edge_index_to_edge_map.end(); ++integer_edge_it)
4680 : {
4681 0 : tempListedge_index_to_edge_map[tempListCountedge_index_to_edge_map] = integer_edge_it->second;
4682 0 : tempListCountedge_index_to_edge_map++;
4683 0 : integer_edge_it->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it->second) );
4684 : }
4685 0 : storageOf_edge_index_to_edge_map.storeDataInEasyStorageClass(source->p_edge_index_to_edge_map);
4686 0 : tempListCountedge_index_to_edge_map = 0;
4687 0 : for (integer_edge_it = source->p_edge_index_to_edge_map.begin(); integer_edge_it != source->p_edge_index_to_edge_map.end(); ++integer_edge_it)
4688 : {
4689 0 : integer_edge_it->second = tempListedge_index_to_edge_map [ tempListCountedge_index_to_edge_map ];
4690 0 : tempListCountedge_index_to_edge_map++;
4691 : }
4692 0 : delete [] tempListedge_index_to_edge_map;
4693 0 : rose_graph_integerpair_edge_hash_multimap::iterator integerpair_edge_it;
4694 0 : unsigned int tempListCountnode_index_pair_to_edge_multimap = 0;
4695 0 : SgGraphEdge** tempListnode_index_pair_to_edge_multimap = new SgGraphEdge* [ source->p_node_index_pair_to_edge_multimap.size() ];
4696 0 : for (integerpair_edge_it = source->p_node_index_pair_to_edge_multimap.begin(); integerpair_edge_it != source->p_node_index_pair_to_edge_multimap.end(); ++integerpair_edge_it)
4697 : {
4698 0 : tempListnode_index_pair_to_edge_multimap[tempListCountnode_index_pair_to_edge_multimap] = integerpair_edge_it->second;
4699 0 : tempListCountnode_index_pair_to_edge_multimap++;
4700 0 : integerpair_edge_it->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integerpair_edge_it->second) );
4701 : }
4702 0 : storageOf_node_index_pair_to_edge_multimap.storeDataInEasyStorageClass(source->p_node_index_pair_to_edge_multimap);
4703 0 : tempListCountnode_index_pair_to_edge_multimap = 0;
4704 0 : for (integerpair_edge_it = source->p_node_index_pair_to_edge_multimap.begin(); integerpair_edge_it != source->p_node_index_pair_to_edge_multimap.end(); ++integerpair_edge_it)
4705 : {
4706 0 : integerpair_edge_it->second = tempListnode_index_pair_to_edge_multimap [ tempListCountnode_index_pair_to_edge_multimap ];
4707 0 : tempListCountnode_index_pair_to_edge_multimap++;
4708 : }
4709 0 : delete [] tempListnode_index_pair_to_edge_multimap;
4710 0 : {
4711 0 : rose_graph_string_integer_hash_multimap::iterator string_integer_it;
4712 0 : unsigned int tempListCountstring_to_node_index_multimap = 0;
4713 0 : int* tempListstring_to_node_index_multimap = new int [ source->p_string_to_node_index_multimap.size() ];
4714 0 : for (string_integer_it = source->p_string_to_node_index_multimap.begin(); string_integer_it != source->p_string_to_node_index_multimap.end(); ++string_integer_it)
4715 : {
4716 0 : tempListstring_to_node_index_multimap[tempListCountstring_to_node_index_multimap] = string_integer_it->second;
4717 0 : tempListCountstring_to_node_index_multimap++;
4718 0 : string_integer_it->second = 0; printf ("Unimplemented support for rose_graph_string_integer_hash_multimap: Fixme! \n"); ROSE_ASSERT(false);
4719 : }
4720 0 : storageOf_string_to_node_index_multimap.storeDataInEasyStorageClass(source->p_string_to_node_index_multimap);
4721 0 : tempListCountstring_to_node_index_multimap = 0;
4722 0 : for (string_integer_it = source->p_string_to_node_index_multimap.begin(); string_integer_it != source->p_string_to_node_index_multimap.end(); ++string_integer_it)
4723 : {
4724 0 : string_integer_it->second = tempListstring_to_node_index_multimap [ tempListCountstring_to_node_index_multimap ];
4725 0 : tempListCountstring_to_node_index_multimap++;
4726 : }
4727 0 : delete [] tempListstring_to_node_index_multimap;
4728 : }
4729 0 : {
4730 0 : rose_graph_string_integer_hash_multimap::iterator string_integer_it;
4731 0 : unsigned int tempListCountstring_to_edge_index_multimap = 0;
4732 0 : int* tempListstring_to_edge_index_multimap = new int [ source->p_string_to_edge_index_multimap.size() ];
4733 0 : for (string_integer_it = source->p_string_to_edge_index_multimap.begin(); string_integer_it != source->p_string_to_edge_index_multimap.end(); ++string_integer_it)
4734 : {
4735 0 : tempListstring_to_edge_index_multimap[tempListCountstring_to_edge_index_multimap] = string_integer_it->second;
4736 0 : tempListCountstring_to_edge_index_multimap++;
4737 0 : string_integer_it->second = 0; printf ("Unimplemented support for rose_graph_string_integer_hash_multimap: Fixme! \n"); ROSE_ASSERT(false);
4738 : }
4739 0 : storageOf_string_to_edge_index_multimap.storeDataInEasyStorageClass(source->p_string_to_edge_index_multimap);
4740 0 : tempListCountstring_to_edge_index_multimap = 0;
4741 0 : for (string_integer_it = source->p_string_to_edge_index_multimap.begin(); string_integer_it != source->p_string_to_edge_index_multimap.end(); ++string_integer_it)
4742 : {
4743 0 : string_integer_it->second = tempListstring_to_edge_index_multimap [ tempListCountstring_to_edge_index_multimap ];
4744 0 : tempListCountstring_to_edge_index_multimap++;
4745 : }
4746 0 : delete [] tempListstring_to_edge_index_multimap;
4747 : }
4748 0 : {
4749 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
4750 0 : unsigned int tempListCountnode_index_to_edge_multimap = 0;
4751 0 : SgGraphEdge** tempListnode_index_to_edge_multimap = new SgGraphEdge* [ source->p_node_index_to_edge_multimap.size() ];
4752 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap.end(); ++integer_edge_it2)
4753 : {
4754 0 : tempListnode_index_to_edge_multimap[tempListCountnode_index_to_edge_multimap] = integer_edge_it2->second;
4755 0 : tempListCountnode_index_to_edge_multimap++;
4756 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
4757 : }
4758 0 : storageOf_node_index_to_edge_multimap.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap);
4759 0 : tempListCountnode_index_to_edge_multimap = 0;
4760 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap.end(); ++integer_edge_it2)
4761 : {
4762 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap [ tempListCountnode_index_to_edge_multimap ];
4763 0 : tempListCountnode_index_to_edge_multimap++;
4764 : }
4765 0 : delete [] tempListnode_index_to_edge_multimap;
4766 : }
4767 0 : storageOf_index = source->p_index ;
4768 0 : storageOf_boost_edges.storeDataInEasyStorageClass(source->p_boost_edges);
4769 0 : storageOf_boost_edge_weights.storeDataInEasyStorageClass(source->p_boost_edge_weights);
4770 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
4771 0 : storageOf_properties.storeDataInEasyStorageClass(source->p_properties);
4772 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
4773 0 : storageOf_isModified = source->p_isModified ;
4774 0 : storageOf_containsTransformation = source->p_containsTransformation ;
4775 0 : }
4776 :
4777 : void
4778 0 : SgBidirectionalGraphStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
4779 : {
4780 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
4781 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
4782 0 : EasyStorage < rose_graph_integer_node_hash_map > :: arrangeMemoryPoolInOneBlock() ;
4783 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: arrangeMemoryPoolInOneBlock() ;
4784 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
4785 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
4786 0 : EasyStorage < SgBoostEdgeList > :: arrangeMemoryPoolInOneBlock() ;
4787 0 : EasyStorage < SgBoostEdgeWeightList > :: arrangeMemoryPoolInOneBlock() ;
4788 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
4789 0 : EasyStorage < std::map<int, std::string> > :: arrangeMemoryPoolInOneBlock() ;
4790 0 : }
4791 :
4792 : void
4793 2 : SgBidirectionalGraphStorageClass::deleteStaticDataOfEasyStorageClasses ( )
4794 : {
4795 2 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: deleteMemoryPool() ;
4796 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
4797 2 : EasyStorage < rose_graph_integer_node_hash_map > :: deleteMemoryPool() ;
4798 2 : EasyStorage < rose_graph_integer_edge_hash_map > :: deleteMemoryPool() ;
4799 2 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: deleteMemoryPool() ;
4800 2 : EasyStorage < rose_graph_string_integer_hash_multimap > :: deleteMemoryPool() ;
4801 2 : EasyStorage < SgBoostEdgeList > :: deleteMemoryPool() ;
4802 2 : EasyStorage < SgBoostEdgeWeightList > :: deleteMemoryPool() ;
4803 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
4804 2 : EasyStorage < std::map<int, std::string> > :: deleteMemoryPool() ;
4805 2 : }
4806 :
4807 : void
4808 0 : SgBidirectionalGraphStorageClass::writeEasyStorageDataToFile (std::ostream& out)
4809 : {
4810 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: writeToFile(out) ;
4811 0 : EasyStorage < std::string > :: writeToFile(out) ;
4812 0 : EasyStorage < rose_graph_integer_node_hash_map > :: writeToFile(out) ;
4813 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: writeToFile(out) ;
4814 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: writeToFile(out) ;
4815 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: writeToFile(out) ;
4816 0 : EasyStorage < SgBoostEdgeList > :: writeToFile(out) ;
4817 0 : EasyStorage < SgBoostEdgeWeightList > :: writeToFile(out) ;
4818 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
4819 0 : EasyStorage < std::map<int, std::string> > :: writeToFile(out) ;
4820 0 : }
4821 :
4822 :
4823 : void
4824 0 : SgBidirectionalGraphStorageClass::readEasyStorageDataFromFile (std::istream& in)
4825 : {
4826 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: readFromFile(in) ;
4827 0 : EasyStorage < std::string > :: readFromFile(in) ;
4828 0 : EasyStorage < rose_graph_integer_node_hash_map > :: readFromFile(in) ;
4829 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: readFromFile(in) ;
4830 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: readFromFile(in) ;
4831 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: readFromFile(in) ;
4832 0 : EasyStorage < SgBoostEdgeList > :: readFromFile(in) ;
4833 0 : EasyStorage < SgBoostEdgeWeightList > :: readFromFile(in) ;
4834 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
4835 0 : EasyStorage < std::map<int, std::string> > :: readFromFile(in) ;
4836 0 : }
4837 :
4838 :
4839 :
4840 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
4841 :
4842 :
4843 : // ********************************************************
4844 :
4845 : /* #line 4846 "../../../src/frontend/SageIII//StorageClasses.C" */
4846 :
4847 :
4848 :
4849 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
4850 :
4851 : // ****************************************************************
4852 : // member functions definition specific to each node in the grammar
4853 : // these are the SgStringKeyedBidirectionalGraphStorageClass parts !!!!
4854 : // ROSETTA generated code. Do not change by hand.
4855 : // ****************************************************************
4856 :
4857 :
4858 : /* #line 4859 "../../../src/frontend/SageIII//StorageClasses.C" */
4859 :
4860 :
4861 : void
4862 0 : SgStringKeyedBidirectionalGraphStorageClass::pickOutIRNodeData ( SgStringKeyedBidirectionalGraph* pointer )
4863 : {
4864 0 : SgStringKeyedBidirectionalGraph* source = (SgStringKeyedBidirectionalGraph*) (pointer);
4865 : #if FILE_IO_EXTRA_CHECK
4866 0 : assert ( source != NULL ) ;
4867 0 : assert ( source->p_freepointer != NULL) ;
4868 : #endif
4869 0 : {
4870 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
4871 0 : unsigned int tempListCountnode_index_to_edge_multimap_edgesOut = 0;
4872 0 : SgGraphEdge** tempListnode_index_to_edge_multimap_edgesOut = new SgGraphEdge* [ source->p_node_index_to_edge_multimap_edgesOut.size() ];
4873 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesOut.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesOut.end(); ++integer_edge_it2)
4874 : {
4875 0 : tempListnode_index_to_edge_multimap_edgesOut[tempListCountnode_index_to_edge_multimap_edgesOut] = integer_edge_it2->second;
4876 0 : tempListCountnode_index_to_edge_multimap_edgesOut++;
4877 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
4878 : }
4879 0 : storageOf_node_index_to_edge_multimap_edgesOut.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap_edgesOut);
4880 0 : tempListCountnode_index_to_edge_multimap_edgesOut = 0;
4881 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesOut.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesOut.end(); ++integer_edge_it2)
4882 : {
4883 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap_edgesOut [ tempListCountnode_index_to_edge_multimap_edgesOut ];
4884 0 : tempListCountnode_index_to_edge_multimap_edgesOut++;
4885 : }
4886 0 : delete [] tempListnode_index_to_edge_multimap_edgesOut;
4887 : }
4888 0 : {
4889 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
4890 0 : unsigned int tempListCountnode_index_to_edge_multimap_edgesIn = 0;
4891 0 : SgGraphEdge** tempListnode_index_to_edge_multimap_edgesIn = new SgGraphEdge* [ source->p_node_index_to_edge_multimap_edgesIn.size() ];
4892 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesIn.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesIn.end(); ++integer_edge_it2)
4893 : {
4894 0 : tempListnode_index_to_edge_multimap_edgesIn[tempListCountnode_index_to_edge_multimap_edgesIn] = integer_edge_it2->second;
4895 0 : tempListCountnode_index_to_edge_multimap_edgesIn++;
4896 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
4897 : }
4898 0 : storageOf_node_index_to_edge_multimap_edgesIn.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap_edgesIn);
4899 0 : tempListCountnode_index_to_edge_multimap_edgesIn = 0;
4900 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesIn.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesIn.end(); ++integer_edge_it2)
4901 : {
4902 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap_edgesIn [ tempListCountnode_index_to_edge_multimap_edgesIn ];
4903 0 : tempListCountnode_index_to_edge_multimap_edgesIn++;
4904 : }
4905 0 : delete [] tempListnode_index_to_edge_multimap_edgesIn;
4906 : }
4907 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
4908 0 : rose_graph_integer_node_hash_map::iterator integer_node_it;
4909 0 : unsigned int tempListCountnode_index_to_node_map = 0;
4910 0 : SgGraphNode** tempListnode_index_to_node_map = new SgGraphNode* [ source->p_node_index_to_node_map.size() ];
4911 0 : for (integer_node_it = source->p_node_index_to_node_map.begin(); integer_node_it != source->p_node_index_to_node_map.end(); ++integer_node_it)
4912 : {
4913 0 : tempListnode_index_to_node_map[tempListCountnode_index_to_node_map] = integer_node_it->second;
4914 0 : tempListCountnode_index_to_node_map++;
4915 0 : integer_node_it->second = (SgGraphNode*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_node_it->second) );
4916 : }
4917 0 : storageOf_node_index_to_node_map.storeDataInEasyStorageClass(source->p_node_index_to_node_map);
4918 0 : tempListCountnode_index_to_node_map = 0;
4919 0 : for (integer_node_it = source->p_node_index_to_node_map.begin(); integer_node_it != source->p_node_index_to_node_map.end(); ++integer_node_it)
4920 : {
4921 0 : integer_node_it->second = tempListnode_index_to_node_map [ tempListCountnode_index_to_node_map ];
4922 0 : tempListCountnode_index_to_node_map++;
4923 : }
4924 0 : delete [] tempListnode_index_to_node_map;
4925 0 : rose_graph_integer_edge_hash_map::iterator integer_edge_it;
4926 0 : unsigned int tempListCountedge_index_to_edge_map = 0;
4927 0 : SgGraphEdge** tempListedge_index_to_edge_map = new SgGraphEdge* [ source->p_edge_index_to_edge_map.size() ];
4928 0 : for (integer_edge_it = source->p_edge_index_to_edge_map.begin(); integer_edge_it != source->p_edge_index_to_edge_map.end(); ++integer_edge_it)
4929 : {
4930 0 : tempListedge_index_to_edge_map[tempListCountedge_index_to_edge_map] = integer_edge_it->second;
4931 0 : tempListCountedge_index_to_edge_map++;
4932 0 : integer_edge_it->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it->second) );
4933 : }
4934 0 : storageOf_edge_index_to_edge_map.storeDataInEasyStorageClass(source->p_edge_index_to_edge_map);
4935 0 : tempListCountedge_index_to_edge_map = 0;
4936 0 : for (integer_edge_it = source->p_edge_index_to_edge_map.begin(); integer_edge_it != source->p_edge_index_to_edge_map.end(); ++integer_edge_it)
4937 : {
4938 0 : integer_edge_it->second = tempListedge_index_to_edge_map [ tempListCountedge_index_to_edge_map ];
4939 0 : tempListCountedge_index_to_edge_map++;
4940 : }
4941 0 : delete [] tempListedge_index_to_edge_map;
4942 0 : rose_graph_integerpair_edge_hash_multimap::iterator integerpair_edge_it;
4943 0 : unsigned int tempListCountnode_index_pair_to_edge_multimap = 0;
4944 0 : SgGraphEdge** tempListnode_index_pair_to_edge_multimap = new SgGraphEdge* [ source->p_node_index_pair_to_edge_multimap.size() ];
4945 0 : for (integerpair_edge_it = source->p_node_index_pair_to_edge_multimap.begin(); integerpair_edge_it != source->p_node_index_pair_to_edge_multimap.end(); ++integerpair_edge_it)
4946 : {
4947 0 : tempListnode_index_pair_to_edge_multimap[tempListCountnode_index_pair_to_edge_multimap] = integerpair_edge_it->second;
4948 0 : tempListCountnode_index_pair_to_edge_multimap++;
4949 0 : integerpair_edge_it->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integerpair_edge_it->second) );
4950 : }
4951 0 : storageOf_node_index_pair_to_edge_multimap.storeDataInEasyStorageClass(source->p_node_index_pair_to_edge_multimap);
4952 0 : tempListCountnode_index_pair_to_edge_multimap = 0;
4953 0 : for (integerpair_edge_it = source->p_node_index_pair_to_edge_multimap.begin(); integerpair_edge_it != source->p_node_index_pair_to_edge_multimap.end(); ++integerpair_edge_it)
4954 : {
4955 0 : integerpair_edge_it->second = tempListnode_index_pair_to_edge_multimap [ tempListCountnode_index_pair_to_edge_multimap ];
4956 0 : tempListCountnode_index_pair_to_edge_multimap++;
4957 : }
4958 0 : delete [] tempListnode_index_pair_to_edge_multimap;
4959 0 : {
4960 0 : rose_graph_string_integer_hash_multimap::iterator string_integer_it;
4961 0 : unsigned int tempListCountstring_to_node_index_multimap = 0;
4962 0 : int* tempListstring_to_node_index_multimap = new int [ source->p_string_to_node_index_multimap.size() ];
4963 0 : for (string_integer_it = source->p_string_to_node_index_multimap.begin(); string_integer_it != source->p_string_to_node_index_multimap.end(); ++string_integer_it)
4964 : {
4965 0 : tempListstring_to_node_index_multimap[tempListCountstring_to_node_index_multimap] = string_integer_it->second;
4966 0 : tempListCountstring_to_node_index_multimap++;
4967 0 : string_integer_it->second = 0; printf ("Unimplemented support for rose_graph_string_integer_hash_multimap: Fixme! \n"); ROSE_ASSERT(false);
4968 : }
4969 0 : storageOf_string_to_node_index_multimap.storeDataInEasyStorageClass(source->p_string_to_node_index_multimap);
4970 0 : tempListCountstring_to_node_index_multimap = 0;
4971 0 : for (string_integer_it = source->p_string_to_node_index_multimap.begin(); string_integer_it != source->p_string_to_node_index_multimap.end(); ++string_integer_it)
4972 : {
4973 0 : string_integer_it->second = tempListstring_to_node_index_multimap [ tempListCountstring_to_node_index_multimap ];
4974 0 : tempListCountstring_to_node_index_multimap++;
4975 : }
4976 0 : delete [] tempListstring_to_node_index_multimap;
4977 : }
4978 0 : {
4979 0 : rose_graph_string_integer_hash_multimap::iterator string_integer_it;
4980 0 : unsigned int tempListCountstring_to_edge_index_multimap = 0;
4981 0 : int* tempListstring_to_edge_index_multimap = new int [ source->p_string_to_edge_index_multimap.size() ];
4982 0 : for (string_integer_it = source->p_string_to_edge_index_multimap.begin(); string_integer_it != source->p_string_to_edge_index_multimap.end(); ++string_integer_it)
4983 : {
4984 0 : tempListstring_to_edge_index_multimap[tempListCountstring_to_edge_index_multimap] = string_integer_it->second;
4985 0 : tempListCountstring_to_edge_index_multimap++;
4986 0 : string_integer_it->second = 0; printf ("Unimplemented support for rose_graph_string_integer_hash_multimap: Fixme! \n"); ROSE_ASSERT(false);
4987 : }
4988 0 : storageOf_string_to_edge_index_multimap.storeDataInEasyStorageClass(source->p_string_to_edge_index_multimap);
4989 0 : tempListCountstring_to_edge_index_multimap = 0;
4990 0 : for (string_integer_it = source->p_string_to_edge_index_multimap.begin(); string_integer_it != source->p_string_to_edge_index_multimap.end(); ++string_integer_it)
4991 : {
4992 0 : string_integer_it->second = tempListstring_to_edge_index_multimap [ tempListCountstring_to_edge_index_multimap ];
4993 0 : tempListCountstring_to_edge_index_multimap++;
4994 : }
4995 0 : delete [] tempListstring_to_edge_index_multimap;
4996 : }
4997 0 : {
4998 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
4999 0 : unsigned int tempListCountnode_index_to_edge_multimap = 0;
5000 0 : SgGraphEdge** tempListnode_index_to_edge_multimap = new SgGraphEdge* [ source->p_node_index_to_edge_multimap.size() ];
5001 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap.end(); ++integer_edge_it2)
5002 : {
5003 0 : tempListnode_index_to_edge_multimap[tempListCountnode_index_to_edge_multimap] = integer_edge_it2->second;
5004 0 : tempListCountnode_index_to_edge_multimap++;
5005 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
5006 : }
5007 0 : storageOf_node_index_to_edge_multimap.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap);
5008 0 : tempListCountnode_index_to_edge_multimap = 0;
5009 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap.end(); ++integer_edge_it2)
5010 : {
5011 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap [ tempListCountnode_index_to_edge_multimap ];
5012 0 : tempListCountnode_index_to_edge_multimap++;
5013 : }
5014 0 : delete [] tempListnode_index_to_edge_multimap;
5015 : }
5016 0 : storageOf_index = source->p_index ;
5017 0 : storageOf_boost_edges.storeDataInEasyStorageClass(source->p_boost_edges);
5018 0 : storageOf_boost_edge_weights.storeDataInEasyStorageClass(source->p_boost_edge_weights);
5019 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
5020 0 : storageOf_properties.storeDataInEasyStorageClass(source->p_properties);
5021 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
5022 0 : storageOf_isModified = source->p_isModified ;
5023 0 : storageOf_containsTransformation = source->p_containsTransformation ;
5024 0 : }
5025 :
5026 : void
5027 0 : SgStringKeyedBidirectionalGraphStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
5028 : {
5029 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
5030 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
5031 0 : EasyStorage < rose_graph_integer_node_hash_map > :: arrangeMemoryPoolInOneBlock() ;
5032 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: arrangeMemoryPoolInOneBlock() ;
5033 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
5034 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
5035 0 : EasyStorage < SgBoostEdgeList > :: arrangeMemoryPoolInOneBlock() ;
5036 0 : EasyStorage < SgBoostEdgeWeightList > :: arrangeMemoryPoolInOneBlock() ;
5037 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
5038 0 : EasyStorage < std::map<int, std::string> > :: arrangeMemoryPoolInOneBlock() ;
5039 0 : }
5040 :
5041 : void
5042 2 : SgStringKeyedBidirectionalGraphStorageClass::deleteStaticDataOfEasyStorageClasses ( )
5043 : {
5044 2 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: deleteMemoryPool() ;
5045 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
5046 2 : EasyStorage < rose_graph_integer_node_hash_map > :: deleteMemoryPool() ;
5047 2 : EasyStorage < rose_graph_integer_edge_hash_map > :: deleteMemoryPool() ;
5048 2 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: deleteMemoryPool() ;
5049 2 : EasyStorage < rose_graph_string_integer_hash_multimap > :: deleteMemoryPool() ;
5050 2 : EasyStorage < SgBoostEdgeList > :: deleteMemoryPool() ;
5051 2 : EasyStorage < SgBoostEdgeWeightList > :: deleteMemoryPool() ;
5052 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
5053 2 : EasyStorage < std::map<int, std::string> > :: deleteMemoryPool() ;
5054 2 : }
5055 :
5056 : void
5057 0 : SgStringKeyedBidirectionalGraphStorageClass::writeEasyStorageDataToFile (std::ostream& out)
5058 : {
5059 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: writeToFile(out) ;
5060 0 : EasyStorage < std::string > :: writeToFile(out) ;
5061 0 : EasyStorage < rose_graph_integer_node_hash_map > :: writeToFile(out) ;
5062 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: writeToFile(out) ;
5063 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: writeToFile(out) ;
5064 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: writeToFile(out) ;
5065 0 : EasyStorage < SgBoostEdgeList > :: writeToFile(out) ;
5066 0 : EasyStorage < SgBoostEdgeWeightList > :: writeToFile(out) ;
5067 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
5068 0 : EasyStorage < std::map<int, std::string> > :: writeToFile(out) ;
5069 0 : }
5070 :
5071 :
5072 : void
5073 0 : SgStringKeyedBidirectionalGraphStorageClass::readEasyStorageDataFromFile (std::istream& in)
5074 : {
5075 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: readFromFile(in) ;
5076 0 : EasyStorage < std::string > :: readFromFile(in) ;
5077 0 : EasyStorage < rose_graph_integer_node_hash_map > :: readFromFile(in) ;
5078 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: readFromFile(in) ;
5079 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: readFromFile(in) ;
5080 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: readFromFile(in) ;
5081 0 : EasyStorage < SgBoostEdgeList > :: readFromFile(in) ;
5082 0 : EasyStorage < SgBoostEdgeWeightList > :: readFromFile(in) ;
5083 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
5084 0 : EasyStorage < std::map<int, std::string> > :: readFromFile(in) ;
5085 0 : }
5086 :
5087 :
5088 :
5089 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5090 :
5091 :
5092 : // ********************************************************
5093 :
5094 : /* #line 5095 "../../../src/frontend/SageIII//StorageClasses.C" */
5095 :
5096 :
5097 :
5098 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5099 :
5100 : // ****************************************************************
5101 : // member functions definition specific to each node in the grammar
5102 : // these are the SgIntKeyedBidirectionalGraphStorageClass parts !!!!
5103 : // ROSETTA generated code. Do not change by hand.
5104 : // ****************************************************************
5105 :
5106 :
5107 : /* #line 5108 "../../../src/frontend/SageIII//StorageClasses.C" */
5108 :
5109 :
5110 : void
5111 0 : SgIntKeyedBidirectionalGraphStorageClass::pickOutIRNodeData ( SgIntKeyedBidirectionalGraph* pointer )
5112 : {
5113 0 : SgIntKeyedBidirectionalGraph* source = (SgIntKeyedBidirectionalGraph*) (pointer);
5114 : #if FILE_IO_EXTRA_CHECK
5115 0 : assert ( source != NULL ) ;
5116 0 : assert ( source->p_freepointer != NULL) ;
5117 : #endif
5118 0 : {
5119 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
5120 0 : unsigned int tempListCountnode_index_to_edge_multimap_edgesOut = 0;
5121 0 : SgGraphEdge** tempListnode_index_to_edge_multimap_edgesOut = new SgGraphEdge* [ source->p_node_index_to_edge_multimap_edgesOut.size() ];
5122 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesOut.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesOut.end(); ++integer_edge_it2)
5123 : {
5124 0 : tempListnode_index_to_edge_multimap_edgesOut[tempListCountnode_index_to_edge_multimap_edgesOut] = integer_edge_it2->second;
5125 0 : tempListCountnode_index_to_edge_multimap_edgesOut++;
5126 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
5127 : }
5128 0 : storageOf_node_index_to_edge_multimap_edgesOut.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap_edgesOut);
5129 0 : tempListCountnode_index_to_edge_multimap_edgesOut = 0;
5130 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesOut.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesOut.end(); ++integer_edge_it2)
5131 : {
5132 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap_edgesOut [ tempListCountnode_index_to_edge_multimap_edgesOut ];
5133 0 : tempListCountnode_index_to_edge_multimap_edgesOut++;
5134 : }
5135 0 : delete [] tempListnode_index_to_edge_multimap_edgesOut;
5136 : }
5137 0 : {
5138 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
5139 0 : unsigned int tempListCountnode_index_to_edge_multimap_edgesIn = 0;
5140 0 : SgGraphEdge** tempListnode_index_to_edge_multimap_edgesIn = new SgGraphEdge* [ source->p_node_index_to_edge_multimap_edgesIn.size() ];
5141 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesIn.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesIn.end(); ++integer_edge_it2)
5142 : {
5143 0 : tempListnode_index_to_edge_multimap_edgesIn[tempListCountnode_index_to_edge_multimap_edgesIn] = integer_edge_it2->second;
5144 0 : tempListCountnode_index_to_edge_multimap_edgesIn++;
5145 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
5146 : }
5147 0 : storageOf_node_index_to_edge_multimap_edgesIn.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap_edgesIn);
5148 0 : tempListCountnode_index_to_edge_multimap_edgesIn = 0;
5149 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap_edgesIn.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap_edgesIn.end(); ++integer_edge_it2)
5150 : {
5151 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap_edgesIn [ tempListCountnode_index_to_edge_multimap_edgesIn ];
5152 0 : tempListCountnode_index_to_edge_multimap_edgesIn++;
5153 : }
5154 0 : delete [] tempListnode_index_to_edge_multimap_edgesIn;
5155 : }
5156 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
5157 0 : rose_graph_integer_node_hash_map::iterator integer_node_it;
5158 0 : unsigned int tempListCountnode_index_to_node_map = 0;
5159 0 : SgGraphNode** tempListnode_index_to_node_map = new SgGraphNode* [ source->p_node_index_to_node_map.size() ];
5160 0 : for (integer_node_it = source->p_node_index_to_node_map.begin(); integer_node_it != source->p_node_index_to_node_map.end(); ++integer_node_it)
5161 : {
5162 0 : tempListnode_index_to_node_map[tempListCountnode_index_to_node_map] = integer_node_it->second;
5163 0 : tempListCountnode_index_to_node_map++;
5164 0 : integer_node_it->second = (SgGraphNode*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_node_it->second) );
5165 : }
5166 0 : storageOf_node_index_to_node_map.storeDataInEasyStorageClass(source->p_node_index_to_node_map);
5167 0 : tempListCountnode_index_to_node_map = 0;
5168 0 : for (integer_node_it = source->p_node_index_to_node_map.begin(); integer_node_it != source->p_node_index_to_node_map.end(); ++integer_node_it)
5169 : {
5170 0 : integer_node_it->second = tempListnode_index_to_node_map [ tempListCountnode_index_to_node_map ];
5171 0 : tempListCountnode_index_to_node_map++;
5172 : }
5173 0 : delete [] tempListnode_index_to_node_map;
5174 0 : rose_graph_integer_edge_hash_map::iterator integer_edge_it;
5175 0 : unsigned int tempListCountedge_index_to_edge_map = 0;
5176 0 : SgGraphEdge** tempListedge_index_to_edge_map = new SgGraphEdge* [ source->p_edge_index_to_edge_map.size() ];
5177 0 : for (integer_edge_it = source->p_edge_index_to_edge_map.begin(); integer_edge_it != source->p_edge_index_to_edge_map.end(); ++integer_edge_it)
5178 : {
5179 0 : tempListedge_index_to_edge_map[tempListCountedge_index_to_edge_map] = integer_edge_it->second;
5180 0 : tempListCountedge_index_to_edge_map++;
5181 0 : integer_edge_it->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it->second) );
5182 : }
5183 0 : storageOf_edge_index_to_edge_map.storeDataInEasyStorageClass(source->p_edge_index_to_edge_map);
5184 0 : tempListCountedge_index_to_edge_map = 0;
5185 0 : for (integer_edge_it = source->p_edge_index_to_edge_map.begin(); integer_edge_it != source->p_edge_index_to_edge_map.end(); ++integer_edge_it)
5186 : {
5187 0 : integer_edge_it->second = tempListedge_index_to_edge_map [ tempListCountedge_index_to_edge_map ];
5188 0 : tempListCountedge_index_to_edge_map++;
5189 : }
5190 0 : delete [] tempListedge_index_to_edge_map;
5191 0 : rose_graph_integerpair_edge_hash_multimap::iterator integerpair_edge_it;
5192 0 : unsigned int tempListCountnode_index_pair_to_edge_multimap = 0;
5193 0 : SgGraphEdge** tempListnode_index_pair_to_edge_multimap = new SgGraphEdge* [ source->p_node_index_pair_to_edge_multimap.size() ];
5194 0 : for (integerpair_edge_it = source->p_node_index_pair_to_edge_multimap.begin(); integerpair_edge_it != source->p_node_index_pair_to_edge_multimap.end(); ++integerpair_edge_it)
5195 : {
5196 0 : tempListnode_index_pair_to_edge_multimap[tempListCountnode_index_pair_to_edge_multimap] = integerpair_edge_it->second;
5197 0 : tempListCountnode_index_pair_to_edge_multimap++;
5198 0 : integerpair_edge_it->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integerpair_edge_it->second) );
5199 : }
5200 0 : storageOf_node_index_pair_to_edge_multimap.storeDataInEasyStorageClass(source->p_node_index_pair_to_edge_multimap);
5201 0 : tempListCountnode_index_pair_to_edge_multimap = 0;
5202 0 : for (integerpair_edge_it = source->p_node_index_pair_to_edge_multimap.begin(); integerpair_edge_it != source->p_node_index_pair_to_edge_multimap.end(); ++integerpair_edge_it)
5203 : {
5204 0 : integerpair_edge_it->second = tempListnode_index_pair_to_edge_multimap [ tempListCountnode_index_pair_to_edge_multimap ];
5205 0 : tempListCountnode_index_pair_to_edge_multimap++;
5206 : }
5207 0 : delete [] tempListnode_index_pair_to_edge_multimap;
5208 0 : {
5209 0 : rose_graph_string_integer_hash_multimap::iterator string_integer_it;
5210 0 : unsigned int tempListCountstring_to_node_index_multimap = 0;
5211 0 : int* tempListstring_to_node_index_multimap = new int [ source->p_string_to_node_index_multimap.size() ];
5212 0 : for (string_integer_it = source->p_string_to_node_index_multimap.begin(); string_integer_it != source->p_string_to_node_index_multimap.end(); ++string_integer_it)
5213 : {
5214 0 : tempListstring_to_node_index_multimap[tempListCountstring_to_node_index_multimap] = string_integer_it->second;
5215 0 : tempListCountstring_to_node_index_multimap++;
5216 0 : string_integer_it->second = 0; printf ("Unimplemented support for rose_graph_string_integer_hash_multimap: Fixme! \n"); ROSE_ASSERT(false);
5217 : }
5218 0 : storageOf_string_to_node_index_multimap.storeDataInEasyStorageClass(source->p_string_to_node_index_multimap);
5219 0 : tempListCountstring_to_node_index_multimap = 0;
5220 0 : for (string_integer_it = source->p_string_to_node_index_multimap.begin(); string_integer_it != source->p_string_to_node_index_multimap.end(); ++string_integer_it)
5221 : {
5222 0 : string_integer_it->second = tempListstring_to_node_index_multimap [ tempListCountstring_to_node_index_multimap ];
5223 0 : tempListCountstring_to_node_index_multimap++;
5224 : }
5225 0 : delete [] tempListstring_to_node_index_multimap;
5226 : }
5227 0 : {
5228 0 : rose_graph_string_integer_hash_multimap::iterator string_integer_it;
5229 0 : unsigned int tempListCountstring_to_edge_index_multimap = 0;
5230 0 : int* tempListstring_to_edge_index_multimap = new int [ source->p_string_to_edge_index_multimap.size() ];
5231 0 : for (string_integer_it = source->p_string_to_edge_index_multimap.begin(); string_integer_it != source->p_string_to_edge_index_multimap.end(); ++string_integer_it)
5232 : {
5233 0 : tempListstring_to_edge_index_multimap[tempListCountstring_to_edge_index_multimap] = string_integer_it->second;
5234 0 : tempListCountstring_to_edge_index_multimap++;
5235 0 : string_integer_it->second = 0; printf ("Unimplemented support for rose_graph_string_integer_hash_multimap: Fixme! \n"); ROSE_ASSERT(false);
5236 : }
5237 0 : storageOf_string_to_edge_index_multimap.storeDataInEasyStorageClass(source->p_string_to_edge_index_multimap);
5238 0 : tempListCountstring_to_edge_index_multimap = 0;
5239 0 : for (string_integer_it = source->p_string_to_edge_index_multimap.begin(); string_integer_it != source->p_string_to_edge_index_multimap.end(); ++string_integer_it)
5240 : {
5241 0 : string_integer_it->second = tempListstring_to_edge_index_multimap [ tempListCountstring_to_edge_index_multimap ];
5242 0 : tempListCountstring_to_edge_index_multimap++;
5243 : }
5244 0 : delete [] tempListstring_to_edge_index_multimap;
5245 : }
5246 0 : {
5247 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
5248 0 : unsigned int tempListCountnode_index_to_edge_multimap = 0;
5249 0 : SgGraphEdge** tempListnode_index_to_edge_multimap = new SgGraphEdge* [ source->p_node_index_to_edge_multimap.size() ];
5250 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap.end(); ++integer_edge_it2)
5251 : {
5252 0 : tempListnode_index_to_edge_multimap[tempListCountnode_index_to_edge_multimap] = integer_edge_it2->second;
5253 0 : tempListCountnode_index_to_edge_multimap++;
5254 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
5255 : }
5256 0 : storageOf_node_index_to_edge_multimap.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap);
5257 0 : tempListCountnode_index_to_edge_multimap = 0;
5258 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap.end(); ++integer_edge_it2)
5259 : {
5260 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap [ tempListCountnode_index_to_edge_multimap ];
5261 0 : tempListCountnode_index_to_edge_multimap++;
5262 : }
5263 0 : delete [] tempListnode_index_to_edge_multimap;
5264 : }
5265 0 : storageOf_index = source->p_index ;
5266 0 : storageOf_boost_edges.storeDataInEasyStorageClass(source->p_boost_edges);
5267 0 : storageOf_boost_edge_weights.storeDataInEasyStorageClass(source->p_boost_edge_weights);
5268 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
5269 0 : storageOf_properties.storeDataInEasyStorageClass(source->p_properties);
5270 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
5271 0 : storageOf_isModified = source->p_isModified ;
5272 0 : storageOf_containsTransformation = source->p_containsTransformation ;
5273 0 : }
5274 :
5275 : void
5276 0 : SgIntKeyedBidirectionalGraphStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
5277 : {
5278 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
5279 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
5280 0 : EasyStorage < rose_graph_integer_node_hash_map > :: arrangeMemoryPoolInOneBlock() ;
5281 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: arrangeMemoryPoolInOneBlock() ;
5282 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
5283 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
5284 0 : EasyStorage < SgBoostEdgeList > :: arrangeMemoryPoolInOneBlock() ;
5285 0 : EasyStorage < SgBoostEdgeWeightList > :: arrangeMemoryPoolInOneBlock() ;
5286 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
5287 0 : EasyStorage < std::map<int, std::string> > :: arrangeMemoryPoolInOneBlock() ;
5288 0 : }
5289 :
5290 : void
5291 2 : SgIntKeyedBidirectionalGraphStorageClass::deleteStaticDataOfEasyStorageClasses ( )
5292 : {
5293 2 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: deleteMemoryPool() ;
5294 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
5295 2 : EasyStorage < rose_graph_integer_node_hash_map > :: deleteMemoryPool() ;
5296 2 : EasyStorage < rose_graph_integer_edge_hash_map > :: deleteMemoryPool() ;
5297 2 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: deleteMemoryPool() ;
5298 2 : EasyStorage < rose_graph_string_integer_hash_multimap > :: deleteMemoryPool() ;
5299 2 : EasyStorage < SgBoostEdgeList > :: deleteMemoryPool() ;
5300 2 : EasyStorage < SgBoostEdgeWeightList > :: deleteMemoryPool() ;
5301 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
5302 2 : EasyStorage < std::map<int, std::string> > :: deleteMemoryPool() ;
5303 2 : }
5304 :
5305 : void
5306 0 : SgIntKeyedBidirectionalGraphStorageClass::writeEasyStorageDataToFile (std::ostream& out)
5307 : {
5308 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: writeToFile(out) ;
5309 0 : EasyStorage < std::string > :: writeToFile(out) ;
5310 0 : EasyStorage < rose_graph_integer_node_hash_map > :: writeToFile(out) ;
5311 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: writeToFile(out) ;
5312 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: writeToFile(out) ;
5313 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: writeToFile(out) ;
5314 0 : EasyStorage < SgBoostEdgeList > :: writeToFile(out) ;
5315 0 : EasyStorage < SgBoostEdgeWeightList > :: writeToFile(out) ;
5316 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
5317 0 : EasyStorage < std::map<int, std::string> > :: writeToFile(out) ;
5318 0 : }
5319 :
5320 :
5321 : void
5322 0 : SgIntKeyedBidirectionalGraphStorageClass::readEasyStorageDataFromFile (std::istream& in)
5323 : {
5324 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: readFromFile(in) ;
5325 0 : EasyStorage < std::string > :: readFromFile(in) ;
5326 0 : EasyStorage < rose_graph_integer_node_hash_map > :: readFromFile(in) ;
5327 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: readFromFile(in) ;
5328 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: readFromFile(in) ;
5329 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: readFromFile(in) ;
5330 0 : EasyStorage < SgBoostEdgeList > :: readFromFile(in) ;
5331 0 : EasyStorage < SgBoostEdgeWeightList > :: readFromFile(in) ;
5332 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
5333 0 : EasyStorage < std::map<int, std::string> > :: readFromFile(in) ;
5334 0 : }
5335 :
5336 :
5337 :
5338 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5339 :
5340 :
5341 : // ********************************************************
5342 :
5343 : /* #line 5344 "../../../src/frontend/SageIII//StorageClasses.C" */
5344 :
5345 :
5346 :
5347 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5348 :
5349 : // ****************************************************************
5350 : // member functions definition specific to each node in the grammar
5351 : // these are the SgIncidenceUndirectedGraphStorageClass parts !!!!
5352 : // ROSETTA generated code. Do not change by hand.
5353 : // ****************************************************************
5354 :
5355 :
5356 : /* #line 5357 "../../../src/frontend/SageIII//StorageClasses.C" */
5357 :
5358 :
5359 : void
5360 0 : SgIncidenceUndirectedGraphStorageClass::pickOutIRNodeData ( SgIncidenceUndirectedGraph* pointer )
5361 : {
5362 0 : SgIncidenceUndirectedGraph* source = (SgIncidenceUndirectedGraph*) (pointer);
5363 : #if FILE_IO_EXTRA_CHECK
5364 0 : assert ( source != NULL ) ;
5365 0 : assert ( source->p_freepointer != NULL) ;
5366 : #endif
5367 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
5368 0 : rose_graph_integer_node_hash_map::iterator integer_node_it;
5369 0 : unsigned int tempListCountnode_index_to_node_map = 0;
5370 0 : SgGraphNode** tempListnode_index_to_node_map = new SgGraphNode* [ source->p_node_index_to_node_map.size() ];
5371 0 : for (integer_node_it = source->p_node_index_to_node_map.begin(); integer_node_it != source->p_node_index_to_node_map.end(); ++integer_node_it)
5372 : {
5373 0 : tempListnode_index_to_node_map[tempListCountnode_index_to_node_map] = integer_node_it->second;
5374 0 : tempListCountnode_index_to_node_map++;
5375 0 : integer_node_it->second = (SgGraphNode*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_node_it->second) );
5376 : }
5377 0 : storageOf_node_index_to_node_map.storeDataInEasyStorageClass(source->p_node_index_to_node_map);
5378 0 : tempListCountnode_index_to_node_map = 0;
5379 0 : for (integer_node_it = source->p_node_index_to_node_map.begin(); integer_node_it != source->p_node_index_to_node_map.end(); ++integer_node_it)
5380 : {
5381 0 : integer_node_it->second = tempListnode_index_to_node_map [ tempListCountnode_index_to_node_map ];
5382 0 : tempListCountnode_index_to_node_map++;
5383 : }
5384 0 : delete [] tempListnode_index_to_node_map;
5385 0 : rose_graph_integer_edge_hash_map::iterator integer_edge_it;
5386 0 : unsigned int tempListCountedge_index_to_edge_map = 0;
5387 0 : SgGraphEdge** tempListedge_index_to_edge_map = new SgGraphEdge* [ source->p_edge_index_to_edge_map.size() ];
5388 0 : for (integer_edge_it = source->p_edge_index_to_edge_map.begin(); integer_edge_it != source->p_edge_index_to_edge_map.end(); ++integer_edge_it)
5389 : {
5390 0 : tempListedge_index_to_edge_map[tempListCountedge_index_to_edge_map] = integer_edge_it->second;
5391 0 : tempListCountedge_index_to_edge_map++;
5392 0 : integer_edge_it->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it->second) );
5393 : }
5394 0 : storageOf_edge_index_to_edge_map.storeDataInEasyStorageClass(source->p_edge_index_to_edge_map);
5395 0 : tempListCountedge_index_to_edge_map = 0;
5396 0 : for (integer_edge_it = source->p_edge_index_to_edge_map.begin(); integer_edge_it != source->p_edge_index_to_edge_map.end(); ++integer_edge_it)
5397 : {
5398 0 : integer_edge_it->second = tempListedge_index_to_edge_map [ tempListCountedge_index_to_edge_map ];
5399 0 : tempListCountedge_index_to_edge_map++;
5400 : }
5401 0 : delete [] tempListedge_index_to_edge_map;
5402 0 : rose_graph_integerpair_edge_hash_multimap::iterator integerpair_edge_it;
5403 0 : unsigned int tempListCountnode_index_pair_to_edge_multimap = 0;
5404 0 : SgGraphEdge** tempListnode_index_pair_to_edge_multimap = new SgGraphEdge* [ source->p_node_index_pair_to_edge_multimap.size() ];
5405 0 : for (integerpair_edge_it = source->p_node_index_pair_to_edge_multimap.begin(); integerpair_edge_it != source->p_node_index_pair_to_edge_multimap.end(); ++integerpair_edge_it)
5406 : {
5407 0 : tempListnode_index_pair_to_edge_multimap[tempListCountnode_index_pair_to_edge_multimap] = integerpair_edge_it->second;
5408 0 : tempListCountnode_index_pair_to_edge_multimap++;
5409 0 : integerpair_edge_it->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integerpair_edge_it->second) );
5410 : }
5411 0 : storageOf_node_index_pair_to_edge_multimap.storeDataInEasyStorageClass(source->p_node_index_pair_to_edge_multimap);
5412 0 : tempListCountnode_index_pair_to_edge_multimap = 0;
5413 0 : for (integerpair_edge_it = source->p_node_index_pair_to_edge_multimap.begin(); integerpair_edge_it != source->p_node_index_pair_to_edge_multimap.end(); ++integerpair_edge_it)
5414 : {
5415 0 : integerpair_edge_it->second = tempListnode_index_pair_to_edge_multimap [ tempListCountnode_index_pair_to_edge_multimap ];
5416 0 : tempListCountnode_index_pair_to_edge_multimap++;
5417 : }
5418 0 : delete [] tempListnode_index_pair_to_edge_multimap;
5419 0 : {
5420 0 : rose_graph_string_integer_hash_multimap::iterator string_integer_it;
5421 0 : unsigned int tempListCountstring_to_node_index_multimap = 0;
5422 0 : int* tempListstring_to_node_index_multimap = new int [ source->p_string_to_node_index_multimap.size() ];
5423 0 : for (string_integer_it = source->p_string_to_node_index_multimap.begin(); string_integer_it != source->p_string_to_node_index_multimap.end(); ++string_integer_it)
5424 : {
5425 0 : tempListstring_to_node_index_multimap[tempListCountstring_to_node_index_multimap] = string_integer_it->second;
5426 0 : tempListCountstring_to_node_index_multimap++;
5427 0 : string_integer_it->second = 0; printf ("Unimplemented support for rose_graph_string_integer_hash_multimap: Fixme! \n"); ROSE_ASSERT(false);
5428 : }
5429 0 : storageOf_string_to_node_index_multimap.storeDataInEasyStorageClass(source->p_string_to_node_index_multimap);
5430 0 : tempListCountstring_to_node_index_multimap = 0;
5431 0 : for (string_integer_it = source->p_string_to_node_index_multimap.begin(); string_integer_it != source->p_string_to_node_index_multimap.end(); ++string_integer_it)
5432 : {
5433 0 : string_integer_it->second = tempListstring_to_node_index_multimap [ tempListCountstring_to_node_index_multimap ];
5434 0 : tempListCountstring_to_node_index_multimap++;
5435 : }
5436 0 : delete [] tempListstring_to_node_index_multimap;
5437 : }
5438 0 : {
5439 0 : rose_graph_string_integer_hash_multimap::iterator string_integer_it;
5440 0 : unsigned int tempListCountstring_to_edge_index_multimap = 0;
5441 0 : int* tempListstring_to_edge_index_multimap = new int [ source->p_string_to_edge_index_multimap.size() ];
5442 0 : for (string_integer_it = source->p_string_to_edge_index_multimap.begin(); string_integer_it != source->p_string_to_edge_index_multimap.end(); ++string_integer_it)
5443 : {
5444 0 : tempListstring_to_edge_index_multimap[tempListCountstring_to_edge_index_multimap] = string_integer_it->second;
5445 0 : tempListCountstring_to_edge_index_multimap++;
5446 0 : string_integer_it->second = 0; printf ("Unimplemented support for rose_graph_string_integer_hash_multimap: Fixme! \n"); ROSE_ASSERT(false);
5447 : }
5448 0 : storageOf_string_to_edge_index_multimap.storeDataInEasyStorageClass(source->p_string_to_edge_index_multimap);
5449 0 : tempListCountstring_to_edge_index_multimap = 0;
5450 0 : for (string_integer_it = source->p_string_to_edge_index_multimap.begin(); string_integer_it != source->p_string_to_edge_index_multimap.end(); ++string_integer_it)
5451 : {
5452 0 : string_integer_it->second = tempListstring_to_edge_index_multimap [ tempListCountstring_to_edge_index_multimap ];
5453 0 : tempListCountstring_to_edge_index_multimap++;
5454 : }
5455 0 : delete [] tempListstring_to_edge_index_multimap;
5456 : }
5457 0 : {
5458 0 : rose_graph_integer_edge_hash_multimap::iterator integer_edge_it2;
5459 0 : unsigned int tempListCountnode_index_to_edge_multimap = 0;
5460 0 : SgGraphEdge** tempListnode_index_to_edge_multimap = new SgGraphEdge* [ source->p_node_index_to_edge_multimap.size() ];
5461 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap.end(); ++integer_edge_it2)
5462 : {
5463 0 : tempListnode_index_to_edge_multimap[tempListCountnode_index_to_edge_multimap] = integer_edge_it2->second;
5464 0 : tempListCountnode_index_to_edge_multimap++;
5465 0 : integer_edge_it2->second = (SgGraphEdge*)(AST_FILE_IO::getGlobalIndexFromSgClassPointer(integer_edge_it2->second) );
5466 : }
5467 0 : storageOf_node_index_to_edge_multimap.storeDataInEasyStorageClass(source->p_node_index_to_edge_multimap);
5468 0 : tempListCountnode_index_to_edge_multimap = 0;
5469 0 : for (integer_edge_it2 = source->p_node_index_to_edge_multimap.begin(); integer_edge_it2 != source->p_node_index_to_edge_multimap.end(); ++integer_edge_it2)
5470 : {
5471 0 : integer_edge_it2->second = tempListnode_index_to_edge_multimap [ tempListCountnode_index_to_edge_multimap ];
5472 0 : tempListCountnode_index_to_edge_multimap++;
5473 : }
5474 0 : delete [] tempListnode_index_to_edge_multimap;
5475 : }
5476 0 : storageOf_index = source->p_index ;
5477 0 : storageOf_boost_edges.storeDataInEasyStorageClass(source->p_boost_edges);
5478 0 : storageOf_boost_edge_weights.storeDataInEasyStorageClass(source->p_boost_edge_weights);
5479 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
5480 0 : storageOf_properties.storeDataInEasyStorageClass(source->p_properties);
5481 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
5482 0 : storageOf_isModified = source->p_isModified ;
5483 0 : storageOf_containsTransformation = source->p_containsTransformation ;
5484 0 : }
5485 :
5486 : void
5487 0 : SgIncidenceUndirectedGraphStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
5488 : {
5489 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
5490 0 : EasyStorage < rose_graph_integer_node_hash_map > :: arrangeMemoryPoolInOneBlock() ;
5491 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: arrangeMemoryPoolInOneBlock() ;
5492 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
5493 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
5494 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: arrangeMemoryPoolInOneBlock() ;
5495 0 : EasyStorage < SgBoostEdgeList > :: arrangeMemoryPoolInOneBlock() ;
5496 0 : EasyStorage < SgBoostEdgeWeightList > :: arrangeMemoryPoolInOneBlock() ;
5497 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
5498 0 : EasyStorage < std::map<int, std::string> > :: arrangeMemoryPoolInOneBlock() ;
5499 0 : }
5500 :
5501 : void
5502 2 : SgIncidenceUndirectedGraphStorageClass::deleteStaticDataOfEasyStorageClasses ( )
5503 : {
5504 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
5505 2 : EasyStorage < rose_graph_integer_node_hash_map > :: deleteMemoryPool() ;
5506 2 : EasyStorage < rose_graph_integer_edge_hash_map > :: deleteMemoryPool() ;
5507 2 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: deleteMemoryPool() ;
5508 2 : EasyStorage < rose_graph_string_integer_hash_multimap > :: deleteMemoryPool() ;
5509 2 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: deleteMemoryPool() ;
5510 2 : EasyStorage < SgBoostEdgeList > :: deleteMemoryPool() ;
5511 2 : EasyStorage < SgBoostEdgeWeightList > :: deleteMemoryPool() ;
5512 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
5513 2 : EasyStorage < std::map<int, std::string> > :: deleteMemoryPool() ;
5514 2 : }
5515 :
5516 : void
5517 0 : SgIncidenceUndirectedGraphStorageClass::writeEasyStorageDataToFile (std::ostream& out)
5518 : {
5519 0 : EasyStorage < std::string > :: writeToFile(out) ;
5520 0 : EasyStorage < rose_graph_integer_node_hash_map > :: writeToFile(out) ;
5521 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: writeToFile(out) ;
5522 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: writeToFile(out) ;
5523 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: writeToFile(out) ;
5524 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: writeToFile(out) ;
5525 0 : EasyStorage < SgBoostEdgeList > :: writeToFile(out) ;
5526 0 : EasyStorage < SgBoostEdgeWeightList > :: writeToFile(out) ;
5527 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
5528 0 : EasyStorage < std::map<int, std::string> > :: writeToFile(out) ;
5529 0 : }
5530 :
5531 :
5532 : void
5533 0 : SgIncidenceUndirectedGraphStorageClass::readEasyStorageDataFromFile (std::istream& in)
5534 : {
5535 0 : EasyStorage < std::string > :: readFromFile(in) ;
5536 0 : EasyStorage < rose_graph_integer_node_hash_map > :: readFromFile(in) ;
5537 0 : EasyStorage < rose_graph_integer_edge_hash_map > :: readFromFile(in) ;
5538 0 : EasyStorage < rose_graph_integerpair_edge_hash_multimap > :: readFromFile(in) ;
5539 0 : EasyStorage < rose_graph_string_integer_hash_multimap > :: readFromFile(in) ;
5540 0 : EasyStorage < rose_graph_integer_edge_hash_multimap > :: readFromFile(in) ;
5541 0 : EasyStorage < SgBoostEdgeList > :: readFromFile(in) ;
5542 0 : EasyStorage < SgBoostEdgeWeightList > :: readFromFile(in) ;
5543 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
5544 0 : EasyStorage < std::map<int, std::string> > :: readFromFile(in) ;
5545 0 : }
5546 :
5547 :
5548 :
5549 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5550 :
5551 :
5552 : // ********************************************************
5553 :
5554 : /* #line 5555 "../../../src/frontend/SageIII//StorageClasses.C" */
5555 :
5556 :
5557 :
5558 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5559 :
5560 : // ****************************************************************
5561 : // member functions definition specific to each node in the grammar
5562 : // these are the SgGraphNodeStorageClass parts !!!!
5563 : // ROSETTA generated code. Do not change by hand.
5564 : // ****************************************************************
5565 :
5566 :
5567 : /* #line 5568 "../../../src/frontend/SageIII//StorageClasses.C" */
5568 :
5569 :
5570 : void
5571 0 : SgGraphNodeStorageClass::pickOutIRNodeData ( SgGraphNode* pointer )
5572 : {
5573 0 : SgGraphNode* source = (SgGraphNode*) (pointer);
5574 : #if FILE_IO_EXTRA_CHECK
5575 0 : assert ( source != NULL ) ;
5576 0 : assert ( source->p_freepointer != NULL) ;
5577 : #endif
5578 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
5579 0 : storageOf_SgNode = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_SgNode );
5580 0 : storageOf_index = source->p_index ;
5581 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
5582 0 : storageOf_properties.storeDataInEasyStorageClass(source->p_properties);
5583 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
5584 0 : storageOf_isModified = source->p_isModified ;
5585 0 : storageOf_containsTransformation = source->p_containsTransformation ;
5586 0 : }
5587 :
5588 : void
5589 0 : SgGraphNodeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
5590 : {
5591 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
5592 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
5593 0 : EasyStorage < std::map<int, std::string> > :: arrangeMemoryPoolInOneBlock() ;
5594 0 : }
5595 :
5596 : void
5597 2 : SgGraphNodeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
5598 : {
5599 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
5600 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
5601 2 : EasyStorage < std::map<int, std::string> > :: deleteMemoryPool() ;
5602 2 : }
5603 :
5604 : void
5605 0 : SgGraphNodeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
5606 : {
5607 0 : EasyStorage < std::string > :: writeToFile(out) ;
5608 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
5609 0 : EasyStorage < std::map<int, std::string> > :: writeToFile(out) ;
5610 0 : }
5611 :
5612 :
5613 : void
5614 0 : SgGraphNodeStorageClass::readEasyStorageDataFromFile (std::istream& in)
5615 : {
5616 0 : EasyStorage < std::string > :: readFromFile(in) ;
5617 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
5618 0 : EasyStorage < std::map<int, std::string> > :: readFromFile(in) ;
5619 0 : }
5620 :
5621 :
5622 :
5623 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5624 :
5625 :
5626 : // ********************************************************
5627 :
5628 : /* #line 5629 "../../../src/frontend/SageIII//StorageClasses.C" */
5629 :
5630 :
5631 :
5632 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5633 :
5634 : // ****************************************************************
5635 : // member functions definition specific to each node in the grammar
5636 : // these are the SgGraphEdgeStorageClass parts !!!!
5637 : // ROSETTA generated code. Do not change by hand.
5638 : // ****************************************************************
5639 :
5640 :
5641 : /* #line 5642 "../../../src/frontend/SageIII//StorageClasses.C" */
5642 :
5643 :
5644 : void
5645 0 : SgGraphEdgeStorageClass::pickOutIRNodeData ( SgGraphEdge* pointer )
5646 : {
5647 0 : SgGraphEdge* source = (SgGraphEdge*) (pointer);
5648 : #if FILE_IO_EXTRA_CHECK
5649 0 : assert ( source != NULL ) ;
5650 0 : assert ( source->p_freepointer != NULL) ;
5651 : #endif
5652 0 : storageOf_node_A = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_node_A );
5653 0 : storageOf_node_B = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_node_B );
5654 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
5655 0 : storageOf_index = source->p_index ;
5656 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
5657 0 : storageOf_properties.storeDataInEasyStorageClass(source->p_properties);
5658 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
5659 0 : storageOf_isModified = source->p_isModified ;
5660 0 : storageOf_containsTransformation = source->p_containsTransformation ;
5661 0 : }
5662 :
5663 : void
5664 0 : SgGraphEdgeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
5665 : {
5666 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
5667 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
5668 0 : EasyStorage < std::map<int, std::string> > :: arrangeMemoryPoolInOneBlock() ;
5669 0 : }
5670 :
5671 : void
5672 2 : SgGraphEdgeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
5673 : {
5674 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
5675 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
5676 2 : EasyStorage < std::map<int, std::string> > :: deleteMemoryPool() ;
5677 2 : }
5678 :
5679 : void
5680 0 : SgGraphEdgeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
5681 : {
5682 0 : EasyStorage < std::string > :: writeToFile(out) ;
5683 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
5684 0 : EasyStorage < std::map<int, std::string> > :: writeToFile(out) ;
5685 0 : }
5686 :
5687 :
5688 : void
5689 0 : SgGraphEdgeStorageClass::readEasyStorageDataFromFile (std::istream& in)
5690 : {
5691 0 : EasyStorage < std::string > :: readFromFile(in) ;
5692 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
5693 0 : EasyStorage < std::map<int, std::string> > :: readFromFile(in) ;
5694 0 : }
5695 :
5696 :
5697 :
5698 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5699 :
5700 :
5701 : // ********************************************************
5702 :
5703 : /* #line 5704 "../../../src/frontend/SageIII//StorageClasses.C" */
5704 :
5705 :
5706 :
5707 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5708 :
5709 : // ****************************************************************
5710 : // member functions definition specific to each node in the grammar
5711 : // these are the SgDirectedGraphEdgeStorageClass parts !!!!
5712 : // ROSETTA generated code. Do not change by hand.
5713 : // ****************************************************************
5714 :
5715 :
5716 : /* #line 5717 "../../../src/frontend/SageIII//StorageClasses.C" */
5717 :
5718 :
5719 : void
5720 0 : SgDirectedGraphEdgeStorageClass::pickOutIRNodeData ( SgDirectedGraphEdge* pointer )
5721 : {
5722 0 : SgDirectedGraphEdge* source = (SgDirectedGraphEdge*) (pointer);
5723 : #if FILE_IO_EXTRA_CHECK
5724 0 : assert ( source != NULL ) ;
5725 0 : assert ( source->p_freepointer != NULL) ;
5726 : #endif
5727 0 : storageOf_node_A = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_node_A );
5728 0 : storageOf_node_B = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_node_B );
5729 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
5730 0 : storageOf_index = source->p_index ;
5731 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
5732 0 : storageOf_properties.storeDataInEasyStorageClass(source->p_properties);
5733 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
5734 0 : storageOf_isModified = source->p_isModified ;
5735 0 : storageOf_containsTransformation = source->p_containsTransformation ;
5736 0 : }
5737 :
5738 : void
5739 0 : SgDirectedGraphEdgeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
5740 : {
5741 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
5742 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
5743 0 : EasyStorage < std::map<int, std::string> > :: arrangeMemoryPoolInOneBlock() ;
5744 0 : }
5745 :
5746 : void
5747 2 : SgDirectedGraphEdgeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
5748 : {
5749 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
5750 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
5751 2 : EasyStorage < std::map<int, std::string> > :: deleteMemoryPool() ;
5752 2 : }
5753 :
5754 : void
5755 0 : SgDirectedGraphEdgeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
5756 : {
5757 0 : EasyStorage < std::string > :: writeToFile(out) ;
5758 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
5759 0 : EasyStorage < std::map<int, std::string> > :: writeToFile(out) ;
5760 0 : }
5761 :
5762 :
5763 : void
5764 0 : SgDirectedGraphEdgeStorageClass::readEasyStorageDataFromFile (std::istream& in)
5765 : {
5766 0 : EasyStorage < std::string > :: readFromFile(in) ;
5767 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
5768 0 : EasyStorage < std::map<int, std::string> > :: readFromFile(in) ;
5769 0 : }
5770 :
5771 :
5772 :
5773 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5774 :
5775 :
5776 : // ********************************************************
5777 :
5778 : /* #line 5779 "../../../src/frontend/SageIII//StorageClasses.C" */
5779 :
5780 :
5781 :
5782 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5783 :
5784 : // ****************************************************************
5785 : // member functions definition specific to each node in the grammar
5786 : // these are the SgUndirectedGraphEdgeStorageClass parts !!!!
5787 : // ROSETTA generated code. Do not change by hand.
5788 : // ****************************************************************
5789 :
5790 :
5791 : /* #line 5792 "../../../src/frontend/SageIII//StorageClasses.C" */
5792 :
5793 :
5794 : void
5795 0 : SgUndirectedGraphEdgeStorageClass::pickOutIRNodeData ( SgUndirectedGraphEdge* pointer )
5796 : {
5797 0 : SgUndirectedGraphEdge* source = (SgUndirectedGraphEdge*) (pointer);
5798 : #if FILE_IO_EXTRA_CHECK
5799 0 : assert ( source != NULL ) ;
5800 0 : assert ( source->p_freepointer != NULL) ;
5801 : #endif
5802 0 : storageOf_node_A = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_node_A );
5803 0 : storageOf_node_B = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_node_B );
5804 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
5805 0 : storageOf_index = source->p_index ;
5806 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
5807 0 : storageOf_properties.storeDataInEasyStorageClass(source->p_properties);
5808 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
5809 0 : storageOf_isModified = source->p_isModified ;
5810 0 : storageOf_containsTransformation = source->p_containsTransformation ;
5811 0 : }
5812 :
5813 : void
5814 0 : SgUndirectedGraphEdgeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
5815 : {
5816 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
5817 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
5818 0 : EasyStorage < std::map<int, std::string> > :: arrangeMemoryPoolInOneBlock() ;
5819 0 : }
5820 :
5821 : void
5822 2 : SgUndirectedGraphEdgeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
5823 : {
5824 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
5825 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
5826 2 : EasyStorage < std::map<int, std::string> > :: deleteMemoryPool() ;
5827 2 : }
5828 :
5829 : void
5830 0 : SgUndirectedGraphEdgeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
5831 : {
5832 0 : EasyStorage < std::string > :: writeToFile(out) ;
5833 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
5834 0 : EasyStorage < std::map<int, std::string> > :: writeToFile(out) ;
5835 0 : }
5836 :
5837 :
5838 : void
5839 0 : SgUndirectedGraphEdgeStorageClass::readEasyStorageDataFromFile (std::istream& in)
5840 : {
5841 0 : EasyStorage < std::string > :: readFromFile(in) ;
5842 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
5843 0 : EasyStorage < std::map<int, std::string> > :: readFromFile(in) ;
5844 0 : }
5845 :
5846 :
5847 :
5848 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5849 :
5850 :
5851 : // ********************************************************
5852 :
5853 : /* #line 5854 "../../../src/frontend/SageIII//StorageClasses.C" */
5854 :
5855 :
5856 :
5857 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5858 :
5859 : // ****************************************************************
5860 : // member functions definition specific to each node in the grammar
5861 : // these are the SgGraphNodeListStorageClass parts !!!!
5862 : // ROSETTA generated code. Do not change by hand.
5863 : // ****************************************************************
5864 :
5865 :
5866 : /* #line 5867 "../../../src/frontend/SageIII//StorageClasses.C" */
5867 :
5868 :
5869 : void
5870 0 : SgGraphNodeListStorageClass::pickOutIRNodeData ( SgGraphNodeList* pointer )
5871 : {
5872 0 : SgGraphNodeList* source = (SgGraphNodeList*) (pointer);
5873 : #if FILE_IO_EXTRA_CHECK
5874 0 : assert ( source != NULL ) ;
5875 0 : assert ( source->p_freepointer != NULL) ;
5876 : #endif
5877 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
5878 0 : storageOf_isModified = source->p_isModified ;
5879 0 : storageOf_containsTransformation = source->p_containsTransformation ;
5880 0 : }
5881 :
5882 :
5883 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5884 :
5885 :
5886 : // ********************************************************
5887 :
5888 : /* #line 5889 "../../../src/frontend/SageIII//StorageClasses.C" */
5889 :
5890 :
5891 :
5892 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5893 :
5894 : // ****************************************************************
5895 : // member functions definition specific to each node in the grammar
5896 : // these are the SgGraphEdgeListStorageClass parts !!!!
5897 : // ROSETTA generated code. Do not change by hand.
5898 : // ****************************************************************
5899 :
5900 :
5901 : /* #line 5902 "../../../src/frontend/SageIII//StorageClasses.C" */
5902 :
5903 :
5904 : void
5905 0 : SgGraphEdgeListStorageClass::pickOutIRNodeData ( SgGraphEdgeList* pointer )
5906 : {
5907 0 : SgGraphEdgeList* source = (SgGraphEdgeList*) (pointer);
5908 : #if FILE_IO_EXTRA_CHECK
5909 0 : assert ( source != NULL ) ;
5910 0 : assert ( source->p_freepointer != NULL) ;
5911 : #endif
5912 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
5913 0 : storageOf_isModified = source->p_isModified ;
5914 0 : storageOf_containsTransformation = source->p_containsTransformation ;
5915 0 : }
5916 :
5917 :
5918 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5919 :
5920 :
5921 : // ********************************************************
5922 :
5923 : /* #line 5924 "../../../src/frontend/SageIII//StorageClasses.C" */
5924 :
5925 :
5926 :
5927 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5928 :
5929 : // ****************************************************************
5930 : // member functions definition specific to each node in the grammar
5931 : // these are the SgTypeTableStorageClass parts !!!!
5932 : // ROSETTA generated code. Do not change by hand.
5933 : // ****************************************************************
5934 :
5935 :
5936 : /* #line 5937 "../../../src/frontend/SageIII//StorageClasses.C" */
5937 :
5938 :
5939 : void
5940 13455 : SgTypeTableStorageClass::pickOutIRNodeData ( SgTypeTable* pointer )
5941 : {
5942 13455 : SgTypeTable* source = (SgTypeTable*) (pointer);
5943 : #if FILE_IO_EXTRA_CHECK
5944 13455 : assert ( source != NULL ) ;
5945 13455 : assert ( source->p_freepointer != NULL) ;
5946 : #endif
5947 13455 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
5948 13455 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
5949 13455 : storageOf_isModified = source->p_isModified ;
5950 13455 : storageOf_containsTransformation = source->p_containsTransformation ;
5951 13455 : }
5952 :
5953 :
5954 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5955 :
5956 :
5957 : // ********************************************************
5958 :
5959 : /* #line 5960 "../../../src/frontend/SageIII//StorageClasses.C" */
5960 :
5961 :
5962 :
5963 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
5964 :
5965 : // ****************************************************************
5966 : // member functions definition specific to each node in the grammar
5967 : // these are the SgNameGroupStorageClass parts !!!!
5968 : // ROSETTA generated code. Do not change by hand.
5969 : // ****************************************************************
5970 :
5971 :
5972 : /* #line 5973 "../../../src/frontend/SageIII//StorageClasses.C" */
5973 :
5974 :
5975 : void
5976 0 : SgNameGroupStorageClass::pickOutIRNodeData ( SgNameGroup* pointer )
5977 : {
5978 0 : SgNameGroup* source = (SgNameGroup*) (pointer);
5979 : #if FILE_IO_EXTRA_CHECK
5980 0 : assert ( source != NULL ) ;
5981 0 : assert ( source->p_freepointer != NULL) ;
5982 : #endif
5983 0 : storageOf_group_name.storeDataInEasyStorageClass(source->p_group_name);
5984 0 : storageOf_name_list.storeDataInEasyStorageClass(source->p_name_list);
5985 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
5986 0 : storageOf_isModified = source->p_isModified ;
5987 0 : storageOf_containsTransformation = source->p_containsTransformation ;
5988 0 : }
5989 :
5990 : void
5991 0 : SgNameGroupStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
5992 : {
5993 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
5994 0 : EasyStorage < SgStringList > :: arrangeMemoryPoolInOneBlock() ;
5995 0 : }
5996 :
5997 : void
5998 2 : SgNameGroupStorageClass::deleteStaticDataOfEasyStorageClasses ( )
5999 : {
6000 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
6001 2 : EasyStorage < SgStringList > :: deleteMemoryPool() ;
6002 2 : }
6003 :
6004 : void
6005 0 : SgNameGroupStorageClass::writeEasyStorageDataToFile (std::ostream& out)
6006 : {
6007 0 : EasyStorage < std::string > :: writeToFile(out) ;
6008 0 : EasyStorage < SgStringList > :: writeToFile(out) ;
6009 0 : }
6010 :
6011 :
6012 : void
6013 0 : SgNameGroupStorageClass::readEasyStorageDataFromFile (std::istream& in)
6014 : {
6015 0 : EasyStorage < std::string > :: readFromFile(in) ;
6016 0 : EasyStorage < SgStringList > :: readFromFile(in) ;
6017 0 : }
6018 :
6019 :
6020 :
6021 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6022 :
6023 :
6024 : // ********************************************************
6025 :
6026 : /* #line 6027 "../../../src/frontend/SageIII//StorageClasses.C" */
6027 :
6028 :
6029 :
6030 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6031 :
6032 : // ****************************************************************
6033 : // member functions definition specific to each node in the grammar
6034 : // these are the SgDimensionObjectStorageClass parts !!!!
6035 : // ROSETTA generated code. Do not change by hand.
6036 : // ****************************************************************
6037 :
6038 :
6039 : /* #line 6040 "../../../src/frontend/SageIII//StorageClasses.C" */
6040 :
6041 :
6042 : void
6043 0 : SgDimensionObjectStorageClass::pickOutIRNodeData ( SgDimensionObject* pointer )
6044 : {
6045 0 : SgDimensionObject* source = (SgDimensionObject*) (pointer);
6046 : #if FILE_IO_EXTRA_CHECK
6047 0 : assert ( source != NULL ) ;
6048 0 : assert ( source->p_freepointer != NULL) ;
6049 : #endif
6050 0 : storageOf_array = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_array );
6051 0 : storageOf_shape = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_shape );
6052 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6053 0 : storageOf_isModified = source->p_isModified ;
6054 0 : storageOf_containsTransformation = source->p_containsTransformation ;
6055 0 : }
6056 :
6057 :
6058 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6059 :
6060 :
6061 : // ********************************************************
6062 :
6063 : /* #line 6064 "../../../src/frontend/SageIII//StorageClasses.C" */
6064 :
6065 :
6066 :
6067 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6068 :
6069 : // ****************************************************************
6070 : // member functions definition specific to each node in the grammar
6071 : // these are the SgFormatItemStorageClass parts !!!!
6072 : // ROSETTA generated code. Do not change by hand.
6073 : // ****************************************************************
6074 :
6075 :
6076 : /* #line 6077 "../../../src/frontend/SageIII//StorageClasses.C" */
6077 :
6078 :
6079 : void
6080 0 : SgFormatItemStorageClass::pickOutIRNodeData ( SgFormatItem* pointer )
6081 : {
6082 0 : SgFormatItem* source = (SgFormatItem*) (pointer);
6083 : #if FILE_IO_EXTRA_CHECK
6084 0 : assert ( source != NULL ) ;
6085 0 : assert ( source->p_freepointer != NULL) ;
6086 : #endif
6087 0 : storageOf_repeat_specification = source->p_repeat_specification ;
6088 0 : storageOf_data = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_data );
6089 0 : storageOf_format_item_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_format_item_list );
6090 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6091 0 : storageOf_isModified = source->p_isModified ;
6092 0 : storageOf_containsTransformation = source->p_containsTransformation ;
6093 0 : }
6094 :
6095 :
6096 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6097 :
6098 :
6099 : // ********************************************************
6100 :
6101 : /* #line 6102 "../../../src/frontend/SageIII//StorageClasses.C" */
6102 :
6103 :
6104 :
6105 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6106 :
6107 : // ****************************************************************
6108 : // member functions definition specific to each node in the grammar
6109 : // these are the SgFormatItemListStorageClass parts !!!!
6110 : // ROSETTA generated code. Do not change by hand.
6111 : // ****************************************************************
6112 :
6113 :
6114 : /* #line 6115 "../../../src/frontend/SageIII//StorageClasses.C" */
6115 :
6116 :
6117 : void
6118 0 : SgFormatItemListStorageClass::pickOutIRNodeData ( SgFormatItemList* pointer )
6119 : {
6120 0 : SgFormatItemList* source = (SgFormatItemList*) (pointer);
6121 : #if FILE_IO_EXTRA_CHECK
6122 0 : assert ( source != NULL ) ;
6123 0 : assert ( source->p_freepointer != NULL) ;
6124 : #endif
6125 0 : SgFormatItemPtrList::iterator i_format_item_list = source->p_format_item_list.begin() ;
6126 0 : unsigned int tempListCountformat_item_list = 0;
6127 0 : SgFormatItemPtrList::value_type * tempListformat_item_list = new SgFormatItemPtrList::value_type[ source->p_format_item_list.size() ];
6128 0 : for ( ; i_format_item_list != source->p_format_item_list.end(); ++i_format_item_list )
6129 : {
6130 0 : tempListformat_item_list[tempListCountformat_item_list] = *i_format_item_list;
6131 0 : tempListCountformat_item_list++;
6132 0 : (*i_format_item_list) = (SgFormatItemPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_format_item_list ) );
6133 : }
6134 0 : storageOf_format_item_list.storeDataInEasyStorageClass(source->p_format_item_list);
6135 0 : tempListCountformat_item_list = 0;
6136 0 : i_format_item_list = source->p_format_item_list.begin() ;
6137 0 : for ( ; i_format_item_list != source->p_format_item_list.end(); ++i_format_item_list )
6138 : {
6139 0 : *i_format_item_list = tempListformat_item_list[tempListCountformat_item_list] ;
6140 0 : tempListCountformat_item_list++;
6141 : }
6142 0 : delete [] tempListformat_item_list;
6143 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6144 0 : storageOf_isModified = source->p_isModified ;
6145 0 : storageOf_containsTransformation = source->p_containsTransformation ;
6146 0 : }
6147 :
6148 : void
6149 0 : SgFormatItemListStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
6150 : {
6151 0 : EasyStorage < SgFormatItemPtrList > :: arrangeMemoryPoolInOneBlock() ;
6152 0 : }
6153 :
6154 : void
6155 2 : SgFormatItemListStorageClass::deleteStaticDataOfEasyStorageClasses ( )
6156 : {
6157 2 : EasyStorage < SgFormatItemPtrList > :: deleteMemoryPool() ;
6158 2 : }
6159 :
6160 : void
6161 0 : SgFormatItemListStorageClass::writeEasyStorageDataToFile (std::ostream& out)
6162 : {
6163 0 : EasyStorage < SgFormatItemPtrList > :: writeToFile(out) ;
6164 0 : }
6165 :
6166 :
6167 : void
6168 0 : SgFormatItemListStorageClass::readEasyStorageDataFromFile (std::istream& in)
6169 : {
6170 0 : EasyStorage < SgFormatItemPtrList > :: readFromFile(in) ;
6171 0 : }
6172 :
6173 :
6174 :
6175 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6176 :
6177 :
6178 : // ********************************************************
6179 :
6180 : /* #line 6181 "../../../src/frontend/SageIII//StorageClasses.C" */
6181 :
6182 :
6183 :
6184 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6185 :
6186 : // ****************************************************************
6187 : // member functions definition specific to each node in the grammar
6188 : // these are the SgDataStatementGroupStorageClass parts !!!!
6189 : // ROSETTA generated code. Do not change by hand.
6190 : // ****************************************************************
6191 :
6192 :
6193 : /* #line 6194 "../../../src/frontend/SageIII//StorageClasses.C" */
6194 :
6195 :
6196 : void
6197 0 : SgDataStatementGroupStorageClass::pickOutIRNodeData ( SgDataStatementGroup* pointer )
6198 : {
6199 0 : SgDataStatementGroup* source = (SgDataStatementGroup*) (pointer);
6200 : #if FILE_IO_EXTRA_CHECK
6201 0 : assert ( source != NULL ) ;
6202 0 : assert ( source->p_freepointer != NULL) ;
6203 : #endif
6204 0 : SgDataStatementObjectPtrList::iterator i_object_list = source->p_object_list.begin() ;
6205 0 : unsigned int tempListCountobject_list = 0;
6206 0 : SgDataStatementObjectPtrList::value_type * tempListobject_list = new SgDataStatementObjectPtrList::value_type[ source->p_object_list.size() ];
6207 0 : for ( ; i_object_list != source->p_object_list.end(); ++i_object_list )
6208 : {
6209 0 : tempListobject_list[tempListCountobject_list] = *i_object_list;
6210 0 : tempListCountobject_list++;
6211 0 : (*i_object_list) = (SgDataStatementObjectPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_object_list ) );
6212 : }
6213 0 : storageOf_object_list.storeDataInEasyStorageClass(source->p_object_list);
6214 0 : tempListCountobject_list = 0;
6215 0 : i_object_list = source->p_object_list.begin() ;
6216 0 : for ( ; i_object_list != source->p_object_list.end(); ++i_object_list )
6217 : {
6218 0 : *i_object_list = tempListobject_list[tempListCountobject_list] ;
6219 0 : tempListCountobject_list++;
6220 : }
6221 0 : delete [] tempListobject_list;
6222 0 : SgDataStatementValuePtrList::iterator i_value_list = source->p_value_list.begin() ;
6223 0 : unsigned int tempListCountvalue_list = 0;
6224 0 : SgDataStatementValuePtrList::value_type * tempListvalue_list = new SgDataStatementValuePtrList::value_type[ source->p_value_list.size() ];
6225 0 : for ( ; i_value_list != source->p_value_list.end(); ++i_value_list )
6226 : {
6227 0 : tempListvalue_list[tempListCountvalue_list] = *i_value_list;
6228 0 : tempListCountvalue_list++;
6229 0 : (*i_value_list) = (SgDataStatementValuePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_value_list ) );
6230 : }
6231 0 : storageOf_value_list.storeDataInEasyStorageClass(source->p_value_list);
6232 0 : tempListCountvalue_list = 0;
6233 0 : i_value_list = source->p_value_list.begin() ;
6234 0 : for ( ; i_value_list != source->p_value_list.end(); ++i_value_list )
6235 : {
6236 0 : *i_value_list = tempListvalue_list[tempListCountvalue_list] ;
6237 0 : tempListCountvalue_list++;
6238 : }
6239 0 : delete [] tempListvalue_list;
6240 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6241 0 : storageOf_isModified = source->p_isModified ;
6242 0 : storageOf_containsTransformation = source->p_containsTransformation ;
6243 0 : }
6244 :
6245 : void
6246 0 : SgDataStatementGroupStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
6247 : {
6248 0 : EasyStorage < SgDataStatementObjectPtrList > :: arrangeMemoryPoolInOneBlock() ;
6249 0 : EasyStorage < SgDataStatementValuePtrList > :: arrangeMemoryPoolInOneBlock() ;
6250 0 : }
6251 :
6252 : void
6253 2 : SgDataStatementGroupStorageClass::deleteStaticDataOfEasyStorageClasses ( )
6254 : {
6255 2 : EasyStorage < SgDataStatementObjectPtrList > :: deleteMemoryPool() ;
6256 2 : EasyStorage < SgDataStatementValuePtrList > :: deleteMemoryPool() ;
6257 2 : }
6258 :
6259 : void
6260 0 : SgDataStatementGroupStorageClass::writeEasyStorageDataToFile (std::ostream& out)
6261 : {
6262 0 : EasyStorage < SgDataStatementObjectPtrList > :: writeToFile(out) ;
6263 0 : EasyStorage < SgDataStatementValuePtrList > :: writeToFile(out) ;
6264 0 : }
6265 :
6266 :
6267 : void
6268 0 : SgDataStatementGroupStorageClass::readEasyStorageDataFromFile (std::istream& in)
6269 : {
6270 0 : EasyStorage < SgDataStatementObjectPtrList > :: readFromFile(in) ;
6271 0 : EasyStorage < SgDataStatementValuePtrList > :: readFromFile(in) ;
6272 0 : }
6273 :
6274 :
6275 :
6276 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6277 :
6278 :
6279 : // ********************************************************
6280 :
6281 : /* #line 6282 "../../../src/frontend/SageIII//StorageClasses.C" */
6282 :
6283 :
6284 :
6285 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6286 :
6287 : // ****************************************************************
6288 : // member functions definition specific to each node in the grammar
6289 : // these are the SgDataStatementObjectStorageClass parts !!!!
6290 : // ROSETTA generated code. Do not change by hand.
6291 : // ****************************************************************
6292 :
6293 :
6294 : /* #line 6295 "../../../src/frontend/SageIII//StorageClasses.C" */
6295 :
6296 :
6297 : void
6298 0 : SgDataStatementObjectStorageClass::pickOutIRNodeData ( SgDataStatementObject* pointer )
6299 : {
6300 0 : SgDataStatementObject* source = (SgDataStatementObject*) (pointer);
6301 : #if FILE_IO_EXTRA_CHECK
6302 0 : assert ( source != NULL ) ;
6303 0 : assert ( source->p_freepointer != NULL) ;
6304 : #endif
6305 0 : storageOf_variableReference_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variableReference_list );
6306 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6307 0 : storageOf_isModified = source->p_isModified ;
6308 0 : storageOf_containsTransformation = source->p_containsTransformation ;
6309 0 : }
6310 :
6311 :
6312 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6313 :
6314 :
6315 : // ********************************************************
6316 :
6317 : /* #line 6318 "../../../src/frontend/SageIII//StorageClasses.C" */
6318 :
6319 :
6320 :
6321 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6322 :
6323 : // ****************************************************************
6324 : // member functions definition specific to each node in the grammar
6325 : // these are the SgIncludeFileStorageClass parts !!!!
6326 : // ROSETTA generated code. Do not change by hand.
6327 : // ****************************************************************
6328 :
6329 :
6330 : /* #line 6331 "../../../src/frontend/SageIII//StorageClasses.C" */
6331 :
6332 :
6333 : void
6334 224 : SgIncludeFileStorageClass::pickOutIRNodeData ( SgIncludeFile* pointer )
6335 : {
6336 224 : SgIncludeFile* source = (SgIncludeFile*) (pointer);
6337 : #if FILE_IO_EXTRA_CHECK
6338 224 : assert ( source != NULL ) ;
6339 224 : assert ( source->p_freepointer != NULL) ;
6340 : #endif
6341 224 : storageOf_filename.pickOutIRNodeData( &(source->p_filename) );
6342 224 : storageOf_source_file = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_source_file );
6343 224 : SgIncludeFilePtrList::iterator i_include_file_list = source->p_include_file_list.begin() ;
6344 224 : unsigned int tempListCountinclude_file_list = 0;
6345 224 : SgIncludeFilePtrList::value_type * tempListinclude_file_list = new SgIncludeFilePtrList::value_type[ source->p_include_file_list.size() ];
6346 421 : for ( ; i_include_file_list != source->p_include_file_list.end(); ++i_include_file_list )
6347 : {
6348 197 : tempListinclude_file_list[tempListCountinclude_file_list] = *i_include_file_list;
6349 197 : tempListCountinclude_file_list++;
6350 197 : (*i_include_file_list) = (SgIncludeFilePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_include_file_list ) );
6351 : }
6352 224 : storageOf_include_file_list.storeDataInEasyStorageClass(source->p_include_file_list);
6353 224 : tempListCountinclude_file_list = 0;
6354 224 : i_include_file_list = source->p_include_file_list.begin() ;
6355 421 : for ( ; i_include_file_list != source->p_include_file_list.end(); ++i_include_file_list )
6356 : {
6357 197 : *i_include_file_list = tempListinclude_file_list[tempListCountinclude_file_list] ;
6358 197 : tempListCountinclude_file_list++;
6359 : }
6360 224 : delete [] tempListinclude_file_list;
6361 224 : storageOf_first_source_sequence_number = source->p_first_source_sequence_number ;
6362 224 : storageOf_last_source_sequence_number = source->p_last_source_sequence_number ;
6363 224 : storageOf_isIncludedMoreThanOnce = source->p_isIncludedMoreThanOnce ;
6364 224 : storageOf_isPrimaryUse = source->p_isPrimaryUse ;
6365 224 : storageOf_file_hash.storeDataInEasyStorageClass(source->p_file_hash);
6366 224 : storageOf_name_used_in_include_directive.pickOutIRNodeData( &(source->p_name_used_in_include_directive) );
6367 224 : storageOf_source_file_of_translation_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_source_file_of_translation_unit );
6368 224 : storageOf_including_source_file = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_including_source_file );
6369 224 : storageOf_parent_include_file = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent_include_file );
6370 224 : storageOf_isSystemInclude = source->p_isSystemInclude ;
6371 224 : storageOf_isPreinclude = source->p_isPreinclude ;
6372 224 : storageOf_requires_explict_path_for_unparsed_headers = source->p_requires_explict_path_for_unparsed_headers ;
6373 224 : storageOf_can_be_supported_using_token_based_unparsing = source->p_can_be_supported_using_token_based_unparsing ;
6374 224 : storageOf_directory_prefix.pickOutIRNodeData( &(source->p_directory_prefix) );
6375 224 : storageOf_name_without_path.pickOutIRNodeData( &(source->p_name_without_path) );
6376 224 : storageOf_applicationRootDirectory.pickOutIRNodeData( &(source->p_applicationRootDirectory) );
6377 224 : storageOf_will_be_unparsed = source->p_will_be_unparsed ;
6378 224 : storageOf_isRoseSystemInclude = source->p_isRoseSystemInclude ;
6379 224 : storageOf_from_system_include_dir = source->p_from_system_include_dir ;
6380 224 : storageOf_preinclude_macros_only = source->p_preinclude_macros_only ;
6381 224 : storageOf_isApplicationFile = source->p_isApplicationFile ;
6382 224 : storageOf_isRootSourceFile = source->p_isRootSourceFile ;
6383 224 : storageOf_firstStatement = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstStatement );
6384 224 : storageOf_lastStatement = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lastStatement );
6385 224 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6386 224 : storageOf_isModified = source->p_isModified ;
6387 224 : storageOf_containsTransformation = source->p_containsTransformation ;
6388 224 : }
6389 :
6390 : void
6391 0 : SgIncludeFileStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
6392 : {
6393 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
6394 0 : EasyStorage < SgIncludeFilePtrList > :: arrangeMemoryPoolInOneBlock() ;
6395 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
6396 0 : }
6397 :
6398 : void
6399 2 : SgIncludeFileStorageClass::deleteStaticDataOfEasyStorageClasses ( )
6400 : {
6401 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
6402 2 : EasyStorage < SgIncludeFilePtrList > :: deleteMemoryPool() ;
6403 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
6404 2 : }
6405 :
6406 : void
6407 2 : SgIncludeFileStorageClass::writeEasyStorageDataToFile (std::ostream& out)
6408 : {
6409 2 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
6410 2 : EasyStorage < SgIncludeFilePtrList > :: writeToFile(out) ;
6411 2 : EasyStorage < std::string > :: writeToFile(out) ;
6412 2 : }
6413 :
6414 :
6415 : void
6416 2 : SgIncludeFileStorageClass::readEasyStorageDataFromFile (std::istream& in)
6417 : {
6418 2 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
6419 2 : EasyStorage < SgIncludeFilePtrList > :: readFromFile(in) ;
6420 2 : EasyStorage < std::string > :: readFromFile(in) ;
6421 2 : }
6422 :
6423 :
6424 :
6425 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6426 :
6427 :
6428 : // ********************************************************
6429 :
6430 : /* #line 6431 "../../../src/frontend/SageIII//StorageClasses.C" */
6431 :
6432 :
6433 :
6434 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6435 :
6436 : // ****************************************************************
6437 : // member functions definition specific to each node in the grammar
6438 : // these are the SgDataStatementValueStorageClass parts !!!!
6439 : // ROSETTA generated code. Do not change by hand.
6440 : // ****************************************************************
6441 :
6442 :
6443 : /* #line 6444 "../../../src/frontend/SageIII//StorageClasses.C" */
6444 :
6445 :
6446 : void
6447 0 : SgDataStatementValueStorageClass::pickOutIRNodeData ( SgDataStatementValue* pointer )
6448 : {
6449 0 : SgDataStatementValue* source = (SgDataStatementValue*) (pointer);
6450 : #if FILE_IO_EXTRA_CHECK
6451 0 : assert ( source != NULL ) ;
6452 0 : assert ( source->p_freepointer != NULL) ;
6453 : #endif
6454 0 : storageOf_data_initialization_format = source->p_data_initialization_format ;
6455 0 : storageOf_initializer_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_initializer_list );
6456 0 : storageOf_repeat_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_repeat_expression );
6457 0 : storageOf_constant_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_constant_expression );
6458 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6459 0 : storageOf_isModified = source->p_isModified ;
6460 0 : storageOf_containsTransformation = source->p_containsTransformation ;
6461 0 : }
6462 :
6463 :
6464 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6465 :
6466 :
6467 : // ********************************************************
6468 :
6469 : /* #line 6470 "../../../src/frontend/SageIII//StorageClasses.C" */
6470 :
6471 :
6472 :
6473 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6474 :
6475 : // ****************************************************************
6476 : // member functions definition specific to each node in the grammar
6477 : // these are the SgHeaderFileReportStorageClass parts !!!!
6478 : // ROSETTA generated code. Do not change by hand.
6479 : // ****************************************************************
6480 :
6481 :
6482 : /* #line 6483 "../../../src/frontend/SageIII//StorageClasses.C" */
6483 :
6484 :
6485 : void
6486 0 : SgHeaderFileReportStorageClass::pickOutIRNodeData ( SgHeaderFileReport* pointer )
6487 : {
6488 0 : SgHeaderFileReport* source = (SgHeaderFileReport*) (pointer);
6489 : #if FILE_IO_EXTRA_CHECK
6490 0 : assert ( source != NULL ) ;
6491 0 : assert ( source->p_freepointer != NULL) ;
6492 : #endif
6493 0 : storageOf_source_file = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_source_file );
6494 0 : SgSourceFilePtrList::iterator i_include_file_list = source->p_include_file_list.begin() ;
6495 0 : unsigned int tempListCountinclude_file_list = 0;
6496 0 : SgSourceFilePtrList::value_type * tempListinclude_file_list = new SgSourceFilePtrList::value_type[ source->p_include_file_list.size() ];
6497 0 : for ( ; i_include_file_list != source->p_include_file_list.end(); ++i_include_file_list )
6498 : {
6499 0 : tempListinclude_file_list[tempListCountinclude_file_list] = *i_include_file_list;
6500 0 : tempListCountinclude_file_list++;
6501 0 : (*i_include_file_list) = (SgSourceFilePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_include_file_list ) );
6502 : }
6503 0 : storageOf_include_file_list.storeDataInEasyStorageClass(source->p_include_file_list);
6504 0 : tempListCountinclude_file_list = 0;
6505 0 : i_include_file_list = source->p_include_file_list.begin() ;
6506 0 : for ( ; i_include_file_list != source->p_include_file_list.end(); ++i_include_file_list )
6507 : {
6508 0 : *i_include_file_list = tempListinclude_file_list[tempListCountinclude_file_list] ;
6509 0 : tempListCountinclude_file_list++;
6510 : }
6511 0 : delete [] tempListinclude_file_list;
6512 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6513 0 : storageOf_isModified = source->p_isModified ;
6514 0 : storageOf_containsTransformation = source->p_containsTransformation ;
6515 0 : }
6516 :
6517 : void
6518 0 : SgHeaderFileReportStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
6519 : {
6520 0 : EasyStorage < SgSourceFilePtrList > :: arrangeMemoryPoolInOneBlock() ;
6521 0 : }
6522 :
6523 : void
6524 2 : SgHeaderFileReportStorageClass::deleteStaticDataOfEasyStorageClasses ( )
6525 : {
6526 2 : EasyStorage < SgSourceFilePtrList > :: deleteMemoryPool() ;
6527 2 : }
6528 :
6529 : void
6530 0 : SgHeaderFileReportStorageClass::writeEasyStorageDataToFile (std::ostream& out)
6531 : {
6532 0 : EasyStorage < SgSourceFilePtrList > :: writeToFile(out) ;
6533 0 : }
6534 :
6535 :
6536 : void
6537 0 : SgHeaderFileReportStorageClass::readEasyStorageDataFromFile (std::istream& in)
6538 : {
6539 0 : EasyStorage < SgSourceFilePtrList > :: readFromFile(in) ;
6540 0 : }
6541 :
6542 :
6543 :
6544 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6545 :
6546 :
6547 : // ********************************************************
6548 :
6549 : /* #line 6550 "../../../src/frontend/SageIII//StorageClasses.C" */
6550 :
6551 :
6552 :
6553 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6554 :
6555 : // ****************************************************************
6556 : // member functions definition specific to each node in the grammar
6557 : // these are the SgTypeStorageClass parts !!!!
6558 : // ROSETTA generated code. Do not change by hand.
6559 : // ****************************************************************
6560 :
6561 :
6562 : /* #line 6563 "../../../src/frontend/SageIII//StorageClasses.C" */
6563 :
6564 :
6565 : void
6566 0 : SgTypeStorageClass::pickOutIRNodeData ( SgType* pointer )
6567 : {
6568 0 : SgType* source = (SgType*) (pointer);
6569 : #if FILE_IO_EXTRA_CHECK
6570 0 : assert ( source != NULL ) ;
6571 0 : assert ( source->p_freepointer != NULL) ;
6572 : #endif
6573 0 : storageOf_isCoArray = source->p_isCoArray ;
6574 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
6575 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
6576 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
6577 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
6578 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
6579 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
6580 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
6581 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
6582 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
6583 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
6584 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6585 0 : storageOf_isModified = source->p_isModified ;
6586 0 : storageOf_containsTransformation = source->p_containsTransformation ;
6587 0 : }
6588 :
6589 : void
6590 0 : SgTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
6591 : {
6592 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
6593 0 : }
6594 :
6595 : void
6596 2 : SgTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
6597 : {
6598 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
6599 2 : }
6600 :
6601 : void
6602 0 : SgTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
6603 : {
6604 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
6605 0 : }
6606 :
6607 :
6608 : void
6609 0 : SgTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
6610 : {
6611 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
6612 0 : }
6613 :
6614 :
6615 :
6616 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6617 :
6618 :
6619 : // ********************************************************
6620 :
6621 : /* #line 6622 "../../../src/frontend/SageIII//StorageClasses.C" */
6622 :
6623 :
6624 :
6625 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6626 :
6627 : // ****************************************************************
6628 : // member functions definition specific to each node in the grammar
6629 : // these are the SgTypeUnknownStorageClass parts !!!!
6630 : // ROSETTA generated code. Do not change by hand.
6631 : // ****************************************************************
6632 :
6633 :
6634 : /* #line 6635 "../../../src/frontend/SageIII//StorageClasses.C" */
6635 :
6636 :
6637 : void
6638 1 : SgTypeUnknownStorageClass::pickOutIRNodeData ( SgTypeUnknown* pointer )
6639 : {
6640 1 : SgTypeUnknown* source = (SgTypeUnknown*) (pointer);
6641 : #if FILE_IO_EXTRA_CHECK
6642 1 : assert ( source != NULL ) ;
6643 1 : assert ( source->p_freepointer != NULL) ;
6644 : #endif
6645 1 : storageOf_type_name.storeDataInEasyStorageClass(source->p_type_name);
6646 1 : storageOf_has_type_name = source->p_has_type_name ;
6647 1 : storageOf_isCoArray = source->p_isCoArray ;
6648 1 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
6649 1 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
6650 1 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
6651 1 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
6652 1 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
6653 1 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
6654 1 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
6655 1 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
6656 1 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
6657 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
6658 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6659 1 : storageOf_isModified = source->p_isModified ;
6660 1 : storageOf_containsTransformation = source->p_containsTransformation ;
6661 1 : }
6662 :
6663 : void
6664 0 : SgTypeUnknownStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
6665 : {
6666 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
6667 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
6668 0 : }
6669 :
6670 : void
6671 2 : SgTypeUnknownStorageClass::deleteStaticDataOfEasyStorageClasses ( )
6672 : {
6673 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
6674 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
6675 2 : }
6676 :
6677 : void
6678 1 : SgTypeUnknownStorageClass::writeEasyStorageDataToFile (std::ostream& out)
6679 : {
6680 1 : EasyStorage < std::string > :: writeToFile(out) ;
6681 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
6682 1 : }
6683 :
6684 :
6685 : void
6686 1 : SgTypeUnknownStorageClass::readEasyStorageDataFromFile (std::istream& in)
6687 : {
6688 1 : EasyStorage < std::string > :: readFromFile(in) ;
6689 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
6690 1 : }
6691 :
6692 :
6693 :
6694 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6695 :
6696 :
6697 : // ********************************************************
6698 :
6699 : /* #line 6700 "../../../src/frontend/SageIII//StorageClasses.C" */
6700 :
6701 :
6702 :
6703 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6704 :
6705 : // ****************************************************************
6706 : // member functions definition specific to each node in the grammar
6707 : // these are the SgTypeCharStorageClass parts !!!!
6708 : // ROSETTA generated code. Do not change by hand.
6709 : // ****************************************************************
6710 :
6711 :
6712 : /* #line 6713 "../../../src/frontend/SageIII//StorageClasses.C" */
6713 :
6714 :
6715 : void
6716 2 : SgTypeCharStorageClass::pickOutIRNodeData ( SgTypeChar* pointer )
6717 : {
6718 2 : SgTypeChar* source = (SgTypeChar*) (pointer);
6719 : #if FILE_IO_EXTRA_CHECK
6720 2 : assert ( source != NULL ) ;
6721 2 : assert ( source->p_freepointer != NULL) ;
6722 : #endif
6723 2 : storageOf_isCoArray = source->p_isCoArray ;
6724 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
6725 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
6726 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
6727 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
6728 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
6729 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
6730 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
6731 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
6732 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
6733 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
6734 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6735 2 : storageOf_isModified = source->p_isModified ;
6736 2 : storageOf_containsTransformation = source->p_containsTransformation ;
6737 2 : }
6738 :
6739 : void
6740 0 : SgTypeCharStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
6741 : {
6742 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
6743 0 : }
6744 :
6745 : void
6746 2 : SgTypeCharStorageClass::deleteStaticDataOfEasyStorageClasses ( )
6747 : {
6748 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
6749 2 : }
6750 :
6751 : void
6752 2 : SgTypeCharStorageClass::writeEasyStorageDataToFile (std::ostream& out)
6753 : {
6754 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
6755 2 : }
6756 :
6757 :
6758 : void
6759 2 : SgTypeCharStorageClass::readEasyStorageDataFromFile (std::istream& in)
6760 : {
6761 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
6762 2 : }
6763 :
6764 :
6765 :
6766 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6767 :
6768 :
6769 : // ********************************************************
6770 :
6771 : /* #line 6772 "../../../src/frontend/SageIII//StorageClasses.C" */
6772 :
6773 :
6774 :
6775 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6776 :
6777 : // ****************************************************************
6778 : // member functions definition specific to each node in the grammar
6779 : // these are the SgTypeSignedCharStorageClass parts !!!!
6780 : // ROSETTA generated code. Do not change by hand.
6781 : // ****************************************************************
6782 :
6783 :
6784 : /* #line 6785 "../../../src/frontend/SageIII//StorageClasses.C" */
6785 :
6786 :
6787 : void
6788 2 : SgTypeSignedCharStorageClass::pickOutIRNodeData ( SgTypeSignedChar* pointer )
6789 : {
6790 2 : SgTypeSignedChar* source = (SgTypeSignedChar*) (pointer);
6791 : #if FILE_IO_EXTRA_CHECK
6792 2 : assert ( source != NULL ) ;
6793 2 : assert ( source->p_freepointer != NULL) ;
6794 : #endif
6795 2 : storageOf_isCoArray = source->p_isCoArray ;
6796 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
6797 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
6798 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
6799 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
6800 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
6801 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
6802 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
6803 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
6804 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
6805 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
6806 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6807 2 : storageOf_isModified = source->p_isModified ;
6808 2 : storageOf_containsTransformation = source->p_containsTransformation ;
6809 2 : }
6810 :
6811 : void
6812 0 : SgTypeSignedCharStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
6813 : {
6814 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
6815 0 : }
6816 :
6817 : void
6818 2 : SgTypeSignedCharStorageClass::deleteStaticDataOfEasyStorageClasses ( )
6819 : {
6820 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
6821 2 : }
6822 :
6823 : void
6824 2 : SgTypeSignedCharStorageClass::writeEasyStorageDataToFile (std::ostream& out)
6825 : {
6826 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
6827 2 : }
6828 :
6829 :
6830 : void
6831 2 : SgTypeSignedCharStorageClass::readEasyStorageDataFromFile (std::istream& in)
6832 : {
6833 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
6834 2 : }
6835 :
6836 :
6837 :
6838 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6839 :
6840 :
6841 : // ********************************************************
6842 :
6843 : /* #line 6844 "../../../src/frontend/SageIII//StorageClasses.C" */
6844 :
6845 :
6846 :
6847 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6848 :
6849 : // ****************************************************************
6850 : // member functions definition specific to each node in the grammar
6851 : // these are the SgTypeUnsignedCharStorageClass parts !!!!
6852 : // ROSETTA generated code. Do not change by hand.
6853 : // ****************************************************************
6854 :
6855 :
6856 : /* #line 6857 "../../../src/frontend/SageIII//StorageClasses.C" */
6857 :
6858 :
6859 : void
6860 2 : SgTypeUnsignedCharStorageClass::pickOutIRNodeData ( SgTypeUnsignedChar* pointer )
6861 : {
6862 2 : SgTypeUnsignedChar* source = (SgTypeUnsignedChar*) (pointer);
6863 : #if FILE_IO_EXTRA_CHECK
6864 2 : assert ( source != NULL ) ;
6865 2 : assert ( source->p_freepointer != NULL) ;
6866 : #endif
6867 2 : storageOf_isCoArray = source->p_isCoArray ;
6868 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
6869 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
6870 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
6871 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
6872 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
6873 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
6874 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
6875 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
6876 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
6877 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
6878 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6879 2 : storageOf_isModified = source->p_isModified ;
6880 2 : storageOf_containsTransformation = source->p_containsTransformation ;
6881 2 : }
6882 :
6883 : void
6884 0 : SgTypeUnsignedCharStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
6885 : {
6886 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
6887 0 : }
6888 :
6889 : void
6890 2 : SgTypeUnsignedCharStorageClass::deleteStaticDataOfEasyStorageClasses ( )
6891 : {
6892 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
6893 2 : }
6894 :
6895 : void
6896 2 : SgTypeUnsignedCharStorageClass::writeEasyStorageDataToFile (std::ostream& out)
6897 : {
6898 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
6899 2 : }
6900 :
6901 :
6902 : void
6903 2 : SgTypeUnsignedCharStorageClass::readEasyStorageDataFromFile (std::istream& in)
6904 : {
6905 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
6906 2 : }
6907 :
6908 :
6909 :
6910 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6911 :
6912 :
6913 : // ********************************************************
6914 :
6915 : /* #line 6916 "../../../src/frontend/SageIII//StorageClasses.C" */
6916 :
6917 :
6918 :
6919 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6920 :
6921 : // ****************************************************************
6922 : // member functions definition specific to each node in the grammar
6923 : // these are the SgTypeShortStorageClass parts !!!!
6924 : // ROSETTA generated code. Do not change by hand.
6925 : // ****************************************************************
6926 :
6927 :
6928 : /* #line 6929 "../../../src/frontend/SageIII//StorageClasses.C" */
6929 :
6930 :
6931 : void
6932 2 : SgTypeShortStorageClass::pickOutIRNodeData ( SgTypeShort* pointer )
6933 : {
6934 2 : SgTypeShort* source = (SgTypeShort*) (pointer);
6935 : #if FILE_IO_EXTRA_CHECK
6936 2 : assert ( source != NULL ) ;
6937 2 : assert ( source->p_freepointer != NULL) ;
6938 : #endif
6939 2 : storageOf_isCoArray = source->p_isCoArray ;
6940 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
6941 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
6942 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
6943 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
6944 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
6945 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
6946 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
6947 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
6948 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
6949 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
6950 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
6951 2 : storageOf_isModified = source->p_isModified ;
6952 2 : storageOf_containsTransformation = source->p_containsTransformation ;
6953 2 : }
6954 :
6955 : void
6956 0 : SgTypeShortStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
6957 : {
6958 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
6959 0 : }
6960 :
6961 : void
6962 2 : SgTypeShortStorageClass::deleteStaticDataOfEasyStorageClasses ( )
6963 : {
6964 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
6965 2 : }
6966 :
6967 : void
6968 2 : SgTypeShortStorageClass::writeEasyStorageDataToFile (std::ostream& out)
6969 : {
6970 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
6971 2 : }
6972 :
6973 :
6974 : void
6975 2 : SgTypeShortStorageClass::readEasyStorageDataFromFile (std::istream& in)
6976 : {
6977 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
6978 2 : }
6979 :
6980 :
6981 :
6982 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6983 :
6984 :
6985 : // ********************************************************
6986 :
6987 : /* #line 6988 "../../../src/frontend/SageIII//StorageClasses.C" */
6988 :
6989 :
6990 :
6991 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
6992 :
6993 : // ****************************************************************
6994 : // member functions definition specific to each node in the grammar
6995 : // these are the SgTypeSignedShortStorageClass parts !!!!
6996 : // ROSETTA generated code. Do not change by hand.
6997 : // ****************************************************************
6998 :
6999 :
7000 : /* #line 7001 "../../../src/frontend/SageIII//StorageClasses.C" */
7001 :
7002 :
7003 : void
7004 2 : SgTypeSignedShortStorageClass::pickOutIRNodeData ( SgTypeSignedShort* pointer )
7005 : {
7006 2 : SgTypeSignedShort* source = (SgTypeSignedShort*) (pointer);
7007 : #if FILE_IO_EXTRA_CHECK
7008 2 : assert ( source != NULL ) ;
7009 2 : assert ( source->p_freepointer != NULL) ;
7010 : #endif
7011 2 : storageOf_isCoArray = source->p_isCoArray ;
7012 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7013 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7014 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7015 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7016 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7017 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7018 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7019 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7020 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7021 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7022 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7023 2 : storageOf_isModified = source->p_isModified ;
7024 2 : storageOf_containsTransformation = source->p_containsTransformation ;
7025 2 : }
7026 :
7027 : void
7028 0 : SgTypeSignedShortStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7029 : {
7030 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7031 0 : }
7032 :
7033 : void
7034 2 : SgTypeSignedShortStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7035 : {
7036 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7037 2 : }
7038 :
7039 : void
7040 2 : SgTypeSignedShortStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7041 : {
7042 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7043 2 : }
7044 :
7045 :
7046 : void
7047 2 : SgTypeSignedShortStorageClass::readEasyStorageDataFromFile (std::istream& in)
7048 : {
7049 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7050 2 : }
7051 :
7052 :
7053 :
7054 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7055 :
7056 :
7057 : // ********************************************************
7058 :
7059 : /* #line 7060 "../../../src/frontend/SageIII//StorageClasses.C" */
7060 :
7061 :
7062 :
7063 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7064 :
7065 : // ****************************************************************
7066 : // member functions definition specific to each node in the grammar
7067 : // these are the SgTypeUnsignedShortStorageClass parts !!!!
7068 : // ROSETTA generated code. Do not change by hand.
7069 : // ****************************************************************
7070 :
7071 :
7072 : /* #line 7073 "../../../src/frontend/SageIII//StorageClasses.C" */
7073 :
7074 :
7075 : void
7076 2 : SgTypeUnsignedShortStorageClass::pickOutIRNodeData ( SgTypeUnsignedShort* pointer )
7077 : {
7078 2 : SgTypeUnsignedShort* source = (SgTypeUnsignedShort*) (pointer);
7079 : #if FILE_IO_EXTRA_CHECK
7080 2 : assert ( source != NULL ) ;
7081 2 : assert ( source->p_freepointer != NULL) ;
7082 : #endif
7083 2 : storageOf_isCoArray = source->p_isCoArray ;
7084 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7085 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7086 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7087 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7088 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7089 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7090 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7091 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7092 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7093 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7094 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7095 2 : storageOf_isModified = source->p_isModified ;
7096 2 : storageOf_containsTransformation = source->p_containsTransformation ;
7097 2 : }
7098 :
7099 : void
7100 0 : SgTypeUnsignedShortStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7101 : {
7102 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7103 0 : }
7104 :
7105 : void
7106 2 : SgTypeUnsignedShortStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7107 : {
7108 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7109 2 : }
7110 :
7111 : void
7112 2 : SgTypeUnsignedShortStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7113 : {
7114 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7115 2 : }
7116 :
7117 :
7118 : void
7119 2 : SgTypeUnsignedShortStorageClass::readEasyStorageDataFromFile (std::istream& in)
7120 : {
7121 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7122 2 : }
7123 :
7124 :
7125 :
7126 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7127 :
7128 :
7129 : // ********************************************************
7130 :
7131 : /* #line 7132 "../../../src/frontend/SageIII//StorageClasses.C" */
7132 :
7133 :
7134 :
7135 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7136 :
7137 : // ****************************************************************
7138 : // member functions definition specific to each node in the grammar
7139 : // these are the SgTypeIntStorageClass parts !!!!
7140 : // ROSETTA generated code. Do not change by hand.
7141 : // ****************************************************************
7142 :
7143 :
7144 : /* #line 7145 "../../../src/frontend/SageIII//StorageClasses.C" */
7145 :
7146 :
7147 : void
7148 2 : SgTypeIntStorageClass::pickOutIRNodeData ( SgTypeInt* pointer )
7149 : {
7150 2 : SgTypeInt* source = (SgTypeInt*) (pointer);
7151 : #if FILE_IO_EXTRA_CHECK
7152 2 : assert ( source != NULL ) ;
7153 2 : assert ( source->p_freepointer != NULL) ;
7154 : #endif
7155 2 : storageOf_field_size = source->p_field_size ;
7156 2 : storageOf_isCoArray = source->p_isCoArray ;
7157 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7158 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7159 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7160 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7161 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7162 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7163 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7164 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7165 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7166 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7167 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7168 2 : storageOf_isModified = source->p_isModified ;
7169 2 : storageOf_containsTransformation = source->p_containsTransformation ;
7170 2 : }
7171 :
7172 : void
7173 0 : SgTypeIntStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7174 : {
7175 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7176 0 : }
7177 :
7178 : void
7179 2 : SgTypeIntStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7180 : {
7181 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7182 2 : }
7183 :
7184 : void
7185 2 : SgTypeIntStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7186 : {
7187 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7188 2 : }
7189 :
7190 :
7191 : void
7192 2 : SgTypeIntStorageClass::readEasyStorageDataFromFile (std::istream& in)
7193 : {
7194 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7195 2 : }
7196 :
7197 :
7198 :
7199 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7200 :
7201 :
7202 : // ********************************************************
7203 :
7204 : /* #line 7205 "../../../src/frontend/SageIII//StorageClasses.C" */
7205 :
7206 :
7207 :
7208 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7209 :
7210 : // ****************************************************************
7211 : // member functions definition specific to each node in the grammar
7212 : // these are the SgTypeSignedIntStorageClass parts !!!!
7213 : // ROSETTA generated code. Do not change by hand.
7214 : // ****************************************************************
7215 :
7216 :
7217 : /* #line 7218 "../../../src/frontend/SageIII//StorageClasses.C" */
7218 :
7219 :
7220 : void
7221 2 : SgTypeSignedIntStorageClass::pickOutIRNodeData ( SgTypeSignedInt* pointer )
7222 : {
7223 2 : SgTypeSignedInt* source = (SgTypeSignedInt*) (pointer);
7224 : #if FILE_IO_EXTRA_CHECK
7225 2 : assert ( source != NULL ) ;
7226 2 : assert ( source->p_freepointer != NULL) ;
7227 : #endif
7228 2 : storageOf_isCoArray = source->p_isCoArray ;
7229 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7230 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7231 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7232 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7233 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7234 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7235 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7236 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7237 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7238 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7239 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7240 2 : storageOf_isModified = source->p_isModified ;
7241 2 : storageOf_containsTransformation = source->p_containsTransformation ;
7242 2 : }
7243 :
7244 : void
7245 0 : SgTypeSignedIntStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7246 : {
7247 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7248 0 : }
7249 :
7250 : void
7251 2 : SgTypeSignedIntStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7252 : {
7253 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7254 2 : }
7255 :
7256 : void
7257 2 : SgTypeSignedIntStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7258 : {
7259 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7260 2 : }
7261 :
7262 :
7263 : void
7264 2 : SgTypeSignedIntStorageClass::readEasyStorageDataFromFile (std::istream& in)
7265 : {
7266 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7267 2 : }
7268 :
7269 :
7270 :
7271 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7272 :
7273 :
7274 : // ********************************************************
7275 :
7276 : /* #line 7277 "../../../src/frontend/SageIII//StorageClasses.C" */
7277 :
7278 :
7279 :
7280 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7281 :
7282 : // ****************************************************************
7283 : // member functions definition specific to each node in the grammar
7284 : // these are the SgTypeUnsignedIntStorageClass parts !!!!
7285 : // ROSETTA generated code. Do not change by hand.
7286 : // ****************************************************************
7287 :
7288 :
7289 : /* #line 7290 "../../../src/frontend/SageIII//StorageClasses.C" */
7290 :
7291 :
7292 : void
7293 2 : SgTypeUnsignedIntStorageClass::pickOutIRNodeData ( SgTypeUnsignedInt* pointer )
7294 : {
7295 2 : SgTypeUnsignedInt* source = (SgTypeUnsignedInt*) (pointer);
7296 : #if FILE_IO_EXTRA_CHECK
7297 2 : assert ( source != NULL ) ;
7298 2 : assert ( source->p_freepointer != NULL) ;
7299 : #endif
7300 2 : storageOf_isCoArray = source->p_isCoArray ;
7301 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7302 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7303 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7304 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7305 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7306 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7307 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7308 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7309 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7310 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7311 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7312 2 : storageOf_isModified = source->p_isModified ;
7313 2 : storageOf_containsTransformation = source->p_containsTransformation ;
7314 2 : }
7315 :
7316 : void
7317 0 : SgTypeUnsignedIntStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7318 : {
7319 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7320 0 : }
7321 :
7322 : void
7323 2 : SgTypeUnsignedIntStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7324 : {
7325 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7326 2 : }
7327 :
7328 : void
7329 2 : SgTypeUnsignedIntStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7330 : {
7331 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7332 2 : }
7333 :
7334 :
7335 : void
7336 2 : SgTypeUnsignedIntStorageClass::readEasyStorageDataFromFile (std::istream& in)
7337 : {
7338 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7339 2 : }
7340 :
7341 :
7342 :
7343 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7344 :
7345 :
7346 : // ********************************************************
7347 :
7348 : /* #line 7349 "../../../src/frontend/SageIII//StorageClasses.C" */
7349 :
7350 :
7351 :
7352 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7353 :
7354 : // ****************************************************************
7355 : // member functions definition specific to each node in the grammar
7356 : // these are the SgTypeLongStorageClass parts !!!!
7357 : // ROSETTA generated code. Do not change by hand.
7358 : // ****************************************************************
7359 :
7360 :
7361 : /* #line 7362 "../../../src/frontend/SageIII//StorageClasses.C" */
7362 :
7363 :
7364 : void
7365 2 : SgTypeLongStorageClass::pickOutIRNodeData ( SgTypeLong* pointer )
7366 : {
7367 2 : SgTypeLong* source = (SgTypeLong*) (pointer);
7368 : #if FILE_IO_EXTRA_CHECK
7369 2 : assert ( source != NULL ) ;
7370 2 : assert ( source->p_freepointer != NULL) ;
7371 : #endif
7372 2 : storageOf_isCoArray = source->p_isCoArray ;
7373 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7374 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7375 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7376 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7377 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7378 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7379 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7380 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7381 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7382 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7383 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7384 2 : storageOf_isModified = source->p_isModified ;
7385 2 : storageOf_containsTransformation = source->p_containsTransformation ;
7386 2 : }
7387 :
7388 : void
7389 0 : SgTypeLongStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7390 : {
7391 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7392 0 : }
7393 :
7394 : void
7395 2 : SgTypeLongStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7396 : {
7397 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7398 2 : }
7399 :
7400 : void
7401 2 : SgTypeLongStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7402 : {
7403 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7404 2 : }
7405 :
7406 :
7407 : void
7408 2 : SgTypeLongStorageClass::readEasyStorageDataFromFile (std::istream& in)
7409 : {
7410 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7411 2 : }
7412 :
7413 :
7414 :
7415 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7416 :
7417 :
7418 : // ********************************************************
7419 :
7420 : /* #line 7421 "../../../src/frontend/SageIII//StorageClasses.C" */
7421 :
7422 :
7423 :
7424 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7425 :
7426 : // ****************************************************************
7427 : // member functions definition specific to each node in the grammar
7428 : // these are the SgTypeSignedLongStorageClass parts !!!!
7429 : // ROSETTA generated code. Do not change by hand.
7430 : // ****************************************************************
7431 :
7432 :
7433 : /* #line 7434 "../../../src/frontend/SageIII//StorageClasses.C" */
7434 :
7435 :
7436 : void
7437 2 : SgTypeSignedLongStorageClass::pickOutIRNodeData ( SgTypeSignedLong* pointer )
7438 : {
7439 2 : SgTypeSignedLong* source = (SgTypeSignedLong*) (pointer);
7440 : #if FILE_IO_EXTRA_CHECK
7441 2 : assert ( source != NULL ) ;
7442 2 : assert ( source->p_freepointer != NULL) ;
7443 : #endif
7444 2 : storageOf_isCoArray = source->p_isCoArray ;
7445 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7446 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7447 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7448 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7449 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7450 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7451 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7452 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7453 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7454 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7455 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7456 2 : storageOf_isModified = source->p_isModified ;
7457 2 : storageOf_containsTransformation = source->p_containsTransformation ;
7458 2 : }
7459 :
7460 : void
7461 0 : SgTypeSignedLongStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7462 : {
7463 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7464 0 : }
7465 :
7466 : void
7467 2 : SgTypeSignedLongStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7468 : {
7469 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7470 2 : }
7471 :
7472 : void
7473 2 : SgTypeSignedLongStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7474 : {
7475 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7476 2 : }
7477 :
7478 :
7479 : void
7480 2 : SgTypeSignedLongStorageClass::readEasyStorageDataFromFile (std::istream& in)
7481 : {
7482 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7483 2 : }
7484 :
7485 :
7486 :
7487 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7488 :
7489 :
7490 : // ********************************************************
7491 :
7492 : /* #line 7493 "../../../src/frontend/SageIII//StorageClasses.C" */
7493 :
7494 :
7495 :
7496 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7497 :
7498 : // ****************************************************************
7499 : // member functions definition specific to each node in the grammar
7500 : // these are the SgTypeUnsignedLongStorageClass parts !!!!
7501 : // ROSETTA generated code. Do not change by hand.
7502 : // ****************************************************************
7503 :
7504 :
7505 : /* #line 7506 "../../../src/frontend/SageIII//StorageClasses.C" */
7506 :
7507 :
7508 : void
7509 2 : SgTypeUnsignedLongStorageClass::pickOutIRNodeData ( SgTypeUnsignedLong* pointer )
7510 : {
7511 2 : SgTypeUnsignedLong* source = (SgTypeUnsignedLong*) (pointer);
7512 : #if FILE_IO_EXTRA_CHECK
7513 2 : assert ( source != NULL ) ;
7514 2 : assert ( source->p_freepointer != NULL) ;
7515 : #endif
7516 2 : storageOf_isCoArray = source->p_isCoArray ;
7517 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7518 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7519 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7520 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7521 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7522 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7523 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7524 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7525 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7526 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7527 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7528 2 : storageOf_isModified = source->p_isModified ;
7529 2 : storageOf_containsTransformation = source->p_containsTransformation ;
7530 2 : }
7531 :
7532 : void
7533 0 : SgTypeUnsignedLongStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7534 : {
7535 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7536 0 : }
7537 :
7538 : void
7539 2 : SgTypeUnsignedLongStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7540 : {
7541 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7542 2 : }
7543 :
7544 : void
7545 2 : SgTypeUnsignedLongStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7546 : {
7547 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7548 2 : }
7549 :
7550 :
7551 : void
7552 2 : SgTypeUnsignedLongStorageClass::readEasyStorageDataFromFile (std::istream& in)
7553 : {
7554 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7555 2 : }
7556 :
7557 :
7558 :
7559 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7560 :
7561 :
7562 : // ********************************************************
7563 :
7564 : /* #line 7565 "../../../src/frontend/SageIII//StorageClasses.C" */
7565 :
7566 :
7567 :
7568 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7569 :
7570 : // ****************************************************************
7571 : // member functions definition specific to each node in the grammar
7572 : // these are the SgTypeVoidStorageClass parts !!!!
7573 : // ROSETTA generated code. Do not change by hand.
7574 : // ****************************************************************
7575 :
7576 :
7577 : /* #line 7578 "../../../src/frontend/SageIII//StorageClasses.C" */
7578 :
7579 :
7580 : void
7581 3 : SgTypeVoidStorageClass::pickOutIRNodeData ( SgTypeVoid* pointer )
7582 : {
7583 3 : SgTypeVoid* source = (SgTypeVoid*) (pointer);
7584 : #if FILE_IO_EXTRA_CHECK
7585 3 : assert ( source != NULL ) ;
7586 3 : assert ( source->p_freepointer != NULL) ;
7587 : #endif
7588 3 : storageOf_isCoArray = source->p_isCoArray ;
7589 3 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7590 3 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7591 3 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7592 3 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7593 3 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7594 3 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7595 3 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7596 3 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7597 3 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7598 3 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7599 3 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7600 3 : storageOf_isModified = source->p_isModified ;
7601 3 : storageOf_containsTransformation = source->p_containsTransformation ;
7602 3 : }
7603 :
7604 : void
7605 0 : SgTypeVoidStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7606 : {
7607 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7608 0 : }
7609 :
7610 : void
7611 2 : SgTypeVoidStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7612 : {
7613 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7614 2 : }
7615 :
7616 : void
7617 3 : SgTypeVoidStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7618 : {
7619 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7620 3 : }
7621 :
7622 :
7623 : void
7624 2 : SgTypeVoidStorageClass::readEasyStorageDataFromFile (std::istream& in)
7625 : {
7626 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7627 2 : }
7628 :
7629 :
7630 :
7631 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7632 :
7633 :
7634 : // ********************************************************
7635 :
7636 : /* #line 7637 "../../../src/frontend/SageIII//StorageClasses.C" */
7637 :
7638 :
7639 :
7640 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7641 :
7642 : // ****************************************************************
7643 : // member functions definition specific to each node in the grammar
7644 : // these are the SgTypeGlobalVoidStorageClass parts !!!!
7645 : // ROSETTA generated code. Do not change by hand.
7646 : // ****************************************************************
7647 :
7648 :
7649 : /* #line 7650 "../../../src/frontend/SageIII//StorageClasses.C" */
7650 :
7651 :
7652 : void
7653 0 : SgTypeGlobalVoidStorageClass::pickOutIRNodeData ( SgTypeGlobalVoid* pointer )
7654 : {
7655 0 : SgTypeGlobalVoid* source = (SgTypeGlobalVoid*) (pointer);
7656 : #if FILE_IO_EXTRA_CHECK
7657 0 : assert ( source != NULL ) ;
7658 0 : assert ( source->p_freepointer != NULL) ;
7659 : #endif
7660 0 : storageOf_isCoArray = source->p_isCoArray ;
7661 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7662 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7663 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7664 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7665 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7666 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7667 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7668 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7669 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7670 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7671 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7672 0 : storageOf_isModified = source->p_isModified ;
7673 0 : storageOf_containsTransformation = source->p_containsTransformation ;
7674 0 : }
7675 :
7676 : void
7677 0 : SgTypeGlobalVoidStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7678 : {
7679 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7680 0 : }
7681 :
7682 : void
7683 2 : SgTypeGlobalVoidStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7684 : {
7685 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7686 2 : }
7687 :
7688 : void
7689 0 : SgTypeGlobalVoidStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7690 : {
7691 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7692 0 : }
7693 :
7694 :
7695 : void
7696 0 : SgTypeGlobalVoidStorageClass::readEasyStorageDataFromFile (std::istream& in)
7697 : {
7698 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7699 0 : }
7700 :
7701 :
7702 :
7703 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7704 :
7705 :
7706 : // ********************************************************
7707 :
7708 : /* #line 7709 "../../../src/frontend/SageIII//StorageClasses.C" */
7709 :
7710 :
7711 :
7712 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7713 :
7714 : // ****************************************************************
7715 : // member functions definition specific to each node in the grammar
7716 : // these are the SgTypeWcharStorageClass parts !!!!
7717 : // ROSETTA generated code. Do not change by hand.
7718 : // ****************************************************************
7719 :
7720 :
7721 : /* #line 7722 "../../../src/frontend/SageIII//StorageClasses.C" */
7722 :
7723 :
7724 : void
7725 1 : SgTypeWcharStorageClass::pickOutIRNodeData ( SgTypeWchar* pointer )
7726 : {
7727 1 : SgTypeWchar* source = (SgTypeWchar*) (pointer);
7728 : #if FILE_IO_EXTRA_CHECK
7729 1 : assert ( source != NULL ) ;
7730 1 : assert ( source->p_freepointer != NULL) ;
7731 : #endif
7732 1 : storageOf_isCoArray = source->p_isCoArray ;
7733 1 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7734 1 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7735 1 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7736 1 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7737 1 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7738 1 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7739 1 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7740 1 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7741 1 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7742 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7743 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7744 1 : storageOf_isModified = source->p_isModified ;
7745 1 : storageOf_containsTransformation = source->p_containsTransformation ;
7746 1 : }
7747 :
7748 : void
7749 0 : SgTypeWcharStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7750 : {
7751 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7752 0 : }
7753 :
7754 : void
7755 2 : SgTypeWcharStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7756 : {
7757 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7758 2 : }
7759 :
7760 : void
7761 1 : SgTypeWcharStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7762 : {
7763 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7764 1 : }
7765 :
7766 :
7767 : void
7768 1 : SgTypeWcharStorageClass::readEasyStorageDataFromFile (std::istream& in)
7769 : {
7770 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7771 1 : }
7772 :
7773 :
7774 :
7775 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7776 :
7777 :
7778 : // ********************************************************
7779 :
7780 : /* #line 7781 "../../../src/frontend/SageIII//StorageClasses.C" */
7781 :
7782 :
7783 :
7784 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7785 :
7786 : // ****************************************************************
7787 : // member functions definition specific to each node in the grammar
7788 : // these are the SgTypeFloatStorageClass parts !!!!
7789 : // ROSETTA generated code. Do not change by hand.
7790 : // ****************************************************************
7791 :
7792 :
7793 : /* #line 7794 "../../../src/frontend/SageIII//StorageClasses.C" */
7794 :
7795 :
7796 : void
7797 2 : SgTypeFloatStorageClass::pickOutIRNodeData ( SgTypeFloat* pointer )
7798 : {
7799 2 : SgTypeFloat* source = (SgTypeFloat*) (pointer);
7800 : #if FILE_IO_EXTRA_CHECK
7801 2 : assert ( source != NULL ) ;
7802 2 : assert ( source->p_freepointer != NULL) ;
7803 : #endif
7804 2 : storageOf_isCoArray = source->p_isCoArray ;
7805 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7806 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7807 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7808 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7809 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7810 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7811 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7812 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7813 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7814 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7815 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7816 2 : storageOf_isModified = source->p_isModified ;
7817 2 : storageOf_containsTransformation = source->p_containsTransformation ;
7818 2 : }
7819 :
7820 : void
7821 0 : SgTypeFloatStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7822 : {
7823 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7824 0 : }
7825 :
7826 : void
7827 2 : SgTypeFloatStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7828 : {
7829 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7830 2 : }
7831 :
7832 : void
7833 2 : SgTypeFloatStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7834 : {
7835 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7836 2 : }
7837 :
7838 :
7839 : void
7840 2 : SgTypeFloatStorageClass::readEasyStorageDataFromFile (std::istream& in)
7841 : {
7842 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7843 2 : }
7844 :
7845 :
7846 :
7847 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7848 :
7849 :
7850 : // ********************************************************
7851 :
7852 : /* #line 7853 "../../../src/frontend/SageIII//StorageClasses.C" */
7853 :
7854 :
7855 :
7856 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7857 :
7858 : // ****************************************************************
7859 : // member functions definition specific to each node in the grammar
7860 : // these are the SgTypeDoubleStorageClass parts !!!!
7861 : // ROSETTA generated code. Do not change by hand.
7862 : // ****************************************************************
7863 :
7864 :
7865 : /* #line 7866 "../../../src/frontend/SageIII//StorageClasses.C" */
7866 :
7867 :
7868 : void
7869 2 : SgTypeDoubleStorageClass::pickOutIRNodeData ( SgTypeDouble* pointer )
7870 : {
7871 2 : SgTypeDouble* source = (SgTypeDouble*) (pointer);
7872 : #if FILE_IO_EXTRA_CHECK
7873 2 : assert ( source != NULL ) ;
7874 2 : assert ( source->p_freepointer != NULL) ;
7875 : #endif
7876 2 : storageOf_isCoArray = source->p_isCoArray ;
7877 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7878 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7879 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7880 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7881 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7882 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7883 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7884 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7885 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7886 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7887 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7888 2 : storageOf_isModified = source->p_isModified ;
7889 2 : storageOf_containsTransformation = source->p_containsTransformation ;
7890 2 : }
7891 :
7892 : void
7893 0 : SgTypeDoubleStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7894 : {
7895 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7896 0 : }
7897 :
7898 : void
7899 2 : SgTypeDoubleStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7900 : {
7901 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7902 2 : }
7903 :
7904 : void
7905 2 : SgTypeDoubleStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7906 : {
7907 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7908 2 : }
7909 :
7910 :
7911 : void
7912 2 : SgTypeDoubleStorageClass::readEasyStorageDataFromFile (std::istream& in)
7913 : {
7914 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7915 2 : }
7916 :
7917 :
7918 :
7919 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7920 :
7921 :
7922 : // ********************************************************
7923 :
7924 : /* #line 7925 "../../../src/frontend/SageIII//StorageClasses.C" */
7925 :
7926 :
7927 :
7928 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7929 :
7930 : // ****************************************************************
7931 : // member functions definition specific to each node in the grammar
7932 : // these are the SgTypeLongLongStorageClass parts !!!!
7933 : // ROSETTA generated code. Do not change by hand.
7934 : // ****************************************************************
7935 :
7936 :
7937 : /* #line 7938 "../../../src/frontend/SageIII//StorageClasses.C" */
7938 :
7939 :
7940 : void
7941 2 : SgTypeLongLongStorageClass::pickOutIRNodeData ( SgTypeLongLong* pointer )
7942 : {
7943 2 : SgTypeLongLong* source = (SgTypeLongLong*) (pointer);
7944 : #if FILE_IO_EXTRA_CHECK
7945 2 : assert ( source != NULL ) ;
7946 2 : assert ( source->p_freepointer != NULL) ;
7947 : #endif
7948 2 : storageOf_isCoArray = source->p_isCoArray ;
7949 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
7950 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
7951 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
7952 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
7953 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
7954 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
7955 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
7956 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
7957 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
7958 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
7959 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
7960 2 : storageOf_isModified = source->p_isModified ;
7961 2 : storageOf_containsTransformation = source->p_containsTransformation ;
7962 2 : }
7963 :
7964 : void
7965 0 : SgTypeLongLongStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
7966 : {
7967 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
7968 0 : }
7969 :
7970 : void
7971 2 : SgTypeLongLongStorageClass::deleteStaticDataOfEasyStorageClasses ( )
7972 : {
7973 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
7974 2 : }
7975 :
7976 : void
7977 2 : SgTypeLongLongStorageClass::writeEasyStorageDataToFile (std::ostream& out)
7978 : {
7979 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
7980 2 : }
7981 :
7982 :
7983 : void
7984 2 : SgTypeLongLongStorageClass::readEasyStorageDataFromFile (std::istream& in)
7985 : {
7986 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
7987 2 : }
7988 :
7989 :
7990 :
7991 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
7992 :
7993 :
7994 : // ********************************************************
7995 :
7996 : /* #line 7997 "../../../src/frontend/SageIII//StorageClasses.C" */
7997 :
7998 :
7999 :
8000 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8001 :
8002 : // ****************************************************************
8003 : // member functions definition specific to each node in the grammar
8004 : // these are the SgTypeSignedLongLongStorageClass parts !!!!
8005 : // ROSETTA generated code. Do not change by hand.
8006 : // ****************************************************************
8007 :
8008 :
8009 : /* #line 8010 "../../../src/frontend/SageIII//StorageClasses.C" */
8010 :
8011 :
8012 : void
8013 1 : SgTypeSignedLongLongStorageClass::pickOutIRNodeData ( SgTypeSignedLongLong* pointer )
8014 : {
8015 1 : SgTypeSignedLongLong* source = (SgTypeSignedLongLong*) (pointer);
8016 : #if FILE_IO_EXTRA_CHECK
8017 1 : assert ( source != NULL ) ;
8018 1 : assert ( source->p_freepointer != NULL) ;
8019 : #endif
8020 1 : storageOf_isCoArray = source->p_isCoArray ;
8021 1 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8022 1 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8023 1 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8024 1 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8025 1 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8026 1 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8027 1 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8028 1 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8029 1 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8030 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8031 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8032 1 : storageOf_isModified = source->p_isModified ;
8033 1 : storageOf_containsTransformation = source->p_containsTransformation ;
8034 1 : }
8035 :
8036 : void
8037 0 : SgTypeSignedLongLongStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8038 : {
8039 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8040 0 : }
8041 :
8042 : void
8043 2 : SgTypeSignedLongLongStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8044 : {
8045 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8046 2 : }
8047 :
8048 : void
8049 1 : SgTypeSignedLongLongStorageClass::writeEasyStorageDataToFile (std::ostream& out)
8050 : {
8051 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8052 1 : }
8053 :
8054 :
8055 : void
8056 1 : SgTypeSignedLongLongStorageClass::readEasyStorageDataFromFile (std::istream& in)
8057 : {
8058 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8059 1 : }
8060 :
8061 :
8062 :
8063 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8064 :
8065 :
8066 : // ********************************************************
8067 :
8068 : /* #line 8069 "../../../src/frontend/SageIII//StorageClasses.C" */
8069 :
8070 :
8071 :
8072 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8073 :
8074 : // ****************************************************************
8075 : // member functions definition specific to each node in the grammar
8076 : // these are the SgTypeUnsignedLongLongStorageClass parts !!!!
8077 : // ROSETTA generated code. Do not change by hand.
8078 : // ****************************************************************
8079 :
8080 :
8081 : /* #line 8082 "../../../src/frontend/SageIII//StorageClasses.C" */
8082 :
8083 :
8084 : void
8085 2 : SgTypeUnsignedLongLongStorageClass::pickOutIRNodeData ( SgTypeUnsignedLongLong* pointer )
8086 : {
8087 2 : SgTypeUnsignedLongLong* source = (SgTypeUnsignedLongLong*) (pointer);
8088 : #if FILE_IO_EXTRA_CHECK
8089 2 : assert ( source != NULL ) ;
8090 2 : assert ( source->p_freepointer != NULL) ;
8091 : #endif
8092 2 : storageOf_isCoArray = source->p_isCoArray ;
8093 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8094 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8095 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8096 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8097 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8098 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8099 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8100 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8101 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8102 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8103 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8104 2 : storageOf_isModified = source->p_isModified ;
8105 2 : storageOf_containsTransformation = source->p_containsTransformation ;
8106 2 : }
8107 :
8108 : void
8109 0 : SgTypeUnsignedLongLongStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8110 : {
8111 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8112 0 : }
8113 :
8114 : void
8115 2 : SgTypeUnsignedLongLongStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8116 : {
8117 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8118 2 : }
8119 :
8120 : void
8121 2 : SgTypeUnsignedLongLongStorageClass::writeEasyStorageDataToFile (std::ostream& out)
8122 : {
8123 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8124 2 : }
8125 :
8126 :
8127 : void
8128 2 : SgTypeUnsignedLongLongStorageClass::readEasyStorageDataFromFile (std::istream& in)
8129 : {
8130 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8131 2 : }
8132 :
8133 :
8134 :
8135 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8136 :
8137 :
8138 : // ********************************************************
8139 :
8140 : /* #line 8141 "../../../src/frontend/SageIII//StorageClasses.C" */
8141 :
8142 :
8143 :
8144 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8145 :
8146 : // ****************************************************************
8147 : // member functions definition specific to each node in the grammar
8148 : // these are the SgTypeSigned128bitIntegerStorageClass parts !!!!
8149 : // ROSETTA generated code. Do not change by hand.
8150 : // ****************************************************************
8151 :
8152 :
8153 : /* #line 8154 "../../../src/frontend/SageIII//StorageClasses.C" */
8154 :
8155 :
8156 : void
8157 1 : SgTypeSigned128bitIntegerStorageClass::pickOutIRNodeData ( SgTypeSigned128bitInteger* pointer )
8158 : {
8159 1 : SgTypeSigned128bitInteger* source = (SgTypeSigned128bitInteger*) (pointer);
8160 : #if FILE_IO_EXTRA_CHECK
8161 1 : assert ( source != NULL ) ;
8162 1 : assert ( source->p_freepointer != NULL) ;
8163 : #endif
8164 1 : storageOf_isCoArray = source->p_isCoArray ;
8165 1 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8166 1 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8167 1 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8168 1 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8169 1 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8170 1 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8171 1 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8172 1 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8173 1 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8174 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8175 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8176 1 : storageOf_isModified = source->p_isModified ;
8177 1 : storageOf_containsTransformation = source->p_containsTransformation ;
8178 1 : }
8179 :
8180 : void
8181 0 : SgTypeSigned128bitIntegerStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8182 : {
8183 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8184 0 : }
8185 :
8186 : void
8187 2 : SgTypeSigned128bitIntegerStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8188 : {
8189 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8190 2 : }
8191 :
8192 : void
8193 1 : SgTypeSigned128bitIntegerStorageClass::writeEasyStorageDataToFile (std::ostream& out)
8194 : {
8195 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8196 1 : }
8197 :
8198 :
8199 : void
8200 1 : SgTypeSigned128bitIntegerStorageClass::readEasyStorageDataFromFile (std::istream& in)
8201 : {
8202 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8203 1 : }
8204 :
8205 :
8206 :
8207 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8208 :
8209 :
8210 : // ********************************************************
8211 :
8212 : /* #line 8213 "../../../src/frontend/SageIII//StorageClasses.C" */
8213 :
8214 :
8215 :
8216 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8217 :
8218 : // ****************************************************************
8219 : // member functions definition specific to each node in the grammar
8220 : // these are the SgTypeUnsigned128bitIntegerStorageClass parts !!!!
8221 : // ROSETTA generated code. Do not change by hand.
8222 : // ****************************************************************
8223 :
8224 :
8225 : /* #line 8226 "../../../src/frontend/SageIII//StorageClasses.C" */
8226 :
8227 :
8228 : void
8229 1 : SgTypeUnsigned128bitIntegerStorageClass::pickOutIRNodeData ( SgTypeUnsigned128bitInteger* pointer )
8230 : {
8231 1 : SgTypeUnsigned128bitInteger* source = (SgTypeUnsigned128bitInteger*) (pointer);
8232 : #if FILE_IO_EXTRA_CHECK
8233 1 : assert ( source != NULL ) ;
8234 1 : assert ( source->p_freepointer != NULL) ;
8235 : #endif
8236 1 : storageOf_isCoArray = source->p_isCoArray ;
8237 1 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8238 1 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8239 1 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8240 1 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8241 1 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8242 1 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8243 1 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8244 1 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8245 1 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8246 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8247 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8248 1 : storageOf_isModified = source->p_isModified ;
8249 1 : storageOf_containsTransformation = source->p_containsTransformation ;
8250 1 : }
8251 :
8252 : void
8253 0 : SgTypeUnsigned128bitIntegerStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8254 : {
8255 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8256 0 : }
8257 :
8258 : void
8259 2 : SgTypeUnsigned128bitIntegerStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8260 : {
8261 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8262 2 : }
8263 :
8264 : void
8265 1 : SgTypeUnsigned128bitIntegerStorageClass::writeEasyStorageDataToFile (std::ostream& out)
8266 : {
8267 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8268 1 : }
8269 :
8270 :
8271 : void
8272 1 : SgTypeUnsigned128bitIntegerStorageClass::readEasyStorageDataFromFile (std::istream& in)
8273 : {
8274 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8275 1 : }
8276 :
8277 :
8278 :
8279 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8280 :
8281 :
8282 : // ********************************************************
8283 :
8284 : /* #line 8285 "../../../src/frontend/SageIII//StorageClasses.C" */
8285 :
8286 :
8287 :
8288 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8289 :
8290 : // ****************************************************************
8291 : // member functions definition specific to each node in the grammar
8292 : // these are the SgTypeFloat80StorageClass parts !!!!
8293 : // ROSETTA generated code. Do not change by hand.
8294 : // ****************************************************************
8295 :
8296 :
8297 : /* #line 8298 "../../../src/frontend/SageIII//StorageClasses.C" */
8298 :
8299 :
8300 : void
8301 0 : SgTypeFloat80StorageClass::pickOutIRNodeData ( SgTypeFloat80* pointer )
8302 : {
8303 0 : SgTypeFloat80* source = (SgTypeFloat80*) (pointer);
8304 : #if FILE_IO_EXTRA_CHECK
8305 0 : assert ( source != NULL ) ;
8306 0 : assert ( source->p_freepointer != NULL) ;
8307 : #endif
8308 0 : storageOf_isCoArray = source->p_isCoArray ;
8309 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8310 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8311 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8312 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8313 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8314 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8315 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8316 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8317 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8318 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8319 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8320 0 : storageOf_isModified = source->p_isModified ;
8321 0 : storageOf_containsTransformation = source->p_containsTransformation ;
8322 0 : }
8323 :
8324 : void
8325 0 : SgTypeFloat80StorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8326 : {
8327 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8328 0 : }
8329 :
8330 : void
8331 2 : SgTypeFloat80StorageClass::deleteStaticDataOfEasyStorageClasses ( )
8332 : {
8333 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8334 2 : }
8335 :
8336 : void
8337 0 : SgTypeFloat80StorageClass::writeEasyStorageDataToFile (std::ostream& out)
8338 : {
8339 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8340 0 : }
8341 :
8342 :
8343 : void
8344 0 : SgTypeFloat80StorageClass::readEasyStorageDataFromFile (std::istream& in)
8345 : {
8346 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8347 0 : }
8348 :
8349 :
8350 :
8351 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8352 :
8353 :
8354 : // ********************************************************
8355 :
8356 : /* #line 8357 "../../../src/frontend/SageIII//StorageClasses.C" */
8357 :
8358 :
8359 :
8360 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8361 :
8362 : // ****************************************************************
8363 : // member functions definition specific to each node in the grammar
8364 : // these are the SgTypeLongDoubleStorageClass parts !!!!
8365 : // ROSETTA generated code. Do not change by hand.
8366 : // ****************************************************************
8367 :
8368 :
8369 : /* #line 8370 "../../../src/frontend/SageIII//StorageClasses.C" */
8370 :
8371 :
8372 : void
8373 2 : SgTypeLongDoubleStorageClass::pickOutIRNodeData ( SgTypeLongDouble* pointer )
8374 : {
8375 2 : SgTypeLongDouble* source = (SgTypeLongDouble*) (pointer);
8376 : #if FILE_IO_EXTRA_CHECK
8377 2 : assert ( source != NULL ) ;
8378 2 : assert ( source->p_freepointer != NULL) ;
8379 : #endif
8380 2 : storageOf_isCoArray = source->p_isCoArray ;
8381 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8382 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8383 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8384 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8385 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8386 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8387 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8388 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8389 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8390 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8391 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8392 2 : storageOf_isModified = source->p_isModified ;
8393 2 : storageOf_containsTransformation = source->p_containsTransformation ;
8394 2 : }
8395 :
8396 : void
8397 0 : SgTypeLongDoubleStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8398 : {
8399 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8400 0 : }
8401 :
8402 : void
8403 2 : SgTypeLongDoubleStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8404 : {
8405 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8406 2 : }
8407 :
8408 : void
8409 2 : SgTypeLongDoubleStorageClass::writeEasyStorageDataToFile (std::ostream& out)
8410 : {
8411 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8412 2 : }
8413 :
8414 :
8415 : void
8416 2 : SgTypeLongDoubleStorageClass::readEasyStorageDataFromFile (std::istream& in)
8417 : {
8418 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8419 2 : }
8420 :
8421 :
8422 :
8423 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8424 :
8425 :
8426 : // ********************************************************
8427 :
8428 : /* #line 8429 "../../../src/frontend/SageIII//StorageClasses.C" */
8429 :
8430 :
8431 :
8432 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8433 :
8434 : // ****************************************************************
8435 : // member functions definition specific to each node in the grammar
8436 : // these are the SgTypeStringStorageClass parts !!!!
8437 : // ROSETTA generated code. Do not change by hand.
8438 : // ****************************************************************
8439 :
8440 :
8441 : /* #line 8442 "../../../src/frontend/SageIII//StorageClasses.C" */
8442 :
8443 :
8444 : void
8445 0 : SgTypeStringStorageClass::pickOutIRNodeData ( SgTypeString* pointer )
8446 : {
8447 0 : SgTypeString* source = (SgTypeString*) (pointer);
8448 : #if FILE_IO_EXTRA_CHECK
8449 0 : assert ( source != NULL ) ;
8450 0 : assert ( source->p_freepointer != NULL) ;
8451 : #endif
8452 0 : storageOf_lengthExpression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lengthExpression );
8453 0 : storageOf_isCoArray = source->p_isCoArray ;
8454 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8455 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8456 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8457 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8458 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8459 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8460 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8461 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8462 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8463 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8464 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8465 0 : storageOf_isModified = source->p_isModified ;
8466 0 : storageOf_containsTransformation = source->p_containsTransformation ;
8467 0 : }
8468 :
8469 : void
8470 0 : SgTypeStringStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8471 : {
8472 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8473 0 : }
8474 :
8475 : void
8476 2 : SgTypeStringStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8477 : {
8478 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8479 2 : }
8480 :
8481 : void
8482 0 : SgTypeStringStorageClass::writeEasyStorageDataToFile (std::ostream& out)
8483 : {
8484 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8485 0 : }
8486 :
8487 :
8488 : void
8489 0 : SgTypeStringStorageClass::readEasyStorageDataFromFile (std::istream& in)
8490 : {
8491 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8492 0 : }
8493 :
8494 :
8495 :
8496 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8497 :
8498 :
8499 : // ********************************************************
8500 :
8501 : /* #line 8502 "../../../src/frontend/SageIII//StorageClasses.C" */
8502 :
8503 :
8504 :
8505 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8506 :
8507 : // ****************************************************************
8508 : // member functions definition specific to each node in the grammar
8509 : // these are the SgTypeBoolStorageClass parts !!!!
8510 : // ROSETTA generated code. Do not change by hand.
8511 : // ****************************************************************
8512 :
8513 :
8514 : /* #line 8515 "../../../src/frontend/SageIII//StorageClasses.C" */
8515 :
8516 :
8517 : void
8518 1 : SgTypeBoolStorageClass::pickOutIRNodeData ( SgTypeBool* pointer )
8519 : {
8520 1 : SgTypeBool* source = (SgTypeBool*) (pointer);
8521 : #if FILE_IO_EXTRA_CHECK
8522 1 : assert ( source != NULL ) ;
8523 1 : assert ( source->p_freepointer != NULL) ;
8524 : #endif
8525 1 : storageOf_isCoArray = source->p_isCoArray ;
8526 1 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8527 1 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8528 1 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8529 1 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8530 1 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8531 1 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8532 1 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8533 1 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8534 1 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8535 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8536 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8537 1 : storageOf_isModified = source->p_isModified ;
8538 1 : storageOf_containsTransformation = source->p_containsTransformation ;
8539 1 : }
8540 :
8541 : void
8542 0 : SgTypeBoolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8543 : {
8544 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8545 0 : }
8546 :
8547 : void
8548 2 : SgTypeBoolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8549 : {
8550 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8551 2 : }
8552 :
8553 : void
8554 1 : SgTypeBoolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
8555 : {
8556 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8557 1 : }
8558 :
8559 :
8560 : void
8561 1 : SgTypeBoolStorageClass::readEasyStorageDataFromFile (std::istream& in)
8562 : {
8563 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8564 1 : }
8565 :
8566 :
8567 :
8568 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8569 :
8570 :
8571 : // ********************************************************
8572 :
8573 : /* #line 8574 "../../../src/frontend/SageIII//StorageClasses.C" */
8574 :
8575 :
8576 :
8577 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8578 :
8579 : // ****************************************************************
8580 : // member functions definition specific to each node in the grammar
8581 : // these are the SgPointerTypeStorageClass parts !!!!
8582 : // ROSETTA generated code. Do not change by hand.
8583 : // ****************************************************************
8584 :
8585 :
8586 : /* #line 8587 "../../../src/frontend/SageIII//StorageClasses.C" */
8587 :
8588 :
8589 : void
8590 626 : SgPointerTypeStorageClass::pickOutIRNodeData ( SgPointerType* pointer )
8591 : {
8592 626 : SgPointerType* source = (SgPointerType*) (pointer);
8593 : #if FILE_IO_EXTRA_CHECK
8594 626 : assert ( source != NULL ) ;
8595 626 : assert ( source->p_freepointer != NULL) ;
8596 : #endif
8597 626 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
8598 626 : storageOf_isCoArray = source->p_isCoArray ;
8599 626 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8600 626 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8601 626 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8602 626 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8603 626 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8604 626 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8605 626 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8606 626 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8607 626 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8608 626 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8609 626 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8610 626 : storageOf_isModified = source->p_isModified ;
8611 626 : storageOf_containsTransformation = source->p_containsTransformation ;
8612 626 : }
8613 :
8614 : void
8615 0 : SgPointerTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8616 : {
8617 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8618 0 : }
8619 :
8620 : void
8621 2 : SgPointerTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8622 : {
8623 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8624 2 : }
8625 :
8626 : void
8627 2 : SgPointerTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
8628 : {
8629 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8630 2 : }
8631 :
8632 :
8633 : void
8634 2 : SgPointerTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
8635 : {
8636 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8637 2 : }
8638 :
8639 :
8640 :
8641 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8642 :
8643 :
8644 : // ********************************************************
8645 :
8646 : /* #line 8647 "../../../src/frontend/SageIII//StorageClasses.C" */
8647 :
8648 :
8649 :
8650 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8651 :
8652 : // ****************************************************************
8653 : // member functions definition specific to each node in the grammar
8654 : // these are the SgPointerMemberTypeStorageClass parts !!!!
8655 : // ROSETTA generated code. Do not change by hand.
8656 : // ****************************************************************
8657 :
8658 :
8659 : /* #line 8660 "../../../src/frontend/SageIII//StorageClasses.C" */
8660 :
8661 :
8662 : void
8663 29 : SgPointerMemberTypeStorageClass::pickOutIRNodeData ( SgPointerMemberType* pointer )
8664 : {
8665 29 : SgPointerMemberType* source = (SgPointerMemberType*) (pointer);
8666 : #if FILE_IO_EXTRA_CHECK
8667 29 : assert ( source != NULL ) ;
8668 29 : assert ( source->p_freepointer != NULL) ;
8669 : #endif
8670 29 : storageOf_class_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_class_type );
8671 29 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
8672 29 : storageOf_isCoArray = source->p_isCoArray ;
8673 29 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8674 29 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8675 29 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8676 29 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8677 29 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8678 29 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8679 29 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8680 29 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8681 29 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8682 29 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8683 29 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8684 29 : storageOf_isModified = source->p_isModified ;
8685 29 : storageOf_containsTransformation = source->p_containsTransformation ;
8686 29 : }
8687 :
8688 : void
8689 0 : SgPointerMemberTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8690 : {
8691 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8692 0 : }
8693 :
8694 : void
8695 2 : SgPointerMemberTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8696 : {
8697 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8698 2 : }
8699 :
8700 : void
8701 1 : SgPointerMemberTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
8702 : {
8703 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8704 1 : }
8705 :
8706 :
8707 : void
8708 1 : SgPointerMemberTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
8709 : {
8710 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8711 1 : }
8712 :
8713 :
8714 :
8715 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8716 :
8717 :
8718 : // ********************************************************
8719 :
8720 : /* #line 8721 "../../../src/frontend/SageIII//StorageClasses.C" */
8721 :
8722 :
8723 :
8724 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8725 :
8726 : // ****************************************************************
8727 : // member functions definition specific to each node in the grammar
8728 : // these are the SgReferenceTypeStorageClass parts !!!!
8729 : // ROSETTA generated code. Do not change by hand.
8730 : // ****************************************************************
8731 :
8732 :
8733 : /* #line 8734 "../../../src/frontend/SageIII//StorageClasses.C" */
8734 :
8735 :
8736 : void
8737 724 : SgReferenceTypeStorageClass::pickOutIRNodeData ( SgReferenceType* pointer )
8738 : {
8739 724 : SgReferenceType* source = (SgReferenceType*) (pointer);
8740 : #if FILE_IO_EXTRA_CHECK
8741 724 : assert ( source != NULL ) ;
8742 724 : assert ( source->p_freepointer != NULL) ;
8743 : #endif
8744 724 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
8745 724 : storageOf_isCoArray = source->p_isCoArray ;
8746 724 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8747 724 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8748 724 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8749 724 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8750 724 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8751 724 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8752 724 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8753 724 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8754 724 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8755 724 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8756 724 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8757 724 : storageOf_isModified = source->p_isModified ;
8758 724 : storageOf_containsTransformation = source->p_containsTransformation ;
8759 724 : }
8760 :
8761 : void
8762 0 : SgReferenceTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8763 : {
8764 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8765 0 : }
8766 :
8767 : void
8768 2 : SgReferenceTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8769 : {
8770 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8771 2 : }
8772 :
8773 : void
8774 1 : SgReferenceTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
8775 : {
8776 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8777 1 : }
8778 :
8779 :
8780 : void
8781 1 : SgReferenceTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
8782 : {
8783 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8784 1 : }
8785 :
8786 :
8787 :
8788 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8789 :
8790 :
8791 : // ********************************************************
8792 :
8793 : /* #line 8794 "../../../src/frontend/SageIII//StorageClasses.C" */
8794 :
8795 :
8796 :
8797 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8798 :
8799 : // ****************************************************************
8800 : // member functions definition specific to each node in the grammar
8801 : // these are the SgNamedTypeStorageClass parts !!!!
8802 : // ROSETTA generated code. Do not change by hand.
8803 : // ****************************************************************
8804 :
8805 :
8806 : /* #line 8807 "../../../src/frontend/SageIII//StorageClasses.C" */
8807 :
8808 :
8809 : void
8810 0 : SgNamedTypeStorageClass::pickOutIRNodeData ( SgNamedType* pointer )
8811 : {
8812 0 : SgNamedType* source = (SgNamedType*) (pointer);
8813 : #if FILE_IO_EXTRA_CHECK
8814 0 : assert ( source != NULL ) ;
8815 0 : assert ( source->p_freepointer != NULL) ;
8816 : #endif
8817 0 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
8818 0 : storageOf_autonomous_declaration = source->p_autonomous_declaration ;
8819 0 : storageOf_is_from_template_parameter = source->p_is_from_template_parameter ;
8820 0 : storageOf_isCoArray = source->p_isCoArray ;
8821 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8822 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8823 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8824 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8825 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8826 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8827 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8828 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8829 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8830 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8831 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8832 0 : storageOf_isModified = source->p_isModified ;
8833 0 : storageOf_containsTransformation = source->p_containsTransformation ;
8834 0 : }
8835 :
8836 : void
8837 0 : SgNamedTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8838 : {
8839 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8840 0 : }
8841 :
8842 : void
8843 2 : SgNamedTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8844 : {
8845 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8846 2 : }
8847 :
8848 : void
8849 0 : SgNamedTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
8850 : {
8851 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8852 0 : }
8853 :
8854 :
8855 : void
8856 0 : SgNamedTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
8857 : {
8858 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8859 0 : }
8860 :
8861 :
8862 :
8863 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8864 :
8865 :
8866 : // ********************************************************
8867 :
8868 : /* #line 8869 "../../../src/frontend/SageIII//StorageClasses.C" */
8869 :
8870 :
8871 :
8872 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8873 :
8874 : // ****************************************************************
8875 : // member functions definition specific to each node in the grammar
8876 : // these are the SgClassTypeStorageClass parts !!!!
8877 : // ROSETTA generated code. Do not change by hand.
8878 : // ****************************************************************
8879 :
8880 :
8881 : /* #line 8882 "../../../src/frontend/SageIII//StorageClasses.C" */
8882 :
8883 :
8884 : void
8885 1401 : SgClassTypeStorageClass::pickOutIRNodeData ( SgClassType* pointer )
8886 : {
8887 1401 : SgClassType* source = (SgClassType*) (pointer);
8888 : #if FILE_IO_EXTRA_CHECK
8889 1401 : assert ( source != NULL ) ;
8890 1401 : assert ( source->p_freepointer != NULL) ;
8891 : #endif
8892 1401 : storageOf_packed = source->p_packed ;
8893 1401 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
8894 1401 : storageOf_autonomous_declaration = source->p_autonomous_declaration ;
8895 1401 : storageOf_is_from_template_parameter = source->p_is_from_template_parameter ;
8896 1401 : storageOf_isCoArray = source->p_isCoArray ;
8897 1401 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8898 1401 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8899 1401 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8900 1401 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8901 1401 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8902 1401 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8903 1401 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8904 1401 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8905 1401 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8906 1401 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8907 1401 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8908 1401 : storageOf_isModified = source->p_isModified ;
8909 1401 : storageOf_containsTransformation = source->p_containsTransformation ;
8910 1401 : }
8911 :
8912 : void
8913 0 : SgClassTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8914 : {
8915 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8916 0 : }
8917 :
8918 : void
8919 2 : SgClassTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8920 : {
8921 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8922 2 : }
8923 :
8924 : void
8925 2 : SgClassTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
8926 : {
8927 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
8928 2 : }
8929 :
8930 :
8931 : void
8932 2 : SgClassTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
8933 : {
8934 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
8935 2 : }
8936 :
8937 :
8938 :
8939 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8940 :
8941 :
8942 : // ********************************************************
8943 :
8944 : /* #line 8945 "../../../src/frontend/SageIII//StorageClasses.C" */
8945 :
8946 :
8947 :
8948 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
8949 :
8950 : // ****************************************************************
8951 : // member functions definition specific to each node in the grammar
8952 : // these are the SgEnumTypeStorageClass parts !!!!
8953 : // ROSETTA generated code. Do not change by hand.
8954 : // ****************************************************************
8955 :
8956 :
8957 : /* #line 8958 "../../../src/frontend/SageIII//StorageClasses.C" */
8958 :
8959 :
8960 : void
8961 87 : SgEnumTypeStorageClass::pickOutIRNodeData ( SgEnumType* pointer )
8962 : {
8963 87 : SgEnumType* source = (SgEnumType*) (pointer);
8964 : #if FILE_IO_EXTRA_CHECK
8965 87 : assert ( source != NULL ) ;
8966 87 : assert ( source->p_freepointer != NULL) ;
8967 : #endif
8968 87 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
8969 87 : storageOf_autonomous_declaration = source->p_autonomous_declaration ;
8970 87 : storageOf_is_from_template_parameter = source->p_is_from_template_parameter ;
8971 87 : storageOf_isCoArray = source->p_isCoArray ;
8972 87 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
8973 87 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
8974 87 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
8975 87 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
8976 87 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
8977 87 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
8978 87 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
8979 87 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
8980 87 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
8981 87 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
8982 87 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
8983 87 : storageOf_isModified = source->p_isModified ;
8984 87 : storageOf_containsTransformation = source->p_containsTransformation ;
8985 87 : }
8986 :
8987 : void
8988 0 : SgEnumTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
8989 : {
8990 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
8991 0 : }
8992 :
8993 : void
8994 2 : SgEnumTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
8995 : {
8996 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
8997 2 : }
8998 :
8999 : void
9000 1 : SgEnumTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9001 : {
9002 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9003 1 : }
9004 :
9005 :
9006 : void
9007 1 : SgEnumTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
9008 : {
9009 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9010 1 : }
9011 :
9012 :
9013 :
9014 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9015 :
9016 :
9017 : // ********************************************************
9018 :
9019 : /* #line 9020 "../../../src/frontend/SageIII//StorageClasses.C" */
9020 :
9021 :
9022 :
9023 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9024 :
9025 : // ****************************************************************
9026 : // member functions definition specific to each node in the grammar
9027 : // these are the SgTypedefTypeStorageClass parts !!!!
9028 : // ROSETTA generated code. Do not change by hand.
9029 : // ****************************************************************
9030 :
9031 :
9032 : /* #line 9033 "../../../src/frontend/SageIII//StorageClasses.C" */
9033 :
9034 :
9035 : void
9036 1848 : SgTypedefTypeStorageClass::pickOutIRNodeData ( SgTypedefType* pointer )
9037 : {
9038 1848 : SgTypedefType* source = (SgTypedefType*) (pointer);
9039 : #if FILE_IO_EXTRA_CHECK
9040 1848 : assert ( source != NULL ) ;
9041 1848 : assert ( source->p_freepointer != NULL) ;
9042 : #endif
9043 1848 : storageOf_parent_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent_scope );
9044 1848 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
9045 1848 : storageOf_autonomous_declaration = source->p_autonomous_declaration ;
9046 1848 : storageOf_is_from_template_parameter = source->p_is_from_template_parameter ;
9047 1848 : storageOf_isCoArray = source->p_isCoArray ;
9048 1848 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
9049 1848 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
9050 1848 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
9051 1848 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
9052 1848 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
9053 1848 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
9054 1848 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
9055 1848 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
9056 1848 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
9057 1848 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
9058 1848 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
9059 1848 : storageOf_isModified = source->p_isModified ;
9060 1848 : storageOf_containsTransformation = source->p_containsTransformation ;
9061 1848 : }
9062 :
9063 : void
9064 0 : SgTypedefTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
9065 : {
9066 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
9067 0 : }
9068 :
9069 : void
9070 2 : SgTypedefTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
9071 : {
9072 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
9073 2 : }
9074 :
9075 : void
9076 2 : SgTypedefTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9077 : {
9078 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9079 2 : }
9080 :
9081 :
9082 : void
9083 2 : SgTypedefTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
9084 : {
9085 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9086 2 : }
9087 :
9088 :
9089 :
9090 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9091 :
9092 :
9093 : // ********************************************************
9094 :
9095 : /* #line 9096 "../../../src/frontend/SageIII//StorageClasses.C" */
9096 :
9097 :
9098 :
9099 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9100 :
9101 : // ****************************************************************
9102 : // member functions definition specific to each node in the grammar
9103 : // these are the SgNonrealTypeStorageClass parts !!!!
9104 : // ROSETTA generated code. Do not change by hand.
9105 : // ****************************************************************
9106 :
9107 :
9108 : /* #line 9109 "../../../src/frontend/SageIII//StorageClasses.C" */
9109 :
9110 :
9111 : void
9112 5080 : SgNonrealTypeStorageClass::pickOutIRNodeData ( SgNonrealType* pointer )
9113 : {
9114 5080 : SgNonrealType* source = (SgNonrealType*) (pointer);
9115 : #if FILE_IO_EXTRA_CHECK
9116 5080 : assert ( source != NULL ) ;
9117 5080 : assert ( source->p_freepointer != NULL) ;
9118 : #endif
9119 5080 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
9120 5080 : storageOf_autonomous_declaration = source->p_autonomous_declaration ;
9121 5080 : storageOf_is_from_template_parameter = source->p_is_from_template_parameter ;
9122 5080 : storageOf_isCoArray = source->p_isCoArray ;
9123 5080 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
9124 5080 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
9125 5080 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
9126 5080 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
9127 5080 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
9128 5080 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
9129 5080 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
9130 5080 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
9131 5080 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
9132 5080 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
9133 5080 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
9134 5080 : storageOf_isModified = source->p_isModified ;
9135 5080 : storageOf_containsTransformation = source->p_containsTransformation ;
9136 5080 : }
9137 :
9138 : void
9139 0 : SgNonrealTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
9140 : {
9141 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
9142 0 : }
9143 :
9144 : void
9145 2 : SgNonrealTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
9146 : {
9147 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
9148 2 : }
9149 :
9150 : void
9151 1 : SgNonrealTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9152 : {
9153 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9154 1 : }
9155 :
9156 :
9157 : void
9158 1 : SgNonrealTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
9159 : {
9160 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9161 1 : }
9162 :
9163 :
9164 :
9165 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9166 :
9167 :
9168 : // ********************************************************
9169 :
9170 : /* #line 9171 "../../../src/frontend/SageIII//StorageClasses.C" */
9171 :
9172 :
9173 :
9174 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9175 :
9176 : // ****************************************************************
9177 : // member functions definition specific to each node in the grammar
9178 : // these are the SgModifierTypeStorageClass parts !!!!
9179 : // ROSETTA generated code. Do not change by hand.
9180 : // ****************************************************************
9181 :
9182 :
9183 : /* #line 9184 "../../../src/frontend/SageIII//StorageClasses.C" */
9184 :
9185 :
9186 : void
9187 876 : SgModifierTypeStorageClass::pickOutIRNodeData ( SgModifierType* pointer )
9188 : {
9189 876 : SgModifierType* source = (SgModifierType*) (pointer);
9190 : #if FILE_IO_EXTRA_CHECK
9191 876 : assert ( source != NULL ) ;
9192 876 : assert ( source->p_freepointer != NULL) ;
9193 : #endif
9194 876 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
9195 876 : storageOf_typeModifier.pickOutIRNodeData( &(source->p_typeModifier) );
9196 876 : storageOf_frontend_type_reference.storeDataInEasyStorageClass(source->p_frontend_type_reference);
9197 876 : storageOf_isCoArray = source->p_isCoArray ;
9198 876 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
9199 876 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
9200 876 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
9201 876 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
9202 876 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
9203 876 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
9204 876 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
9205 876 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
9206 876 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
9207 876 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
9208 876 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
9209 876 : storageOf_isModified = source->p_isModified ;
9210 876 : storageOf_containsTransformation = source->p_containsTransformation ;
9211 876 : }
9212 :
9213 : void
9214 0 : SgModifierTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
9215 : {
9216 0 : SgTypeModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
9217 0 : EasyStorage < char* > :: arrangeMemoryPoolInOneBlock() ;
9218 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
9219 0 : }
9220 :
9221 : void
9222 2 : SgModifierTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
9223 : {
9224 2 : SgTypeModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
9225 2 : EasyStorage < char* > :: deleteMemoryPool() ;
9226 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
9227 2 : }
9228 :
9229 : void
9230 2 : SgModifierTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9231 : {
9232 2 : SgTypeModifierStorageClass :: writeEasyStorageDataToFile(out) ;
9233 2 : EasyStorage < char* > :: writeToFile(out) ;
9234 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9235 2 : }
9236 :
9237 :
9238 : void
9239 2 : SgModifierTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
9240 : {
9241 2 : SgTypeModifierStorageClass :: readEasyStorageDataFromFile(in) ;
9242 2 : EasyStorage < char* > :: readFromFile(in) ;
9243 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9244 2 : }
9245 :
9246 :
9247 :
9248 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9249 :
9250 :
9251 : // ********************************************************
9252 :
9253 : /* #line 9254 "../../../src/frontend/SageIII//StorageClasses.C" */
9254 :
9255 :
9256 :
9257 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9258 :
9259 : // ****************************************************************
9260 : // member functions definition specific to each node in the grammar
9261 : // these are the SgFunctionTypeStorageClass parts !!!!
9262 : // ROSETTA generated code. Do not change by hand.
9263 : // ****************************************************************
9264 :
9265 :
9266 : /* #line 9267 "../../../src/frontend/SageIII//StorageClasses.C" */
9267 :
9268 :
9269 : void
9270 3150 : SgFunctionTypeStorageClass::pickOutIRNodeData ( SgFunctionType* pointer )
9271 : {
9272 3150 : SgFunctionType* source = (SgFunctionType*) (pointer);
9273 : #if FILE_IO_EXTRA_CHECK
9274 3150 : assert ( source != NULL ) ;
9275 3150 : assert ( source->p_freepointer != NULL) ;
9276 : #endif
9277 3150 : storageOf_return_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_return_type );
9278 3150 : storageOf_has_ellipses = source->p_has_ellipses ;
9279 3150 : storageOf_orig_return_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_orig_return_type );
9280 3150 : storageOf_argument_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_argument_list );
9281 3150 : storageOf_isCoArray = source->p_isCoArray ;
9282 3150 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
9283 3150 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
9284 3150 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
9285 3150 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
9286 3150 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
9287 3150 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
9288 3150 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
9289 3150 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
9290 3150 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
9291 3150 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
9292 3150 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
9293 3150 : storageOf_isModified = source->p_isModified ;
9294 3150 : storageOf_containsTransformation = source->p_containsTransformation ;
9295 3150 : }
9296 :
9297 : void
9298 0 : SgFunctionTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
9299 : {
9300 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
9301 0 : }
9302 :
9303 : void
9304 2 : SgFunctionTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
9305 : {
9306 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
9307 2 : }
9308 :
9309 : void
9310 3 : SgFunctionTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9311 : {
9312 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9313 3 : }
9314 :
9315 :
9316 : void
9317 2 : SgFunctionTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
9318 : {
9319 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9320 2 : }
9321 :
9322 :
9323 :
9324 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9325 :
9326 :
9327 : // ********************************************************
9328 :
9329 : /* #line 9330 "../../../src/frontend/SageIII//StorageClasses.C" */
9330 :
9331 :
9332 :
9333 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9334 :
9335 : // ****************************************************************
9336 : // member functions definition specific to each node in the grammar
9337 : // these are the SgMemberFunctionTypeStorageClass parts !!!!
9338 : // ROSETTA generated code. Do not change by hand.
9339 : // ****************************************************************
9340 :
9341 :
9342 : /* #line 9343 "../../../src/frontend/SageIII//StorageClasses.C" */
9343 :
9344 :
9345 : void
9346 2167 : SgMemberFunctionTypeStorageClass::pickOutIRNodeData ( SgMemberFunctionType* pointer )
9347 : {
9348 2167 : SgMemberFunctionType* source = (SgMemberFunctionType*) (pointer);
9349 : #if FILE_IO_EXTRA_CHECK
9350 2167 : assert ( source != NULL ) ;
9351 2167 : assert ( source->p_freepointer != NULL) ;
9352 : #endif
9353 2167 : storageOf_class_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_class_type );
9354 2167 : storageOf_mfunc_specifier = source->p_mfunc_specifier ;
9355 2167 : storageOf_ref_qualifiers = source->p_ref_qualifiers ;
9356 2167 : storageOf_return_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_return_type );
9357 2167 : storageOf_has_ellipses = source->p_has_ellipses ;
9358 2167 : storageOf_orig_return_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_orig_return_type );
9359 2167 : storageOf_argument_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_argument_list );
9360 2167 : storageOf_isCoArray = source->p_isCoArray ;
9361 2167 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
9362 2167 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
9363 2167 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
9364 2167 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
9365 2167 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
9366 2167 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
9367 2167 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
9368 2167 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
9369 2167 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
9370 2167 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
9371 2167 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
9372 2167 : storageOf_isModified = source->p_isModified ;
9373 2167 : storageOf_containsTransformation = source->p_containsTransformation ;
9374 2167 : }
9375 :
9376 : void
9377 0 : SgMemberFunctionTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
9378 : {
9379 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
9380 0 : }
9381 :
9382 : void
9383 2 : SgMemberFunctionTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
9384 : {
9385 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
9386 2 : }
9387 :
9388 : void
9389 1 : SgMemberFunctionTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9390 : {
9391 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9392 1 : }
9393 :
9394 :
9395 : void
9396 1 : SgMemberFunctionTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
9397 : {
9398 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9399 1 : }
9400 :
9401 :
9402 :
9403 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9404 :
9405 :
9406 : // ********************************************************
9407 :
9408 : /* #line 9409 "../../../src/frontend/SageIII//StorageClasses.C" */
9409 :
9410 :
9411 :
9412 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9413 :
9414 : // ****************************************************************
9415 : // member functions definition specific to each node in the grammar
9416 : // these are the SgPartialFunctionTypeStorageClass parts !!!!
9417 : // ROSETTA generated code. Do not change by hand.
9418 : // ****************************************************************
9419 :
9420 :
9421 : /* #line 9422 "../../../src/frontend/SageIII//StorageClasses.C" */
9422 :
9423 :
9424 : void
9425 0 : SgPartialFunctionTypeStorageClass::pickOutIRNodeData ( SgPartialFunctionType* pointer )
9426 : {
9427 0 : SgPartialFunctionType* source = (SgPartialFunctionType*) (pointer);
9428 : #if FILE_IO_EXTRA_CHECK
9429 0 : assert ( source != NULL ) ;
9430 0 : assert ( source->p_freepointer != NULL) ;
9431 : #endif
9432 0 : storageOf_class_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_class_type );
9433 0 : storageOf_mfunc_specifier = source->p_mfunc_specifier ;
9434 0 : storageOf_ref_qualifiers = source->p_ref_qualifiers ;
9435 0 : storageOf_return_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_return_type );
9436 0 : storageOf_has_ellipses = source->p_has_ellipses ;
9437 0 : storageOf_orig_return_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_orig_return_type );
9438 0 : storageOf_argument_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_argument_list );
9439 0 : storageOf_isCoArray = source->p_isCoArray ;
9440 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
9441 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
9442 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
9443 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
9444 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
9445 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
9446 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
9447 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
9448 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
9449 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
9450 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
9451 0 : storageOf_isModified = source->p_isModified ;
9452 0 : storageOf_containsTransformation = source->p_containsTransformation ;
9453 0 : }
9454 :
9455 : void
9456 0 : SgPartialFunctionTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
9457 : {
9458 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
9459 0 : }
9460 :
9461 : void
9462 2 : SgPartialFunctionTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
9463 : {
9464 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
9465 2 : }
9466 :
9467 : void
9468 0 : SgPartialFunctionTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9469 : {
9470 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9471 0 : }
9472 :
9473 :
9474 : void
9475 0 : SgPartialFunctionTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
9476 : {
9477 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9478 0 : }
9479 :
9480 :
9481 :
9482 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9483 :
9484 :
9485 : // ********************************************************
9486 :
9487 : /* #line 9488 "../../../src/frontend/SageIII//StorageClasses.C" */
9488 :
9489 :
9490 :
9491 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9492 :
9493 : // ****************************************************************
9494 : // member functions definition specific to each node in the grammar
9495 : // these are the SgPartialFunctionModifierTypeStorageClass parts !!!!
9496 : // ROSETTA generated code. Do not change by hand.
9497 : // ****************************************************************
9498 :
9499 :
9500 : /* #line 9501 "../../../src/frontend/SageIII//StorageClasses.C" */
9501 :
9502 :
9503 : void
9504 0 : SgPartialFunctionModifierTypeStorageClass::pickOutIRNodeData ( SgPartialFunctionModifierType* pointer )
9505 : {
9506 0 : SgPartialFunctionModifierType* source = (SgPartialFunctionModifierType*) (pointer);
9507 : #if FILE_IO_EXTRA_CHECK
9508 0 : assert ( source != NULL ) ;
9509 0 : assert ( source->p_freepointer != NULL) ;
9510 : #endif
9511 0 : storageOf_class_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_class_type );
9512 0 : storageOf_mfunc_specifier = source->p_mfunc_specifier ;
9513 0 : storageOf_ref_qualifiers = source->p_ref_qualifiers ;
9514 0 : storageOf_return_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_return_type );
9515 0 : storageOf_has_ellipses = source->p_has_ellipses ;
9516 0 : storageOf_orig_return_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_orig_return_type );
9517 0 : storageOf_argument_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_argument_list );
9518 0 : storageOf_isCoArray = source->p_isCoArray ;
9519 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
9520 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
9521 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
9522 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
9523 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
9524 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
9525 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
9526 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
9527 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
9528 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
9529 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
9530 0 : storageOf_isModified = source->p_isModified ;
9531 0 : storageOf_containsTransformation = source->p_containsTransformation ;
9532 0 : }
9533 :
9534 : void
9535 0 : SgPartialFunctionModifierTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
9536 : {
9537 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
9538 0 : }
9539 :
9540 : void
9541 2 : SgPartialFunctionModifierTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
9542 : {
9543 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
9544 2 : }
9545 :
9546 : void
9547 0 : SgPartialFunctionModifierTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9548 : {
9549 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9550 0 : }
9551 :
9552 :
9553 : void
9554 0 : SgPartialFunctionModifierTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
9555 : {
9556 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9557 0 : }
9558 :
9559 :
9560 :
9561 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9562 :
9563 :
9564 : // ********************************************************
9565 :
9566 : /* #line 9567 "../../../src/frontend/SageIII//StorageClasses.C" */
9567 :
9568 :
9569 :
9570 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9571 :
9572 : // ****************************************************************
9573 : // member functions definition specific to each node in the grammar
9574 : // these are the SgArrayTypeStorageClass parts !!!!
9575 : // ROSETTA generated code. Do not change by hand.
9576 : // ****************************************************************
9577 :
9578 :
9579 : /* #line 9580 "../../../src/frontend/SageIII//StorageClasses.C" */
9580 :
9581 :
9582 : void
9583 108 : SgArrayTypeStorageClass::pickOutIRNodeData ( SgArrayType* pointer )
9584 : {
9585 108 : SgArrayType* source = (SgArrayType*) (pointer);
9586 : #if FILE_IO_EXTRA_CHECK
9587 108 : assert ( source != NULL ) ;
9588 108 : assert ( source->p_freepointer != NULL) ;
9589 : #endif
9590 108 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
9591 108 : storageOf_index = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_index );
9592 108 : storageOf_dim_info = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_dim_info );
9593 108 : storageOf_rank = source->p_rank ;
9594 108 : storageOf_number_of_elements = source->p_number_of_elements ;
9595 108 : storageOf_is_variable_length_array = source->p_is_variable_length_array ;
9596 108 : storageOf_isCoArray = source->p_isCoArray ;
9597 108 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
9598 108 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
9599 108 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
9600 108 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
9601 108 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
9602 108 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
9603 108 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
9604 108 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
9605 108 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
9606 108 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
9607 108 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
9608 108 : storageOf_isModified = source->p_isModified ;
9609 108 : storageOf_containsTransformation = source->p_containsTransformation ;
9610 108 : }
9611 :
9612 : void
9613 0 : SgArrayTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
9614 : {
9615 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
9616 0 : }
9617 :
9618 : void
9619 2 : SgArrayTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
9620 : {
9621 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
9622 2 : }
9623 :
9624 : void
9625 2 : SgArrayTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9626 : {
9627 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9628 2 : }
9629 :
9630 :
9631 : void
9632 2 : SgArrayTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
9633 : {
9634 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9635 2 : }
9636 :
9637 :
9638 :
9639 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9640 :
9641 :
9642 : // ********************************************************
9643 :
9644 : /* #line 9645 "../../../src/frontend/SageIII//StorageClasses.C" */
9645 :
9646 :
9647 :
9648 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9649 :
9650 : // ****************************************************************
9651 : // member functions definition specific to each node in the grammar
9652 : // these are the SgTypeEllipseStorageClass parts !!!!
9653 : // ROSETTA generated code. Do not change by hand.
9654 : // ****************************************************************
9655 :
9656 :
9657 : /* #line 9658 "../../../src/frontend/SageIII//StorageClasses.C" */
9658 :
9659 :
9660 : void
9661 2 : SgTypeEllipseStorageClass::pickOutIRNodeData ( SgTypeEllipse* pointer )
9662 : {
9663 2 : SgTypeEllipse* source = (SgTypeEllipse*) (pointer);
9664 : #if FILE_IO_EXTRA_CHECK
9665 2 : assert ( source != NULL ) ;
9666 2 : assert ( source->p_freepointer != NULL) ;
9667 : #endif
9668 2 : storageOf_isCoArray = source->p_isCoArray ;
9669 2 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
9670 2 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
9671 2 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
9672 2 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
9673 2 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
9674 2 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
9675 2 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
9676 2 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
9677 2 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
9678 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
9679 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
9680 2 : storageOf_isModified = source->p_isModified ;
9681 2 : storageOf_containsTransformation = source->p_containsTransformation ;
9682 2 : }
9683 :
9684 : void
9685 0 : SgTypeEllipseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
9686 : {
9687 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
9688 0 : }
9689 :
9690 : void
9691 2 : SgTypeEllipseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
9692 : {
9693 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
9694 2 : }
9695 :
9696 : void
9697 2 : SgTypeEllipseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9698 : {
9699 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9700 2 : }
9701 :
9702 :
9703 : void
9704 2 : SgTypeEllipseStorageClass::readEasyStorageDataFromFile (std::istream& in)
9705 : {
9706 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9707 2 : }
9708 :
9709 :
9710 :
9711 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9712 :
9713 :
9714 : // ********************************************************
9715 :
9716 : /* #line 9717 "../../../src/frontend/SageIII//StorageClasses.C" */
9717 :
9718 :
9719 :
9720 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9721 :
9722 : // ****************************************************************
9723 : // member functions definition specific to each node in the grammar
9724 : // these are the SgTemplateTypeStorageClass parts !!!!
9725 : // ROSETTA generated code. Do not change by hand.
9726 : // ****************************************************************
9727 :
9728 :
9729 : /* #line 9730 "../../../src/frontend/SageIII//StorageClasses.C" */
9730 :
9731 :
9732 : void
9733 0 : SgTemplateTypeStorageClass::pickOutIRNodeData ( SgTemplateType* pointer )
9734 : {
9735 0 : SgTemplateType* source = (SgTemplateType*) (pointer);
9736 : #if FILE_IO_EXTRA_CHECK
9737 0 : assert ( source != NULL ) ;
9738 0 : assert ( source->p_freepointer != NULL) ;
9739 : #endif
9740 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
9741 0 : storageOf_template_parameter_position = source->p_template_parameter_position ;
9742 0 : storageOf_template_parameter_depth = source->p_template_parameter_depth ;
9743 0 : storageOf_class_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_class_type );
9744 0 : storageOf_parent_class_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent_class_type );
9745 0 : storageOf_template_parameter = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_template_parameter );
9746 0 : SgTemplateArgumentPtrList::iterator i_tpl_args = source->p_tpl_args.begin() ;
9747 0 : unsigned int tempListCounttpl_args = 0;
9748 0 : SgTemplateArgumentPtrList::value_type * tempListtpl_args = new SgTemplateArgumentPtrList::value_type[ source->p_tpl_args.size() ];
9749 0 : for ( ; i_tpl_args != source->p_tpl_args.end(); ++i_tpl_args )
9750 : {
9751 0 : tempListtpl_args[tempListCounttpl_args] = *i_tpl_args;
9752 0 : tempListCounttpl_args++;
9753 0 : (*i_tpl_args) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_tpl_args ) );
9754 : }
9755 0 : storageOf_tpl_args.storeDataInEasyStorageClass(source->p_tpl_args);
9756 0 : tempListCounttpl_args = 0;
9757 0 : i_tpl_args = source->p_tpl_args.begin() ;
9758 0 : for ( ; i_tpl_args != source->p_tpl_args.end(); ++i_tpl_args )
9759 : {
9760 0 : *i_tpl_args = tempListtpl_args[tempListCounttpl_args] ;
9761 0 : tempListCounttpl_args++;
9762 : }
9763 0 : delete [] tempListtpl_args;
9764 0 : SgTemplateArgumentPtrList::iterator i_part_spec_tpl_args = source->p_part_spec_tpl_args.begin() ;
9765 0 : unsigned int tempListCountpart_spec_tpl_args = 0;
9766 0 : SgTemplateArgumentPtrList::value_type * tempListpart_spec_tpl_args = new SgTemplateArgumentPtrList::value_type[ source->p_part_spec_tpl_args.size() ];
9767 0 : for ( ; i_part_spec_tpl_args != source->p_part_spec_tpl_args.end(); ++i_part_spec_tpl_args )
9768 : {
9769 0 : tempListpart_spec_tpl_args[tempListCountpart_spec_tpl_args] = *i_part_spec_tpl_args;
9770 0 : tempListCountpart_spec_tpl_args++;
9771 0 : (*i_part_spec_tpl_args) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_part_spec_tpl_args ) );
9772 : }
9773 0 : storageOf_part_spec_tpl_args.storeDataInEasyStorageClass(source->p_part_spec_tpl_args);
9774 0 : tempListCountpart_spec_tpl_args = 0;
9775 0 : i_part_spec_tpl_args = source->p_part_spec_tpl_args.begin() ;
9776 0 : for ( ; i_part_spec_tpl_args != source->p_part_spec_tpl_args.end(); ++i_part_spec_tpl_args )
9777 : {
9778 0 : *i_part_spec_tpl_args = tempListpart_spec_tpl_args[tempListCountpart_spec_tpl_args] ;
9779 0 : tempListCountpart_spec_tpl_args++;
9780 : }
9781 0 : delete [] tempListpart_spec_tpl_args;
9782 0 : storageOf_packed = source->p_packed ;
9783 0 : storageOf_isCoArray = source->p_isCoArray ;
9784 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
9785 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
9786 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
9787 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
9788 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
9789 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
9790 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
9791 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
9792 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
9793 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
9794 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
9795 0 : storageOf_isModified = source->p_isModified ;
9796 0 : storageOf_containsTransformation = source->p_containsTransformation ;
9797 0 : }
9798 :
9799 : void
9800 0 : SgTemplateTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
9801 : {
9802 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
9803 0 : EasyStorage < SgTemplateArgumentPtrList > :: arrangeMemoryPoolInOneBlock() ;
9804 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
9805 0 : }
9806 :
9807 : void
9808 2 : SgTemplateTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
9809 : {
9810 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
9811 2 : EasyStorage < SgTemplateArgumentPtrList > :: deleteMemoryPool() ;
9812 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
9813 2 : }
9814 :
9815 : void
9816 0 : SgTemplateTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9817 : {
9818 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
9819 0 : EasyStorage < SgTemplateArgumentPtrList > :: writeToFile(out) ;
9820 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9821 0 : }
9822 :
9823 :
9824 : void
9825 0 : SgTemplateTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
9826 : {
9827 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
9828 0 : EasyStorage < SgTemplateArgumentPtrList > :: readFromFile(in) ;
9829 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9830 0 : }
9831 :
9832 :
9833 :
9834 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9835 :
9836 :
9837 : // ********************************************************
9838 :
9839 : /* #line 9840 "../../../src/frontend/SageIII//StorageClasses.C" */
9840 :
9841 :
9842 :
9843 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9844 :
9845 : // ****************************************************************
9846 : // member functions definition specific to each node in the grammar
9847 : // these are the SgQualifiedNameTypeStorageClass parts !!!!
9848 : // ROSETTA generated code. Do not change by hand.
9849 : // ****************************************************************
9850 :
9851 :
9852 : /* #line 9853 "../../../src/frontend/SageIII//StorageClasses.C" */
9853 :
9854 :
9855 : void
9856 0 : SgQualifiedNameTypeStorageClass::pickOutIRNodeData ( SgQualifiedNameType* pointer )
9857 : {
9858 0 : SgQualifiedNameType* source = (SgQualifiedNameType*) (pointer);
9859 : #if FILE_IO_EXTRA_CHECK
9860 0 : assert ( source != NULL ) ;
9861 0 : assert ( source->p_freepointer != NULL) ;
9862 : #endif
9863 0 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
9864 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
9865 0 : unsigned int tempListCountqualifiedNameList = 0;
9866 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
9867 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
9868 : {
9869 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
9870 0 : tempListCountqualifiedNameList++;
9871 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
9872 : }
9873 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
9874 0 : tempListCountqualifiedNameList = 0;
9875 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
9876 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
9877 : {
9878 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
9879 0 : tempListCountqualifiedNameList++;
9880 : }
9881 0 : delete [] tempListqualifiedNameList;
9882 0 : storageOf_isCoArray = source->p_isCoArray ;
9883 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
9884 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
9885 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
9886 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
9887 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
9888 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
9889 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
9890 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
9891 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
9892 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
9893 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
9894 0 : storageOf_isModified = source->p_isModified ;
9895 0 : storageOf_containsTransformation = source->p_containsTransformation ;
9896 0 : }
9897 :
9898 : void
9899 0 : SgQualifiedNameTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
9900 : {
9901 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
9902 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
9903 0 : }
9904 :
9905 : void
9906 2 : SgQualifiedNameTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
9907 : {
9908 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
9909 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
9910 2 : }
9911 :
9912 : void
9913 0 : SgQualifiedNameTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9914 : {
9915 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
9916 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9917 0 : }
9918 :
9919 :
9920 : void
9921 0 : SgQualifiedNameTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
9922 : {
9923 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
9924 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9925 0 : }
9926 :
9927 :
9928 :
9929 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9930 :
9931 :
9932 : // ********************************************************
9933 :
9934 : /* #line 9935 "../../../src/frontend/SageIII//StorageClasses.C" */
9935 :
9936 :
9937 :
9938 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
9939 :
9940 : // ****************************************************************
9941 : // member functions definition specific to each node in the grammar
9942 : // these are the SgTypeComplexStorageClass parts !!!!
9943 : // ROSETTA generated code. Do not change by hand.
9944 : // ****************************************************************
9945 :
9946 :
9947 : /* #line 9948 "../../../src/frontend/SageIII//StorageClasses.C" */
9948 :
9949 :
9950 : void
9951 7 : SgTypeComplexStorageClass::pickOutIRNodeData ( SgTypeComplex* pointer )
9952 : {
9953 7 : SgTypeComplex* source = (SgTypeComplex*) (pointer);
9954 : #if FILE_IO_EXTRA_CHECK
9955 7 : assert ( source != NULL ) ;
9956 7 : assert ( source->p_freepointer != NULL) ;
9957 : #endif
9958 7 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
9959 7 : storageOf_isCoArray = source->p_isCoArray ;
9960 7 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
9961 7 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
9962 7 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
9963 7 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
9964 7 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
9965 7 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
9966 7 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
9967 7 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
9968 7 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
9969 7 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
9970 7 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
9971 7 : storageOf_isModified = source->p_isModified ;
9972 7 : storageOf_containsTransformation = source->p_containsTransformation ;
9973 7 : }
9974 :
9975 : void
9976 0 : SgTypeComplexStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
9977 : {
9978 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
9979 0 : }
9980 :
9981 : void
9982 2 : SgTypeComplexStorageClass::deleteStaticDataOfEasyStorageClasses ( )
9983 : {
9984 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
9985 2 : }
9986 :
9987 : void
9988 2 : SgTypeComplexStorageClass::writeEasyStorageDataToFile (std::ostream& out)
9989 : {
9990 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
9991 2 : }
9992 :
9993 :
9994 : void
9995 2 : SgTypeComplexStorageClass::readEasyStorageDataFromFile (std::istream& in)
9996 : {
9997 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
9998 2 : }
9999 :
10000 :
10001 :
10002 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10003 :
10004 :
10005 : // ********************************************************
10006 :
10007 : /* #line 10008 "../../../src/frontend/SageIII//StorageClasses.C" */
10008 :
10009 :
10010 :
10011 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10012 :
10013 : // ****************************************************************
10014 : // member functions definition specific to each node in the grammar
10015 : // these are the SgTypeImaginaryStorageClass parts !!!!
10016 : // ROSETTA generated code. Do not change by hand.
10017 : // ****************************************************************
10018 :
10019 :
10020 : /* #line 10021 "../../../src/frontend/SageIII//StorageClasses.C" */
10021 :
10022 :
10023 : void
10024 0 : SgTypeImaginaryStorageClass::pickOutIRNodeData ( SgTypeImaginary* pointer )
10025 : {
10026 0 : SgTypeImaginary* source = (SgTypeImaginary*) (pointer);
10027 : #if FILE_IO_EXTRA_CHECK
10028 0 : assert ( source != NULL ) ;
10029 0 : assert ( source->p_freepointer != NULL) ;
10030 : #endif
10031 0 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
10032 0 : storageOf_isCoArray = source->p_isCoArray ;
10033 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10034 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10035 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10036 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10037 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10038 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10039 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10040 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10041 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10042 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10043 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10044 0 : storageOf_isModified = source->p_isModified ;
10045 0 : storageOf_containsTransformation = source->p_containsTransformation ;
10046 0 : }
10047 :
10048 : void
10049 0 : SgTypeImaginaryStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10050 : {
10051 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10052 0 : }
10053 :
10054 : void
10055 2 : SgTypeImaginaryStorageClass::deleteStaticDataOfEasyStorageClasses ( )
10056 : {
10057 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10058 2 : }
10059 :
10060 : void
10061 0 : SgTypeImaginaryStorageClass::writeEasyStorageDataToFile (std::ostream& out)
10062 : {
10063 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10064 0 : }
10065 :
10066 :
10067 : void
10068 0 : SgTypeImaginaryStorageClass::readEasyStorageDataFromFile (std::istream& in)
10069 : {
10070 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10071 0 : }
10072 :
10073 :
10074 :
10075 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10076 :
10077 :
10078 : // ********************************************************
10079 :
10080 : /* #line 10081 "../../../src/frontend/SageIII//StorageClasses.C" */
10081 :
10082 :
10083 :
10084 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10085 :
10086 : // ****************************************************************
10087 : // member functions definition specific to each node in the grammar
10088 : // these are the SgTypeDefaultStorageClass parts !!!!
10089 : // ROSETTA generated code. Do not change by hand.
10090 : // ****************************************************************
10091 :
10092 :
10093 : /* #line 10094 "../../../src/frontend/SageIII//StorageClasses.C" */
10094 :
10095 :
10096 : void
10097 4 : SgTypeDefaultStorageClass::pickOutIRNodeData ( SgTypeDefault* pointer )
10098 : {
10099 4 : SgTypeDefault* source = (SgTypeDefault*) (pointer);
10100 : #if FILE_IO_EXTRA_CHECK
10101 4 : assert ( source != NULL ) ;
10102 4 : assert ( source->p_freepointer != NULL) ;
10103 : #endif
10104 4 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
10105 4 : storageOf_isCoArray = source->p_isCoArray ;
10106 4 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10107 4 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10108 4 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10109 4 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10110 4 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10111 4 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10112 4 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10113 4 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10114 4 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10115 4 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10116 4 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10117 4 : storageOf_isModified = source->p_isModified ;
10118 4 : storageOf_containsTransformation = source->p_containsTransformation ;
10119 4 : }
10120 :
10121 : void
10122 0 : SgTypeDefaultStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10123 : {
10124 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
10125 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10126 0 : }
10127 :
10128 : void
10129 2 : SgTypeDefaultStorageClass::deleteStaticDataOfEasyStorageClasses ( )
10130 : {
10131 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
10132 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10133 2 : }
10134 :
10135 : void
10136 2 : SgTypeDefaultStorageClass::writeEasyStorageDataToFile (std::ostream& out)
10137 : {
10138 2 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
10139 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10140 2 : }
10141 :
10142 :
10143 : void
10144 2 : SgTypeDefaultStorageClass::readEasyStorageDataFromFile (std::istream& in)
10145 : {
10146 2 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
10147 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10148 2 : }
10149 :
10150 :
10151 :
10152 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10153 :
10154 :
10155 : // ********************************************************
10156 :
10157 : /* #line 10158 "../../../src/frontend/SageIII//StorageClasses.C" */
10158 :
10159 :
10160 :
10161 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10162 :
10163 : // ****************************************************************
10164 : // member functions definition specific to each node in the grammar
10165 : // these are the SgTypeCAFTeamStorageClass parts !!!!
10166 : // ROSETTA generated code. Do not change by hand.
10167 : // ****************************************************************
10168 :
10169 :
10170 : /* #line 10171 "../../../src/frontend/SageIII//StorageClasses.C" */
10171 :
10172 :
10173 : void
10174 0 : SgTypeCAFTeamStorageClass::pickOutIRNodeData ( SgTypeCAFTeam* pointer )
10175 : {
10176 0 : SgTypeCAFTeam* source = (SgTypeCAFTeam*) (pointer);
10177 : #if FILE_IO_EXTRA_CHECK
10178 0 : assert ( source != NULL ) ;
10179 0 : assert ( source->p_freepointer != NULL) ;
10180 : #endif
10181 0 : storageOf_isCoArray = source->p_isCoArray ;
10182 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10183 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10184 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10185 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10186 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10187 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10188 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10189 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10190 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10191 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10192 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10193 0 : storageOf_isModified = source->p_isModified ;
10194 0 : storageOf_containsTransformation = source->p_containsTransformation ;
10195 0 : }
10196 :
10197 : void
10198 0 : SgTypeCAFTeamStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10199 : {
10200 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10201 0 : }
10202 :
10203 : void
10204 2 : SgTypeCAFTeamStorageClass::deleteStaticDataOfEasyStorageClasses ( )
10205 : {
10206 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10207 2 : }
10208 :
10209 : void
10210 0 : SgTypeCAFTeamStorageClass::writeEasyStorageDataToFile (std::ostream& out)
10211 : {
10212 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10213 0 : }
10214 :
10215 :
10216 : void
10217 0 : SgTypeCAFTeamStorageClass::readEasyStorageDataFromFile (std::istream& in)
10218 : {
10219 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10220 0 : }
10221 :
10222 :
10223 :
10224 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10225 :
10226 :
10227 : // ********************************************************
10228 :
10229 : /* #line 10230 "../../../src/frontend/SageIII//StorageClasses.C" */
10230 :
10231 :
10232 :
10233 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10234 :
10235 : // ****************************************************************
10236 : // member functions definition specific to each node in the grammar
10237 : // these are the SgTypeCrayPointerStorageClass parts !!!!
10238 : // ROSETTA generated code. Do not change by hand.
10239 : // ****************************************************************
10240 :
10241 :
10242 : /* #line 10243 "../../../src/frontend/SageIII//StorageClasses.C" */
10243 :
10244 :
10245 : void
10246 0 : SgTypeCrayPointerStorageClass::pickOutIRNodeData ( SgTypeCrayPointer* pointer )
10247 : {
10248 0 : SgTypeCrayPointer* source = (SgTypeCrayPointer*) (pointer);
10249 : #if FILE_IO_EXTRA_CHECK
10250 0 : assert ( source != NULL ) ;
10251 0 : assert ( source->p_freepointer != NULL) ;
10252 : #endif
10253 0 : storageOf_isCoArray = source->p_isCoArray ;
10254 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10255 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10256 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10257 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10258 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10259 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10260 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10261 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10262 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10263 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10264 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10265 0 : storageOf_isModified = source->p_isModified ;
10266 0 : storageOf_containsTransformation = source->p_containsTransformation ;
10267 0 : }
10268 :
10269 : void
10270 0 : SgTypeCrayPointerStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10271 : {
10272 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10273 0 : }
10274 :
10275 : void
10276 2 : SgTypeCrayPointerStorageClass::deleteStaticDataOfEasyStorageClasses ( )
10277 : {
10278 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10279 2 : }
10280 :
10281 : void
10282 0 : SgTypeCrayPointerStorageClass::writeEasyStorageDataToFile (std::ostream& out)
10283 : {
10284 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10285 0 : }
10286 :
10287 :
10288 : void
10289 0 : SgTypeCrayPointerStorageClass::readEasyStorageDataFromFile (std::istream& in)
10290 : {
10291 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10292 0 : }
10293 :
10294 :
10295 :
10296 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10297 :
10298 :
10299 : // ********************************************************
10300 :
10301 : /* #line 10302 "../../../src/frontend/SageIII//StorageClasses.C" */
10302 :
10303 :
10304 :
10305 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10306 :
10307 : // ****************************************************************
10308 : // member functions definition specific to each node in the grammar
10309 : // these are the SgTypeLabelStorageClass parts !!!!
10310 : // ROSETTA generated code. Do not change by hand.
10311 : // ****************************************************************
10312 :
10313 :
10314 : /* #line 10315 "../../../src/frontend/SageIII//StorageClasses.C" */
10315 :
10316 :
10317 : void
10318 0 : SgTypeLabelStorageClass::pickOutIRNodeData ( SgTypeLabel* pointer )
10319 : {
10320 0 : SgTypeLabel* source = (SgTypeLabel*) (pointer);
10321 : #if FILE_IO_EXTRA_CHECK
10322 0 : assert ( source != NULL ) ;
10323 0 : assert ( source->p_freepointer != NULL) ;
10324 : #endif
10325 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
10326 0 : storageOf_isCoArray = source->p_isCoArray ;
10327 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10328 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10329 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10330 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10331 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10332 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10333 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10334 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10335 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10336 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10337 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10338 0 : storageOf_isModified = source->p_isModified ;
10339 0 : storageOf_containsTransformation = source->p_containsTransformation ;
10340 0 : }
10341 :
10342 : void
10343 0 : SgTypeLabelStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10344 : {
10345 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
10346 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10347 0 : }
10348 :
10349 : void
10350 2 : SgTypeLabelStorageClass::deleteStaticDataOfEasyStorageClasses ( )
10351 : {
10352 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
10353 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10354 2 : }
10355 :
10356 : void
10357 0 : SgTypeLabelStorageClass::writeEasyStorageDataToFile (std::ostream& out)
10358 : {
10359 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
10360 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10361 0 : }
10362 :
10363 :
10364 : void
10365 0 : SgTypeLabelStorageClass::readEasyStorageDataFromFile (std::istream& in)
10366 : {
10367 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
10368 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10369 0 : }
10370 :
10371 :
10372 :
10373 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10374 :
10375 :
10376 : // ********************************************************
10377 :
10378 : /* #line 10379 "../../../src/frontend/SageIII//StorageClasses.C" */
10379 :
10380 :
10381 :
10382 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10383 :
10384 : // ****************************************************************
10385 : // member functions definition specific to each node in the grammar
10386 : // these are the SgRvalueReferenceTypeStorageClass parts !!!!
10387 : // ROSETTA generated code. Do not change by hand.
10388 : // ****************************************************************
10389 :
10390 :
10391 : /* #line 10392 "../../../src/frontend/SageIII//StorageClasses.C" */
10392 :
10393 :
10394 : void
10395 182 : SgRvalueReferenceTypeStorageClass::pickOutIRNodeData ( SgRvalueReferenceType* pointer )
10396 : {
10397 182 : SgRvalueReferenceType* source = (SgRvalueReferenceType*) (pointer);
10398 : #if FILE_IO_EXTRA_CHECK
10399 182 : assert ( source != NULL ) ;
10400 182 : assert ( source->p_freepointer != NULL) ;
10401 : #endif
10402 182 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
10403 182 : storageOf_isCoArray = source->p_isCoArray ;
10404 182 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10405 182 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10406 182 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10407 182 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10408 182 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10409 182 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10410 182 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10411 182 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10412 182 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10413 182 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10414 182 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10415 182 : storageOf_isModified = source->p_isModified ;
10416 182 : storageOf_containsTransformation = source->p_containsTransformation ;
10417 182 : }
10418 :
10419 : void
10420 0 : SgRvalueReferenceTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10421 : {
10422 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10423 0 : }
10424 :
10425 : void
10426 2 : SgRvalueReferenceTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
10427 : {
10428 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10429 2 : }
10430 :
10431 : void
10432 1 : SgRvalueReferenceTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
10433 : {
10434 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10435 1 : }
10436 :
10437 :
10438 : void
10439 1 : SgRvalueReferenceTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
10440 : {
10441 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10442 1 : }
10443 :
10444 :
10445 :
10446 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10447 :
10448 :
10449 : // ********************************************************
10450 :
10451 : /* #line 10452 "../../../src/frontend/SageIII//StorageClasses.C" */
10452 :
10453 :
10454 :
10455 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10456 :
10457 : // ****************************************************************
10458 : // member functions definition specific to each node in the grammar
10459 : // these are the SgTypeNullptrStorageClass parts !!!!
10460 : // ROSETTA generated code. Do not change by hand.
10461 : // ****************************************************************
10462 :
10463 :
10464 : /* #line 10465 "../../../src/frontend/SageIII//StorageClasses.C" */
10465 :
10466 :
10467 : void
10468 1 : SgTypeNullptrStorageClass::pickOutIRNodeData ( SgTypeNullptr* pointer )
10469 : {
10470 1 : SgTypeNullptr* source = (SgTypeNullptr*) (pointer);
10471 : #if FILE_IO_EXTRA_CHECK
10472 1 : assert ( source != NULL ) ;
10473 1 : assert ( source->p_freepointer != NULL) ;
10474 : #endif
10475 1 : storageOf_isCoArray = source->p_isCoArray ;
10476 1 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10477 1 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10478 1 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10479 1 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10480 1 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10481 1 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10482 1 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10483 1 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10484 1 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10485 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10486 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10487 1 : storageOf_isModified = source->p_isModified ;
10488 1 : storageOf_containsTransformation = source->p_containsTransformation ;
10489 1 : }
10490 :
10491 : void
10492 0 : SgTypeNullptrStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10493 : {
10494 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10495 0 : }
10496 :
10497 : void
10498 2 : SgTypeNullptrStorageClass::deleteStaticDataOfEasyStorageClasses ( )
10499 : {
10500 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10501 2 : }
10502 :
10503 : void
10504 1 : SgTypeNullptrStorageClass::writeEasyStorageDataToFile (std::ostream& out)
10505 : {
10506 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10507 1 : }
10508 :
10509 :
10510 : void
10511 1 : SgTypeNullptrStorageClass::readEasyStorageDataFromFile (std::istream& in)
10512 : {
10513 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10514 1 : }
10515 :
10516 :
10517 :
10518 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10519 :
10520 :
10521 : // ********************************************************
10522 :
10523 : /* #line 10524 "../../../src/frontend/SageIII//StorageClasses.C" */
10524 :
10525 :
10526 :
10527 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10528 :
10529 : // ****************************************************************
10530 : // member functions definition specific to each node in the grammar
10531 : // these are the SgDeclTypeStorageClass parts !!!!
10532 : // ROSETTA generated code. Do not change by hand.
10533 : // ****************************************************************
10534 :
10535 :
10536 : /* #line 10537 "../../../src/frontend/SageIII//StorageClasses.C" */
10537 :
10538 :
10539 : void
10540 92 : SgDeclTypeStorageClass::pickOutIRNodeData ( SgDeclType* pointer )
10541 : {
10542 92 : SgDeclType* source = (SgDeclType*) (pointer);
10543 : #if FILE_IO_EXTRA_CHECK
10544 92 : assert ( source != NULL ) ;
10545 92 : assert ( source->p_freepointer != NULL) ;
10546 : #endif
10547 92 : storageOf_base_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_expression );
10548 92 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
10549 92 : storageOf_isCoArray = source->p_isCoArray ;
10550 92 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10551 92 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10552 92 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10553 92 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10554 92 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10555 92 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10556 92 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10557 92 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10558 92 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10559 92 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10560 92 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10561 92 : storageOf_isModified = source->p_isModified ;
10562 92 : storageOf_containsTransformation = source->p_containsTransformation ;
10563 92 : }
10564 :
10565 : void
10566 0 : SgDeclTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10567 : {
10568 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10569 0 : }
10570 :
10571 : void
10572 2 : SgDeclTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
10573 : {
10574 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10575 2 : }
10576 :
10577 : void
10578 1 : SgDeclTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
10579 : {
10580 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10581 1 : }
10582 :
10583 :
10584 : void
10585 1 : SgDeclTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
10586 : {
10587 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10588 1 : }
10589 :
10590 :
10591 :
10592 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10593 :
10594 :
10595 : // ********************************************************
10596 :
10597 : /* #line 10598 "../../../src/frontend/SageIII//StorageClasses.C" */
10598 :
10599 :
10600 :
10601 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10602 :
10603 : // ****************************************************************
10604 : // member functions definition specific to each node in the grammar
10605 : // these are the SgTypeOfTypeStorageClass parts !!!!
10606 : // ROSETTA generated code. Do not change by hand.
10607 : // ****************************************************************
10608 :
10609 :
10610 : /* #line 10611 "../../../src/frontend/SageIII//StorageClasses.C" */
10611 :
10612 :
10613 : void
10614 3 : SgTypeOfTypeStorageClass::pickOutIRNodeData ( SgTypeOfType* pointer )
10615 : {
10616 3 : SgTypeOfType* source = (SgTypeOfType*) (pointer);
10617 : #if FILE_IO_EXTRA_CHECK
10618 3 : assert ( source != NULL ) ;
10619 3 : assert ( source->p_freepointer != NULL) ;
10620 : #endif
10621 3 : storageOf_base_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_expression );
10622 3 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
10623 3 : storageOf_isCoArray = source->p_isCoArray ;
10624 3 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10625 3 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10626 3 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10627 3 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10628 3 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10629 3 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10630 3 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10631 3 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10632 3 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10633 3 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10634 3 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10635 3 : storageOf_isModified = source->p_isModified ;
10636 3 : storageOf_containsTransformation = source->p_containsTransformation ;
10637 3 : }
10638 :
10639 : void
10640 0 : SgTypeOfTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10641 : {
10642 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10643 0 : }
10644 :
10645 : void
10646 2 : SgTypeOfTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
10647 : {
10648 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10649 2 : }
10650 :
10651 : void
10652 1 : SgTypeOfTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
10653 : {
10654 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10655 1 : }
10656 :
10657 :
10658 : void
10659 1 : SgTypeOfTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
10660 : {
10661 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10662 1 : }
10663 :
10664 :
10665 :
10666 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10667 :
10668 :
10669 : // ********************************************************
10670 :
10671 : /* #line 10672 "../../../src/frontend/SageIII//StorageClasses.C" */
10672 :
10673 :
10674 :
10675 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10676 :
10677 : // ****************************************************************
10678 : // member functions definition specific to each node in the grammar
10679 : // these are the SgTypeMatrixStorageClass parts !!!!
10680 : // ROSETTA generated code. Do not change by hand.
10681 : // ****************************************************************
10682 :
10683 :
10684 : /* #line 10685 "../../../src/frontend/SageIII//StorageClasses.C" */
10685 :
10686 :
10687 : void
10688 0 : SgTypeMatrixStorageClass::pickOutIRNodeData ( SgTypeMatrix* pointer )
10689 : {
10690 0 : SgTypeMatrix* source = (SgTypeMatrix*) (pointer);
10691 : #if FILE_IO_EXTRA_CHECK
10692 0 : assert ( source != NULL ) ;
10693 0 : assert ( source->p_freepointer != NULL) ;
10694 : #endif
10695 0 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
10696 0 : storageOf_isCoArray = source->p_isCoArray ;
10697 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10698 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10699 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10700 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10701 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10702 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10703 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10704 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10705 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10706 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10707 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10708 0 : storageOf_isModified = source->p_isModified ;
10709 0 : storageOf_containsTransformation = source->p_containsTransformation ;
10710 0 : }
10711 :
10712 : void
10713 0 : SgTypeMatrixStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10714 : {
10715 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10716 0 : }
10717 :
10718 : void
10719 2 : SgTypeMatrixStorageClass::deleteStaticDataOfEasyStorageClasses ( )
10720 : {
10721 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10722 2 : }
10723 :
10724 : void
10725 0 : SgTypeMatrixStorageClass::writeEasyStorageDataToFile (std::ostream& out)
10726 : {
10727 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10728 0 : }
10729 :
10730 :
10731 : void
10732 0 : SgTypeMatrixStorageClass::readEasyStorageDataFromFile (std::istream& in)
10733 : {
10734 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10735 0 : }
10736 :
10737 :
10738 :
10739 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10740 :
10741 :
10742 : // ********************************************************
10743 :
10744 : /* #line 10745 "../../../src/frontend/SageIII//StorageClasses.C" */
10745 :
10746 :
10747 :
10748 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10749 :
10750 : // ****************************************************************
10751 : // member functions definition specific to each node in the grammar
10752 : // these are the SgTypeTupleStorageClass parts !!!!
10753 : // ROSETTA generated code. Do not change by hand.
10754 : // ****************************************************************
10755 :
10756 :
10757 : /* #line 10758 "../../../src/frontend/SageIII//StorageClasses.C" */
10758 :
10759 :
10760 : void
10761 0 : SgTypeTupleStorageClass::pickOutIRNodeData ( SgTypeTuple* pointer )
10762 : {
10763 0 : SgTypeTuple* source = (SgTypeTuple*) (pointer);
10764 : #if FILE_IO_EXTRA_CHECK
10765 0 : assert ( source != NULL ) ;
10766 0 : assert ( source->p_freepointer != NULL) ;
10767 : #endif
10768 0 : SgTypePtrList::iterator i_types = source->p_types.begin() ;
10769 0 : unsigned int tempListCounttypes = 0;
10770 0 : SgTypePtrList::value_type * tempListtypes = new SgTypePtrList::value_type[ source->p_types.size() ];
10771 0 : for ( ; i_types != source->p_types.end(); ++i_types )
10772 : {
10773 0 : tempListtypes[tempListCounttypes] = *i_types;
10774 0 : tempListCounttypes++;
10775 0 : (*i_types) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_types ) );
10776 : }
10777 0 : storageOf_types.storeDataInEasyStorageClass(source->p_types);
10778 0 : tempListCounttypes = 0;
10779 0 : i_types = source->p_types.begin() ;
10780 0 : for ( ; i_types != source->p_types.end(); ++i_types )
10781 : {
10782 0 : *i_types = tempListtypes[tempListCounttypes] ;
10783 0 : tempListCounttypes++;
10784 : }
10785 0 : delete [] tempListtypes;
10786 0 : storageOf_isCoArray = source->p_isCoArray ;
10787 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10788 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10789 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10790 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10791 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10792 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10793 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10794 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10795 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10796 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10797 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10798 0 : storageOf_isModified = source->p_isModified ;
10799 0 : storageOf_containsTransformation = source->p_containsTransformation ;
10800 0 : }
10801 :
10802 : void
10803 0 : SgTypeTupleStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10804 : {
10805 0 : EasyStorage < SgTypePtrList > :: arrangeMemoryPoolInOneBlock() ;
10806 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10807 0 : }
10808 :
10809 : void
10810 2 : SgTypeTupleStorageClass::deleteStaticDataOfEasyStorageClasses ( )
10811 : {
10812 2 : EasyStorage < SgTypePtrList > :: deleteMemoryPool() ;
10813 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10814 2 : }
10815 :
10816 : void
10817 0 : SgTypeTupleStorageClass::writeEasyStorageDataToFile (std::ostream& out)
10818 : {
10819 0 : EasyStorage < SgTypePtrList > :: writeToFile(out) ;
10820 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10821 0 : }
10822 :
10823 :
10824 : void
10825 0 : SgTypeTupleStorageClass::readEasyStorageDataFromFile (std::istream& in)
10826 : {
10827 0 : EasyStorage < SgTypePtrList > :: readFromFile(in) ;
10828 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10829 0 : }
10830 :
10831 :
10832 :
10833 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10834 :
10835 :
10836 : // ********************************************************
10837 :
10838 : /* #line 10839 "../../../src/frontend/SageIII//StorageClasses.C" */
10839 :
10840 :
10841 :
10842 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10843 :
10844 : // ****************************************************************
10845 : // member functions definition specific to each node in the grammar
10846 : // these are the SgTypeChar16StorageClass parts !!!!
10847 : // ROSETTA generated code. Do not change by hand.
10848 : // ****************************************************************
10849 :
10850 :
10851 : /* #line 10852 "../../../src/frontend/SageIII//StorageClasses.C" */
10852 :
10853 :
10854 : void
10855 1 : SgTypeChar16StorageClass::pickOutIRNodeData ( SgTypeChar16* pointer )
10856 : {
10857 1 : SgTypeChar16* source = (SgTypeChar16*) (pointer);
10858 : #if FILE_IO_EXTRA_CHECK
10859 1 : assert ( source != NULL ) ;
10860 1 : assert ( source->p_freepointer != NULL) ;
10861 : #endif
10862 1 : storageOf_isCoArray = source->p_isCoArray ;
10863 1 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10864 1 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10865 1 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10866 1 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10867 1 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10868 1 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10869 1 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10870 1 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10871 1 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10872 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10873 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10874 1 : storageOf_isModified = source->p_isModified ;
10875 1 : storageOf_containsTransformation = source->p_containsTransformation ;
10876 1 : }
10877 :
10878 : void
10879 0 : SgTypeChar16StorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10880 : {
10881 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10882 0 : }
10883 :
10884 : void
10885 2 : SgTypeChar16StorageClass::deleteStaticDataOfEasyStorageClasses ( )
10886 : {
10887 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10888 2 : }
10889 :
10890 : void
10891 1 : SgTypeChar16StorageClass::writeEasyStorageDataToFile (std::ostream& out)
10892 : {
10893 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10894 1 : }
10895 :
10896 :
10897 : void
10898 1 : SgTypeChar16StorageClass::readEasyStorageDataFromFile (std::istream& in)
10899 : {
10900 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10901 1 : }
10902 :
10903 :
10904 :
10905 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10906 :
10907 :
10908 : // ********************************************************
10909 :
10910 : /* #line 10911 "../../../src/frontend/SageIII//StorageClasses.C" */
10911 :
10912 :
10913 :
10914 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10915 :
10916 : // ****************************************************************
10917 : // member functions definition specific to each node in the grammar
10918 : // these are the SgTypeChar32StorageClass parts !!!!
10919 : // ROSETTA generated code. Do not change by hand.
10920 : // ****************************************************************
10921 :
10922 :
10923 : /* #line 10924 "../../../src/frontend/SageIII//StorageClasses.C" */
10924 :
10925 :
10926 : void
10927 1 : SgTypeChar32StorageClass::pickOutIRNodeData ( SgTypeChar32* pointer )
10928 : {
10929 1 : SgTypeChar32* source = (SgTypeChar32*) (pointer);
10930 : #if FILE_IO_EXTRA_CHECK
10931 1 : assert ( source != NULL ) ;
10932 1 : assert ( source->p_freepointer != NULL) ;
10933 : #endif
10934 1 : storageOf_isCoArray = source->p_isCoArray ;
10935 1 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
10936 1 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
10937 1 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
10938 1 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
10939 1 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
10940 1 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
10941 1 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
10942 1 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
10943 1 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
10944 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
10945 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
10946 1 : storageOf_isModified = source->p_isModified ;
10947 1 : storageOf_containsTransformation = source->p_containsTransformation ;
10948 1 : }
10949 :
10950 : void
10951 0 : SgTypeChar32StorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
10952 : {
10953 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
10954 0 : }
10955 :
10956 : void
10957 2 : SgTypeChar32StorageClass::deleteStaticDataOfEasyStorageClasses ( )
10958 : {
10959 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
10960 2 : }
10961 :
10962 : void
10963 1 : SgTypeChar32StorageClass::writeEasyStorageDataToFile (std::ostream& out)
10964 : {
10965 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
10966 1 : }
10967 :
10968 :
10969 : void
10970 1 : SgTypeChar32StorageClass::readEasyStorageDataFromFile (std::istream& in)
10971 : {
10972 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
10973 1 : }
10974 :
10975 :
10976 :
10977 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10978 :
10979 :
10980 : // ********************************************************
10981 :
10982 : /* #line 10983 "../../../src/frontend/SageIII//StorageClasses.C" */
10983 :
10984 :
10985 :
10986 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
10987 :
10988 : // ****************************************************************
10989 : // member functions definition specific to each node in the grammar
10990 : // these are the SgTypeFloat128StorageClass parts !!!!
10991 : // ROSETTA generated code. Do not change by hand.
10992 : // ****************************************************************
10993 :
10994 :
10995 : /* #line 10996 "../../../src/frontend/SageIII//StorageClasses.C" */
10996 :
10997 :
10998 : void
10999 1 : SgTypeFloat128StorageClass::pickOutIRNodeData ( SgTypeFloat128* pointer )
11000 : {
11001 1 : SgTypeFloat128* source = (SgTypeFloat128*) (pointer);
11002 : #if FILE_IO_EXTRA_CHECK
11003 1 : assert ( source != NULL ) ;
11004 1 : assert ( source->p_freepointer != NULL) ;
11005 : #endif
11006 1 : storageOf_isCoArray = source->p_isCoArray ;
11007 1 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
11008 1 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
11009 1 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
11010 1 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
11011 1 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
11012 1 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
11013 1 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
11014 1 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
11015 1 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
11016 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11017 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11018 1 : storageOf_isModified = source->p_isModified ;
11019 1 : storageOf_containsTransformation = source->p_containsTransformation ;
11020 1 : }
11021 :
11022 : void
11023 0 : SgTypeFloat128StorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11024 : {
11025 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11026 0 : }
11027 :
11028 : void
11029 2 : SgTypeFloat128StorageClass::deleteStaticDataOfEasyStorageClasses ( )
11030 : {
11031 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11032 2 : }
11033 :
11034 : void
11035 1 : SgTypeFloat128StorageClass::writeEasyStorageDataToFile (std::ostream& out)
11036 : {
11037 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11038 1 : }
11039 :
11040 :
11041 : void
11042 1 : SgTypeFloat128StorageClass::readEasyStorageDataFromFile (std::istream& in)
11043 : {
11044 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11045 1 : }
11046 :
11047 :
11048 :
11049 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11050 :
11051 :
11052 : // ********************************************************
11053 :
11054 : /* #line 11055 "../../../src/frontend/SageIII//StorageClasses.C" */
11055 :
11056 :
11057 :
11058 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11059 :
11060 : // ****************************************************************
11061 : // member functions definition specific to each node in the grammar
11062 : // these are the SgTypeFixedStorageClass parts !!!!
11063 : // ROSETTA generated code. Do not change by hand.
11064 : // ****************************************************************
11065 :
11066 :
11067 : /* #line 11068 "../../../src/frontend/SageIII//StorageClasses.C" */
11068 :
11069 :
11070 : void
11071 0 : SgTypeFixedStorageClass::pickOutIRNodeData ( SgTypeFixed* pointer )
11072 : {
11073 0 : SgTypeFixed* source = (SgTypeFixed*) (pointer);
11074 : #if FILE_IO_EXTRA_CHECK
11075 0 : assert ( source != NULL ) ;
11076 0 : assert ( source->p_freepointer != NULL) ;
11077 : #endif
11078 0 : storageOf_scale = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scale );
11079 0 : storageOf_fraction = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_fraction );
11080 0 : storageOf_isCoArray = source->p_isCoArray ;
11081 0 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
11082 0 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
11083 0 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
11084 0 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
11085 0 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
11086 0 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
11087 0 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
11088 0 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
11089 0 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
11090 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11091 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11092 0 : storageOf_isModified = source->p_isModified ;
11093 0 : storageOf_containsTransformation = source->p_containsTransformation ;
11094 0 : }
11095 :
11096 : void
11097 0 : SgTypeFixedStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11098 : {
11099 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11100 0 : }
11101 :
11102 : void
11103 2 : SgTypeFixedStorageClass::deleteStaticDataOfEasyStorageClasses ( )
11104 : {
11105 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11106 2 : }
11107 :
11108 : void
11109 0 : SgTypeFixedStorageClass::writeEasyStorageDataToFile (std::ostream& out)
11110 : {
11111 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11112 0 : }
11113 :
11114 :
11115 : void
11116 0 : SgTypeFixedStorageClass::readEasyStorageDataFromFile (std::istream& in)
11117 : {
11118 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11119 0 : }
11120 :
11121 :
11122 :
11123 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11124 :
11125 :
11126 : // ********************************************************
11127 :
11128 : /* #line 11129 "../../../src/frontend/SageIII//StorageClasses.C" */
11129 :
11130 :
11131 :
11132 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11133 :
11134 : // ****************************************************************
11135 : // member functions definition specific to each node in the grammar
11136 : // these are the SgAutoTypeStorageClass parts !!!!
11137 : // ROSETTA generated code. Do not change by hand.
11138 : // ****************************************************************
11139 :
11140 :
11141 : /* #line 11142 "../../../src/frontend/SageIII//StorageClasses.C" */
11142 :
11143 :
11144 : void
11145 14 : SgAutoTypeStorageClass::pickOutIRNodeData ( SgAutoType* pointer )
11146 : {
11147 14 : SgAutoType* source = (SgAutoType*) (pointer);
11148 : #if FILE_IO_EXTRA_CHECK
11149 14 : assert ( source != NULL ) ;
11150 14 : assert ( source->p_freepointer != NULL) ;
11151 : #endif
11152 14 : storageOf_isCoArray = source->p_isCoArray ;
11153 14 : storageOf_substitutedForTemplateParam = source->p_substitutedForTemplateParam ;
11154 14 : storageOf_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ref_to );
11155 14 : storageOf_ptr_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_ptr_to );
11156 14 : storageOf_modifiers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_modifiers );
11157 14 : storageOf_typedefs = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typedefs );
11158 14 : storageOf_rvalue_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rvalue_ref_to );
11159 14 : storageOf_decltype_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decltype_ref_to );
11160 14 : storageOf_typeof_ref_to = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeof_ref_to );
11161 14 : storageOf_type_kind = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_kind );
11162 14 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11163 14 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11164 14 : storageOf_isModified = source->p_isModified ;
11165 14 : storageOf_containsTransformation = source->p_containsTransformation ;
11166 14 : }
11167 :
11168 : void
11169 0 : SgAutoTypeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11170 : {
11171 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11172 0 : }
11173 :
11174 : void
11175 2 : SgAutoTypeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
11176 : {
11177 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11178 2 : }
11179 :
11180 : void
11181 1 : SgAutoTypeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
11182 : {
11183 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11184 1 : }
11185 :
11186 :
11187 : void
11188 1 : SgAutoTypeStorageClass::readEasyStorageDataFromFile (std::istream& in)
11189 : {
11190 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11191 1 : }
11192 :
11193 :
11194 :
11195 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11196 :
11197 :
11198 : // ********************************************************
11199 :
11200 : /* #line 11201 "../../../src/frontend/SageIII//StorageClasses.C" */
11201 :
11202 :
11203 :
11204 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11205 :
11206 : // ****************************************************************
11207 : // member functions definition specific to each node in the grammar
11208 : // these are the SgLocatedNodeStorageClass parts !!!!
11209 : // ROSETTA generated code. Do not change by hand.
11210 : // ****************************************************************
11211 :
11212 :
11213 : /* #line 11214 "../../../src/frontend/SageIII//StorageClasses.C" */
11214 :
11215 :
11216 : void
11217 0 : SgLocatedNodeStorageClass::pickOutIRNodeData ( SgLocatedNode* pointer )
11218 : {
11219 0 : SgLocatedNode* source = (SgLocatedNode*) (pointer);
11220 : #if FILE_IO_EXTRA_CHECK
11221 0 : assert ( source != NULL ) ;
11222 0 : assert ( source->p_freepointer != NULL) ;
11223 : #endif
11224 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
11225 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
11226 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
11227 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11228 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
11229 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11230 0 : storageOf_isModified = source->p_isModified ;
11231 0 : storageOf_containsTransformation = source->p_containsTransformation ;
11232 0 : }
11233 :
11234 : void
11235 0 : SgLocatedNodeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11236 : {
11237 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
11238 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11239 0 : }
11240 :
11241 : void
11242 2 : SgLocatedNodeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
11243 : {
11244 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
11245 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11246 2 : }
11247 :
11248 : void
11249 0 : SgLocatedNodeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
11250 : {
11251 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
11252 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11253 0 : }
11254 :
11255 :
11256 : void
11257 0 : SgLocatedNodeStorageClass::readEasyStorageDataFromFile (std::istream& in)
11258 : {
11259 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
11260 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11261 0 : }
11262 :
11263 :
11264 :
11265 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11266 :
11267 :
11268 : // ********************************************************
11269 :
11270 : /* #line 11271 "../../../src/frontend/SageIII//StorageClasses.C" */
11271 :
11272 :
11273 :
11274 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11275 :
11276 : // ****************************************************************
11277 : // member functions definition specific to each node in the grammar
11278 : // these are the SgTokenStorageClass parts !!!!
11279 : // ROSETTA generated code. Do not change by hand.
11280 : // ****************************************************************
11281 :
11282 :
11283 : /* #line 11284 "../../../src/frontend/SageIII//StorageClasses.C" */
11284 :
11285 :
11286 : void
11287 0 : SgTokenStorageClass::pickOutIRNodeData ( SgToken* pointer )
11288 : {
11289 0 : SgToken* source = (SgToken*) (pointer);
11290 : #if FILE_IO_EXTRA_CHECK
11291 0 : assert ( source != NULL ) ;
11292 0 : assert ( source->p_freepointer != NULL) ;
11293 : #endif
11294 0 : storageOf_lexeme_string.storeDataInEasyStorageClass(source->p_lexeme_string);
11295 0 : storageOf_classification_code = source->p_classification_code ;
11296 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
11297 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
11298 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
11299 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11300 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
11301 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11302 0 : storageOf_isModified = source->p_isModified ;
11303 0 : storageOf_containsTransformation = source->p_containsTransformation ;
11304 0 : }
11305 :
11306 : void
11307 0 : SgTokenStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11308 : {
11309 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
11310 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
11311 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11312 0 : }
11313 :
11314 : void
11315 2 : SgTokenStorageClass::deleteStaticDataOfEasyStorageClasses ( )
11316 : {
11317 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
11318 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
11319 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11320 2 : }
11321 :
11322 : void
11323 0 : SgTokenStorageClass::writeEasyStorageDataToFile (std::ostream& out)
11324 : {
11325 0 : EasyStorage < std::string > :: writeToFile(out) ;
11326 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
11327 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11328 0 : }
11329 :
11330 :
11331 : void
11332 0 : SgTokenStorageClass::readEasyStorageDataFromFile (std::istream& in)
11333 : {
11334 0 : EasyStorage < std::string > :: readFromFile(in) ;
11335 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
11336 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11337 0 : }
11338 :
11339 :
11340 :
11341 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11342 :
11343 :
11344 : // ********************************************************
11345 :
11346 : /* #line 11347 "../../../src/frontend/SageIII//StorageClasses.C" */
11347 :
11348 :
11349 :
11350 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11351 :
11352 : // ****************************************************************
11353 : // member functions definition specific to each node in the grammar
11354 : // these are the SgLocatedNodeSupportStorageClass parts !!!!
11355 : // ROSETTA generated code. Do not change by hand.
11356 : // ****************************************************************
11357 :
11358 :
11359 : /* #line 11360 "../../../src/frontend/SageIII//StorageClasses.C" */
11360 :
11361 :
11362 : void
11363 0 : SgLocatedNodeSupportStorageClass::pickOutIRNodeData ( SgLocatedNodeSupport* pointer )
11364 : {
11365 0 : SgLocatedNodeSupport* source = (SgLocatedNodeSupport*) (pointer);
11366 : #if FILE_IO_EXTRA_CHECK
11367 0 : assert ( source != NULL ) ;
11368 0 : assert ( source->p_freepointer != NULL) ;
11369 : #endif
11370 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
11371 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
11372 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
11373 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11374 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
11375 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11376 0 : storageOf_isModified = source->p_isModified ;
11377 0 : storageOf_containsTransformation = source->p_containsTransformation ;
11378 0 : }
11379 :
11380 : void
11381 0 : SgLocatedNodeSupportStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11382 : {
11383 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
11384 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11385 0 : }
11386 :
11387 : void
11388 2 : SgLocatedNodeSupportStorageClass::deleteStaticDataOfEasyStorageClasses ( )
11389 : {
11390 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
11391 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11392 2 : }
11393 :
11394 : void
11395 0 : SgLocatedNodeSupportStorageClass::writeEasyStorageDataToFile (std::ostream& out)
11396 : {
11397 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
11398 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11399 0 : }
11400 :
11401 :
11402 : void
11403 0 : SgLocatedNodeSupportStorageClass::readEasyStorageDataFromFile (std::istream& in)
11404 : {
11405 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
11406 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11407 0 : }
11408 :
11409 :
11410 :
11411 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11412 :
11413 :
11414 : // ********************************************************
11415 :
11416 : /* #line 11417 "../../../src/frontend/SageIII//StorageClasses.C" */
11417 :
11418 :
11419 :
11420 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11421 :
11422 : // ****************************************************************
11423 : // member functions definition specific to each node in the grammar
11424 : // these are the SgCommonBlockObjectStorageClass parts !!!!
11425 : // ROSETTA generated code. Do not change by hand.
11426 : // ****************************************************************
11427 :
11428 :
11429 : /* #line 11430 "../../../src/frontend/SageIII//StorageClasses.C" */
11430 :
11431 :
11432 : void
11433 0 : SgCommonBlockObjectStorageClass::pickOutIRNodeData ( SgCommonBlockObject* pointer )
11434 : {
11435 0 : SgCommonBlockObject* source = (SgCommonBlockObject*) (pointer);
11436 : #if FILE_IO_EXTRA_CHECK
11437 0 : assert ( source != NULL ) ;
11438 0 : assert ( source->p_freepointer != NULL) ;
11439 : #endif
11440 0 : storageOf_block_name.storeDataInEasyStorageClass(source->p_block_name);
11441 0 : storageOf_variable_reference_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variable_reference_list );
11442 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
11443 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
11444 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
11445 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11446 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
11447 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11448 0 : storageOf_isModified = source->p_isModified ;
11449 0 : storageOf_containsTransformation = source->p_containsTransformation ;
11450 0 : }
11451 :
11452 : void
11453 0 : SgCommonBlockObjectStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11454 : {
11455 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
11456 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
11457 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11458 0 : }
11459 :
11460 : void
11461 2 : SgCommonBlockObjectStorageClass::deleteStaticDataOfEasyStorageClasses ( )
11462 : {
11463 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
11464 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
11465 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11466 2 : }
11467 :
11468 : void
11469 0 : SgCommonBlockObjectStorageClass::writeEasyStorageDataToFile (std::ostream& out)
11470 : {
11471 0 : EasyStorage < std::string > :: writeToFile(out) ;
11472 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
11473 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11474 0 : }
11475 :
11476 :
11477 : void
11478 0 : SgCommonBlockObjectStorageClass::readEasyStorageDataFromFile (std::istream& in)
11479 : {
11480 0 : EasyStorage < std::string > :: readFromFile(in) ;
11481 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
11482 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11483 0 : }
11484 :
11485 :
11486 :
11487 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11488 :
11489 :
11490 : // ********************************************************
11491 :
11492 : /* #line 11493 "../../../src/frontend/SageIII//StorageClasses.C" */
11493 :
11494 :
11495 :
11496 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11497 :
11498 : // ****************************************************************
11499 : // member functions definition specific to each node in the grammar
11500 : // these are the SgInitializedNameStorageClass parts !!!!
11501 : // ROSETTA generated code. Do not change by hand.
11502 : // ****************************************************************
11503 :
11504 :
11505 : /* #line 11506 "../../../src/frontend/SageIII//StorageClasses.C" */
11506 :
11507 :
11508 : void
11509 55225 : SgInitializedNameStorageClass::pickOutIRNodeData ( SgInitializedName* pointer )
11510 : {
11511 55225 : SgInitializedName* source = (SgInitializedName*) (pointer);
11512 : #if FILE_IO_EXTRA_CHECK
11513 55225 : assert ( source != NULL ) ;
11514 55225 : assert ( source->p_freepointer != NULL) ;
11515 : #endif
11516 55225 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
11517 55225 : storageOf_microsoft_uuid_string.storeDataInEasyStorageClass(source->p_microsoft_uuid_string);
11518 55225 : storageOf_typeptr = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_typeptr );
11519 55225 : storageOf_initptr = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_initptr );
11520 55225 : storageOf_prev_decl_item = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_prev_decl_item );
11521 55225 : storageOf_is_initializer = source->p_is_initializer ;
11522 55225 : storageOf_declptr = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declptr );
11523 55225 : storageOf_storageModifier = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_storageModifier );
11524 55225 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
11525 55225 : storageOf_preinitialization = source->p_preinitialization ;
11526 55225 : storageOf_isCoArray = source->p_isCoArray ;
11527 55225 : storageOf_register_name_code = source->p_register_name_code ;
11528 55225 : storageOf_excess_specifier = source->p_excess_specifier ;
11529 55225 : storageOf_register_name_string.storeDataInEasyStorageClass(source->p_register_name_string);
11530 55225 : storageOf_requiresGlobalNameQualificationOnType = source->p_requiresGlobalNameQualificationOnType ;
11531 55225 : storageOf_shapeDeferred = source->p_shapeDeferred ;
11532 55225 : storageOf_initializationDeferred = source->p_initializationDeferred ;
11533 55225 : storageOf_gnu_attribute_modifierVector.storeDataInEasyStorageClass(source->p_gnu_attribute_modifierVector);
11534 55225 : storageOf_gnu_attribute_initialization_priority = source->p_gnu_attribute_initialization_priority ;
11535 55225 : storageOf_gnu_attribute_named_weak_reference.storeDataInEasyStorageClass(source->p_gnu_attribute_named_weak_reference);
11536 55225 : storageOf_gnu_attribute_named_alias.storeDataInEasyStorageClass(source->p_gnu_attribute_named_alias);
11537 55225 : storageOf_gnu_attribute_cleanup_function.storeDataInEasyStorageClass(source->p_gnu_attribute_cleanup_function);
11538 55225 : storageOf_gnu_attribute_section_name.storeDataInEasyStorageClass(source->p_gnu_attribute_section_name);
11539 55225 : storageOf_gnu_attribute_alignment = source->p_gnu_attribute_alignment ;
11540 55225 : storageOf_gnu_attribute_visability = source->p_gnu_attribute_visability ;
11541 55225 : storageOf_protected_declaration = source->p_protected_declaration ;
11542 55225 : storageOf_name_qualification_length = source->p_name_qualification_length ;
11543 55225 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
11544 55225 : storageOf_global_qualification_required = source->p_global_qualification_required ;
11545 55225 : storageOf_name_qualification_length_for_type = source->p_name_qualification_length_for_type ;
11546 55225 : storageOf_type_elaboration_required_for_type = source->p_type_elaboration_required_for_type ;
11547 55225 : storageOf_global_qualification_required_for_type = source->p_global_qualification_required_for_type ;
11548 55225 : storageOf_hasArrayTypeWithEmptyBracketSyntax = source->p_hasArrayTypeWithEmptyBracketSyntax ;
11549 55225 : storageOf_using_C11_Alignas_keyword = source->p_using_C11_Alignas_keyword ;
11550 55225 : storageOf_constant_or_type_argument_for_Alignas_keyword = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_constant_or_type_argument_for_Alignas_keyword );
11551 55225 : storageOf_using_auto_keyword = source->p_using_auto_keyword ;
11552 55225 : storageOf_auto_decltype = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_auto_decltype );
11553 55225 : storageOf_using_device_keyword = source->p_using_device_keyword ;
11554 55225 : storageOf_is_braced_initialized = source->p_is_braced_initialized ;
11555 55225 : storageOf_using_assignment_copy_constructor_syntax = source->p_using_assignment_copy_constructor_syntax ;
11556 55225 : storageOf_needs_definitions = source->p_needs_definitions ;
11557 55225 : storageOf_is_parameter_pack = source->p_is_parameter_pack ;
11558 55225 : storageOf_is_pack_element = source->p_is_pack_element ;
11559 55225 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
11560 55225 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
11561 55225 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
11562 55225 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11563 55225 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
11564 55225 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11565 55225 : storageOf_isModified = source->p_isModified ;
11566 55225 : storageOf_containsTransformation = source->p_containsTransformation ;
11567 55225 : }
11568 :
11569 : void
11570 0 : SgInitializedNameStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11571 : {
11572 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
11573 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
11574 0 : EasyStorage < SgBitVector > :: arrangeMemoryPoolInOneBlock() ;
11575 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
11576 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11577 0 : }
11578 :
11579 : void
11580 2 : SgInitializedNameStorageClass::deleteStaticDataOfEasyStorageClasses ( )
11581 : {
11582 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
11583 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
11584 2 : EasyStorage < SgBitVector > :: deleteMemoryPool() ;
11585 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
11586 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11587 2 : }
11588 :
11589 : void
11590 2 : SgInitializedNameStorageClass::writeEasyStorageDataToFile (std::ostream& out)
11591 : {
11592 2 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
11593 2 : EasyStorage < std::string > :: writeToFile(out) ;
11594 2 : EasyStorage < SgBitVector > :: writeToFile(out) ;
11595 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
11596 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11597 2 : }
11598 :
11599 :
11600 : void
11601 2 : SgInitializedNameStorageClass::readEasyStorageDataFromFile (std::istream& in)
11602 : {
11603 2 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
11604 2 : EasyStorage < std::string > :: readFromFile(in) ;
11605 2 : EasyStorage < SgBitVector > :: readFromFile(in) ;
11606 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
11607 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11608 2 : }
11609 :
11610 :
11611 :
11612 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11613 :
11614 :
11615 : // ********************************************************
11616 :
11617 : /* #line 11618 "../../../src/frontend/SageIII//StorageClasses.C" */
11618 :
11619 :
11620 :
11621 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11622 :
11623 : // ****************************************************************
11624 : // member functions definition specific to each node in the grammar
11625 : // these are the SgInterfaceBodyStorageClass parts !!!!
11626 : // ROSETTA generated code. Do not change by hand.
11627 : // ****************************************************************
11628 :
11629 :
11630 : /* #line 11631 "../../../src/frontend/SageIII//StorageClasses.C" */
11631 :
11632 :
11633 : void
11634 0 : SgInterfaceBodyStorageClass::pickOutIRNodeData ( SgInterfaceBody* pointer )
11635 : {
11636 0 : SgInterfaceBody* source = (SgInterfaceBody*) (pointer);
11637 : #if FILE_IO_EXTRA_CHECK
11638 0 : assert ( source != NULL ) ;
11639 0 : assert ( source->p_freepointer != NULL) ;
11640 : #endif
11641 0 : storageOf_function_name.pickOutIRNodeData( &(source->p_function_name) );
11642 0 : storageOf_functionDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_functionDeclaration );
11643 0 : storageOf_use_function_name = source->p_use_function_name ;
11644 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
11645 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
11646 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
11647 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11648 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
11649 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11650 0 : storageOf_isModified = source->p_isModified ;
11651 0 : storageOf_containsTransformation = source->p_containsTransformation ;
11652 0 : }
11653 :
11654 : void
11655 0 : SgInterfaceBodyStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11656 : {
11657 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
11658 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
11659 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11660 0 : }
11661 :
11662 : void
11663 2 : SgInterfaceBodyStorageClass::deleteStaticDataOfEasyStorageClasses ( )
11664 : {
11665 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
11666 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
11667 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11668 2 : }
11669 :
11670 : void
11671 0 : SgInterfaceBodyStorageClass::writeEasyStorageDataToFile (std::ostream& out)
11672 : {
11673 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
11674 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
11675 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11676 0 : }
11677 :
11678 :
11679 : void
11680 0 : SgInterfaceBodyStorageClass::readEasyStorageDataFromFile (std::istream& in)
11681 : {
11682 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
11683 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
11684 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11685 0 : }
11686 :
11687 :
11688 :
11689 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11690 :
11691 :
11692 : // ********************************************************
11693 :
11694 : /* #line 11695 "../../../src/frontend/SageIII//StorageClasses.C" */
11695 :
11696 :
11697 :
11698 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11699 :
11700 : // ****************************************************************
11701 : // member functions definition specific to each node in the grammar
11702 : // these are the SgHeaderFileBodyStorageClass parts !!!!
11703 : // ROSETTA generated code. Do not change by hand.
11704 : // ****************************************************************
11705 :
11706 :
11707 : /* #line 11708 "../../../src/frontend/SageIII//StorageClasses.C" */
11708 :
11709 :
11710 : void
11711 0 : SgHeaderFileBodyStorageClass::pickOutIRNodeData ( SgHeaderFileBody* pointer )
11712 : {
11713 0 : SgHeaderFileBody* source = (SgHeaderFileBody*) (pointer);
11714 : #if FILE_IO_EXTRA_CHECK
11715 0 : assert ( source != NULL ) ;
11716 0 : assert ( source->p_freepointer != NULL) ;
11717 : #endif
11718 0 : storageOf_include_file = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_include_file );
11719 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
11720 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
11721 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
11722 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11723 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
11724 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11725 0 : storageOf_isModified = source->p_isModified ;
11726 0 : storageOf_containsTransformation = source->p_containsTransformation ;
11727 0 : }
11728 :
11729 : void
11730 0 : SgHeaderFileBodyStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11731 : {
11732 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
11733 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11734 0 : }
11735 :
11736 : void
11737 2 : SgHeaderFileBodyStorageClass::deleteStaticDataOfEasyStorageClasses ( )
11738 : {
11739 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
11740 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11741 2 : }
11742 :
11743 : void
11744 0 : SgHeaderFileBodyStorageClass::writeEasyStorageDataToFile (std::ostream& out)
11745 : {
11746 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
11747 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11748 0 : }
11749 :
11750 :
11751 : void
11752 0 : SgHeaderFileBodyStorageClass::readEasyStorageDataFromFile (std::istream& in)
11753 : {
11754 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
11755 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11756 0 : }
11757 :
11758 :
11759 :
11760 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11761 :
11762 :
11763 : // ********************************************************
11764 :
11765 : /* #line 11766 "../../../src/frontend/SageIII//StorageClasses.C" */
11766 :
11767 :
11768 :
11769 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11770 :
11771 : // ****************************************************************
11772 : // member functions definition specific to each node in the grammar
11773 : // these are the SgRenamePairStorageClass parts !!!!
11774 : // ROSETTA generated code. Do not change by hand.
11775 : // ****************************************************************
11776 :
11777 :
11778 : /* #line 11779 "../../../src/frontend/SageIII//StorageClasses.C" */
11779 :
11780 :
11781 : void
11782 0 : SgRenamePairStorageClass::pickOutIRNodeData ( SgRenamePair* pointer )
11783 : {
11784 0 : SgRenamePair* source = (SgRenamePair*) (pointer);
11785 : #if FILE_IO_EXTRA_CHECK
11786 0 : assert ( source != NULL ) ;
11787 0 : assert ( source->p_freepointer != NULL) ;
11788 : #endif
11789 0 : storageOf_local_name.pickOutIRNodeData( &(source->p_local_name) );
11790 0 : storageOf_use_name.pickOutIRNodeData( &(source->p_use_name) );
11791 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
11792 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
11793 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
11794 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11795 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
11796 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11797 0 : storageOf_isModified = source->p_isModified ;
11798 0 : storageOf_containsTransformation = source->p_containsTransformation ;
11799 0 : }
11800 :
11801 : void
11802 0 : SgRenamePairStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11803 : {
11804 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
11805 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
11806 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11807 0 : }
11808 :
11809 : void
11810 2 : SgRenamePairStorageClass::deleteStaticDataOfEasyStorageClasses ( )
11811 : {
11812 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
11813 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
11814 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11815 2 : }
11816 :
11817 : void
11818 0 : SgRenamePairStorageClass::writeEasyStorageDataToFile (std::ostream& out)
11819 : {
11820 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
11821 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
11822 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11823 0 : }
11824 :
11825 :
11826 : void
11827 0 : SgRenamePairStorageClass::readEasyStorageDataFromFile (std::istream& in)
11828 : {
11829 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
11830 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
11831 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11832 0 : }
11833 :
11834 :
11835 :
11836 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11837 :
11838 :
11839 : // ********************************************************
11840 :
11841 : /* #line 11842 "../../../src/frontend/SageIII//StorageClasses.C" */
11842 :
11843 :
11844 :
11845 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11846 :
11847 : // ****************************************************************
11848 : // member functions definition specific to each node in the grammar
11849 : // these are the SgOmpClauseStorageClass parts !!!!
11850 : // ROSETTA generated code. Do not change by hand.
11851 : // ****************************************************************
11852 :
11853 :
11854 : /* #line 11855 "../../../src/frontend/SageIII//StorageClasses.C" */
11855 :
11856 :
11857 : void
11858 0 : SgOmpClauseStorageClass::pickOutIRNodeData ( SgOmpClause* pointer )
11859 : {
11860 0 : SgOmpClause* source = (SgOmpClause*) (pointer);
11861 : #if FILE_IO_EXTRA_CHECK
11862 0 : assert ( source != NULL ) ;
11863 0 : assert ( source->p_freepointer != NULL) ;
11864 : #endif
11865 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
11866 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
11867 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
11868 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11869 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
11870 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11871 0 : storageOf_isModified = source->p_isModified ;
11872 0 : storageOf_containsTransformation = source->p_containsTransformation ;
11873 0 : }
11874 :
11875 : void
11876 0 : SgOmpClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11877 : {
11878 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
11879 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11880 0 : }
11881 :
11882 : void
11883 2 : SgOmpClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
11884 : {
11885 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
11886 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11887 2 : }
11888 :
11889 : void
11890 0 : SgOmpClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
11891 : {
11892 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
11893 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11894 0 : }
11895 :
11896 :
11897 : void
11898 0 : SgOmpClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
11899 : {
11900 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
11901 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11902 0 : }
11903 :
11904 :
11905 :
11906 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11907 :
11908 :
11909 : // ********************************************************
11910 :
11911 : /* #line 11912 "../../../src/frontend/SageIII//StorageClasses.C" */
11912 :
11913 :
11914 :
11915 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11916 :
11917 : // ****************************************************************
11918 : // member functions definition specific to each node in the grammar
11919 : // these are the SgOmpNowaitClauseStorageClass parts !!!!
11920 : // ROSETTA generated code. Do not change by hand.
11921 : // ****************************************************************
11922 :
11923 :
11924 : /* #line 11925 "../../../src/frontend/SageIII//StorageClasses.C" */
11925 :
11926 :
11927 : void
11928 0 : SgOmpNowaitClauseStorageClass::pickOutIRNodeData ( SgOmpNowaitClause* pointer )
11929 : {
11930 0 : SgOmpNowaitClause* source = (SgOmpNowaitClause*) (pointer);
11931 : #if FILE_IO_EXTRA_CHECK
11932 0 : assert ( source != NULL ) ;
11933 0 : assert ( source->p_freepointer != NULL) ;
11934 : #endif
11935 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
11936 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
11937 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
11938 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
11939 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
11940 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
11941 0 : storageOf_isModified = source->p_isModified ;
11942 0 : storageOf_containsTransformation = source->p_containsTransformation ;
11943 0 : }
11944 :
11945 : void
11946 0 : SgOmpNowaitClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
11947 : {
11948 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
11949 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
11950 0 : }
11951 :
11952 : void
11953 2 : SgOmpNowaitClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
11954 : {
11955 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
11956 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
11957 2 : }
11958 :
11959 : void
11960 0 : SgOmpNowaitClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
11961 : {
11962 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
11963 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
11964 0 : }
11965 :
11966 :
11967 : void
11968 0 : SgOmpNowaitClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
11969 : {
11970 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
11971 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
11972 0 : }
11973 :
11974 :
11975 :
11976 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11977 :
11978 :
11979 : // ********************************************************
11980 :
11981 : /* #line 11982 "../../../src/frontend/SageIII//StorageClasses.C" */
11982 :
11983 :
11984 :
11985 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
11986 :
11987 : // ****************************************************************
11988 : // member functions definition specific to each node in the grammar
11989 : // these are the SgOmpReadClauseStorageClass parts !!!!
11990 : // ROSETTA generated code. Do not change by hand.
11991 : // ****************************************************************
11992 :
11993 :
11994 : /* #line 11995 "../../../src/frontend/SageIII//StorageClasses.C" */
11995 :
11996 :
11997 : void
11998 0 : SgOmpReadClauseStorageClass::pickOutIRNodeData ( SgOmpReadClause* pointer )
11999 : {
12000 0 : SgOmpReadClause* source = (SgOmpReadClause*) (pointer);
12001 : #if FILE_IO_EXTRA_CHECK
12002 0 : assert ( source != NULL ) ;
12003 0 : assert ( source->p_freepointer != NULL) ;
12004 : #endif
12005 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12006 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12007 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12008 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12009 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12010 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12011 0 : storageOf_isModified = source->p_isModified ;
12012 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12013 0 : }
12014 :
12015 : void
12016 0 : SgOmpReadClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12017 : {
12018 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12019 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12020 0 : }
12021 :
12022 : void
12023 2 : SgOmpReadClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12024 : {
12025 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12026 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12027 2 : }
12028 :
12029 : void
12030 0 : SgOmpReadClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12031 : {
12032 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12033 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12034 0 : }
12035 :
12036 :
12037 : void
12038 0 : SgOmpReadClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12039 : {
12040 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12041 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12042 0 : }
12043 :
12044 :
12045 :
12046 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12047 :
12048 :
12049 : // ********************************************************
12050 :
12051 : /* #line 12052 "../../../src/frontend/SageIII//StorageClasses.C" */
12052 :
12053 :
12054 :
12055 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12056 :
12057 : // ****************************************************************
12058 : // member functions definition specific to each node in the grammar
12059 : // these are the SgOmpThreadsClauseStorageClass parts !!!!
12060 : // ROSETTA generated code. Do not change by hand.
12061 : // ****************************************************************
12062 :
12063 :
12064 : /* #line 12065 "../../../src/frontend/SageIII//StorageClasses.C" */
12065 :
12066 :
12067 : void
12068 0 : SgOmpThreadsClauseStorageClass::pickOutIRNodeData ( SgOmpThreadsClause* pointer )
12069 : {
12070 0 : SgOmpThreadsClause* source = (SgOmpThreadsClause*) (pointer);
12071 : #if FILE_IO_EXTRA_CHECK
12072 0 : assert ( source != NULL ) ;
12073 0 : assert ( source->p_freepointer != NULL) ;
12074 : #endif
12075 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12076 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12077 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12078 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12079 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12080 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12081 0 : storageOf_isModified = source->p_isModified ;
12082 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12083 0 : }
12084 :
12085 : void
12086 0 : SgOmpThreadsClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12087 : {
12088 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12089 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12090 0 : }
12091 :
12092 : void
12093 2 : SgOmpThreadsClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12094 : {
12095 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12096 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12097 2 : }
12098 :
12099 : void
12100 0 : SgOmpThreadsClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12101 : {
12102 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12103 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12104 0 : }
12105 :
12106 :
12107 : void
12108 0 : SgOmpThreadsClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12109 : {
12110 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12111 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12112 0 : }
12113 :
12114 :
12115 :
12116 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12117 :
12118 :
12119 : // ********************************************************
12120 :
12121 : /* #line 12122 "../../../src/frontend/SageIII//StorageClasses.C" */
12122 :
12123 :
12124 :
12125 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12126 :
12127 : // ****************************************************************
12128 : // member functions definition specific to each node in the grammar
12129 : // these are the SgOmpSimdClauseStorageClass parts !!!!
12130 : // ROSETTA generated code. Do not change by hand.
12131 : // ****************************************************************
12132 :
12133 :
12134 : /* #line 12135 "../../../src/frontend/SageIII//StorageClasses.C" */
12135 :
12136 :
12137 : void
12138 0 : SgOmpSimdClauseStorageClass::pickOutIRNodeData ( SgOmpSimdClause* pointer )
12139 : {
12140 0 : SgOmpSimdClause* source = (SgOmpSimdClause*) (pointer);
12141 : #if FILE_IO_EXTRA_CHECK
12142 0 : assert ( source != NULL ) ;
12143 0 : assert ( source->p_freepointer != NULL) ;
12144 : #endif
12145 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12146 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12147 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12148 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12149 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12150 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12151 0 : storageOf_isModified = source->p_isModified ;
12152 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12153 0 : }
12154 :
12155 : void
12156 0 : SgOmpSimdClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12157 : {
12158 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12159 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12160 0 : }
12161 :
12162 : void
12163 2 : SgOmpSimdClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12164 : {
12165 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12166 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12167 2 : }
12168 :
12169 : void
12170 0 : SgOmpSimdClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12171 : {
12172 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12173 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12174 0 : }
12175 :
12176 :
12177 : void
12178 0 : SgOmpSimdClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12179 : {
12180 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12181 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12182 0 : }
12183 :
12184 :
12185 :
12186 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12187 :
12188 :
12189 : // ********************************************************
12190 :
12191 : /* #line 12192 "../../../src/frontend/SageIII//StorageClasses.C" */
12192 :
12193 :
12194 :
12195 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12196 :
12197 : // ****************************************************************
12198 : // member functions definition specific to each node in the grammar
12199 : // these are the SgOmpWriteClauseStorageClass parts !!!!
12200 : // ROSETTA generated code. Do not change by hand.
12201 : // ****************************************************************
12202 :
12203 :
12204 : /* #line 12205 "../../../src/frontend/SageIII//StorageClasses.C" */
12205 :
12206 :
12207 : void
12208 0 : SgOmpWriteClauseStorageClass::pickOutIRNodeData ( SgOmpWriteClause* pointer )
12209 : {
12210 0 : SgOmpWriteClause* source = (SgOmpWriteClause*) (pointer);
12211 : #if FILE_IO_EXTRA_CHECK
12212 0 : assert ( source != NULL ) ;
12213 0 : assert ( source->p_freepointer != NULL) ;
12214 : #endif
12215 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12216 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12217 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12218 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12219 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12220 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12221 0 : storageOf_isModified = source->p_isModified ;
12222 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12223 0 : }
12224 :
12225 : void
12226 0 : SgOmpWriteClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12227 : {
12228 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12229 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12230 0 : }
12231 :
12232 : void
12233 2 : SgOmpWriteClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12234 : {
12235 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12236 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12237 2 : }
12238 :
12239 : void
12240 0 : SgOmpWriteClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12241 : {
12242 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12243 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12244 0 : }
12245 :
12246 :
12247 : void
12248 0 : SgOmpWriteClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12249 : {
12250 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12251 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12252 0 : }
12253 :
12254 :
12255 :
12256 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12257 :
12258 :
12259 : // ********************************************************
12260 :
12261 : /* #line 12262 "../../../src/frontend/SageIII//StorageClasses.C" */
12262 :
12263 :
12264 :
12265 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12266 :
12267 : // ****************************************************************
12268 : // member functions definition specific to each node in the grammar
12269 : // these are the SgOmpUpdateClauseStorageClass parts !!!!
12270 : // ROSETTA generated code. Do not change by hand.
12271 : // ****************************************************************
12272 :
12273 :
12274 : /* #line 12275 "../../../src/frontend/SageIII//StorageClasses.C" */
12275 :
12276 :
12277 : void
12278 0 : SgOmpUpdateClauseStorageClass::pickOutIRNodeData ( SgOmpUpdateClause* pointer )
12279 : {
12280 0 : SgOmpUpdateClause* source = (SgOmpUpdateClause*) (pointer);
12281 : #if FILE_IO_EXTRA_CHECK
12282 0 : assert ( source != NULL ) ;
12283 0 : assert ( source->p_freepointer != NULL) ;
12284 : #endif
12285 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12286 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12287 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12288 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12289 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12290 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12291 0 : storageOf_isModified = source->p_isModified ;
12292 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12293 0 : }
12294 :
12295 : void
12296 0 : SgOmpUpdateClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12297 : {
12298 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12299 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12300 0 : }
12301 :
12302 : void
12303 2 : SgOmpUpdateClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12304 : {
12305 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12306 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12307 2 : }
12308 :
12309 : void
12310 0 : SgOmpUpdateClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12311 : {
12312 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12313 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12314 0 : }
12315 :
12316 :
12317 : void
12318 0 : SgOmpUpdateClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12319 : {
12320 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12321 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12322 0 : }
12323 :
12324 :
12325 :
12326 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12327 :
12328 :
12329 : // ********************************************************
12330 :
12331 : /* #line 12332 "../../../src/frontend/SageIII//StorageClasses.C" */
12332 :
12333 :
12334 :
12335 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12336 :
12337 : // ****************************************************************
12338 : // member functions definition specific to each node in the grammar
12339 : // these are the SgOmpDepobjUpdateClauseStorageClass parts !!!!
12340 : // ROSETTA generated code. Do not change by hand.
12341 : // ****************************************************************
12342 :
12343 :
12344 : /* #line 12345 "../../../src/frontend/SageIII//StorageClasses.C" */
12345 :
12346 :
12347 : void
12348 0 : SgOmpDepobjUpdateClauseStorageClass::pickOutIRNodeData ( SgOmpDepobjUpdateClause* pointer )
12349 : {
12350 0 : SgOmpDepobjUpdateClause* source = (SgOmpDepobjUpdateClause*) (pointer);
12351 : #if FILE_IO_EXTRA_CHECK
12352 0 : assert ( source != NULL ) ;
12353 0 : assert ( source->p_freepointer != NULL) ;
12354 : #endif
12355 0 : storageOf_modifier = source->p_modifier ;
12356 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12357 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12358 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12359 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12360 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12361 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12362 0 : storageOf_isModified = source->p_isModified ;
12363 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12364 0 : }
12365 :
12366 : void
12367 0 : SgOmpDepobjUpdateClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12368 : {
12369 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12370 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12371 0 : }
12372 :
12373 : void
12374 2 : SgOmpDepobjUpdateClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12375 : {
12376 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12377 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12378 2 : }
12379 :
12380 : void
12381 0 : SgOmpDepobjUpdateClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12382 : {
12383 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12384 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12385 0 : }
12386 :
12387 :
12388 : void
12389 0 : SgOmpDepobjUpdateClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12390 : {
12391 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12392 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12393 0 : }
12394 :
12395 :
12396 :
12397 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12398 :
12399 :
12400 : // ********************************************************
12401 :
12402 : /* #line 12403 "../../../src/frontend/SageIII//StorageClasses.C" */
12403 :
12404 :
12405 :
12406 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12407 :
12408 : // ****************************************************************
12409 : // member functions definition specific to each node in the grammar
12410 : // these are the SgOmpDestroyClauseStorageClass parts !!!!
12411 : // ROSETTA generated code. Do not change by hand.
12412 : // ****************************************************************
12413 :
12414 :
12415 : /* #line 12416 "../../../src/frontend/SageIII//StorageClasses.C" */
12416 :
12417 :
12418 : void
12419 0 : SgOmpDestroyClauseStorageClass::pickOutIRNodeData ( SgOmpDestroyClause* pointer )
12420 : {
12421 0 : SgOmpDestroyClause* source = (SgOmpDestroyClause*) (pointer);
12422 : #if FILE_IO_EXTRA_CHECK
12423 0 : assert ( source != NULL ) ;
12424 0 : assert ( source->p_freepointer != NULL) ;
12425 : #endif
12426 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12427 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12428 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12429 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12430 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12431 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12432 0 : storageOf_isModified = source->p_isModified ;
12433 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12434 0 : }
12435 :
12436 : void
12437 0 : SgOmpDestroyClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12438 : {
12439 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12440 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12441 0 : }
12442 :
12443 : void
12444 2 : SgOmpDestroyClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12445 : {
12446 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12447 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12448 2 : }
12449 :
12450 : void
12451 0 : SgOmpDestroyClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12452 : {
12453 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12454 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12455 0 : }
12456 :
12457 :
12458 : void
12459 0 : SgOmpDestroyClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12460 : {
12461 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12462 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12463 0 : }
12464 :
12465 :
12466 :
12467 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12468 :
12469 :
12470 : // ********************************************************
12471 :
12472 : /* #line 12473 "../../../src/frontend/SageIII//StorageClasses.C" */
12473 :
12474 :
12475 :
12476 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12477 :
12478 : // ****************************************************************
12479 : // member functions definition specific to each node in the grammar
12480 : // these are the SgOmpCaptureClauseStorageClass parts !!!!
12481 : // ROSETTA generated code. Do not change by hand.
12482 : // ****************************************************************
12483 :
12484 :
12485 : /* #line 12486 "../../../src/frontend/SageIII//StorageClasses.C" */
12486 :
12487 :
12488 : void
12489 0 : SgOmpCaptureClauseStorageClass::pickOutIRNodeData ( SgOmpCaptureClause* pointer )
12490 : {
12491 0 : SgOmpCaptureClause* source = (SgOmpCaptureClause*) (pointer);
12492 : #if FILE_IO_EXTRA_CHECK
12493 0 : assert ( source != NULL ) ;
12494 0 : assert ( source->p_freepointer != NULL) ;
12495 : #endif
12496 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12497 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12498 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12499 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12500 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12501 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12502 0 : storageOf_isModified = source->p_isModified ;
12503 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12504 0 : }
12505 :
12506 : void
12507 0 : SgOmpCaptureClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12508 : {
12509 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12510 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12511 0 : }
12512 :
12513 : void
12514 2 : SgOmpCaptureClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12515 : {
12516 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12517 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12518 2 : }
12519 :
12520 : void
12521 0 : SgOmpCaptureClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12522 : {
12523 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12524 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12525 0 : }
12526 :
12527 :
12528 : void
12529 0 : SgOmpCaptureClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12530 : {
12531 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12532 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12533 0 : }
12534 :
12535 :
12536 :
12537 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12538 :
12539 :
12540 : // ********************************************************
12541 :
12542 : /* #line 12543 "../../../src/frontend/SageIII//StorageClasses.C" */
12543 :
12544 :
12545 :
12546 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12547 :
12548 : // ****************************************************************
12549 : // member functions definition specific to each node in the grammar
12550 : // these are the SgOmpBeginClauseStorageClass parts !!!!
12551 : // ROSETTA generated code. Do not change by hand.
12552 : // ****************************************************************
12553 :
12554 :
12555 : /* #line 12556 "../../../src/frontend/SageIII//StorageClasses.C" */
12556 :
12557 :
12558 : void
12559 0 : SgOmpBeginClauseStorageClass::pickOutIRNodeData ( SgOmpBeginClause* pointer )
12560 : {
12561 0 : SgOmpBeginClause* source = (SgOmpBeginClause*) (pointer);
12562 : #if FILE_IO_EXTRA_CHECK
12563 0 : assert ( source != NULL ) ;
12564 0 : assert ( source->p_freepointer != NULL) ;
12565 : #endif
12566 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12567 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12568 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12569 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12570 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12571 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12572 0 : storageOf_isModified = source->p_isModified ;
12573 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12574 0 : }
12575 :
12576 : void
12577 0 : SgOmpBeginClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12578 : {
12579 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12580 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12581 0 : }
12582 :
12583 : void
12584 2 : SgOmpBeginClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12585 : {
12586 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12587 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12588 2 : }
12589 :
12590 : void
12591 0 : SgOmpBeginClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12592 : {
12593 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12594 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12595 0 : }
12596 :
12597 :
12598 : void
12599 0 : SgOmpBeginClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12600 : {
12601 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12602 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12603 0 : }
12604 :
12605 :
12606 :
12607 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12608 :
12609 :
12610 : // ********************************************************
12611 :
12612 : /* #line 12613 "../../../src/frontend/SageIII//StorageClasses.C" */
12613 :
12614 :
12615 :
12616 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12617 :
12618 : // ****************************************************************
12619 : // member functions definition specific to each node in the grammar
12620 : // these are the SgOmpEndClauseStorageClass parts !!!!
12621 : // ROSETTA generated code. Do not change by hand.
12622 : // ****************************************************************
12623 :
12624 :
12625 : /* #line 12626 "../../../src/frontend/SageIII//StorageClasses.C" */
12626 :
12627 :
12628 : void
12629 0 : SgOmpEndClauseStorageClass::pickOutIRNodeData ( SgOmpEndClause* pointer )
12630 : {
12631 0 : SgOmpEndClause* source = (SgOmpEndClause*) (pointer);
12632 : #if FILE_IO_EXTRA_CHECK
12633 0 : assert ( source != NULL ) ;
12634 0 : assert ( source->p_freepointer != NULL) ;
12635 : #endif
12636 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12637 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12638 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12639 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12640 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12641 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12642 0 : storageOf_isModified = source->p_isModified ;
12643 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12644 0 : }
12645 :
12646 : void
12647 0 : SgOmpEndClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12648 : {
12649 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12650 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12651 0 : }
12652 :
12653 : void
12654 2 : SgOmpEndClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12655 : {
12656 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12657 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12658 2 : }
12659 :
12660 : void
12661 0 : SgOmpEndClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12662 : {
12663 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12664 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12665 0 : }
12666 :
12667 :
12668 : void
12669 0 : SgOmpEndClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12670 : {
12671 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12672 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12673 0 : }
12674 :
12675 :
12676 :
12677 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12678 :
12679 :
12680 : // ********************************************************
12681 :
12682 : /* #line 12683 "../../../src/frontend/SageIII//StorageClasses.C" */
12683 :
12684 :
12685 :
12686 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12687 :
12688 : // ****************************************************************
12689 : // member functions definition specific to each node in the grammar
12690 : // these are the SgOmpUntiedClauseStorageClass parts !!!!
12691 : // ROSETTA generated code. Do not change by hand.
12692 : // ****************************************************************
12693 :
12694 :
12695 : /* #line 12696 "../../../src/frontend/SageIII//StorageClasses.C" */
12696 :
12697 :
12698 : void
12699 0 : SgOmpUntiedClauseStorageClass::pickOutIRNodeData ( SgOmpUntiedClause* pointer )
12700 : {
12701 0 : SgOmpUntiedClause* source = (SgOmpUntiedClause*) (pointer);
12702 : #if FILE_IO_EXTRA_CHECK
12703 0 : assert ( source != NULL ) ;
12704 0 : assert ( source->p_freepointer != NULL) ;
12705 : #endif
12706 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12707 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12708 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12709 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12710 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12711 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12712 0 : storageOf_isModified = source->p_isModified ;
12713 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12714 0 : }
12715 :
12716 : void
12717 0 : SgOmpUntiedClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12718 : {
12719 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12720 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12721 0 : }
12722 :
12723 : void
12724 2 : SgOmpUntiedClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12725 : {
12726 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12727 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12728 2 : }
12729 :
12730 : void
12731 0 : SgOmpUntiedClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12732 : {
12733 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12734 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12735 0 : }
12736 :
12737 :
12738 : void
12739 0 : SgOmpUntiedClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12740 : {
12741 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12742 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12743 0 : }
12744 :
12745 :
12746 :
12747 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12748 :
12749 :
12750 : // ********************************************************
12751 :
12752 : /* #line 12753 "../../../src/frontend/SageIII//StorageClasses.C" */
12753 :
12754 :
12755 :
12756 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12757 :
12758 : // ****************************************************************
12759 : // member functions definition specific to each node in the grammar
12760 : // these are the SgOmpSeqCstClauseStorageClass parts !!!!
12761 : // ROSETTA generated code. Do not change by hand.
12762 : // ****************************************************************
12763 :
12764 :
12765 : /* #line 12766 "../../../src/frontend/SageIII//StorageClasses.C" */
12766 :
12767 :
12768 : void
12769 0 : SgOmpSeqCstClauseStorageClass::pickOutIRNodeData ( SgOmpSeqCstClause* pointer )
12770 : {
12771 0 : SgOmpSeqCstClause* source = (SgOmpSeqCstClause*) (pointer);
12772 : #if FILE_IO_EXTRA_CHECK
12773 0 : assert ( source != NULL ) ;
12774 0 : assert ( source->p_freepointer != NULL) ;
12775 : #endif
12776 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12777 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12778 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12779 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12780 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12781 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12782 0 : storageOf_isModified = source->p_isModified ;
12783 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12784 0 : }
12785 :
12786 : void
12787 0 : SgOmpSeqCstClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12788 : {
12789 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12790 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12791 0 : }
12792 :
12793 : void
12794 2 : SgOmpSeqCstClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12795 : {
12796 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12797 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12798 2 : }
12799 :
12800 : void
12801 0 : SgOmpSeqCstClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12802 : {
12803 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12804 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12805 0 : }
12806 :
12807 :
12808 : void
12809 0 : SgOmpSeqCstClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12810 : {
12811 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12812 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12813 0 : }
12814 :
12815 :
12816 :
12817 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12818 :
12819 :
12820 : // ********************************************************
12821 :
12822 : /* #line 12823 "../../../src/frontend/SageIII//StorageClasses.C" */
12823 :
12824 :
12825 :
12826 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12827 :
12828 : // ****************************************************************
12829 : // member functions definition specific to each node in the grammar
12830 : // these are the SgOmpAcqRelClauseStorageClass parts !!!!
12831 : // ROSETTA generated code. Do not change by hand.
12832 : // ****************************************************************
12833 :
12834 :
12835 : /* #line 12836 "../../../src/frontend/SageIII//StorageClasses.C" */
12836 :
12837 :
12838 : void
12839 0 : SgOmpAcqRelClauseStorageClass::pickOutIRNodeData ( SgOmpAcqRelClause* pointer )
12840 : {
12841 0 : SgOmpAcqRelClause* source = (SgOmpAcqRelClause*) (pointer);
12842 : #if FILE_IO_EXTRA_CHECK
12843 0 : assert ( source != NULL ) ;
12844 0 : assert ( source->p_freepointer != NULL) ;
12845 : #endif
12846 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12847 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12848 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12849 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12850 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12851 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12852 0 : storageOf_isModified = source->p_isModified ;
12853 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12854 0 : }
12855 :
12856 : void
12857 0 : SgOmpAcqRelClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12858 : {
12859 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12860 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12861 0 : }
12862 :
12863 : void
12864 2 : SgOmpAcqRelClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12865 : {
12866 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12867 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12868 2 : }
12869 :
12870 : void
12871 0 : SgOmpAcqRelClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12872 : {
12873 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12874 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12875 0 : }
12876 :
12877 :
12878 : void
12879 0 : SgOmpAcqRelClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12880 : {
12881 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12882 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12883 0 : }
12884 :
12885 :
12886 :
12887 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12888 :
12889 :
12890 : // ********************************************************
12891 :
12892 : /* #line 12893 "../../../src/frontend/SageIII//StorageClasses.C" */
12893 :
12894 :
12895 :
12896 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12897 :
12898 : // ****************************************************************
12899 : // member functions definition specific to each node in the grammar
12900 : // these are the SgOmpReleaseClauseStorageClass parts !!!!
12901 : // ROSETTA generated code. Do not change by hand.
12902 : // ****************************************************************
12903 :
12904 :
12905 : /* #line 12906 "../../../src/frontend/SageIII//StorageClasses.C" */
12906 :
12907 :
12908 : void
12909 0 : SgOmpReleaseClauseStorageClass::pickOutIRNodeData ( SgOmpReleaseClause* pointer )
12910 : {
12911 0 : SgOmpReleaseClause* source = (SgOmpReleaseClause*) (pointer);
12912 : #if FILE_IO_EXTRA_CHECK
12913 0 : assert ( source != NULL ) ;
12914 0 : assert ( source->p_freepointer != NULL) ;
12915 : #endif
12916 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12917 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12918 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12919 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12920 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12921 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12922 0 : storageOf_isModified = source->p_isModified ;
12923 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12924 0 : }
12925 :
12926 : void
12927 0 : SgOmpReleaseClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12928 : {
12929 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
12930 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
12931 0 : }
12932 :
12933 : void
12934 2 : SgOmpReleaseClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
12935 : {
12936 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
12937 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
12938 2 : }
12939 :
12940 : void
12941 0 : SgOmpReleaseClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
12942 : {
12943 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
12944 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
12945 0 : }
12946 :
12947 :
12948 : void
12949 0 : SgOmpReleaseClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
12950 : {
12951 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
12952 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
12953 0 : }
12954 :
12955 :
12956 :
12957 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12958 :
12959 :
12960 : // ********************************************************
12961 :
12962 : /* #line 12963 "../../../src/frontend/SageIII//StorageClasses.C" */
12963 :
12964 :
12965 :
12966 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
12967 :
12968 : // ****************************************************************
12969 : // member functions definition specific to each node in the grammar
12970 : // these are the SgOmpAcquireClauseStorageClass parts !!!!
12971 : // ROSETTA generated code. Do not change by hand.
12972 : // ****************************************************************
12973 :
12974 :
12975 : /* #line 12976 "../../../src/frontend/SageIII//StorageClasses.C" */
12976 :
12977 :
12978 : void
12979 0 : SgOmpAcquireClauseStorageClass::pickOutIRNodeData ( SgOmpAcquireClause* pointer )
12980 : {
12981 0 : SgOmpAcquireClause* source = (SgOmpAcquireClause*) (pointer);
12982 : #if FILE_IO_EXTRA_CHECK
12983 0 : assert ( source != NULL ) ;
12984 0 : assert ( source->p_freepointer != NULL) ;
12985 : #endif
12986 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
12987 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
12988 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
12989 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
12990 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
12991 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
12992 0 : storageOf_isModified = source->p_isModified ;
12993 0 : storageOf_containsTransformation = source->p_containsTransformation ;
12994 0 : }
12995 :
12996 : void
12997 0 : SgOmpAcquireClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
12998 : {
12999 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13000 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13001 0 : }
13002 :
13003 : void
13004 2 : SgOmpAcquireClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13005 : {
13006 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13007 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13008 2 : }
13009 :
13010 : void
13011 0 : SgOmpAcquireClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13012 : {
13013 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13014 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13015 0 : }
13016 :
13017 :
13018 : void
13019 0 : SgOmpAcquireClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13020 : {
13021 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13022 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13023 0 : }
13024 :
13025 :
13026 :
13027 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13028 :
13029 :
13030 : // ********************************************************
13031 :
13032 : /* #line 13033 "../../../src/frontend/SageIII//StorageClasses.C" */
13033 :
13034 :
13035 :
13036 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13037 :
13038 : // ****************************************************************
13039 : // member functions definition specific to each node in the grammar
13040 : // these are the SgOmpRelaxedClauseStorageClass parts !!!!
13041 : // ROSETTA generated code. Do not change by hand.
13042 : // ****************************************************************
13043 :
13044 :
13045 : /* #line 13046 "../../../src/frontend/SageIII//StorageClasses.C" */
13046 :
13047 :
13048 : void
13049 0 : SgOmpRelaxedClauseStorageClass::pickOutIRNodeData ( SgOmpRelaxedClause* pointer )
13050 : {
13051 0 : SgOmpRelaxedClause* source = (SgOmpRelaxedClause*) (pointer);
13052 : #if FILE_IO_EXTRA_CHECK
13053 0 : assert ( source != NULL ) ;
13054 0 : assert ( source->p_freepointer != NULL) ;
13055 : #endif
13056 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13057 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13058 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13059 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13060 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13061 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13062 0 : storageOf_isModified = source->p_isModified ;
13063 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13064 0 : }
13065 :
13066 : void
13067 0 : SgOmpRelaxedClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13068 : {
13069 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13070 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13071 0 : }
13072 :
13073 : void
13074 2 : SgOmpRelaxedClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13075 : {
13076 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13077 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13078 2 : }
13079 :
13080 : void
13081 0 : SgOmpRelaxedClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13082 : {
13083 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13084 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13085 0 : }
13086 :
13087 :
13088 : void
13089 0 : SgOmpRelaxedClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13090 : {
13091 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13092 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13093 0 : }
13094 :
13095 :
13096 :
13097 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13098 :
13099 :
13100 : // ********************************************************
13101 :
13102 : /* #line 13103 "../../../src/frontend/SageIII//StorageClasses.C" */
13103 :
13104 :
13105 :
13106 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13107 :
13108 : // ****************************************************************
13109 : // member functions definition specific to each node in the grammar
13110 : // these are the SgOmpReverseOffloadClauseStorageClass parts !!!!
13111 : // ROSETTA generated code. Do not change by hand.
13112 : // ****************************************************************
13113 :
13114 :
13115 : /* #line 13116 "../../../src/frontend/SageIII//StorageClasses.C" */
13116 :
13117 :
13118 : void
13119 0 : SgOmpReverseOffloadClauseStorageClass::pickOutIRNodeData ( SgOmpReverseOffloadClause* pointer )
13120 : {
13121 0 : SgOmpReverseOffloadClause* source = (SgOmpReverseOffloadClause*) (pointer);
13122 : #if FILE_IO_EXTRA_CHECK
13123 0 : assert ( source != NULL ) ;
13124 0 : assert ( source->p_freepointer != NULL) ;
13125 : #endif
13126 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13127 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13128 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13129 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13130 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13131 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13132 0 : storageOf_isModified = source->p_isModified ;
13133 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13134 0 : }
13135 :
13136 : void
13137 0 : SgOmpReverseOffloadClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13138 : {
13139 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13140 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13141 0 : }
13142 :
13143 : void
13144 2 : SgOmpReverseOffloadClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13145 : {
13146 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13147 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13148 2 : }
13149 :
13150 : void
13151 0 : SgOmpReverseOffloadClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13152 : {
13153 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13154 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13155 0 : }
13156 :
13157 :
13158 : void
13159 0 : SgOmpReverseOffloadClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13160 : {
13161 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13162 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13163 0 : }
13164 :
13165 :
13166 :
13167 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13168 :
13169 :
13170 : // ********************************************************
13171 :
13172 : /* #line 13173 "../../../src/frontend/SageIII//StorageClasses.C" */
13173 :
13174 :
13175 :
13176 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13177 :
13178 : // ****************************************************************
13179 : // member functions definition specific to each node in the grammar
13180 : // these are the SgOmpUnifiedAddressClauseStorageClass parts !!!!
13181 : // ROSETTA generated code. Do not change by hand.
13182 : // ****************************************************************
13183 :
13184 :
13185 : /* #line 13186 "../../../src/frontend/SageIII//StorageClasses.C" */
13186 :
13187 :
13188 : void
13189 0 : SgOmpUnifiedAddressClauseStorageClass::pickOutIRNodeData ( SgOmpUnifiedAddressClause* pointer )
13190 : {
13191 0 : SgOmpUnifiedAddressClause* source = (SgOmpUnifiedAddressClause*) (pointer);
13192 : #if FILE_IO_EXTRA_CHECK
13193 0 : assert ( source != NULL ) ;
13194 0 : assert ( source->p_freepointer != NULL) ;
13195 : #endif
13196 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13197 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13198 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13199 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13200 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13201 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13202 0 : storageOf_isModified = source->p_isModified ;
13203 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13204 0 : }
13205 :
13206 : void
13207 0 : SgOmpUnifiedAddressClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13208 : {
13209 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13210 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13211 0 : }
13212 :
13213 : void
13214 2 : SgOmpUnifiedAddressClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13215 : {
13216 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13217 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13218 2 : }
13219 :
13220 : void
13221 0 : SgOmpUnifiedAddressClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13222 : {
13223 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13224 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13225 0 : }
13226 :
13227 :
13228 : void
13229 0 : SgOmpUnifiedAddressClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13230 : {
13231 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13232 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13233 0 : }
13234 :
13235 :
13236 :
13237 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13238 :
13239 :
13240 : // ********************************************************
13241 :
13242 : /* #line 13243 "../../../src/frontend/SageIII//StorageClasses.C" */
13243 :
13244 :
13245 :
13246 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13247 :
13248 : // ****************************************************************
13249 : // member functions definition specific to each node in the grammar
13250 : // these are the SgOmpUnifiedSharedMemoryClauseStorageClass parts !!!!
13251 : // ROSETTA generated code. Do not change by hand.
13252 : // ****************************************************************
13253 :
13254 :
13255 : /* #line 13256 "../../../src/frontend/SageIII//StorageClasses.C" */
13256 :
13257 :
13258 : void
13259 0 : SgOmpUnifiedSharedMemoryClauseStorageClass::pickOutIRNodeData ( SgOmpUnifiedSharedMemoryClause* pointer )
13260 : {
13261 0 : SgOmpUnifiedSharedMemoryClause* source = (SgOmpUnifiedSharedMemoryClause*) (pointer);
13262 : #if FILE_IO_EXTRA_CHECK
13263 0 : assert ( source != NULL ) ;
13264 0 : assert ( source->p_freepointer != NULL) ;
13265 : #endif
13266 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13267 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13268 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13269 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13270 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13271 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13272 0 : storageOf_isModified = source->p_isModified ;
13273 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13274 0 : }
13275 :
13276 : void
13277 0 : SgOmpUnifiedSharedMemoryClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13278 : {
13279 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13280 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13281 0 : }
13282 :
13283 : void
13284 2 : SgOmpUnifiedSharedMemoryClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13285 : {
13286 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13287 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13288 2 : }
13289 :
13290 : void
13291 0 : SgOmpUnifiedSharedMemoryClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13292 : {
13293 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13294 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13295 0 : }
13296 :
13297 :
13298 : void
13299 0 : SgOmpUnifiedSharedMemoryClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13300 : {
13301 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13302 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13303 0 : }
13304 :
13305 :
13306 :
13307 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13308 :
13309 :
13310 : // ********************************************************
13311 :
13312 : /* #line 13313 "../../../src/frontend/SageIII//StorageClasses.C" */
13313 :
13314 :
13315 :
13316 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13317 :
13318 : // ****************************************************************
13319 : // member functions definition specific to each node in the grammar
13320 : // these are the SgOmpDynamicAllocatorsClauseStorageClass parts !!!!
13321 : // ROSETTA generated code. Do not change by hand.
13322 : // ****************************************************************
13323 :
13324 :
13325 : /* #line 13326 "../../../src/frontend/SageIII//StorageClasses.C" */
13326 :
13327 :
13328 : void
13329 0 : SgOmpDynamicAllocatorsClauseStorageClass::pickOutIRNodeData ( SgOmpDynamicAllocatorsClause* pointer )
13330 : {
13331 0 : SgOmpDynamicAllocatorsClause* source = (SgOmpDynamicAllocatorsClause*) (pointer);
13332 : #if FILE_IO_EXTRA_CHECK
13333 0 : assert ( source != NULL ) ;
13334 0 : assert ( source->p_freepointer != NULL) ;
13335 : #endif
13336 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13337 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13338 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13339 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13340 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13341 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13342 0 : storageOf_isModified = source->p_isModified ;
13343 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13344 0 : }
13345 :
13346 : void
13347 0 : SgOmpDynamicAllocatorsClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13348 : {
13349 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13350 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13351 0 : }
13352 :
13353 : void
13354 2 : SgOmpDynamicAllocatorsClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13355 : {
13356 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13357 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13358 2 : }
13359 :
13360 : void
13361 0 : SgOmpDynamicAllocatorsClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13362 : {
13363 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13364 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13365 0 : }
13366 :
13367 :
13368 : void
13369 0 : SgOmpDynamicAllocatorsClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13370 : {
13371 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13372 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13373 0 : }
13374 :
13375 :
13376 :
13377 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13378 :
13379 :
13380 : // ********************************************************
13381 :
13382 : /* #line 13383 "../../../src/frontend/SageIII//StorageClasses.C" */
13383 :
13384 :
13385 :
13386 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13387 :
13388 : // ****************************************************************
13389 : // member functions definition specific to each node in the grammar
13390 : // these are the SgOmpParallelClauseStorageClass parts !!!!
13391 : // ROSETTA generated code. Do not change by hand.
13392 : // ****************************************************************
13393 :
13394 :
13395 : /* #line 13396 "../../../src/frontend/SageIII//StorageClasses.C" */
13396 :
13397 :
13398 : void
13399 0 : SgOmpParallelClauseStorageClass::pickOutIRNodeData ( SgOmpParallelClause* pointer )
13400 : {
13401 0 : SgOmpParallelClause* source = (SgOmpParallelClause*) (pointer);
13402 : #if FILE_IO_EXTRA_CHECK
13403 0 : assert ( source != NULL ) ;
13404 0 : assert ( source->p_freepointer != NULL) ;
13405 : #endif
13406 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13407 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13408 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13409 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13410 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13411 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13412 0 : storageOf_isModified = source->p_isModified ;
13413 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13414 0 : }
13415 :
13416 : void
13417 0 : SgOmpParallelClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13418 : {
13419 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13420 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13421 0 : }
13422 :
13423 : void
13424 2 : SgOmpParallelClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13425 : {
13426 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13427 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13428 2 : }
13429 :
13430 : void
13431 0 : SgOmpParallelClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13432 : {
13433 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13434 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13435 0 : }
13436 :
13437 :
13438 : void
13439 0 : SgOmpParallelClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13440 : {
13441 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13442 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13443 0 : }
13444 :
13445 :
13446 :
13447 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13448 :
13449 :
13450 : // ********************************************************
13451 :
13452 : /* #line 13453 "../../../src/frontend/SageIII//StorageClasses.C" */
13453 :
13454 :
13455 :
13456 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13457 :
13458 : // ****************************************************************
13459 : // member functions definition specific to each node in the grammar
13460 : // these are the SgOmpSectionsClauseStorageClass parts !!!!
13461 : // ROSETTA generated code. Do not change by hand.
13462 : // ****************************************************************
13463 :
13464 :
13465 : /* #line 13466 "../../../src/frontend/SageIII//StorageClasses.C" */
13466 :
13467 :
13468 : void
13469 0 : SgOmpSectionsClauseStorageClass::pickOutIRNodeData ( SgOmpSectionsClause* pointer )
13470 : {
13471 0 : SgOmpSectionsClause* source = (SgOmpSectionsClause*) (pointer);
13472 : #if FILE_IO_EXTRA_CHECK
13473 0 : assert ( source != NULL ) ;
13474 0 : assert ( source->p_freepointer != NULL) ;
13475 : #endif
13476 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13477 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13478 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13479 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13480 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13481 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13482 0 : storageOf_isModified = source->p_isModified ;
13483 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13484 0 : }
13485 :
13486 : void
13487 0 : SgOmpSectionsClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13488 : {
13489 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13490 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13491 0 : }
13492 :
13493 : void
13494 2 : SgOmpSectionsClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13495 : {
13496 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13497 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13498 2 : }
13499 :
13500 : void
13501 0 : SgOmpSectionsClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13502 : {
13503 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13504 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13505 0 : }
13506 :
13507 :
13508 : void
13509 0 : SgOmpSectionsClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13510 : {
13511 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13512 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13513 0 : }
13514 :
13515 :
13516 :
13517 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13518 :
13519 :
13520 : // ********************************************************
13521 :
13522 : /* #line 13523 "../../../src/frontend/SageIII//StorageClasses.C" */
13523 :
13524 :
13525 :
13526 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13527 :
13528 : // ****************************************************************
13529 : // member functions definition specific to each node in the grammar
13530 : // these are the SgOmpForClauseStorageClass parts !!!!
13531 : // ROSETTA generated code. Do not change by hand.
13532 : // ****************************************************************
13533 :
13534 :
13535 : /* #line 13536 "../../../src/frontend/SageIII//StorageClasses.C" */
13536 :
13537 :
13538 : void
13539 0 : SgOmpForClauseStorageClass::pickOutIRNodeData ( SgOmpForClause* pointer )
13540 : {
13541 0 : SgOmpForClause* source = (SgOmpForClause*) (pointer);
13542 : #if FILE_IO_EXTRA_CHECK
13543 0 : assert ( source != NULL ) ;
13544 0 : assert ( source->p_freepointer != NULL) ;
13545 : #endif
13546 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13547 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13548 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13549 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13550 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13551 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13552 0 : storageOf_isModified = source->p_isModified ;
13553 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13554 0 : }
13555 :
13556 : void
13557 0 : SgOmpForClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13558 : {
13559 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13560 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13561 0 : }
13562 :
13563 : void
13564 2 : SgOmpForClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13565 : {
13566 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13567 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13568 2 : }
13569 :
13570 : void
13571 0 : SgOmpForClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13572 : {
13573 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13574 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13575 0 : }
13576 :
13577 :
13578 : void
13579 0 : SgOmpForClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13580 : {
13581 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13582 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13583 0 : }
13584 :
13585 :
13586 :
13587 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13588 :
13589 :
13590 : // ********************************************************
13591 :
13592 : /* #line 13593 "../../../src/frontend/SageIII//StorageClasses.C" */
13593 :
13594 :
13595 :
13596 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13597 :
13598 : // ****************************************************************
13599 : // member functions definition specific to each node in the grammar
13600 : // these are the SgOmpTaskgroupClauseStorageClass parts !!!!
13601 : // ROSETTA generated code. Do not change by hand.
13602 : // ****************************************************************
13603 :
13604 :
13605 : /* #line 13606 "../../../src/frontend/SageIII//StorageClasses.C" */
13606 :
13607 :
13608 : void
13609 0 : SgOmpTaskgroupClauseStorageClass::pickOutIRNodeData ( SgOmpTaskgroupClause* pointer )
13610 : {
13611 0 : SgOmpTaskgroupClause* source = (SgOmpTaskgroupClause*) (pointer);
13612 : #if FILE_IO_EXTRA_CHECK
13613 0 : assert ( source != NULL ) ;
13614 0 : assert ( source->p_freepointer != NULL) ;
13615 : #endif
13616 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13617 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13618 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13619 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13620 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13621 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13622 0 : storageOf_isModified = source->p_isModified ;
13623 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13624 0 : }
13625 :
13626 : void
13627 0 : SgOmpTaskgroupClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13628 : {
13629 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13630 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13631 0 : }
13632 :
13633 : void
13634 2 : SgOmpTaskgroupClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13635 : {
13636 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13637 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13638 2 : }
13639 :
13640 : void
13641 0 : SgOmpTaskgroupClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13642 : {
13643 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13644 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13645 0 : }
13646 :
13647 :
13648 : void
13649 0 : SgOmpTaskgroupClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13650 : {
13651 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13652 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13653 0 : }
13654 :
13655 :
13656 :
13657 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13658 :
13659 :
13660 : // ********************************************************
13661 :
13662 : /* #line 13663 "../../../src/frontend/SageIII//StorageClasses.C" */
13663 :
13664 :
13665 :
13666 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13667 :
13668 : // ****************************************************************
13669 : // member functions definition specific to each node in the grammar
13670 : // these are the SgOmpNogroupClauseStorageClass parts !!!!
13671 : // ROSETTA generated code. Do not change by hand.
13672 : // ****************************************************************
13673 :
13674 :
13675 : /* #line 13676 "../../../src/frontend/SageIII//StorageClasses.C" */
13676 :
13677 :
13678 : void
13679 0 : SgOmpNogroupClauseStorageClass::pickOutIRNodeData ( SgOmpNogroupClause* pointer )
13680 : {
13681 0 : SgOmpNogroupClause* source = (SgOmpNogroupClause*) (pointer);
13682 : #if FILE_IO_EXTRA_CHECK
13683 0 : assert ( source != NULL ) ;
13684 0 : assert ( source->p_freepointer != NULL) ;
13685 : #endif
13686 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13687 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13688 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13689 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13690 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13691 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13692 0 : storageOf_isModified = source->p_isModified ;
13693 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13694 0 : }
13695 :
13696 : void
13697 0 : SgOmpNogroupClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13698 : {
13699 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13700 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13701 0 : }
13702 :
13703 : void
13704 2 : SgOmpNogroupClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13705 : {
13706 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13707 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13708 2 : }
13709 :
13710 : void
13711 0 : SgOmpNogroupClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13712 : {
13713 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13714 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13715 0 : }
13716 :
13717 :
13718 : void
13719 0 : SgOmpNogroupClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13720 : {
13721 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13722 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13723 0 : }
13724 :
13725 :
13726 :
13727 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13728 :
13729 :
13730 : // ********************************************************
13731 :
13732 : /* #line 13733 "../../../src/frontend/SageIII//StorageClasses.C" */
13733 :
13734 :
13735 :
13736 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13737 :
13738 : // ****************************************************************
13739 : // member functions definition specific to each node in the grammar
13740 : // these are the SgOmpDefaultClauseStorageClass parts !!!!
13741 : // ROSETTA generated code. Do not change by hand.
13742 : // ****************************************************************
13743 :
13744 :
13745 : /* #line 13746 "../../../src/frontend/SageIII//StorageClasses.C" */
13746 :
13747 :
13748 : void
13749 0 : SgOmpDefaultClauseStorageClass::pickOutIRNodeData ( SgOmpDefaultClause* pointer )
13750 : {
13751 0 : SgOmpDefaultClause* source = (SgOmpDefaultClause*) (pointer);
13752 : #if FILE_IO_EXTRA_CHECK
13753 0 : assert ( source != NULL ) ;
13754 0 : assert ( source->p_freepointer != NULL) ;
13755 : #endif
13756 0 : storageOf_data_sharing = source->p_data_sharing ;
13757 0 : storageOf_variant_directive = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variant_directive );
13758 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13759 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13760 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13761 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13762 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13763 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13764 0 : storageOf_isModified = source->p_isModified ;
13765 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13766 0 : }
13767 :
13768 : void
13769 0 : SgOmpDefaultClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13770 : {
13771 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13772 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13773 0 : }
13774 :
13775 : void
13776 2 : SgOmpDefaultClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13777 : {
13778 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13779 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13780 2 : }
13781 :
13782 : void
13783 0 : SgOmpDefaultClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13784 : {
13785 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13786 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13787 0 : }
13788 :
13789 :
13790 : void
13791 0 : SgOmpDefaultClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13792 : {
13793 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13794 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13795 0 : }
13796 :
13797 :
13798 :
13799 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13800 :
13801 :
13802 : // ********************************************************
13803 :
13804 : /* #line 13805 "../../../src/frontend/SageIII//StorageClasses.C" */
13805 :
13806 :
13807 :
13808 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13809 :
13810 : // ****************************************************************
13811 : // member functions definition specific to each node in the grammar
13812 : // these are the SgOmpAllocatorClauseStorageClass parts !!!!
13813 : // ROSETTA generated code. Do not change by hand.
13814 : // ****************************************************************
13815 :
13816 :
13817 : /* #line 13818 "../../../src/frontend/SageIII//StorageClasses.C" */
13818 :
13819 :
13820 : void
13821 0 : SgOmpAllocatorClauseStorageClass::pickOutIRNodeData ( SgOmpAllocatorClause* pointer )
13822 : {
13823 0 : SgOmpAllocatorClause* source = (SgOmpAllocatorClause*) (pointer);
13824 : #if FILE_IO_EXTRA_CHECK
13825 0 : assert ( source != NULL ) ;
13826 0 : assert ( source->p_freepointer != NULL) ;
13827 : #endif
13828 0 : storageOf_modifier = source->p_modifier ;
13829 0 : storageOf_user_defined_modifier = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_user_defined_modifier );
13830 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13831 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13832 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13833 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13834 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13835 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13836 0 : storageOf_isModified = source->p_isModified ;
13837 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13838 0 : }
13839 :
13840 : void
13841 0 : SgOmpAllocatorClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13842 : {
13843 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13844 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13845 0 : }
13846 :
13847 : void
13848 2 : SgOmpAllocatorClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13849 : {
13850 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13851 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13852 2 : }
13853 :
13854 : void
13855 0 : SgOmpAllocatorClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13856 : {
13857 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13858 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13859 0 : }
13860 :
13861 :
13862 : void
13863 0 : SgOmpAllocatorClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13864 : {
13865 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13866 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13867 0 : }
13868 :
13869 :
13870 :
13871 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13872 :
13873 :
13874 : // ********************************************************
13875 :
13876 : /* #line 13877 "../../../src/frontend/SageIII//StorageClasses.C" */
13877 :
13878 :
13879 :
13880 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13881 :
13882 : // ****************************************************************
13883 : // member functions definition specific to each node in the grammar
13884 : // these are the SgOmpAtomicClauseStorageClass parts !!!!
13885 : // ROSETTA generated code. Do not change by hand.
13886 : // ****************************************************************
13887 :
13888 :
13889 : /* #line 13890 "../../../src/frontend/SageIII//StorageClasses.C" */
13890 :
13891 :
13892 : void
13893 0 : SgOmpAtomicClauseStorageClass::pickOutIRNodeData ( SgOmpAtomicClause* pointer )
13894 : {
13895 0 : SgOmpAtomicClause* source = (SgOmpAtomicClause*) (pointer);
13896 : #if FILE_IO_EXTRA_CHECK
13897 0 : assert ( source != NULL ) ;
13898 0 : assert ( source->p_freepointer != NULL) ;
13899 : #endif
13900 0 : storageOf_atomicity = source->p_atomicity ;
13901 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13902 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13903 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13904 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13905 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13906 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13907 0 : storageOf_isModified = source->p_isModified ;
13908 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13909 0 : }
13910 :
13911 : void
13912 0 : SgOmpAtomicClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13913 : {
13914 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13915 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13916 0 : }
13917 :
13918 : void
13919 2 : SgOmpAtomicClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13920 : {
13921 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13922 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13923 2 : }
13924 :
13925 : void
13926 0 : SgOmpAtomicClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13927 : {
13928 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
13929 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
13930 0 : }
13931 :
13932 :
13933 : void
13934 0 : SgOmpAtomicClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
13935 : {
13936 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
13937 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
13938 0 : }
13939 :
13940 :
13941 :
13942 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13943 :
13944 :
13945 : // ********************************************************
13946 :
13947 : /* #line 13948 "../../../src/frontend/SageIII//StorageClasses.C" */
13948 :
13949 :
13950 :
13951 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
13952 :
13953 : // ****************************************************************
13954 : // member functions definition specific to each node in the grammar
13955 : // these are the SgOmpProcBindClauseStorageClass parts !!!!
13956 : // ROSETTA generated code. Do not change by hand.
13957 : // ****************************************************************
13958 :
13959 :
13960 : /* #line 13961 "../../../src/frontend/SageIII//StorageClasses.C" */
13961 :
13962 :
13963 : void
13964 0 : SgOmpProcBindClauseStorageClass::pickOutIRNodeData ( SgOmpProcBindClause* pointer )
13965 : {
13966 0 : SgOmpProcBindClause* source = (SgOmpProcBindClause*) (pointer);
13967 : #if FILE_IO_EXTRA_CHECK
13968 0 : assert ( source != NULL ) ;
13969 0 : assert ( source->p_freepointer != NULL) ;
13970 : #endif
13971 0 : storageOf_policy = source->p_policy ;
13972 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
13973 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
13974 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
13975 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
13976 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
13977 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
13978 0 : storageOf_isModified = source->p_isModified ;
13979 0 : storageOf_containsTransformation = source->p_containsTransformation ;
13980 0 : }
13981 :
13982 : void
13983 0 : SgOmpProcBindClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
13984 : {
13985 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
13986 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
13987 0 : }
13988 :
13989 : void
13990 2 : SgOmpProcBindClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
13991 : {
13992 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
13993 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
13994 2 : }
13995 :
13996 : void
13997 0 : SgOmpProcBindClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
13998 : {
13999 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14000 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14001 0 : }
14002 :
14003 :
14004 : void
14005 0 : SgOmpProcBindClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14006 : {
14007 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14008 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14009 0 : }
14010 :
14011 :
14012 :
14013 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14014 :
14015 :
14016 : // ********************************************************
14017 :
14018 : /* #line 14019 "../../../src/frontend/SageIII//StorageClasses.C" */
14019 :
14020 :
14021 :
14022 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14023 :
14024 : // ****************************************************************
14025 : // member functions definition specific to each node in the grammar
14026 : // these are the SgOmpBindClauseStorageClass parts !!!!
14027 : // ROSETTA generated code. Do not change by hand.
14028 : // ****************************************************************
14029 :
14030 :
14031 : /* #line 14032 "../../../src/frontend/SageIII//StorageClasses.C" */
14032 :
14033 :
14034 : void
14035 0 : SgOmpBindClauseStorageClass::pickOutIRNodeData ( SgOmpBindClause* pointer )
14036 : {
14037 0 : SgOmpBindClause* source = (SgOmpBindClause*) (pointer);
14038 : #if FILE_IO_EXTRA_CHECK
14039 0 : assert ( source != NULL ) ;
14040 0 : assert ( source->p_freepointer != NULL) ;
14041 : #endif
14042 0 : storageOf_binding = source->p_binding ;
14043 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14044 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14045 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14046 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14047 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14048 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14049 0 : storageOf_isModified = source->p_isModified ;
14050 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14051 0 : }
14052 :
14053 : void
14054 0 : SgOmpBindClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14055 : {
14056 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14057 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14058 0 : }
14059 :
14060 : void
14061 2 : SgOmpBindClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14062 : {
14063 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14064 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14065 2 : }
14066 :
14067 : void
14068 0 : SgOmpBindClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14069 : {
14070 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14071 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14072 0 : }
14073 :
14074 :
14075 : void
14076 0 : SgOmpBindClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14077 : {
14078 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14079 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14080 0 : }
14081 :
14082 :
14083 :
14084 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14085 :
14086 :
14087 : // ********************************************************
14088 :
14089 : /* #line 14090 "../../../src/frontend/SageIII//StorageClasses.C" */
14090 :
14091 :
14092 :
14093 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14094 :
14095 : // ****************************************************************
14096 : // member functions definition specific to each node in the grammar
14097 : // these are the SgOmpOrderClauseStorageClass parts !!!!
14098 : // ROSETTA generated code. Do not change by hand.
14099 : // ****************************************************************
14100 :
14101 :
14102 : /* #line 14103 "../../../src/frontend/SageIII//StorageClasses.C" */
14103 :
14104 :
14105 : void
14106 0 : SgOmpOrderClauseStorageClass::pickOutIRNodeData ( SgOmpOrderClause* pointer )
14107 : {
14108 0 : SgOmpOrderClause* source = (SgOmpOrderClause*) (pointer);
14109 : #if FILE_IO_EXTRA_CHECK
14110 0 : assert ( source != NULL ) ;
14111 0 : assert ( source->p_freepointer != NULL) ;
14112 : #endif
14113 0 : storageOf_kind = source->p_kind ;
14114 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14115 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14116 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14117 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14118 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14119 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14120 0 : storageOf_isModified = source->p_isModified ;
14121 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14122 0 : }
14123 :
14124 : void
14125 0 : SgOmpOrderClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14126 : {
14127 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14128 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14129 0 : }
14130 :
14131 : void
14132 2 : SgOmpOrderClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14133 : {
14134 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14135 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14136 2 : }
14137 :
14138 : void
14139 0 : SgOmpOrderClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14140 : {
14141 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14142 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14143 0 : }
14144 :
14145 :
14146 : void
14147 0 : SgOmpOrderClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14148 : {
14149 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14150 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14151 0 : }
14152 :
14153 :
14154 :
14155 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14156 :
14157 :
14158 : // ********************************************************
14159 :
14160 : /* #line 14161 "../../../src/frontend/SageIII//StorageClasses.C" */
14161 :
14162 :
14163 :
14164 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14165 :
14166 : // ****************************************************************
14167 : // member functions definition specific to each node in the grammar
14168 : // these are the SgOmpDistScheduleClauseStorageClass parts !!!!
14169 : // ROSETTA generated code. Do not change by hand.
14170 : // ****************************************************************
14171 :
14172 :
14173 : /* #line 14174 "../../../src/frontend/SageIII//StorageClasses.C" */
14174 :
14175 :
14176 : void
14177 0 : SgOmpDistScheduleClauseStorageClass::pickOutIRNodeData ( SgOmpDistScheduleClause* pointer )
14178 : {
14179 0 : SgOmpDistScheduleClause* source = (SgOmpDistScheduleClause*) (pointer);
14180 : #if FILE_IO_EXTRA_CHECK
14181 0 : assert ( source != NULL ) ;
14182 0 : assert ( source->p_freepointer != NULL) ;
14183 : #endif
14184 0 : storageOf_kind = source->p_kind ;
14185 0 : storageOf_chunk_size = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_chunk_size );
14186 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14187 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14188 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14189 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14190 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14191 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14192 0 : storageOf_isModified = source->p_isModified ;
14193 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14194 0 : }
14195 :
14196 : void
14197 0 : SgOmpDistScheduleClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14198 : {
14199 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14200 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14201 0 : }
14202 :
14203 : void
14204 2 : SgOmpDistScheduleClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14205 : {
14206 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14207 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14208 2 : }
14209 :
14210 : void
14211 0 : SgOmpDistScheduleClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14212 : {
14213 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14214 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14215 0 : }
14216 :
14217 :
14218 : void
14219 0 : SgOmpDistScheduleClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14220 : {
14221 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14222 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14223 0 : }
14224 :
14225 :
14226 :
14227 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14228 :
14229 :
14230 : // ********************************************************
14231 :
14232 : /* #line 14233 "../../../src/frontend/SageIII//StorageClasses.C" */
14233 :
14234 :
14235 :
14236 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14237 :
14238 : // ****************************************************************
14239 : // member functions definition specific to each node in the grammar
14240 : // these are the SgOmpExpressionClauseStorageClass parts !!!!
14241 : // ROSETTA generated code. Do not change by hand.
14242 : // ****************************************************************
14243 :
14244 :
14245 : /* #line 14246 "../../../src/frontend/SageIII//StorageClasses.C" */
14246 :
14247 :
14248 : void
14249 0 : SgOmpExpressionClauseStorageClass::pickOutIRNodeData ( SgOmpExpressionClause* pointer )
14250 : {
14251 0 : SgOmpExpressionClause* source = (SgOmpExpressionClause*) (pointer);
14252 : #if FILE_IO_EXTRA_CHECK
14253 0 : assert ( source != NULL ) ;
14254 0 : assert ( source->p_freepointer != NULL) ;
14255 : #endif
14256 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
14257 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14258 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14259 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14260 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14261 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14262 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14263 0 : storageOf_isModified = source->p_isModified ;
14264 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14265 0 : }
14266 :
14267 : void
14268 0 : SgOmpExpressionClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14269 : {
14270 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14271 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14272 0 : }
14273 :
14274 : void
14275 2 : SgOmpExpressionClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14276 : {
14277 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14278 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14279 2 : }
14280 :
14281 : void
14282 0 : SgOmpExpressionClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14283 : {
14284 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14285 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14286 0 : }
14287 :
14288 :
14289 : void
14290 0 : SgOmpExpressionClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14291 : {
14292 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14293 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14294 0 : }
14295 :
14296 :
14297 :
14298 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14299 :
14300 :
14301 : // ********************************************************
14302 :
14303 : /* #line 14304 "../../../src/frontend/SageIII//StorageClasses.C" */
14304 :
14305 :
14306 :
14307 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14308 :
14309 : // ****************************************************************
14310 : // member functions definition specific to each node in the grammar
14311 : // these are the SgOmpOrderedClauseStorageClass parts !!!!
14312 : // ROSETTA generated code. Do not change by hand.
14313 : // ****************************************************************
14314 :
14315 :
14316 : /* #line 14317 "../../../src/frontend/SageIII//StorageClasses.C" */
14317 :
14318 :
14319 : void
14320 0 : SgOmpOrderedClauseStorageClass::pickOutIRNodeData ( SgOmpOrderedClause* pointer )
14321 : {
14322 0 : SgOmpOrderedClause* source = (SgOmpOrderedClause*) (pointer);
14323 : #if FILE_IO_EXTRA_CHECK
14324 0 : assert ( source != NULL ) ;
14325 0 : assert ( source->p_freepointer != NULL) ;
14326 : #endif
14327 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
14328 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14329 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14330 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14331 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14332 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14333 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14334 0 : storageOf_isModified = source->p_isModified ;
14335 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14336 0 : }
14337 :
14338 : void
14339 0 : SgOmpOrderedClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14340 : {
14341 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14342 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14343 0 : }
14344 :
14345 : void
14346 2 : SgOmpOrderedClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14347 : {
14348 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14349 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14350 2 : }
14351 :
14352 : void
14353 0 : SgOmpOrderedClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14354 : {
14355 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14356 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14357 0 : }
14358 :
14359 :
14360 : void
14361 0 : SgOmpOrderedClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14362 : {
14363 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14364 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14365 0 : }
14366 :
14367 :
14368 :
14369 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14370 :
14371 :
14372 : // ********************************************************
14373 :
14374 : /* #line 14375 "../../../src/frontend/SageIII//StorageClasses.C" */
14375 :
14376 :
14377 :
14378 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14379 :
14380 : // ****************************************************************
14381 : // member functions definition specific to each node in the grammar
14382 : // these are the SgOmpCollapseClauseStorageClass parts !!!!
14383 : // ROSETTA generated code. Do not change by hand.
14384 : // ****************************************************************
14385 :
14386 :
14387 : /* #line 14388 "../../../src/frontend/SageIII//StorageClasses.C" */
14388 :
14389 :
14390 : void
14391 0 : SgOmpCollapseClauseStorageClass::pickOutIRNodeData ( SgOmpCollapseClause* pointer )
14392 : {
14393 0 : SgOmpCollapseClause* source = (SgOmpCollapseClause*) (pointer);
14394 : #if FILE_IO_EXTRA_CHECK
14395 0 : assert ( source != NULL ) ;
14396 0 : assert ( source->p_freepointer != NULL) ;
14397 : #endif
14398 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
14399 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14400 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14401 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14402 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14403 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14404 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14405 0 : storageOf_isModified = source->p_isModified ;
14406 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14407 0 : }
14408 :
14409 : void
14410 0 : SgOmpCollapseClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14411 : {
14412 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14413 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14414 0 : }
14415 :
14416 : void
14417 2 : SgOmpCollapseClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14418 : {
14419 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14420 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14421 2 : }
14422 :
14423 : void
14424 0 : SgOmpCollapseClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14425 : {
14426 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14427 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14428 0 : }
14429 :
14430 :
14431 : void
14432 0 : SgOmpCollapseClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14433 : {
14434 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14435 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14436 0 : }
14437 :
14438 :
14439 :
14440 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14441 :
14442 :
14443 : // ********************************************************
14444 :
14445 : /* #line 14446 "../../../src/frontend/SageIII//StorageClasses.C" */
14446 :
14447 :
14448 :
14449 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14450 :
14451 : // ****************************************************************
14452 : // member functions definition specific to each node in the grammar
14453 : // these are the SgOmpIfClauseStorageClass parts !!!!
14454 : // ROSETTA generated code. Do not change by hand.
14455 : // ****************************************************************
14456 :
14457 :
14458 : /* #line 14459 "../../../src/frontend/SageIII//StorageClasses.C" */
14459 :
14460 :
14461 : void
14462 0 : SgOmpIfClauseStorageClass::pickOutIRNodeData ( SgOmpIfClause* pointer )
14463 : {
14464 0 : SgOmpIfClause* source = (SgOmpIfClause*) (pointer);
14465 : #if FILE_IO_EXTRA_CHECK
14466 0 : assert ( source != NULL ) ;
14467 0 : assert ( source->p_freepointer != NULL) ;
14468 : #endif
14469 0 : storageOf_modifier = source->p_modifier ;
14470 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
14471 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14472 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14473 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14474 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14475 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14476 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14477 0 : storageOf_isModified = source->p_isModified ;
14478 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14479 0 : }
14480 :
14481 : void
14482 0 : SgOmpIfClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14483 : {
14484 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14485 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14486 0 : }
14487 :
14488 : void
14489 2 : SgOmpIfClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14490 : {
14491 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14492 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14493 2 : }
14494 :
14495 : void
14496 0 : SgOmpIfClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14497 : {
14498 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14499 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14500 0 : }
14501 :
14502 :
14503 : void
14504 0 : SgOmpIfClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14505 : {
14506 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14507 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14508 0 : }
14509 :
14510 :
14511 :
14512 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14513 :
14514 :
14515 : // ********************************************************
14516 :
14517 : /* #line 14518 "../../../src/frontend/SageIII//StorageClasses.C" */
14518 :
14519 :
14520 :
14521 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14522 :
14523 : // ****************************************************************
14524 : // member functions definition specific to each node in the grammar
14525 : // these are the SgUpirNumUnitsFieldStorageClass parts !!!!
14526 : // ROSETTA generated code. Do not change by hand.
14527 : // ****************************************************************
14528 :
14529 :
14530 : /* #line 14531 "../../../src/frontend/SageIII//StorageClasses.C" */
14531 :
14532 :
14533 : void
14534 0 : SgUpirNumUnitsFieldStorageClass::pickOutIRNodeData ( SgUpirNumUnitsField* pointer )
14535 : {
14536 0 : SgUpirNumUnitsField* source = (SgUpirNumUnitsField*) (pointer);
14537 : #if FILE_IO_EXTRA_CHECK
14538 0 : assert ( source != NULL ) ;
14539 0 : assert ( source->p_freepointer != NULL) ;
14540 : #endif
14541 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
14542 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14543 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14544 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14545 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14546 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14547 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14548 0 : storageOf_isModified = source->p_isModified ;
14549 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14550 0 : }
14551 :
14552 : void
14553 0 : SgUpirNumUnitsFieldStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14554 : {
14555 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14556 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14557 0 : }
14558 :
14559 : void
14560 2 : SgUpirNumUnitsFieldStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14561 : {
14562 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14563 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14564 2 : }
14565 :
14566 : void
14567 0 : SgUpirNumUnitsFieldStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14568 : {
14569 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14570 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14571 0 : }
14572 :
14573 :
14574 : void
14575 0 : SgUpirNumUnitsFieldStorageClass::readEasyStorageDataFromFile (std::istream& in)
14576 : {
14577 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14578 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14579 0 : }
14580 :
14581 :
14582 :
14583 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14584 :
14585 :
14586 : // ********************************************************
14587 :
14588 : /* #line 14589 "../../../src/frontend/SageIII//StorageClasses.C" */
14589 :
14590 :
14591 :
14592 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14593 :
14594 : // ****************************************************************
14595 : // member functions definition specific to each node in the grammar
14596 : // these are the SgOmpNumTeamsClauseStorageClass parts !!!!
14597 : // ROSETTA generated code. Do not change by hand.
14598 : // ****************************************************************
14599 :
14600 :
14601 : /* #line 14602 "../../../src/frontend/SageIII//StorageClasses.C" */
14602 :
14603 :
14604 : void
14605 0 : SgOmpNumTeamsClauseStorageClass::pickOutIRNodeData ( SgOmpNumTeamsClause* pointer )
14606 : {
14607 0 : SgOmpNumTeamsClause* source = (SgOmpNumTeamsClause*) (pointer);
14608 : #if FILE_IO_EXTRA_CHECK
14609 0 : assert ( source != NULL ) ;
14610 0 : assert ( source->p_freepointer != NULL) ;
14611 : #endif
14612 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
14613 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14614 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14615 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14616 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14617 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14618 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14619 0 : storageOf_isModified = source->p_isModified ;
14620 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14621 0 : }
14622 :
14623 : void
14624 0 : SgOmpNumTeamsClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14625 : {
14626 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14627 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14628 0 : }
14629 :
14630 : void
14631 2 : SgOmpNumTeamsClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14632 : {
14633 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14634 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14635 2 : }
14636 :
14637 : void
14638 0 : SgOmpNumTeamsClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14639 : {
14640 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14641 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14642 0 : }
14643 :
14644 :
14645 : void
14646 0 : SgOmpNumTeamsClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14647 : {
14648 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14649 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14650 0 : }
14651 :
14652 :
14653 :
14654 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14655 :
14656 :
14657 : // ********************************************************
14658 :
14659 : /* #line 14660 "../../../src/frontend/SageIII//StorageClasses.C" */
14660 :
14661 :
14662 :
14663 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14664 :
14665 : // ****************************************************************
14666 : // member functions definition specific to each node in the grammar
14667 : // these are the SgOmpThreadLimitClauseStorageClass parts !!!!
14668 : // ROSETTA generated code. Do not change by hand.
14669 : // ****************************************************************
14670 :
14671 :
14672 : /* #line 14673 "../../../src/frontend/SageIII//StorageClasses.C" */
14673 :
14674 :
14675 : void
14676 0 : SgOmpThreadLimitClauseStorageClass::pickOutIRNodeData ( SgOmpThreadLimitClause* pointer )
14677 : {
14678 0 : SgOmpThreadLimitClause* source = (SgOmpThreadLimitClause*) (pointer);
14679 : #if FILE_IO_EXTRA_CHECK
14680 0 : assert ( source != NULL ) ;
14681 0 : assert ( source->p_freepointer != NULL) ;
14682 : #endif
14683 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
14684 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14685 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14686 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14687 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14688 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14689 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14690 0 : storageOf_isModified = source->p_isModified ;
14691 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14692 0 : }
14693 :
14694 : void
14695 0 : SgOmpThreadLimitClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14696 : {
14697 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14698 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14699 0 : }
14700 :
14701 : void
14702 2 : SgOmpThreadLimitClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14703 : {
14704 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14705 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14706 2 : }
14707 :
14708 : void
14709 0 : SgOmpThreadLimitClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14710 : {
14711 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14712 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14713 0 : }
14714 :
14715 :
14716 : void
14717 0 : SgOmpThreadLimitClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14718 : {
14719 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14720 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14721 0 : }
14722 :
14723 :
14724 :
14725 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14726 :
14727 :
14728 : // ********************************************************
14729 :
14730 : /* #line 14731 "../../../src/frontend/SageIII//StorageClasses.C" */
14731 :
14732 :
14733 :
14734 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14735 :
14736 : // ****************************************************************
14737 : // member functions definition specific to each node in the grammar
14738 : // these are the SgOmpDeviceClauseStorageClass parts !!!!
14739 : // ROSETTA generated code. Do not change by hand.
14740 : // ****************************************************************
14741 :
14742 :
14743 : /* #line 14744 "../../../src/frontend/SageIII//StorageClasses.C" */
14744 :
14745 :
14746 : void
14747 0 : SgOmpDeviceClauseStorageClass::pickOutIRNodeData ( SgOmpDeviceClause* pointer )
14748 : {
14749 0 : SgOmpDeviceClause* source = (SgOmpDeviceClause*) (pointer);
14750 : #if FILE_IO_EXTRA_CHECK
14751 0 : assert ( source != NULL ) ;
14752 0 : assert ( source->p_freepointer != NULL) ;
14753 : #endif
14754 0 : storageOf_modifier = source->p_modifier ;
14755 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
14756 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14757 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14758 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14759 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14760 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14761 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14762 0 : storageOf_isModified = source->p_isModified ;
14763 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14764 0 : }
14765 :
14766 : void
14767 0 : SgOmpDeviceClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14768 : {
14769 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14770 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14771 0 : }
14772 :
14773 : void
14774 2 : SgOmpDeviceClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14775 : {
14776 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14777 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14778 2 : }
14779 :
14780 : void
14781 0 : SgOmpDeviceClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14782 : {
14783 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14784 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14785 0 : }
14786 :
14787 :
14788 : void
14789 0 : SgOmpDeviceClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14790 : {
14791 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14792 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14793 0 : }
14794 :
14795 :
14796 :
14797 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14798 :
14799 :
14800 : // ********************************************************
14801 :
14802 : /* #line 14803 "../../../src/frontend/SageIII//StorageClasses.C" */
14803 :
14804 :
14805 :
14806 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14807 :
14808 : // ****************************************************************
14809 : // member functions definition specific to each node in the grammar
14810 : // these are the SgOmpHintClauseStorageClass parts !!!!
14811 : // ROSETTA generated code. Do not change by hand.
14812 : // ****************************************************************
14813 :
14814 :
14815 : /* #line 14816 "../../../src/frontend/SageIII//StorageClasses.C" */
14816 :
14817 :
14818 : void
14819 0 : SgOmpHintClauseStorageClass::pickOutIRNodeData ( SgOmpHintClause* pointer )
14820 : {
14821 0 : SgOmpHintClause* source = (SgOmpHintClause*) (pointer);
14822 : #if FILE_IO_EXTRA_CHECK
14823 0 : assert ( source != NULL ) ;
14824 0 : assert ( source->p_freepointer != NULL) ;
14825 : #endif
14826 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
14827 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14828 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14829 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14830 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14831 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14832 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14833 0 : storageOf_isModified = source->p_isModified ;
14834 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14835 0 : }
14836 :
14837 : void
14838 0 : SgOmpHintClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14839 : {
14840 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14841 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14842 0 : }
14843 :
14844 : void
14845 2 : SgOmpHintClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14846 : {
14847 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14848 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14849 2 : }
14850 :
14851 : void
14852 0 : SgOmpHintClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14853 : {
14854 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14855 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14856 0 : }
14857 :
14858 :
14859 : void
14860 0 : SgOmpHintClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14861 : {
14862 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14863 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14864 0 : }
14865 :
14866 :
14867 :
14868 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14869 :
14870 :
14871 : // ********************************************************
14872 :
14873 : /* #line 14874 "../../../src/frontend/SageIII//StorageClasses.C" */
14874 :
14875 :
14876 :
14877 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14878 :
14879 : // ****************************************************************
14880 : // member functions definition specific to each node in the grammar
14881 : // these are the SgOmpGrainsizeClauseStorageClass parts !!!!
14882 : // ROSETTA generated code. Do not change by hand.
14883 : // ****************************************************************
14884 :
14885 :
14886 : /* #line 14887 "../../../src/frontend/SageIII//StorageClasses.C" */
14887 :
14888 :
14889 : void
14890 0 : SgOmpGrainsizeClauseStorageClass::pickOutIRNodeData ( SgOmpGrainsizeClause* pointer )
14891 : {
14892 0 : SgOmpGrainsizeClause* source = (SgOmpGrainsizeClause*) (pointer);
14893 : #if FILE_IO_EXTRA_CHECK
14894 0 : assert ( source != NULL ) ;
14895 0 : assert ( source->p_freepointer != NULL) ;
14896 : #endif
14897 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
14898 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14899 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14900 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14901 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14902 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14903 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14904 0 : storageOf_isModified = source->p_isModified ;
14905 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14906 0 : }
14907 :
14908 : void
14909 0 : SgOmpGrainsizeClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14910 : {
14911 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14912 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14913 0 : }
14914 :
14915 : void
14916 2 : SgOmpGrainsizeClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14917 : {
14918 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14919 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14920 2 : }
14921 :
14922 : void
14923 0 : SgOmpGrainsizeClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14924 : {
14925 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14926 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14927 0 : }
14928 :
14929 :
14930 : void
14931 0 : SgOmpGrainsizeClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
14932 : {
14933 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
14934 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
14935 0 : }
14936 :
14937 :
14938 :
14939 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14940 :
14941 :
14942 : // ********************************************************
14943 :
14944 : /* #line 14945 "../../../src/frontend/SageIII//StorageClasses.C" */
14945 :
14946 :
14947 :
14948 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
14949 :
14950 : // ****************************************************************
14951 : // member functions definition specific to each node in the grammar
14952 : // these are the SgOmpNumTasksClauseStorageClass parts !!!!
14953 : // ROSETTA generated code. Do not change by hand.
14954 : // ****************************************************************
14955 :
14956 :
14957 : /* #line 14958 "../../../src/frontend/SageIII//StorageClasses.C" */
14958 :
14959 :
14960 : void
14961 0 : SgOmpNumTasksClauseStorageClass::pickOutIRNodeData ( SgOmpNumTasksClause* pointer )
14962 : {
14963 0 : SgOmpNumTasksClause* source = (SgOmpNumTasksClause*) (pointer);
14964 : #if FILE_IO_EXTRA_CHECK
14965 0 : assert ( source != NULL ) ;
14966 0 : assert ( source->p_freepointer != NULL) ;
14967 : #endif
14968 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
14969 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
14970 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
14971 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
14972 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
14973 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
14974 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
14975 0 : storageOf_isModified = source->p_isModified ;
14976 0 : storageOf_containsTransformation = source->p_containsTransformation ;
14977 0 : }
14978 :
14979 : void
14980 0 : SgOmpNumTasksClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
14981 : {
14982 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
14983 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
14984 0 : }
14985 :
14986 : void
14987 2 : SgOmpNumTasksClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
14988 : {
14989 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
14990 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
14991 2 : }
14992 :
14993 : void
14994 0 : SgOmpNumTasksClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
14995 : {
14996 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
14997 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
14998 0 : }
14999 :
15000 :
15001 : void
15002 0 : SgOmpNumTasksClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15003 : {
15004 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15005 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15006 0 : }
15007 :
15008 :
15009 :
15010 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15011 :
15012 :
15013 : // ********************************************************
15014 :
15015 : /* #line 15016 "../../../src/frontend/SageIII//StorageClasses.C" */
15016 :
15017 :
15018 :
15019 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15020 :
15021 : // ****************************************************************
15022 : // member functions definition specific to each node in the grammar
15023 : // these are the SgOmpDetachClauseStorageClass parts !!!!
15024 : // ROSETTA generated code. Do not change by hand.
15025 : // ****************************************************************
15026 :
15027 :
15028 : /* #line 15029 "../../../src/frontend/SageIII//StorageClasses.C" */
15029 :
15030 :
15031 : void
15032 0 : SgOmpDetachClauseStorageClass::pickOutIRNodeData ( SgOmpDetachClause* pointer )
15033 : {
15034 0 : SgOmpDetachClause* source = (SgOmpDetachClause*) (pointer);
15035 : #if FILE_IO_EXTRA_CHECK
15036 0 : assert ( source != NULL ) ;
15037 0 : assert ( source->p_freepointer != NULL) ;
15038 : #endif
15039 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
15040 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15041 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15042 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15043 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15044 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15045 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15046 0 : storageOf_isModified = source->p_isModified ;
15047 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15048 0 : }
15049 :
15050 : void
15051 0 : SgOmpDetachClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15052 : {
15053 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15054 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15055 0 : }
15056 :
15057 : void
15058 2 : SgOmpDetachClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15059 : {
15060 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15061 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15062 2 : }
15063 :
15064 : void
15065 0 : SgOmpDetachClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15066 : {
15067 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15068 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15069 0 : }
15070 :
15071 :
15072 : void
15073 0 : SgOmpDetachClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15074 : {
15075 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15076 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15077 0 : }
15078 :
15079 :
15080 :
15081 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15082 :
15083 :
15084 : // ********************************************************
15085 :
15086 : /* #line 15087 "../../../src/frontend/SageIII//StorageClasses.C" */
15087 :
15088 :
15089 :
15090 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15091 :
15092 : // ****************************************************************
15093 : // member functions definition specific to each node in the grammar
15094 : // these are the SgOmpSafelenClauseStorageClass parts !!!!
15095 : // ROSETTA generated code. Do not change by hand.
15096 : // ****************************************************************
15097 :
15098 :
15099 : /* #line 15100 "../../../src/frontend/SageIII//StorageClasses.C" */
15100 :
15101 :
15102 : void
15103 0 : SgOmpSafelenClauseStorageClass::pickOutIRNodeData ( SgOmpSafelenClause* pointer )
15104 : {
15105 0 : SgOmpSafelenClause* source = (SgOmpSafelenClause*) (pointer);
15106 : #if FILE_IO_EXTRA_CHECK
15107 0 : assert ( source != NULL ) ;
15108 0 : assert ( source->p_freepointer != NULL) ;
15109 : #endif
15110 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
15111 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15112 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15113 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15114 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15115 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15116 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15117 0 : storageOf_isModified = source->p_isModified ;
15118 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15119 0 : }
15120 :
15121 : void
15122 0 : SgOmpSafelenClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15123 : {
15124 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15125 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15126 0 : }
15127 :
15128 : void
15129 2 : SgOmpSafelenClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15130 : {
15131 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15132 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15133 2 : }
15134 :
15135 : void
15136 0 : SgOmpSafelenClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15137 : {
15138 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15139 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15140 0 : }
15141 :
15142 :
15143 : void
15144 0 : SgOmpSafelenClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15145 : {
15146 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15147 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15148 0 : }
15149 :
15150 :
15151 :
15152 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15153 :
15154 :
15155 : // ********************************************************
15156 :
15157 : /* #line 15158 "../../../src/frontend/SageIII//StorageClasses.C" */
15158 :
15159 :
15160 :
15161 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15162 :
15163 : // ****************************************************************
15164 : // member functions definition specific to each node in the grammar
15165 : // these are the SgOmpSimdlenClauseStorageClass parts !!!!
15166 : // ROSETTA generated code. Do not change by hand.
15167 : // ****************************************************************
15168 :
15169 :
15170 : /* #line 15171 "../../../src/frontend/SageIII//StorageClasses.C" */
15171 :
15172 :
15173 : void
15174 0 : SgOmpSimdlenClauseStorageClass::pickOutIRNodeData ( SgOmpSimdlenClause* pointer )
15175 : {
15176 0 : SgOmpSimdlenClause* source = (SgOmpSimdlenClause*) (pointer);
15177 : #if FILE_IO_EXTRA_CHECK
15178 0 : assert ( source != NULL ) ;
15179 0 : assert ( source->p_freepointer != NULL) ;
15180 : #endif
15181 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
15182 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15183 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15184 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15185 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15186 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15187 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15188 0 : storageOf_isModified = source->p_isModified ;
15189 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15190 0 : }
15191 :
15192 : void
15193 0 : SgOmpSimdlenClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15194 : {
15195 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15196 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15197 0 : }
15198 :
15199 : void
15200 2 : SgOmpSimdlenClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15201 : {
15202 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15203 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15204 2 : }
15205 :
15206 : void
15207 0 : SgOmpSimdlenClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15208 : {
15209 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15210 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15211 0 : }
15212 :
15213 :
15214 : void
15215 0 : SgOmpSimdlenClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15216 : {
15217 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15218 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15219 0 : }
15220 :
15221 :
15222 :
15223 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15224 :
15225 :
15226 : // ********************************************************
15227 :
15228 : /* #line 15229 "../../../src/frontend/SageIII//StorageClasses.C" */
15229 :
15230 :
15231 :
15232 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15233 :
15234 : // ****************************************************************
15235 : // member functions definition specific to each node in the grammar
15236 : // these are the SgOmpFinalClauseStorageClass parts !!!!
15237 : // ROSETTA generated code. Do not change by hand.
15238 : // ****************************************************************
15239 :
15240 :
15241 : /* #line 15242 "../../../src/frontend/SageIII//StorageClasses.C" */
15242 :
15243 :
15244 : void
15245 0 : SgOmpFinalClauseStorageClass::pickOutIRNodeData ( SgOmpFinalClause* pointer )
15246 : {
15247 0 : SgOmpFinalClause* source = (SgOmpFinalClause*) (pointer);
15248 : #if FILE_IO_EXTRA_CHECK
15249 0 : assert ( source != NULL ) ;
15250 0 : assert ( source->p_freepointer != NULL) ;
15251 : #endif
15252 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
15253 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15254 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15255 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15256 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15257 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15258 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15259 0 : storageOf_isModified = source->p_isModified ;
15260 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15261 0 : }
15262 :
15263 : void
15264 0 : SgOmpFinalClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15265 : {
15266 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15267 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15268 0 : }
15269 :
15270 : void
15271 2 : SgOmpFinalClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15272 : {
15273 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15274 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15275 2 : }
15276 :
15277 : void
15278 0 : SgOmpFinalClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15279 : {
15280 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15281 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15282 0 : }
15283 :
15284 :
15285 : void
15286 0 : SgOmpFinalClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15287 : {
15288 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15289 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15290 0 : }
15291 :
15292 :
15293 :
15294 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15295 :
15296 :
15297 : // ********************************************************
15298 :
15299 : /* #line 15300 "../../../src/frontend/SageIII//StorageClasses.C" */
15300 :
15301 :
15302 :
15303 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15304 :
15305 : // ****************************************************************
15306 : // member functions definition specific to each node in the grammar
15307 : // these are the SgOmpPriorityClauseStorageClass parts !!!!
15308 : // ROSETTA generated code. Do not change by hand.
15309 : // ****************************************************************
15310 :
15311 :
15312 : /* #line 15313 "../../../src/frontend/SageIII//StorageClasses.C" */
15313 :
15314 :
15315 : void
15316 0 : SgOmpPriorityClauseStorageClass::pickOutIRNodeData ( SgOmpPriorityClause* pointer )
15317 : {
15318 0 : SgOmpPriorityClause* source = (SgOmpPriorityClause*) (pointer);
15319 : #if FILE_IO_EXTRA_CHECK
15320 0 : assert ( source != NULL ) ;
15321 0 : assert ( source->p_freepointer != NULL) ;
15322 : #endif
15323 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
15324 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15325 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15326 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15327 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15328 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15329 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15330 0 : storageOf_isModified = source->p_isModified ;
15331 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15332 0 : }
15333 :
15334 : void
15335 0 : SgOmpPriorityClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15336 : {
15337 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15338 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15339 0 : }
15340 :
15341 : void
15342 2 : SgOmpPriorityClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15343 : {
15344 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15345 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15346 2 : }
15347 :
15348 : void
15349 0 : SgOmpPriorityClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15350 : {
15351 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15352 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15353 0 : }
15354 :
15355 :
15356 : void
15357 0 : SgOmpPriorityClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15358 : {
15359 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15360 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15361 0 : }
15362 :
15363 :
15364 :
15365 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15366 :
15367 :
15368 : // ********************************************************
15369 :
15370 : /* #line 15371 "../../../src/frontend/SageIII//StorageClasses.C" */
15371 :
15372 :
15373 :
15374 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15375 :
15376 : // ****************************************************************
15377 : // member functions definition specific to each node in the grammar
15378 : // these are the SgOmpPartialClauseStorageClass parts !!!!
15379 : // ROSETTA generated code. Do not change by hand.
15380 : // ****************************************************************
15381 :
15382 :
15383 : /* #line 15384 "../../../src/frontend/SageIII//StorageClasses.C" */
15384 :
15385 :
15386 : void
15387 0 : SgOmpPartialClauseStorageClass::pickOutIRNodeData ( SgOmpPartialClause* pointer )
15388 : {
15389 0 : SgOmpPartialClause* source = (SgOmpPartialClause*) (pointer);
15390 : #if FILE_IO_EXTRA_CHECK
15391 0 : assert ( source != NULL ) ;
15392 0 : assert ( source->p_freepointer != NULL) ;
15393 : #endif
15394 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
15395 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15396 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15397 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15398 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15399 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15400 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15401 0 : storageOf_isModified = source->p_isModified ;
15402 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15403 0 : }
15404 :
15405 : void
15406 0 : SgOmpPartialClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15407 : {
15408 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15409 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15410 0 : }
15411 :
15412 : void
15413 2 : SgOmpPartialClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15414 : {
15415 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15416 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15417 2 : }
15418 :
15419 : void
15420 0 : SgOmpPartialClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15421 : {
15422 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15423 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15424 0 : }
15425 :
15426 :
15427 : void
15428 0 : SgOmpPartialClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15429 : {
15430 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15431 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15432 0 : }
15433 :
15434 :
15435 :
15436 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15437 :
15438 :
15439 : // ********************************************************
15440 :
15441 : /* #line 15442 "../../../src/frontend/SageIII//StorageClasses.C" */
15442 :
15443 :
15444 :
15445 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15446 :
15447 : // ****************************************************************
15448 : // member functions definition specific to each node in the grammar
15449 : // these are the SgOmpSizesClauseStorageClass parts !!!!
15450 : // ROSETTA generated code. Do not change by hand.
15451 : // ****************************************************************
15452 :
15453 :
15454 : /* #line 15455 "../../../src/frontend/SageIII//StorageClasses.C" */
15455 :
15456 :
15457 : void
15458 0 : SgOmpSizesClauseStorageClass::pickOutIRNodeData ( SgOmpSizesClause* pointer )
15459 : {
15460 0 : SgOmpSizesClause* source = (SgOmpSizesClause*) (pointer);
15461 : #if FILE_IO_EXTRA_CHECK
15462 0 : assert ( source != NULL ) ;
15463 0 : assert ( source->p_freepointer != NULL) ;
15464 : #endif
15465 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
15466 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15467 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15468 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15469 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15470 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15471 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15472 0 : storageOf_isModified = source->p_isModified ;
15473 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15474 0 : }
15475 :
15476 : void
15477 0 : SgOmpSizesClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15478 : {
15479 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15480 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15481 0 : }
15482 :
15483 : void
15484 2 : SgOmpSizesClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15485 : {
15486 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15487 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15488 2 : }
15489 :
15490 : void
15491 0 : SgOmpSizesClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15492 : {
15493 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15494 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15495 0 : }
15496 :
15497 :
15498 : void
15499 0 : SgOmpSizesClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15500 : {
15501 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15502 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15503 0 : }
15504 :
15505 :
15506 :
15507 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15508 :
15509 :
15510 : // ********************************************************
15511 :
15512 : /* #line 15513 "../../../src/frontend/SageIII//StorageClasses.C" */
15513 :
15514 :
15515 :
15516 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15517 :
15518 : // ****************************************************************
15519 : // member functions definition specific to each node in the grammar
15520 : // these are the SgOmpInbranchClauseStorageClass parts !!!!
15521 : // ROSETTA generated code. Do not change by hand.
15522 : // ****************************************************************
15523 :
15524 :
15525 : /* #line 15526 "../../../src/frontend/SageIII//StorageClasses.C" */
15526 :
15527 :
15528 : void
15529 0 : SgOmpInbranchClauseStorageClass::pickOutIRNodeData ( SgOmpInbranchClause* pointer )
15530 : {
15531 0 : SgOmpInbranchClause* source = (SgOmpInbranchClause*) (pointer);
15532 : #if FILE_IO_EXTRA_CHECK
15533 0 : assert ( source != NULL ) ;
15534 0 : assert ( source->p_freepointer != NULL) ;
15535 : #endif
15536 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15537 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15538 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15539 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15540 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15541 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15542 0 : storageOf_isModified = source->p_isModified ;
15543 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15544 0 : }
15545 :
15546 : void
15547 0 : SgOmpInbranchClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15548 : {
15549 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15550 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15551 0 : }
15552 :
15553 : void
15554 2 : SgOmpInbranchClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15555 : {
15556 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15557 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15558 2 : }
15559 :
15560 : void
15561 0 : SgOmpInbranchClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15562 : {
15563 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15564 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15565 0 : }
15566 :
15567 :
15568 : void
15569 0 : SgOmpInbranchClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15570 : {
15571 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15572 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15573 0 : }
15574 :
15575 :
15576 :
15577 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15578 :
15579 :
15580 : // ********************************************************
15581 :
15582 : /* #line 15583 "../../../src/frontend/SageIII//StorageClasses.C" */
15583 :
15584 :
15585 :
15586 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15587 :
15588 : // ****************************************************************
15589 : // member functions definition specific to each node in the grammar
15590 : // these are the SgOmpNotinbranchClauseStorageClass parts !!!!
15591 : // ROSETTA generated code. Do not change by hand.
15592 : // ****************************************************************
15593 :
15594 :
15595 : /* #line 15596 "../../../src/frontend/SageIII//StorageClasses.C" */
15596 :
15597 :
15598 : void
15599 0 : SgOmpNotinbranchClauseStorageClass::pickOutIRNodeData ( SgOmpNotinbranchClause* pointer )
15600 : {
15601 0 : SgOmpNotinbranchClause* source = (SgOmpNotinbranchClause*) (pointer);
15602 : #if FILE_IO_EXTRA_CHECK
15603 0 : assert ( source != NULL ) ;
15604 0 : assert ( source->p_freepointer != NULL) ;
15605 : #endif
15606 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15607 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15608 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15609 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15610 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15611 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15612 0 : storageOf_isModified = source->p_isModified ;
15613 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15614 0 : }
15615 :
15616 : void
15617 0 : SgOmpNotinbranchClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15618 : {
15619 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15620 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15621 0 : }
15622 :
15623 : void
15624 2 : SgOmpNotinbranchClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15625 : {
15626 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15627 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15628 2 : }
15629 :
15630 : void
15631 0 : SgOmpNotinbranchClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15632 : {
15633 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15634 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15635 0 : }
15636 :
15637 :
15638 : void
15639 0 : SgOmpNotinbranchClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15640 : {
15641 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15642 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15643 0 : }
15644 :
15645 :
15646 :
15647 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15648 :
15649 :
15650 : // ********************************************************
15651 :
15652 : /* #line 15653 "../../../src/frontend/SageIII//StorageClasses.C" */
15653 :
15654 :
15655 :
15656 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15657 :
15658 : // ****************************************************************
15659 : // member functions definition specific to each node in the grammar
15660 : // these are the SgOmpDefaultmapClauseStorageClass parts !!!!
15661 : // ROSETTA generated code. Do not change by hand.
15662 : // ****************************************************************
15663 :
15664 :
15665 : /* #line 15666 "../../../src/frontend/SageIII//StorageClasses.C" */
15666 :
15667 :
15668 : void
15669 0 : SgOmpDefaultmapClauseStorageClass::pickOutIRNodeData ( SgOmpDefaultmapClause* pointer )
15670 : {
15671 0 : SgOmpDefaultmapClause* source = (SgOmpDefaultmapClause*) (pointer);
15672 : #if FILE_IO_EXTRA_CHECK
15673 0 : assert ( source != NULL ) ;
15674 0 : assert ( source->p_freepointer != NULL) ;
15675 : #endif
15676 0 : storageOf_behavior = source->p_behavior ;
15677 0 : storageOf_category = source->p_category ;
15678 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15679 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15680 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15681 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15682 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15683 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15684 0 : storageOf_isModified = source->p_isModified ;
15685 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15686 0 : }
15687 :
15688 : void
15689 0 : SgOmpDefaultmapClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15690 : {
15691 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15692 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15693 0 : }
15694 :
15695 : void
15696 2 : SgOmpDefaultmapClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15697 : {
15698 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15699 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15700 2 : }
15701 :
15702 : void
15703 0 : SgOmpDefaultmapClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15704 : {
15705 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15706 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15707 0 : }
15708 :
15709 :
15710 : void
15711 0 : SgOmpDefaultmapClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15712 : {
15713 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15714 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15715 0 : }
15716 :
15717 :
15718 :
15719 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15720 :
15721 :
15722 : // ********************************************************
15723 :
15724 : /* #line 15725 "../../../src/frontend/SageIII//StorageClasses.C" */
15725 :
15726 :
15727 :
15728 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15729 :
15730 : // ****************************************************************
15731 : // member functions definition specific to each node in the grammar
15732 : // these are the SgOmpAtomicDefaultMemOrderClauseStorageClass parts !!!!
15733 : // ROSETTA generated code. Do not change by hand.
15734 : // ****************************************************************
15735 :
15736 :
15737 : /* #line 15738 "../../../src/frontend/SageIII//StorageClasses.C" */
15738 :
15739 :
15740 : void
15741 0 : SgOmpAtomicDefaultMemOrderClauseStorageClass::pickOutIRNodeData ( SgOmpAtomicDefaultMemOrderClause* pointer )
15742 : {
15743 0 : SgOmpAtomicDefaultMemOrderClause* source = (SgOmpAtomicDefaultMemOrderClause*) (pointer);
15744 : #if FILE_IO_EXTRA_CHECK
15745 0 : assert ( source != NULL ) ;
15746 0 : assert ( source->p_freepointer != NULL) ;
15747 : #endif
15748 0 : storageOf_kind = source->p_kind ;
15749 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15750 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15751 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15752 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15753 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15754 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15755 0 : storageOf_isModified = source->p_isModified ;
15756 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15757 0 : }
15758 :
15759 : void
15760 0 : SgOmpAtomicDefaultMemOrderClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15761 : {
15762 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15763 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15764 0 : }
15765 :
15766 : void
15767 2 : SgOmpAtomicDefaultMemOrderClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15768 : {
15769 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15770 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15771 2 : }
15772 :
15773 : void
15774 0 : SgOmpAtomicDefaultMemOrderClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15775 : {
15776 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15777 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15778 0 : }
15779 :
15780 :
15781 : void
15782 0 : SgOmpAtomicDefaultMemOrderClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15783 : {
15784 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15785 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15786 0 : }
15787 :
15788 :
15789 :
15790 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15791 :
15792 :
15793 : // ********************************************************
15794 :
15795 : /* #line 15796 "../../../src/frontend/SageIII//StorageClasses.C" */
15796 :
15797 :
15798 :
15799 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15800 :
15801 : // ****************************************************************
15802 : // member functions definition specific to each node in the grammar
15803 : // these are the SgOmpExtImplementationDefinedRequirementClauseStorageClass parts !!!!
15804 : // ROSETTA generated code. Do not change by hand.
15805 : // ****************************************************************
15806 :
15807 :
15808 : /* #line 15809 "../../../src/frontend/SageIII//StorageClasses.C" */
15809 :
15810 :
15811 : void
15812 0 : SgOmpExtImplementationDefinedRequirementClauseStorageClass::pickOutIRNodeData ( SgOmpExtImplementationDefinedRequirementClause* pointer )
15813 : {
15814 0 : SgOmpExtImplementationDefinedRequirementClause* source = (SgOmpExtImplementationDefinedRequirementClause*) (pointer);
15815 : #if FILE_IO_EXTRA_CHECK
15816 0 : assert ( source != NULL ) ;
15817 0 : assert ( source->p_freepointer != NULL) ;
15818 : #endif
15819 0 : storageOf_implementation_defined_requirement = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_implementation_defined_requirement );
15820 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15821 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15822 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15823 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15824 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15825 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15826 0 : storageOf_isModified = source->p_isModified ;
15827 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15828 0 : }
15829 :
15830 : void
15831 0 : SgOmpExtImplementationDefinedRequirementClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15832 : {
15833 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15834 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15835 0 : }
15836 :
15837 : void
15838 2 : SgOmpExtImplementationDefinedRequirementClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15839 : {
15840 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15841 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15842 2 : }
15843 :
15844 : void
15845 0 : SgOmpExtImplementationDefinedRequirementClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15846 : {
15847 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15848 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15849 0 : }
15850 :
15851 :
15852 : void
15853 0 : SgOmpExtImplementationDefinedRequirementClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15854 : {
15855 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15856 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15857 0 : }
15858 :
15859 :
15860 :
15861 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15862 :
15863 :
15864 : // ********************************************************
15865 :
15866 : /* #line 15867 "../../../src/frontend/SageIII//StorageClasses.C" */
15867 :
15868 :
15869 :
15870 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15871 :
15872 : // ****************************************************************
15873 : // member functions definition specific to each node in the grammar
15874 : // these are the SgOmpUsesAllocatorsDefinationStorageClass parts !!!!
15875 : // ROSETTA generated code. Do not change by hand.
15876 : // ****************************************************************
15877 :
15878 :
15879 : /* #line 15880 "../../../src/frontend/SageIII//StorageClasses.C" */
15880 :
15881 :
15882 : void
15883 0 : SgOmpUsesAllocatorsDefinationStorageClass::pickOutIRNodeData ( SgOmpUsesAllocatorsDefination* pointer )
15884 : {
15885 0 : SgOmpUsesAllocatorsDefination* source = (SgOmpUsesAllocatorsDefination*) (pointer);
15886 : #if FILE_IO_EXTRA_CHECK
15887 0 : assert ( source != NULL ) ;
15888 0 : assert ( source->p_freepointer != NULL) ;
15889 : #endif
15890 0 : storageOf_allocator = source->p_allocator ;
15891 0 : storageOf_user_defined_allocator = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_user_defined_allocator );
15892 0 : storageOf_allocator_traits_array = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_allocator_traits_array );
15893 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15894 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15895 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15896 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15897 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15898 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15899 0 : storageOf_isModified = source->p_isModified ;
15900 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15901 0 : }
15902 :
15903 : void
15904 0 : SgOmpUsesAllocatorsDefinationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15905 : {
15906 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15907 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15908 0 : }
15909 :
15910 : void
15911 2 : SgOmpUsesAllocatorsDefinationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15912 : {
15913 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15914 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15915 2 : }
15916 :
15917 : void
15918 0 : SgOmpUsesAllocatorsDefinationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15919 : {
15920 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15921 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15922 0 : }
15923 :
15924 :
15925 : void
15926 0 : SgOmpUsesAllocatorsDefinationStorageClass::readEasyStorageDataFromFile (std::istream& in)
15927 : {
15928 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
15929 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
15930 0 : }
15931 :
15932 :
15933 :
15934 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15935 :
15936 :
15937 : // ********************************************************
15938 :
15939 : /* #line 15940 "../../../src/frontend/SageIII//StorageClasses.C" */
15940 :
15941 :
15942 :
15943 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
15944 :
15945 : // ****************************************************************
15946 : // member functions definition specific to each node in the grammar
15947 : // these are the SgOmpVariablesClauseStorageClass parts !!!!
15948 : // ROSETTA generated code. Do not change by hand.
15949 : // ****************************************************************
15950 :
15951 :
15952 : /* #line 15953 "../../../src/frontend/SageIII//StorageClasses.C" */
15953 :
15954 :
15955 : void
15956 0 : SgOmpVariablesClauseStorageClass::pickOutIRNodeData ( SgOmpVariablesClause* pointer )
15957 : {
15958 0 : SgOmpVariablesClause* source = (SgOmpVariablesClause*) (pointer);
15959 : #if FILE_IO_EXTRA_CHECK
15960 0 : assert ( source != NULL ) ;
15961 0 : assert ( source->p_freepointer != NULL) ;
15962 : #endif
15963 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
15964 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
15965 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
15966 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
15967 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
15968 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
15969 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
15970 0 : storageOf_isModified = source->p_isModified ;
15971 0 : storageOf_containsTransformation = source->p_containsTransformation ;
15972 0 : }
15973 :
15974 : void
15975 0 : SgOmpVariablesClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
15976 : {
15977 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
15978 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
15979 0 : }
15980 :
15981 : void
15982 2 : SgOmpVariablesClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
15983 : {
15984 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
15985 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
15986 2 : }
15987 :
15988 : void
15989 0 : SgOmpVariablesClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
15990 : {
15991 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
15992 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
15993 0 : }
15994 :
15995 :
15996 : void
15997 0 : SgOmpVariablesClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
15998 : {
15999 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16000 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16001 0 : }
16002 :
16003 :
16004 :
16005 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16006 :
16007 :
16008 : // ********************************************************
16009 :
16010 : /* #line 16011 "../../../src/frontend/SageIII//StorageClasses.C" */
16011 :
16012 :
16013 :
16014 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16015 :
16016 : // ****************************************************************
16017 : // member functions definition specific to each node in the grammar
16018 : // these are the SgOmpCopyprivateClauseStorageClass parts !!!!
16019 : // ROSETTA generated code. Do not change by hand.
16020 : // ****************************************************************
16021 :
16022 :
16023 : /* #line 16024 "../../../src/frontend/SageIII//StorageClasses.C" */
16024 :
16025 :
16026 : void
16027 0 : SgOmpCopyprivateClauseStorageClass::pickOutIRNodeData ( SgOmpCopyprivateClause* pointer )
16028 : {
16029 0 : SgOmpCopyprivateClause* source = (SgOmpCopyprivateClause*) (pointer);
16030 : #if FILE_IO_EXTRA_CHECK
16031 0 : assert ( source != NULL ) ;
16032 0 : assert ( source->p_freepointer != NULL) ;
16033 : #endif
16034 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16035 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16036 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16037 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16038 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16039 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16040 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16041 0 : storageOf_isModified = source->p_isModified ;
16042 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16043 0 : }
16044 :
16045 : void
16046 0 : SgOmpCopyprivateClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16047 : {
16048 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16049 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16050 0 : }
16051 :
16052 : void
16053 2 : SgOmpCopyprivateClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16054 : {
16055 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16056 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16057 2 : }
16058 :
16059 : void
16060 0 : SgOmpCopyprivateClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16061 : {
16062 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16063 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16064 0 : }
16065 :
16066 :
16067 : void
16068 0 : SgOmpCopyprivateClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16069 : {
16070 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16071 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16072 0 : }
16073 :
16074 :
16075 :
16076 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16077 :
16078 :
16079 : // ********************************************************
16080 :
16081 : /* #line 16082 "../../../src/frontend/SageIII//StorageClasses.C" */
16082 :
16083 :
16084 :
16085 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16086 :
16087 : // ****************************************************************
16088 : // member functions definition specific to each node in the grammar
16089 : // these are the SgOmpPrivateClauseStorageClass parts !!!!
16090 : // ROSETTA generated code. Do not change by hand.
16091 : // ****************************************************************
16092 :
16093 :
16094 : /* #line 16095 "../../../src/frontend/SageIII//StorageClasses.C" */
16095 :
16096 :
16097 : void
16098 0 : SgOmpPrivateClauseStorageClass::pickOutIRNodeData ( SgOmpPrivateClause* pointer )
16099 : {
16100 0 : SgOmpPrivateClause* source = (SgOmpPrivateClause*) (pointer);
16101 : #if FILE_IO_EXTRA_CHECK
16102 0 : assert ( source != NULL ) ;
16103 0 : assert ( source->p_freepointer != NULL) ;
16104 : #endif
16105 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16106 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16107 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16108 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16109 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16110 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16111 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16112 0 : storageOf_isModified = source->p_isModified ;
16113 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16114 0 : }
16115 :
16116 : void
16117 0 : SgOmpPrivateClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16118 : {
16119 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16120 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16121 0 : }
16122 :
16123 : void
16124 2 : SgOmpPrivateClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16125 : {
16126 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16127 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16128 2 : }
16129 :
16130 : void
16131 0 : SgOmpPrivateClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16132 : {
16133 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16134 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16135 0 : }
16136 :
16137 :
16138 : void
16139 0 : SgOmpPrivateClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16140 : {
16141 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16142 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16143 0 : }
16144 :
16145 :
16146 :
16147 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16148 :
16149 :
16150 : // ********************************************************
16151 :
16152 : /* #line 16153 "../../../src/frontend/SageIII//StorageClasses.C" */
16153 :
16154 :
16155 :
16156 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16157 :
16158 : // ****************************************************************
16159 : // member functions definition specific to each node in the grammar
16160 : // these are the SgOmpFirstprivateClauseStorageClass parts !!!!
16161 : // ROSETTA generated code. Do not change by hand.
16162 : // ****************************************************************
16163 :
16164 :
16165 : /* #line 16166 "../../../src/frontend/SageIII//StorageClasses.C" */
16166 :
16167 :
16168 : void
16169 0 : SgOmpFirstprivateClauseStorageClass::pickOutIRNodeData ( SgOmpFirstprivateClause* pointer )
16170 : {
16171 0 : SgOmpFirstprivateClause* source = (SgOmpFirstprivateClause*) (pointer);
16172 : #if FILE_IO_EXTRA_CHECK
16173 0 : assert ( source != NULL ) ;
16174 0 : assert ( source->p_freepointer != NULL) ;
16175 : #endif
16176 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16177 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16178 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16179 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16180 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16181 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16182 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16183 0 : storageOf_isModified = source->p_isModified ;
16184 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16185 0 : }
16186 :
16187 : void
16188 0 : SgOmpFirstprivateClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16189 : {
16190 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16191 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16192 0 : }
16193 :
16194 : void
16195 2 : SgOmpFirstprivateClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16196 : {
16197 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16198 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16199 2 : }
16200 :
16201 : void
16202 0 : SgOmpFirstprivateClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16203 : {
16204 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16205 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16206 0 : }
16207 :
16208 :
16209 : void
16210 0 : SgOmpFirstprivateClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16211 : {
16212 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16213 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16214 0 : }
16215 :
16216 :
16217 :
16218 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16219 :
16220 :
16221 : // ********************************************************
16222 :
16223 : /* #line 16224 "../../../src/frontend/SageIII//StorageClasses.C" */
16224 :
16225 :
16226 :
16227 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16228 :
16229 : // ****************************************************************
16230 : // member functions definition specific to each node in the grammar
16231 : // these are the SgOmpNontemporalClauseStorageClass parts !!!!
16232 : // ROSETTA generated code. Do not change by hand.
16233 : // ****************************************************************
16234 :
16235 :
16236 : /* #line 16237 "../../../src/frontend/SageIII//StorageClasses.C" */
16237 :
16238 :
16239 : void
16240 0 : SgOmpNontemporalClauseStorageClass::pickOutIRNodeData ( SgOmpNontemporalClause* pointer )
16241 : {
16242 0 : SgOmpNontemporalClause* source = (SgOmpNontemporalClause*) (pointer);
16243 : #if FILE_IO_EXTRA_CHECK
16244 0 : assert ( source != NULL ) ;
16245 0 : assert ( source->p_freepointer != NULL) ;
16246 : #endif
16247 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16248 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16249 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16250 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16251 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16252 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16253 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16254 0 : storageOf_isModified = source->p_isModified ;
16255 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16256 0 : }
16257 :
16258 : void
16259 0 : SgOmpNontemporalClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16260 : {
16261 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16262 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16263 0 : }
16264 :
16265 : void
16266 2 : SgOmpNontemporalClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16267 : {
16268 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16269 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16270 2 : }
16271 :
16272 : void
16273 0 : SgOmpNontemporalClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16274 : {
16275 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16276 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16277 0 : }
16278 :
16279 :
16280 : void
16281 0 : SgOmpNontemporalClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16282 : {
16283 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16284 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16285 0 : }
16286 :
16287 :
16288 :
16289 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16290 :
16291 :
16292 : // ********************************************************
16293 :
16294 : /* #line 16295 "../../../src/frontend/SageIII//StorageClasses.C" */
16295 :
16296 :
16297 :
16298 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16299 :
16300 : // ****************************************************************
16301 : // member functions definition specific to each node in the grammar
16302 : // these are the SgOmpInclusiveClauseStorageClass parts !!!!
16303 : // ROSETTA generated code. Do not change by hand.
16304 : // ****************************************************************
16305 :
16306 :
16307 : /* #line 16308 "../../../src/frontend/SageIII//StorageClasses.C" */
16308 :
16309 :
16310 : void
16311 0 : SgOmpInclusiveClauseStorageClass::pickOutIRNodeData ( SgOmpInclusiveClause* pointer )
16312 : {
16313 0 : SgOmpInclusiveClause* source = (SgOmpInclusiveClause*) (pointer);
16314 : #if FILE_IO_EXTRA_CHECK
16315 0 : assert ( source != NULL ) ;
16316 0 : assert ( source->p_freepointer != NULL) ;
16317 : #endif
16318 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16319 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16320 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16321 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16322 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16323 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16324 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16325 0 : storageOf_isModified = source->p_isModified ;
16326 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16327 0 : }
16328 :
16329 : void
16330 0 : SgOmpInclusiveClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16331 : {
16332 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16333 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16334 0 : }
16335 :
16336 : void
16337 2 : SgOmpInclusiveClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16338 : {
16339 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16340 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16341 2 : }
16342 :
16343 : void
16344 0 : SgOmpInclusiveClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16345 : {
16346 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16347 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16348 0 : }
16349 :
16350 :
16351 : void
16352 0 : SgOmpInclusiveClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16353 : {
16354 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16355 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16356 0 : }
16357 :
16358 :
16359 :
16360 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16361 :
16362 :
16363 : // ********************************************************
16364 :
16365 : /* #line 16366 "../../../src/frontend/SageIII//StorageClasses.C" */
16366 :
16367 :
16368 :
16369 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16370 :
16371 : // ****************************************************************
16372 : // member functions definition specific to each node in the grammar
16373 : // these are the SgOmpExclusiveClauseStorageClass parts !!!!
16374 : // ROSETTA generated code. Do not change by hand.
16375 : // ****************************************************************
16376 :
16377 :
16378 : /* #line 16379 "../../../src/frontend/SageIII//StorageClasses.C" */
16379 :
16380 :
16381 : void
16382 0 : SgOmpExclusiveClauseStorageClass::pickOutIRNodeData ( SgOmpExclusiveClause* pointer )
16383 : {
16384 0 : SgOmpExclusiveClause* source = (SgOmpExclusiveClause*) (pointer);
16385 : #if FILE_IO_EXTRA_CHECK
16386 0 : assert ( source != NULL ) ;
16387 0 : assert ( source->p_freepointer != NULL) ;
16388 : #endif
16389 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16390 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16391 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16392 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16393 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16394 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16395 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16396 0 : storageOf_isModified = source->p_isModified ;
16397 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16398 0 : }
16399 :
16400 : void
16401 0 : SgOmpExclusiveClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16402 : {
16403 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16404 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16405 0 : }
16406 :
16407 : void
16408 2 : SgOmpExclusiveClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16409 : {
16410 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16411 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16412 2 : }
16413 :
16414 : void
16415 0 : SgOmpExclusiveClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16416 : {
16417 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16418 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16419 0 : }
16420 :
16421 :
16422 : void
16423 0 : SgOmpExclusiveClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16424 : {
16425 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16426 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16427 0 : }
16428 :
16429 :
16430 :
16431 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16432 :
16433 :
16434 : // ********************************************************
16435 :
16436 : /* #line 16437 "../../../src/frontend/SageIII//StorageClasses.C" */
16437 :
16438 :
16439 :
16440 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16441 :
16442 : // ****************************************************************
16443 : // member functions definition specific to each node in the grammar
16444 : // these are the SgOmpIsDevicePtrClauseStorageClass parts !!!!
16445 : // ROSETTA generated code. Do not change by hand.
16446 : // ****************************************************************
16447 :
16448 :
16449 : /* #line 16450 "../../../src/frontend/SageIII//StorageClasses.C" */
16450 :
16451 :
16452 : void
16453 0 : SgOmpIsDevicePtrClauseStorageClass::pickOutIRNodeData ( SgOmpIsDevicePtrClause* pointer )
16454 : {
16455 0 : SgOmpIsDevicePtrClause* source = (SgOmpIsDevicePtrClause*) (pointer);
16456 : #if FILE_IO_EXTRA_CHECK
16457 0 : assert ( source != NULL ) ;
16458 0 : assert ( source->p_freepointer != NULL) ;
16459 : #endif
16460 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16461 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16462 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16463 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16464 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16465 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16466 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16467 0 : storageOf_isModified = source->p_isModified ;
16468 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16469 0 : }
16470 :
16471 : void
16472 0 : SgOmpIsDevicePtrClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16473 : {
16474 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16475 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16476 0 : }
16477 :
16478 : void
16479 2 : SgOmpIsDevicePtrClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16480 : {
16481 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16482 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16483 2 : }
16484 :
16485 : void
16486 0 : SgOmpIsDevicePtrClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16487 : {
16488 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16489 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16490 0 : }
16491 :
16492 :
16493 : void
16494 0 : SgOmpIsDevicePtrClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16495 : {
16496 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16497 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16498 0 : }
16499 :
16500 :
16501 :
16502 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16503 :
16504 :
16505 : // ********************************************************
16506 :
16507 : /* #line 16508 "../../../src/frontend/SageIII//StorageClasses.C" */
16508 :
16509 :
16510 :
16511 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16512 :
16513 : // ****************************************************************
16514 : // member functions definition specific to each node in the grammar
16515 : // these are the SgOmpUseDevicePtrClauseStorageClass parts !!!!
16516 : // ROSETTA generated code. Do not change by hand.
16517 : // ****************************************************************
16518 :
16519 :
16520 : /* #line 16521 "../../../src/frontend/SageIII//StorageClasses.C" */
16521 :
16522 :
16523 : void
16524 0 : SgOmpUseDevicePtrClauseStorageClass::pickOutIRNodeData ( SgOmpUseDevicePtrClause* pointer )
16525 : {
16526 0 : SgOmpUseDevicePtrClause* source = (SgOmpUseDevicePtrClause*) (pointer);
16527 : #if FILE_IO_EXTRA_CHECK
16528 0 : assert ( source != NULL ) ;
16529 0 : assert ( source->p_freepointer != NULL) ;
16530 : #endif
16531 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16532 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16533 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16534 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16535 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16536 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16537 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16538 0 : storageOf_isModified = source->p_isModified ;
16539 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16540 0 : }
16541 :
16542 : void
16543 0 : SgOmpUseDevicePtrClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16544 : {
16545 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16546 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16547 0 : }
16548 :
16549 : void
16550 2 : SgOmpUseDevicePtrClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16551 : {
16552 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16553 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16554 2 : }
16555 :
16556 : void
16557 0 : SgOmpUseDevicePtrClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16558 : {
16559 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16560 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16561 0 : }
16562 :
16563 :
16564 : void
16565 0 : SgOmpUseDevicePtrClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16566 : {
16567 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16568 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16569 0 : }
16570 :
16571 :
16572 :
16573 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16574 :
16575 :
16576 : // ********************************************************
16577 :
16578 : /* #line 16579 "../../../src/frontend/SageIII//StorageClasses.C" */
16579 :
16580 :
16581 :
16582 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16583 :
16584 : // ****************************************************************
16585 : // member functions definition specific to each node in the grammar
16586 : // these are the SgOmpUseDeviceAddrClauseStorageClass parts !!!!
16587 : // ROSETTA generated code. Do not change by hand.
16588 : // ****************************************************************
16589 :
16590 :
16591 : /* #line 16592 "../../../src/frontend/SageIII//StorageClasses.C" */
16592 :
16593 :
16594 : void
16595 0 : SgOmpUseDeviceAddrClauseStorageClass::pickOutIRNodeData ( SgOmpUseDeviceAddrClause* pointer )
16596 : {
16597 0 : SgOmpUseDeviceAddrClause* source = (SgOmpUseDeviceAddrClause*) (pointer);
16598 : #if FILE_IO_EXTRA_CHECK
16599 0 : assert ( source != NULL ) ;
16600 0 : assert ( source->p_freepointer != NULL) ;
16601 : #endif
16602 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16603 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16604 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16605 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16606 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16607 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16608 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16609 0 : storageOf_isModified = source->p_isModified ;
16610 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16611 0 : }
16612 :
16613 : void
16614 0 : SgOmpUseDeviceAddrClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16615 : {
16616 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16617 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16618 0 : }
16619 :
16620 : void
16621 2 : SgOmpUseDeviceAddrClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16622 : {
16623 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16624 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16625 2 : }
16626 :
16627 : void
16628 0 : SgOmpUseDeviceAddrClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16629 : {
16630 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16631 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16632 0 : }
16633 :
16634 :
16635 : void
16636 0 : SgOmpUseDeviceAddrClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16637 : {
16638 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16639 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16640 0 : }
16641 :
16642 :
16643 :
16644 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16645 :
16646 :
16647 : // ********************************************************
16648 :
16649 : /* #line 16650 "../../../src/frontend/SageIII//StorageClasses.C" */
16650 :
16651 :
16652 :
16653 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16654 :
16655 : // ****************************************************************
16656 : // member functions definition specific to each node in the grammar
16657 : // these are the SgOmpSharedClauseStorageClass parts !!!!
16658 : // ROSETTA generated code. Do not change by hand.
16659 : // ****************************************************************
16660 :
16661 :
16662 : /* #line 16663 "../../../src/frontend/SageIII//StorageClasses.C" */
16663 :
16664 :
16665 : void
16666 0 : SgOmpSharedClauseStorageClass::pickOutIRNodeData ( SgOmpSharedClause* pointer )
16667 : {
16668 0 : SgOmpSharedClause* source = (SgOmpSharedClause*) (pointer);
16669 : #if FILE_IO_EXTRA_CHECK
16670 0 : assert ( source != NULL ) ;
16671 0 : assert ( source->p_freepointer != NULL) ;
16672 : #endif
16673 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16674 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16675 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16676 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16677 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16678 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16679 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16680 0 : storageOf_isModified = source->p_isModified ;
16681 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16682 0 : }
16683 :
16684 : void
16685 0 : SgOmpSharedClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16686 : {
16687 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16688 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16689 0 : }
16690 :
16691 : void
16692 2 : SgOmpSharedClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16693 : {
16694 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16695 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16696 2 : }
16697 :
16698 : void
16699 0 : SgOmpSharedClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16700 : {
16701 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16702 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16703 0 : }
16704 :
16705 :
16706 : void
16707 0 : SgOmpSharedClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16708 : {
16709 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16710 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16711 0 : }
16712 :
16713 :
16714 :
16715 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16716 :
16717 :
16718 : // ********************************************************
16719 :
16720 : /* #line 16721 "../../../src/frontend/SageIII//StorageClasses.C" */
16721 :
16722 :
16723 :
16724 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16725 :
16726 : // ****************************************************************
16727 : // member functions definition specific to each node in the grammar
16728 : // these are the SgOmpCopyinClauseStorageClass parts !!!!
16729 : // ROSETTA generated code. Do not change by hand.
16730 : // ****************************************************************
16731 :
16732 :
16733 : /* #line 16734 "../../../src/frontend/SageIII//StorageClasses.C" */
16734 :
16735 :
16736 : void
16737 0 : SgOmpCopyinClauseStorageClass::pickOutIRNodeData ( SgOmpCopyinClause* pointer )
16738 : {
16739 0 : SgOmpCopyinClause* source = (SgOmpCopyinClause*) (pointer);
16740 : #if FILE_IO_EXTRA_CHECK
16741 0 : assert ( source != NULL ) ;
16742 0 : assert ( source->p_freepointer != NULL) ;
16743 : #endif
16744 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16745 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16746 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16747 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16748 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16749 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16750 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16751 0 : storageOf_isModified = source->p_isModified ;
16752 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16753 0 : }
16754 :
16755 : void
16756 0 : SgOmpCopyinClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16757 : {
16758 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16759 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16760 0 : }
16761 :
16762 : void
16763 2 : SgOmpCopyinClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16764 : {
16765 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16766 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16767 2 : }
16768 :
16769 : void
16770 0 : SgOmpCopyinClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16771 : {
16772 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16773 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16774 0 : }
16775 :
16776 :
16777 : void
16778 0 : SgOmpCopyinClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16779 : {
16780 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16781 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16782 0 : }
16783 :
16784 :
16785 :
16786 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16787 :
16788 :
16789 : // ********************************************************
16790 :
16791 : /* #line 16792 "../../../src/frontend/SageIII//StorageClasses.C" */
16792 :
16793 :
16794 :
16795 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16796 :
16797 : // ****************************************************************
16798 : // member functions definition specific to each node in the grammar
16799 : // these are the SgOmpLastprivateClauseStorageClass parts !!!!
16800 : // ROSETTA generated code. Do not change by hand.
16801 : // ****************************************************************
16802 :
16803 :
16804 : /* #line 16805 "../../../src/frontend/SageIII//StorageClasses.C" */
16805 :
16806 :
16807 : void
16808 0 : SgOmpLastprivateClauseStorageClass::pickOutIRNodeData ( SgOmpLastprivateClause* pointer )
16809 : {
16810 0 : SgOmpLastprivateClause* source = (SgOmpLastprivateClause*) (pointer);
16811 : #if FILE_IO_EXTRA_CHECK
16812 0 : assert ( source != NULL ) ;
16813 0 : assert ( source->p_freepointer != NULL) ;
16814 : #endif
16815 0 : storageOf_modifier = source->p_modifier ;
16816 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16817 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16818 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16819 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16820 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16821 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16822 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16823 0 : storageOf_isModified = source->p_isModified ;
16824 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16825 0 : }
16826 :
16827 : void
16828 0 : SgOmpLastprivateClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16829 : {
16830 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16831 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16832 0 : }
16833 :
16834 : void
16835 2 : SgOmpLastprivateClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16836 : {
16837 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16838 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16839 2 : }
16840 :
16841 : void
16842 0 : SgOmpLastprivateClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16843 : {
16844 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16845 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16846 0 : }
16847 :
16848 :
16849 : void
16850 0 : SgOmpLastprivateClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16851 : {
16852 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16853 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16854 0 : }
16855 :
16856 :
16857 :
16858 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16859 :
16860 :
16861 : // ********************************************************
16862 :
16863 : /* #line 16864 "../../../src/frontend/SageIII//StorageClasses.C" */
16864 :
16865 :
16866 :
16867 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16868 :
16869 : // ****************************************************************
16870 : // member functions definition specific to each node in the grammar
16871 : // these are the SgOmpReductionClauseStorageClass parts !!!!
16872 : // ROSETTA generated code. Do not change by hand.
16873 : // ****************************************************************
16874 :
16875 :
16876 : /* #line 16877 "../../../src/frontend/SageIII//StorageClasses.C" */
16877 :
16878 :
16879 : void
16880 0 : SgOmpReductionClauseStorageClass::pickOutIRNodeData ( SgOmpReductionClause* pointer )
16881 : {
16882 0 : SgOmpReductionClause* source = (SgOmpReductionClause*) (pointer);
16883 : #if FILE_IO_EXTRA_CHECK
16884 0 : assert ( source != NULL ) ;
16885 0 : assert ( source->p_freepointer != NULL) ;
16886 : #endif
16887 0 : storageOf_modifier = source->p_modifier ;
16888 0 : storageOf_identifier = source->p_identifier ;
16889 0 : storageOf_user_defined_identifier = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_user_defined_identifier );
16890 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16891 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16892 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16893 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16894 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16895 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16896 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16897 0 : storageOf_isModified = source->p_isModified ;
16898 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16899 0 : }
16900 :
16901 : void
16902 0 : SgOmpReductionClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16903 : {
16904 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16905 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16906 0 : }
16907 :
16908 : void
16909 2 : SgOmpReductionClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16910 : {
16911 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16912 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16913 2 : }
16914 :
16915 : void
16916 0 : SgOmpReductionClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16917 : {
16918 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16919 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16920 0 : }
16921 :
16922 :
16923 : void
16924 0 : SgOmpReductionClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16925 : {
16926 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
16927 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
16928 0 : }
16929 :
16930 :
16931 :
16932 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16933 :
16934 :
16935 : // ********************************************************
16936 :
16937 : /* #line 16938 "../../../src/frontend/SageIII//StorageClasses.C" */
16938 :
16939 :
16940 :
16941 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
16942 :
16943 : // ****************************************************************
16944 : // member functions definition specific to each node in the grammar
16945 : // these are the SgOmpInReductionClauseStorageClass parts !!!!
16946 : // ROSETTA generated code. Do not change by hand.
16947 : // ****************************************************************
16948 :
16949 :
16950 : /* #line 16951 "../../../src/frontend/SageIII//StorageClasses.C" */
16951 :
16952 :
16953 : void
16954 0 : SgOmpInReductionClauseStorageClass::pickOutIRNodeData ( SgOmpInReductionClause* pointer )
16955 : {
16956 0 : SgOmpInReductionClause* source = (SgOmpInReductionClause*) (pointer);
16957 : #if FILE_IO_EXTRA_CHECK
16958 0 : assert ( source != NULL ) ;
16959 0 : assert ( source->p_freepointer != NULL) ;
16960 : #endif
16961 0 : storageOf_identifier = source->p_identifier ;
16962 0 : storageOf_user_defined_identifier = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_user_defined_identifier );
16963 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
16964 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
16965 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
16966 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
16967 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
16968 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
16969 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
16970 0 : storageOf_isModified = source->p_isModified ;
16971 0 : storageOf_containsTransformation = source->p_containsTransformation ;
16972 0 : }
16973 :
16974 : void
16975 0 : SgOmpInReductionClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
16976 : {
16977 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
16978 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
16979 0 : }
16980 :
16981 : void
16982 2 : SgOmpInReductionClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
16983 : {
16984 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
16985 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
16986 2 : }
16987 :
16988 : void
16989 0 : SgOmpInReductionClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
16990 : {
16991 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
16992 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
16993 0 : }
16994 :
16995 :
16996 : void
16997 0 : SgOmpInReductionClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
16998 : {
16999 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17000 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17001 0 : }
17002 :
17003 :
17004 :
17005 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17006 :
17007 :
17008 : // ********************************************************
17009 :
17010 : /* #line 17011 "../../../src/frontend/SageIII//StorageClasses.C" */
17011 :
17012 :
17013 :
17014 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17015 :
17016 : // ****************************************************************
17017 : // member functions definition specific to each node in the grammar
17018 : // these are the SgOmpTaskReductionClauseStorageClass parts !!!!
17019 : // ROSETTA generated code. Do not change by hand.
17020 : // ****************************************************************
17021 :
17022 :
17023 : /* #line 17024 "../../../src/frontend/SageIII//StorageClasses.C" */
17024 :
17025 :
17026 : void
17027 0 : SgOmpTaskReductionClauseStorageClass::pickOutIRNodeData ( SgOmpTaskReductionClause* pointer )
17028 : {
17029 0 : SgOmpTaskReductionClause* source = (SgOmpTaskReductionClause*) (pointer);
17030 : #if FILE_IO_EXTRA_CHECK
17031 0 : assert ( source != NULL ) ;
17032 0 : assert ( source->p_freepointer != NULL) ;
17033 : #endif
17034 0 : storageOf_identifier = source->p_identifier ;
17035 0 : storageOf_user_defined_identifier = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_user_defined_identifier );
17036 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
17037 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17038 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17039 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17040 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17041 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17042 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17043 0 : storageOf_isModified = source->p_isModified ;
17044 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17045 0 : }
17046 :
17047 : void
17048 0 : SgOmpTaskReductionClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17049 : {
17050 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17051 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17052 0 : }
17053 :
17054 : void
17055 2 : SgOmpTaskReductionClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17056 : {
17057 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17058 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17059 2 : }
17060 :
17061 : void
17062 0 : SgOmpTaskReductionClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17063 : {
17064 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17065 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17066 0 : }
17067 :
17068 :
17069 : void
17070 0 : SgOmpTaskReductionClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17071 : {
17072 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17073 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17074 0 : }
17075 :
17076 :
17077 :
17078 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17079 :
17080 :
17081 : // ********************************************************
17082 :
17083 : /* #line 17084 "../../../src/frontend/SageIII//StorageClasses.C" */
17084 :
17085 :
17086 :
17087 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17088 :
17089 : // ****************************************************************
17090 : // member functions definition specific to each node in the grammar
17091 : // these are the SgOmpMapClauseStorageClass parts !!!!
17092 : // ROSETTA generated code. Do not change by hand.
17093 : // ****************************************************************
17094 :
17095 :
17096 : /* #line 17097 "../../../src/frontend/SageIII//StorageClasses.C" */
17097 :
17098 :
17099 : void
17100 0 : SgOmpMapClauseStorageClass::pickOutIRNodeData ( SgOmpMapClause* pointer )
17101 : {
17102 0 : SgOmpMapClause* source = (SgOmpMapClause*) (pointer);
17103 : #if FILE_IO_EXTRA_CHECK
17104 0 : assert ( source != NULL ) ;
17105 0 : assert ( source->p_freepointer != NULL) ;
17106 : #endif
17107 0 : storageOf_operation = source->p_operation ;
17108 0 : storageOf_array_dimensions.storeDataInEasyStorageClass(source->p_array_dimensions);
17109 0 : storageOf_dist_data_policies.storeDataInEasyStorageClass(source->p_dist_data_policies);
17110 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
17111 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17112 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17113 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17114 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17115 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17116 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17117 0 : storageOf_isModified = source->p_isModified ;
17118 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17119 0 : }
17120 :
17121 : void
17122 0 : SgOmpMapClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17123 : {
17124 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: arrangeMemoryPoolInOneBlock() ;
17125 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgOmpClause::omp_map_dist_data_enum, SgExpression*> > > > :: arrangeMemoryPoolInOneBlock() ;
17126 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17127 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17128 0 : }
17129 :
17130 : void
17131 2 : SgOmpMapClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17132 : {
17133 2 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: deleteMemoryPool() ;
17134 2 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgOmpClause::omp_map_dist_data_enum, SgExpression*> > > > :: deleteMemoryPool() ;
17135 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17136 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17137 2 : }
17138 :
17139 : void
17140 0 : SgOmpMapClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17141 : {
17142 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: writeToFile(out) ;
17143 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgOmpClause::omp_map_dist_data_enum, SgExpression*> > > > :: writeToFile(out) ;
17144 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17145 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17146 0 : }
17147 :
17148 :
17149 : void
17150 0 : SgOmpMapClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17151 : {
17152 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: readFromFile(in) ;
17153 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgOmpClause::omp_map_dist_data_enum, SgExpression*> > > > :: readFromFile(in) ;
17154 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17155 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17156 0 : }
17157 :
17158 :
17159 :
17160 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17161 :
17162 :
17163 : // ********************************************************
17164 :
17165 : /* #line 17166 "../../../src/frontend/SageIII//StorageClasses.C" */
17166 :
17167 :
17168 :
17169 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17170 :
17171 : // ****************************************************************
17172 : // member functions definition specific to each node in the grammar
17173 : // these are the SgOmpAllocateClauseStorageClass parts !!!!
17174 : // ROSETTA generated code. Do not change by hand.
17175 : // ****************************************************************
17176 :
17177 :
17178 : /* #line 17179 "../../../src/frontend/SageIII//StorageClasses.C" */
17179 :
17180 :
17181 : void
17182 0 : SgOmpAllocateClauseStorageClass::pickOutIRNodeData ( SgOmpAllocateClause* pointer )
17183 : {
17184 0 : SgOmpAllocateClause* source = (SgOmpAllocateClause*) (pointer);
17185 : #if FILE_IO_EXTRA_CHECK
17186 0 : assert ( source != NULL ) ;
17187 0 : assert ( source->p_freepointer != NULL) ;
17188 : #endif
17189 0 : storageOf_modifier = source->p_modifier ;
17190 0 : storageOf_user_defined_modifier = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_user_defined_modifier );
17191 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
17192 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17193 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17194 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17195 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17196 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17197 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17198 0 : storageOf_isModified = source->p_isModified ;
17199 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17200 0 : }
17201 :
17202 : void
17203 0 : SgOmpAllocateClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17204 : {
17205 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17206 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17207 0 : }
17208 :
17209 : void
17210 2 : SgOmpAllocateClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17211 : {
17212 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17213 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17214 2 : }
17215 :
17216 : void
17217 0 : SgOmpAllocateClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17218 : {
17219 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17220 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17221 0 : }
17222 :
17223 :
17224 : void
17225 0 : SgOmpAllocateClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17226 : {
17227 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17228 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17229 0 : }
17230 :
17231 :
17232 :
17233 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17234 :
17235 :
17236 : // ********************************************************
17237 :
17238 : /* #line 17239 "../../../src/frontend/SageIII//StorageClasses.C" */
17239 :
17240 :
17241 :
17242 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17243 :
17244 : // ****************************************************************
17245 : // member functions definition specific to each node in the grammar
17246 : // these are the SgOmpUniformClauseStorageClass parts !!!!
17247 : // ROSETTA generated code. Do not change by hand.
17248 : // ****************************************************************
17249 :
17250 :
17251 : /* #line 17252 "../../../src/frontend/SageIII//StorageClasses.C" */
17252 :
17253 :
17254 : void
17255 0 : SgOmpUniformClauseStorageClass::pickOutIRNodeData ( SgOmpUniformClause* pointer )
17256 : {
17257 0 : SgOmpUniformClause* source = (SgOmpUniformClause*) (pointer);
17258 : #if FILE_IO_EXTRA_CHECK
17259 0 : assert ( source != NULL ) ;
17260 0 : assert ( source->p_freepointer != NULL) ;
17261 : #endif
17262 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
17263 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17264 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17265 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17266 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17267 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17268 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17269 0 : storageOf_isModified = source->p_isModified ;
17270 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17271 0 : }
17272 :
17273 : void
17274 0 : SgOmpUniformClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17275 : {
17276 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17277 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17278 0 : }
17279 :
17280 : void
17281 2 : SgOmpUniformClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17282 : {
17283 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17284 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17285 2 : }
17286 :
17287 : void
17288 0 : SgOmpUniformClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17289 : {
17290 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17291 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17292 0 : }
17293 :
17294 :
17295 : void
17296 0 : SgOmpUniformClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17297 : {
17298 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17299 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17300 0 : }
17301 :
17302 :
17303 :
17304 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17305 :
17306 :
17307 : // ********************************************************
17308 :
17309 : /* #line 17310 "../../../src/frontend/SageIII//StorageClasses.C" */
17310 :
17311 :
17312 :
17313 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17314 :
17315 : // ****************************************************************
17316 : // member functions definition specific to each node in the grammar
17317 : // these are the SgOmpAlignedClauseStorageClass parts !!!!
17318 : // ROSETTA generated code. Do not change by hand.
17319 : // ****************************************************************
17320 :
17321 :
17322 : /* #line 17323 "../../../src/frontend/SageIII//StorageClasses.C" */
17323 :
17324 :
17325 : void
17326 0 : SgOmpAlignedClauseStorageClass::pickOutIRNodeData ( SgOmpAlignedClause* pointer )
17327 : {
17328 0 : SgOmpAlignedClause* source = (SgOmpAlignedClause*) (pointer);
17329 : #if FILE_IO_EXTRA_CHECK
17330 0 : assert ( source != NULL ) ;
17331 0 : assert ( source->p_freepointer != NULL) ;
17332 : #endif
17333 0 : storageOf_alignment = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_alignment );
17334 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
17335 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17336 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17337 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17338 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17339 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17340 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17341 0 : storageOf_isModified = source->p_isModified ;
17342 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17343 0 : }
17344 :
17345 : void
17346 0 : SgOmpAlignedClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17347 : {
17348 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17349 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17350 0 : }
17351 :
17352 : void
17353 2 : SgOmpAlignedClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17354 : {
17355 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17356 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17357 2 : }
17358 :
17359 : void
17360 0 : SgOmpAlignedClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17361 : {
17362 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17363 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17364 0 : }
17365 :
17366 :
17367 : void
17368 0 : SgOmpAlignedClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17369 : {
17370 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17371 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17372 0 : }
17373 :
17374 :
17375 :
17376 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17377 :
17378 :
17379 : // ********************************************************
17380 :
17381 : /* #line 17382 "../../../src/frontend/SageIII//StorageClasses.C" */
17382 :
17383 :
17384 :
17385 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17386 :
17387 : // ****************************************************************
17388 : // member functions definition specific to each node in the grammar
17389 : // these are the SgOmpLinearClauseStorageClass parts !!!!
17390 : // ROSETTA generated code. Do not change by hand.
17391 : // ****************************************************************
17392 :
17393 :
17394 : /* #line 17395 "../../../src/frontend/SageIII//StorageClasses.C" */
17395 :
17396 :
17397 : void
17398 0 : SgOmpLinearClauseStorageClass::pickOutIRNodeData ( SgOmpLinearClause* pointer )
17399 : {
17400 0 : SgOmpLinearClause* source = (SgOmpLinearClause*) (pointer);
17401 : #if FILE_IO_EXTRA_CHECK
17402 0 : assert ( source != NULL ) ;
17403 0 : assert ( source->p_freepointer != NULL) ;
17404 : #endif
17405 0 : storageOf_step = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_step );
17406 0 : storageOf_modifier = source->p_modifier ;
17407 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
17408 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17409 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17410 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17411 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17412 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17413 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17414 0 : storageOf_isModified = source->p_isModified ;
17415 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17416 0 : }
17417 :
17418 : void
17419 0 : SgOmpLinearClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17420 : {
17421 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17422 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17423 0 : }
17424 :
17425 : void
17426 2 : SgOmpLinearClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17427 : {
17428 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17429 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17430 2 : }
17431 :
17432 : void
17433 0 : SgOmpLinearClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17434 : {
17435 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17436 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17437 0 : }
17438 :
17439 :
17440 : void
17441 0 : SgOmpLinearClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17442 : {
17443 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17444 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17445 0 : }
17446 :
17447 :
17448 :
17449 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17450 :
17451 :
17452 : // ********************************************************
17453 :
17454 : /* #line 17455 "../../../src/frontend/SageIII//StorageClasses.C" */
17455 :
17456 :
17457 :
17458 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17459 :
17460 : // ****************************************************************
17461 : // member functions definition specific to each node in the grammar
17462 : // these are the SgOmpDependClauseStorageClass parts !!!!
17463 : // ROSETTA generated code. Do not change by hand.
17464 : // ****************************************************************
17465 :
17466 :
17467 : /* #line 17468 "../../../src/frontend/SageIII//StorageClasses.C" */
17468 :
17469 :
17470 : void
17471 0 : SgOmpDependClauseStorageClass::pickOutIRNodeData ( SgOmpDependClause* pointer )
17472 : {
17473 0 : SgOmpDependClause* source = (SgOmpDependClause*) (pointer);
17474 : #if FILE_IO_EXTRA_CHECK
17475 0 : assert ( source != NULL ) ;
17476 0 : assert ( source->p_freepointer != NULL) ;
17477 : #endif
17478 0 : storageOf_depend_modifier = source->p_depend_modifier ;
17479 0 : storageOf_dependence_type = source->p_dependence_type ;
17480 0 : storageOf_iterator.storeDataInEasyStorageClass(source->p_iterator);
17481 0 : storageOf_array_dimensions.storeDataInEasyStorageClass(source->p_array_dimensions);
17482 0 : storageOf_vec.storeDataInEasyStorageClass(source->p_vec);
17483 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
17484 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17485 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17486 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17487 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17488 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17489 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17490 0 : storageOf_isModified = source->p_isModified ;
17491 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17492 0 : }
17493 :
17494 : void
17495 0 : SgOmpDependClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17496 : {
17497 0 : EasyStorage < std::list<std::list<SgExpression*> > > :: arrangeMemoryPoolInOneBlock() ;
17498 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: arrangeMemoryPoolInOneBlock() ;
17499 0 : EasyStorage < std::list<SgExpression*> > :: arrangeMemoryPoolInOneBlock() ;
17500 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17501 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17502 0 : }
17503 :
17504 : void
17505 2 : SgOmpDependClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17506 : {
17507 2 : EasyStorage < std::list<std::list<SgExpression*> > > :: deleteMemoryPool() ;
17508 2 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: deleteMemoryPool() ;
17509 2 : EasyStorage < std::list<SgExpression*> > :: deleteMemoryPool() ;
17510 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17511 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17512 2 : }
17513 :
17514 : void
17515 0 : SgOmpDependClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17516 : {
17517 0 : EasyStorage < std::list<std::list<SgExpression*> > > :: writeToFile(out) ;
17518 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: writeToFile(out) ;
17519 0 : EasyStorage < std::list<SgExpression*> > :: writeToFile(out) ;
17520 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17521 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17522 0 : }
17523 :
17524 :
17525 : void
17526 0 : SgOmpDependClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17527 : {
17528 0 : EasyStorage < std::list<std::list<SgExpression*> > > :: readFromFile(in) ;
17529 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: readFromFile(in) ;
17530 0 : EasyStorage < std::list<SgExpression*> > :: readFromFile(in) ;
17531 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17532 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17533 0 : }
17534 :
17535 :
17536 :
17537 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17538 :
17539 :
17540 : // ********************************************************
17541 :
17542 : /* #line 17543 "../../../src/frontend/SageIII//StorageClasses.C" */
17543 :
17544 :
17545 :
17546 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17547 :
17548 : // ****************************************************************
17549 : // member functions definition specific to each node in the grammar
17550 : // these are the SgOmpAffinityClauseStorageClass parts !!!!
17551 : // ROSETTA generated code. Do not change by hand.
17552 : // ****************************************************************
17553 :
17554 :
17555 : /* #line 17556 "../../../src/frontend/SageIII//StorageClasses.C" */
17556 :
17557 :
17558 : void
17559 0 : SgOmpAffinityClauseStorageClass::pickOutIRNodeData ( SgOmpAffinityClause* pointer )
17560 : {
17561 0 : SgOmpAffinityClause* source = (SgOmpAffinityClause*) (pointer);
17562 : #if FILE_IO_EXTRA_CHECK
17563 0 : assert ( source != NULL ) ;
17564 0 : assert ( source->p_freepointer != NULL) ;
17565 : #endif
17566 0 : storageOf_affinity_modifier = source->p_affinity_modifier ;
17567 0 : storageOf_iterator.storeDataInEasyStorageClass(source->p_iterator);
17568 0 : storageOf_array_dimensions.storeDataInEasyStorageClass(source->p_array_dimensions);
17569 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
17570 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17571 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17572 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17573 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17574 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17575 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17576 0 : storageOf_isModified = source->p_isModified ;
17577 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17578 0 : }
17579 :
17580 : void
17581 0 : SgOmpAffinityClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17582 : {
17583 0 : EasyStorage < std::list<std::list<SgExpression*> > > :: arrangeMemoryPoolInOneBlock() ;
17584 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: arrangeMemoryPoolInOneBlock() ;
17585 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17586 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17587 0 : }
17588 :
17589 : void
17590 2 : SgOmpAffinityClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17591 : {
17592 2 : EasyStorage < std::list<std::list<SgExpression*> > > :: deleteMemoryPool() ;
17593 2 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: deleteMemoryPool() ;
17594 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17595 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17596 2 : }
17597 :
17598 : void
17599 0 : SgOmpAffinityClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17600 : {
17601 0 : EasyStorage < std::list<std::list<SgExpression*> > > :: writeToFile(out) ;
17602 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: writeToFile(out) ;
17603 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17604 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17605 0 : }
17606 :
17607 :
17608 : void
17609 0 : SgOmpAffinityClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17610 : {
17611 0 : EasyStorage < std::list<std::list<SgExpression*> > > :: readFromFile(in) ;
17612 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: readFromFile(in) ;
17613 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17614 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17615 0 : }
17616 :
17617 :
17618 :
17619 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17620 :
17621 :
17622 : // ********************************************************
17623 :
17624 : /* #line 17625 "../../../src/frontend/SageIII//StorageClasses.C" */
17625 :
17626 :
17627 :
17628 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17629 :
17630 : // ****************************************************************
17631 : // member functions definition specific to each node in the grammar
17632 : // these are the SgOmpToClauseStorageClass parts !!!!
17633 : // ROSETTA generated code. Do not change by hand.
17634 : // ****************************************************************
17635 :
17636 :
17637 : /* #line 17638 "../../../src/frontend/SageIII//StorageClasses.C" */
17638 :
17639 :
17640 : void
17641 0 : SgOmpToClauseStorageClass::pickOutIRNodeData ( SgOmpToClause* pointer )
17642 : {
17643 0 : SgOmpToClause* source = (SgOmpToClause*) (pointer);
17644 : #if FILE_IO_EXTRA_CHECK
17645 0 : assert ( source != NULL ) ;
17646 0 : assert ( source->p_freepointer != NULL) ;
17647 : #endif
17648 0 : storageOf_kind = source->p_kind ;
17649 0 : storageOf_mapper_identifier = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_mapper_identifier );
17650 0 : storageOf_array_dimensions.storeDataInEasyStorageClass(source->p_array_dimensions);
17651 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
17652 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17653 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17654 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17655 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17656 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17657 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17658 0 : storageOf_isModified = source->p_isModified ;
17659 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17660 0 : }
17661 :
17662 : void
17663 0 : SgOmpToClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17664 : {
17665 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: arrangeMemoryPoolInOneBlock() ;
17666 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17667 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17668 0 : }
17669 :
17670 : void
17671 2 : SgOmpToClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17672 : {
17673 2 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: deleteMemoryPool() ;
17674 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17675 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17676 2 : }
17677 :
17678 : void
17679 0 : SgOmpToClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17680 : {
17681 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: writeToFile(out) ;
17682 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17683 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17684 0 : }
17685 :
17686 :
17687 : void
17688 0 : SgOmpToClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17689 : {
17690 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: readFromFile(in) ;
17691 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17692 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17693 0 : }
17694 :
17695 :
17696 :
17697 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17698 :
17699 :
17700 : // ********************************************************
17701 :
17702 : /* #line 17703 "../../../src/frontend/SageIII//StorageClasses.C" */
17703 :
17704 :
17705 :
17706 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17707 :
17708 : // ****************************************************************
17709 : // member functions definition specific to each node in the grammar
17710 : // these are the SgOmpFromClauseStorageClass parts !!!!
17711 : // ROSETTA generated code. Do not change by hand.
17712 : // ****************************************************************
17713 :
17714 :
17715 : /* #line 17716 "../../../src/frontend/SageIII//StorageClasses.C" */
17716 :
17717 :
17718 : void
17719 0 : SgOmpFromClauseStorageClass::pickOutIRNodeData ( SgOmpFromClause* pointer )
17720 : {
17721 0 : SgOmpFromClause* source = (SgOmpFromClause*) (pointer);
17722 : #if FILE_IO_EXTRA_CHECK
17723 0 : assert ( source != NULL ) ;
17724 0 : assert ( source->p_freepointer != NULL) ;
17725 : #endif
17726 0 : storageOf_kind = source->p_kind ;
17727 0 : storageOf_mapper_identifier = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_mapper_identifier );
17728 0 : storageOf_array_dimensions.storeDataInEasyStorageClass(source->p_array_dimensions);
17729 0 : storageOf_variables = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variables );
17730 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17731 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17732 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17733 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17734 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17735 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17736 0 : storageOf_isModified = source->p_isModified ;
17737 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17738 0 : }
17739 :
17740 : void
17741 0 : SgOmpFromClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17742 : {
17743 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: arrangeMemoryPoolInOneBlock() ;
17744 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17745 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17746 0 : }
17747 :
17748 : void
17749 2 : SgOmpFromClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17750 : {
17751 2 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: deleteMemoryPool() ;
17752 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17753 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17754 2 : }
17755 :
17756 : void
17757 0 : SgOmpFromClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17758 : {
17759 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: writeToFile(out) ;
17760 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17761 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17762 0 : }
17763 :
17764 :
17765 : void
17766 0 : SgOmpFromClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17767 : {
17768 0 : EasyStorage < std::map<SgSymbol*, std::vector < std::pair <SgExpression*, SgExpression*> > > > :: readFromFile(in) ;
17769 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17770 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17771 0 : }
17772 :
17773 :
17774 :
17775 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17776 :
17777 :
17778 : // ********************************************************
17779 :
17780 : /* #line 17781 "../../../src/frontend/SageIII//StorageClasses.C" */
17781 :
17782 :
17783 :
17784 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17785 :
17786 : // ****************************************************************
17787 : // member functions definition specific to each node in the grammar
17788 : // these are the SgOmpScheduleClauseStorageClass parts !!!!
17789 : // ROSETTA generated code. Do not change by hand.
17790 : // ****************************************************************
17791 :
17792 :
17793 : /* #line 17794 "../../../src/frontend/SageIII//StorageClasses.C" */
17794 :
17795 :
17796 : void
17797 0 : SgOmpScheduleClauseStorageClass::pickOutIRNodeData ( SgOmpScheduleClause* pointer )
17798 : {
17799 0 : SgOmpScheduleClause* source = (SgOmpScheduleClause*) (pointer);
17800 : #if FILE_IO_EXTRA_CHECK
17801 0 : assert ( source != NULL ) ;
17802 0 : assert ( source->p_freepointer != NULL) ;
17803 : #endif
17804 0 : storageOf_modifier = source->p_modifier ;
17805 0 : storageOf_modifier1 = source->p_modifier1 ;
17806 0 : storageOf_kind = source->p_kind ;
17807 0 : storageOf_chunk_size = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_chunk_size );
17808 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17809 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17810 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17811 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17812 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17813 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17814 0 : storageOf_isModified = source->p_isModified ;
17815 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17816 0 : }
17817 :
17818 : void
17819 0 : SgOmpScheduleClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17820 : {
17821 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17822 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17823 0 : }
17824 :
17825 : void
17826 2 : SgOmpScheduleClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17827 : {
17828 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17829 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17830 2 : }
17831 :
17832 : void
17833 0 : SgOmpScheduleClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17834 : {
17835 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17836 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17837 0 : }
17838 :
17839 :
17840 : void
17841 0 : SgOmpScheduleClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17842 : {
17843 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17844 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17845 0 : }
17846 :
17847 :
17848 :
17849 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17850 :
17851 :
17852 : // ********************************************************
17853 :
17854 : /* #line 17855 "../../../src/frontend/SageIII//StorageClasses.C" */
17855 :
17856 :
17857 :
17858 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17859 :
17860 : // ****************************************************************
17861 : // member functions definition specific to each node in the grammar
17862 : // these are the SgOmpMergeableClauseStorageClass parts !!!!
17863 : // ROSETTA generated code. Do not change by hand.
17864 : // ****************************************************************
17865 :
17866 :
17867 : /* #line 17868 "../../../src/frontend/SageIII//StorageClasses.C" */
17868 :
17869 :
17870 : void
17871 0 : SgOmpMergeableClauseStorageClass::pickOutIRNodeData ( SgOmpMergeableClause* pointer )
17872 : {
17873 0 : SgOmpMergeableClause* source = (SgOmpMergeableClause*) (pointer);
17874 : #if FILE_IO_EXTRA_CHECK
17875 0 : assert ( source != NULL ) ;
17876 0 : assert ( source->p_freepointer != NULL) ;
17877 : #endif
17878 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17879 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17880 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17881 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17882 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17883 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17884 0 : storageOf_isModified = source->p_isModified ;
17885 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17886 0 : }
17887 :
17888 : void
17889 0 : SgOmpMergeableClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17890 : {
17891 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17892 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17893 0 : }
17894 :
17895 : void
17896 2 : SgOmpMergeableClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17897 : {
17898 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17899 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17900 2 : }
17901 :
17902 : void
17903 0 : SgOmpMergeableClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17904 : {
17905 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17906 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17907 0 : }
17908 :
17909 :
17910 : void
17911 0 : SgOmpMergeableClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17912 : {
17913 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17914 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17915 0 : }
17916 :
17917 :
17918 :
17919 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17920 :
17921 :
17922 : // ********************************************************
17923 :
17924 : /* #line 17925 "../../../src/frontend/SageIII//StorageClasses.C" */
17925 :
17926 :
17927 :
17928 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
17929 :
17930 : // ****************************************************************
17931 : // member functions definition specific to each node in the grammar
17932 : // these are the SgOmpWhenClauseStorageClass parts !!!!
17933 : // ROSETTA generated code. Do not change by hand.
17934 : // ****************************************************************
17935 :
17936 :
17937 : /* #line 17938 "../../../src/frontend/SageIII//StorageClasses.C" */
17938 :
17939 :
17940 : void
17941 0 : SgOmpWhenClauseStorageClass::pickOutIRNodeData ( SgOmpWhenClause* pointer )
17942 : {
17943 0 : SgOmpWhenClause* source = (SgOmpWhenClause*) (pointer);
17944 : #if FILE_IO_EXTRA_CHECK
17945 0 : assert ( source != NULL ) ;
17946 0 : assert ( source->p_freepointer != NULL) ;
17947 : #endif
17948 0 : storageOf_user_condition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_user_condition );
17949 0 : storageOf_user_condition_score = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_user_condition_score );
17950 0 : storageOf_construct_directives.storeDataInEasyStorageClass(source->p_construct_directives);
17951 0 : storageOf_device_arch = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_device_arch );
17952 0 : storageOf_device_isa = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_device_isa );
17953 0 : storageOf_device_kind = source->p_device_kind ;
17954 0 : storageOf_implementation_vendor = source->p_implementation_vendor ;
17955 0 : storageOf_implementation_user_defined = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_implementation_user_defined );
17956 0 : storageOf_implementation_extension = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_implementation_extension );
17957 0 : storageOf_variant_directive = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variant_directive );
17958 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
17959 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
17960 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
17961 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
17962 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
17963 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
17964 0 : storageOf_isModified = source->p_isModified ;
17965 0 : storageOf_containsTransformation = source->p_containsTransformation ;
17966 0 : }
17967 :
17968 : void
17969 0 : SgOmpWhenClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
17970 : {
17971 0 : EasyStorage < std::list<SgStatement*> > :: arrangeMemoryPoolInOneBlock() ;
17972 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
17973 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
17974 0 : }
17975 :
17976 : void
17977 2 : SgOmpWhenClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
17978 : {
17979 2 : EasyStorage < std::list<SgStatement*> > :: deleteMemoryPool() ;
17980 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
17981 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
17982 2 : }
17983 :
17984 : void
17985 0 : SgOmpWhenClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
17986 : {
17987 0 : EasyStorage < std::list<SgStatement*> > :: writeToFile(out) ;
17988 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
17989 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
17990 0 : }
17991 :
17992 :
17993 : void
17994 0 : SgOmpWhenClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
17995 : {
17996 0 : EasyStorage < std::list<SgStatement*> > :: readFromFile(in) ;
17997 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
17998 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
17999 0 : }
18000 :
18001 :
18002 :
18003 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18004 :
18005 :
18006 : // ********************************************************
18007 :
18008 : /* #line 18009 "../../../src/frontend/SageIII//StorageClasses.C" */
18009 :
18010 :
18011 :
18012 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18013 :
18014 : // ****************************************************************
18015 : // member functions definition specific to each node in the grammar
18016 : // these are the SgOmpUsesAllocatorsClauseStorageClass parts !!!!
18017 : // ROSETTA generated code. Do not change by hand.
18018 : // ****************************************************************
18019 :
18020 :
18021 : /* #line 18022 "../../../src/frontend/SageIII//StorageClasses.C" */
18022 :
18023 :
18024 : void
18025 0 : SgOmpUsesAllocatorsClauseStorageClass::pickOutIRNodeData ( SgOmpUsesAllocatorsClause* pointer )
18026 : {
18027 0 : SgOmpUsesAllocatorsClause* source = (SgOmpUsesAllocatorsClause*) (pointer);
18028 : #if FILE_IO_EXTRA_CHECK
18029 0 : assert ( source != NULL ) ;
18030 0 : assert ( source->p_freepointer != NULL) ;
18031 : #endif
18032 0 : storageOf_uses_allocators_defination.storeDataInEasyStorageClass(source->p_uses_allocators_defination);
18033 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18034 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18035 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18036 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18037 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18038 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18039 0 : storageOf_isModified = source->p_isModified ;
18040 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18041 0 : }
18042 :
18043 : void
18044 0 : SgOmpUsesAllocatorsClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18045 : {
18046 0 : EasyStorage < std::list<SgOmpUsesAllocatorsDefination*> > :: arrangeMemoryPoolInOneBlock() ;
18047 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18048 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18049 0 : }
18050 :
18051 : void
18052 2 : SgOmpUsesAllocatorsClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18053 : {
18054 2 : EasyStorage < std::list<SgOmpUsesAllocatorsDefination*> > :: deleteMemoryPool() ;
18055 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18056 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18057 2 : }
18058 :
18059 : void
18060 0 : SgOmpUsesAllocatorsClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18061 : {
18062 0 : EasyStorage < std::list<SgOmpUsesAllocatorsDefination*> > :: writeToFile(out) ;
18063 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18064 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18065 0 : }
18066 :
18067 :
18068 : void
18069 0 : SgOmpUsesAllocatorsClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
18070 : {
18071 0 : EasyStorage < std::list<SgOmpUsesAllocatorsDefination*> > :: readFromFile(in) ;
18072 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18073 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18074 0 : }
18075 :
18076 :
18077 :
18078 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18079 :
18080 :
18081 : // ********************************************************
18082 :
18083 : /* #line 18084 "../../../src/frontend/SageIII//StorageClasses.C" */
18084 :
18085 :
18086 :
18087 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18088 :
18089 : // ****************************************************************
18090 : // member functions definition specific to each node in the grammar
18091 : // these are the SgOmpFullClauseStorageClass parts !!!!
18092 : // ROSETTA generated code. Do not change by hand.
18093 : // ****************************************************************
18094 :
18095 :
18096 : /* #line 18097 "../../../src/frontend/SageIII//StorageClasses.C" */
18097 :
18098 :
18099 : void
18100 0 : SgOmpFullClauseStorageClass::pickOutIRNodeData ( SgOmpFullClause* pointer )
18101 : {
18102 0 : SgOmpFullClause* source = (SgOmpFullClause*) (pointer);
18103 : #if FILE_IO_EXTRA_CHECK
18104 0 : assert ( source != NULL ) ;
18105 0 : assert ( source->p_freepointer != NULL) ;
18106 : #endif
18107 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18108 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18109 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18110 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18111 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18112 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18113 0 : storageOf_isModified = source->p_isModified ;
18114 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18115 0 : }
18116 :
18117 : void
18118 0 : SgOmpFullClauseStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18119 : {
18120 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18121 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18122 0 : }
18123 :
18124 : void
18125 2 : SgOmpFullClauseStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18126 : {
18127 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18128 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18129 2 : }
18130 :
18131 : void
18132 0 : SgOmpFullClauseStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18133 : {
18134 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18135 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18136 0 : }
18137 :
18138 :
18139 : void
18140 0 : SgOmpFullClauseStorageClass::readEasyStorageDataFromFile (std::istream& in)
18141 : {
18142 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18143 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18144 0 : }
18145 :
18146 :
18147 :
18148 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18149 :
18150 :
18151 : // ********************************************************
18152 :
18153 : /* #line 18154 "../../../src/frontend/SageIII//StorageClasses.C" */
18154 :
18155 :
18156 :
18157 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18158 :
18159 : // ****************************************************************
18160 : // member functions definition specific to each node in the grammar
18161 : // these are the SgUpirBranchFieldStorageClass parts !!!!
18162 : // ROSETTA generated code. Do not change by hand.
18163 : // ****************************************************************
18164 :
18165 :
18166 : /* #line 18167 "../../../src/frontend/SageIII//StorageClasses.C" */
18167 :
18168 :
18169 : void
18170 0 : SgUpirBranchFieldStorageClass::pickOutIRNodeData ( SgUpirBranchField* pointer )
18171 : {
18172 0 : SgUpirBranchField* source = (SgUpirBranchField*) (pointer);
18173 : #if FILE_IO_EXTRA_CHECK
18174 0 : assert ( source != NULL ) ;
18175 0 : assert ( source->p_freepointer != NULL) ;
18176 : #endif
18177 0 : storageOf_branches.storeDataInEasyStorageClass(source->p_branches);
18178 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18179 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18180 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18181 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18182 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18183 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18184 0 : storageOf_isModified = source->p_isModified ;
18185 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18186 0 : }
18187 :
18188 : void
18189 0 : SgUpirBranchFieldStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18190 : {
18191 0 : EasyStorage < std::list<std::list<SgStatement*> > > :: arrangeMemoryPoolInOneBlock() ;
18192 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18193 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18194 0 : }
18195 :
18196 : void
18197 2 : SgUpirBranchFieldStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18198 : {
18199 2 : EasyStorage < std::list<std::list<SgStatement*> > > :: deleteMemoryPool() ;
18200 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18201 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18202 2 : }
18203 :
18204 : void
18205 0 : SgUpirBranchFieldStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18206 : {
18207 0 : EasyStorage < std::list<std::list<SgStatement*> > > :: writeToFile(out) ;
18208 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18209 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18210 0 : }
18211 :
18212 :
18213 : void
18214 0 : SgUpirBranchFieldStorageClass::readEasyStorageDataFromFile (std::istream& in)
18215 : {
18216 0 : EasyStorage < std::list<std::list<SgStatement*> > > :: readFromFile(in) ;
18217 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18218 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18219 0 : }
18220 :
18221 :
18222 :
18223 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18224 :
18225 :
18226 : // ********************************************************
18227 :
18228 : /* #line 18229 "../../../src/frontend/SageIII//StorageClasses.C" */
18229 :
18230 :
18231 :
18232 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18233 :
18234 : // ****************************************************************
18235 : // member functions definition specific to each node in the grammar
18236 : // these are the SgUpirNestedLevelFieldStorageClass parts !!!!
18237 : // ROSETTA generated code. Do not change by hand.
18238 : // ****************************************************************
18239 :
18240 :
18241 : /* #line 18242 "../../../src/frontend/SageIII//StorageClasses.C" */
18242 :
18243 :
18244 : void
18245 0 : SgUpirNestedLevelFieldStorageClass::pickOutIRNodeData ( SgUpirNestedLevelField* pointer )
18246 : {
18247 0 : SgUpirNestedLevelField* source = (SgUpirNestedLevelField*) (pointer);
18248 : #if FILE_IO_EXTRA_CHECK
18249 0 : assert ( source != NULL ) ;
18250 0 : assert ( source->p_freepointer != NULL) ;
18251 : #endif
18252 0 : storageOf_nested_level = source->p_nested_level ;
18253 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18254 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18255 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18256 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18257 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18258 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18259 0 : storageOf_isModified = source->p_isModified ;
18260 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18261 0 : }
18262 :
18263 : void
18264 0 : SgUpirNestedLevelFieldStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18265 : {
18266 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18267 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18268 0 : }
18269 :
18270 : void
18271 2 : SgUpirNestedLevelFieldStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18272 : {
18273 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18274 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18275 2 : }
18276 :
18277 : void
18278 0 : SgUpirNestedLevelFieldStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18279 : {
18280 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18281 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18282 0 : }
18283 :
18284 :
18285 : void
18286 0 : SgUpirNestedLevelFieldStorageClass::readEasyStorageDataFromFile (std::istream& in)
18287 : {
18288 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18289 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18290 0 : }
18291 :
18292 :
18293 :
18294 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18295 :
18296 :
18297 : // ********************************************************
18298 :
18299 : /* #line 18300 "../../../src/frontend/SageIII//StorageClasses.C" */
18300 :
18301 :
18302 :
18303 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18304 :
18305 : // ****************************************************************
18306 : // member functions definition specific to each node in the grammar
18307 : // these are the SgUpirNestedParentFieldStorageClass parts !!!!
18308 : // ROSETTA generated code. Do not change by hand.
18309 : // ****************************************************************
18310 :
18311 :
18312 : /* #line 18313 "../../../src/frontend/SageIII//StorageClasses.C" */
18313 :
18314 :
18315 : void
18316 0 : SgUpirNestedParentFieldStorageClass::pickOutIRNodeData ( SgUpirNestedParentField* pointer )
18317 : {
18318 0 : SgUpirNestedParentField* source = (SgUpirNestedParentField*) (pointer);
18319 : #if FILE_IO_EXTRA_CHECK
18320 0 : assert ( source != NULL ) ;
18321 0 : assert ( source->p_freepointer != NULL) ;
18322 : #endif
18323 0 : storageOf_nested_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_nested_parent );
18324 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18325 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18326 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18327 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18328 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18329 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18330 0 : storageOf_isModified = source->p_isModified ;
18331 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18332 0 : }
18333 :
18334 : void
18335 0 : SgUpirNestedParentFieldStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18336 : {
18337 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18338 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18339 0 : }
18340 :
18341 : void
18342 2 : SgUpirNestedParentFieldStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18343 : {
18344 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18345 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18346 2 : }
18347 :
18348 : void
18349 0 : SgUpirNestedParentFieldStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18350 : {
18351 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18352 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18353 0 : }
18354 :
18355 :
18356 : void
18357 0 : SgUpirNestedParentFieldStorageClass::readEasyStorageDataFromFile (std::istream& in)
18358 : {
18359 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18360 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18361 0 : }
18362 :
18363 :
18364 :
18365 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18366 :
18367 :
18368 : // ********************************************************
18369 :
18370 : /* #line 18371 "../../../src/frontend/SageIII//StorageClasses.C" */
18371 :
18372 :
18373 :
18374 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18375 :
18376 : // ****************************************************************
18377 : // member functions definition specific to each node in the grammar
18378 : // these are the SgUpirNestedChildFieldStorageClass parts !!!!
18379 : // ROSETTA generated code. Do not change by hand.
18380 : // ****************************************************************
18381 :
18382 :
18383 : /* #line 18384 "../../../src/frontend/SageIII//StorageClasses.C" */
18384 :
18385 :
18386 : void
18387 0 : SgUpirNestedChildFieldStorageClass::pickOutIRNodeData ( SgUpirNestedChildField* pointer )
18388 : {
18389 0 : SgUpirNestedChildField* source = (SgUpirNestedChildField*) (pointer);
18390 : #if FILE_IO_EXTRA_CHECK
18391 0 : assert ( source != NULL ) ;
18392 0 : assert ( source->p_freepointer != NULL) ;
18393 : #endif
18394 0 : storageOf_nested_child = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_nested_child );
18395 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18396 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18397 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18398 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18399 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18400 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18401 0 : storageOf_isModified = source->p_isModified ;
18402 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18403 0 : }
18404 :
18405 : void
18406 0 : SgUpirNestedChildFieldStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18407 : {
18408 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18409 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18410 0 : }
18411 :
18412 : void
18413 2 : SgUpirNestedChildFieldStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18414 : {
18415 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18416 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18417 2 : }
18418 :
18419 : void
18420 0 : SgUpirNestedChildFieldStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18421 : {
18422 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18423 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18424 0 : }
18425 :
18426 :
18427 : void
18428 0 : SgUpirNestedChildFieldStorageClass::readEasyStorageDataFromFile (std::istream& in)
18429 : {
18430 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18431 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18432 0 : }
18433 :
18434 :
18435 :
18436 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18437 :
18438 :
18439 : // ********************************************************
18440 :
18441 : /* #line 18442 "../../../src/frontend/SageIII//StorageClasses.C" */
18442 :
18443 :
18444 :
18445 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18446 :
18447 : // ****************************************************************
18448 : // member functions definition specific to each node in the grammar
18449 : // these are the SgUpirSyncFieldStorageClass parts !!!!
18450 : // ROSETTA generated code. Do not change by hand.
18451 : // ****************************************************************
18452 :
18453 :
18454 : /* #line 18455 "../../../src/frontend/SageIII//StorageClasses.C" */
18455 :
18456 :
18457 : void
18458 0 : SgUpirSyncFieldStorageClass::pickOutIRNodeData ( SgUpirSyncField* pointer )
18459 : {
18460 0 : SgUpirSyncField* source = (SgUpirSyncField*) (pointer);
18461 : #if FILE_IO_EXTRA_CHECK
18462 0 : assert ( source != NULL ) ;
18463 0 : assert ( source->p_freepointer != NULL) ;
18464 : #endif
18465 0 : storageOf_sync = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_sync );
18466 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18467 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18468 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18469 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18470 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18471 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18472 0 : storageOf_isModified = source->p_isModified ;
18473 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18474 0 : }
18475 :
18476 : void
18477 0 : SgUpirSyncFieldStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18478 : {
18479 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18480 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18481 0 : }
18482 :
18483 : void
18484 2 : SgUpirSyncFieldStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18485 : {
18486 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18487 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18488 2 : }
18489 :
18490 : void
18491 0 : SgUpirSyncFieldStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18492 : {
18493 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18494 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18495 0 : }
18496 :
18497 :
18498 : void
18499 0 : SgUpirSyncFieldStorageClass::readEasyStorageDataFromFile (std::istream& in)
18500 : {
18501 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18502 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18503 0 : }
18504 :
18505 :
18506 :
18507 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18508 :
18509 :
18510 : // ********************************************************
18511 :
18512 : /* #line 18513 "../../../src/frontend/SageIII//StorageClasses.C" */
18513 :
18514 :
18515 :
18516 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18517 :
18518 : // ****************************************************************
18519 : // member functions definition specific to each node in the grammar
18520 : // these are the SgUpirDataFieldStorageClass parts !!!!
18521 : // ROSETTA generated code. Do not change by hand.
18522 : // ****************************************************************
18523 :
18524 :
18525 : /* #line 18526 "../../../src/frontend/SageIII//StorageClasses.C" */
18526 :
18527 :
18528 : void
18529 0 : SgUpirDataFieldStorageClass::pickOutIRNodeData ( SgUpirDataField* pointer )
18530 : {
18531 0 : SgUpirDataField* source = (SgUpirDataField*) (pointer);
18532 : #if FILE_IO_EXTRA_CHECK
18533 0 : assert ( source != NULL ) ;
18534 0 : assert ( source->p_freepointer != NULL) ;
18535 : #endif
18536 0 : storageOf_data.storeDataInEasyStorageClass(source->p_data);
18537 0 : storageOf_shared_data.storeDataInEasyStorageClass(source->p_shared_data);
18538 0 : storageOf_private_data.storeDataInEasyStorageClass(source->p_private_data);
18539 0 : storageOf_firstprivate_data.storeDataInEasyStorageClass(source->p_firstprivate_data);
18540 0 : storageOf_lastprivate_data.storeDataInEasyStorageClass(source->p_lastprivate_data);
18541 0 : storageOf_reduction_data.storeDataInEasyStorageClass(source->p_reduction_data);
18542 0 : storageOf_map_to_data.storeDataInEasyStorageClass(source->p_map_to_data);
18543 0 : storageOf_map_from_data.storeDataInEasyStorageClass(source->p_map_from_data);
18544 0 : storageOf_map_tofrom_data.storeDataInEasyStorageClass(source->p_map_tofrom_data);
18545 0 : storageOf_map_alloc_data.storeDataInEasyStorageClass(source->p_map_alloc_data);
18546 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18547 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18548 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18549 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18550 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18551 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18552 0 : storageOf_isModified = source->p_isModified ;
18553 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18554 0 : }
18555 :
18556 : void
18557 0 : SgUpirDataFieldStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18558 : {
18559 0 : EasyStorage < std::list<SgUpirDataItemField*> > :: arrangeMemoryPoolInOneBlock() ;
18560 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18561 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18562 0 : }
18563 :
18564 : void
18565 2 : SgUpirDataFieldStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18566 : {
18567 2 : EasyStorage < std::list<SgUpirDataItemField*> > :: deleteMemoryPool() ;
18568 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18569 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18570 2 : }
18571 :
18572 : void
18573 0 : SgUpirDataFieldStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18574 : {
18575 0 : EasyStorage < std::list<SgUpirDataItemField*> > :: writeToFile(out) ;
18576 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18577 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18578 0 : }
18579 :
18580 :
18581 : void
18582 0 : SgUpirDataFieldStorageClass::readEasyStorageDataFromFile (std::istream& in)
18583 : {
18584 0 : EasyStorage < std::list<SgUpirDataItemField*> > :: readFromFile(in) ;
18585 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18586 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18587 0 : }
18588 :
18589 :
18590 :
18591 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18592 :
18593 :
18594 : // ********************************************************
18595 :
18596 : /* #line 18597 "../../../src/frontend/SageIII//StorageClasses.C" */
18597 :
18598 :
18599 :
18600 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18601 :
18602 : // ****************************************************************
18603 : // member functions definition specific to each node in the grammar
18604 : // these are the SgUpirTargetFieldStorageClass parts !!!!
18605 : // ROSETTA generated code. Do not change by hand.
18606 : // ****************************************************************
18607 :
18608 :
18609 : /* #line 18610 "../../../src/frontend/SageIII//StorageClasses.C" */
18610 :
18611 :
18612 : void
18613 0 : SgUpirTargetFieldStorageClass::pickOutIRNodeData ( SgUpirTargetField* pointer )
18614 : {
18615 0 : SgUpirTargetField* source = (SgUpirTargetField*) (pointer);
18616 : #if FILE_IO_EXTRA_CHECK
18617 0 : assert ( source != NULL ) ;
18618 0 : assert ( source->p_freepointer != NULL) ;
18619 : #endif
18620 0 : storageOf_target_type.storeDataInEasyStorageClass(source->p_target_type);
18621 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18622 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18623 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18624 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18625 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18626 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18627 0 : storageOf_isModified = source->p_isModified ;
18628 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18629 0 : }
18630 :
18631 : void
18632 0 : SgUpirTargetFieldStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18633 : {
18634 0 : EasyStorage < std::set<SgOmpClause::upir_target_type_enum> > :: arrangeMemoryPoolInOneBlock() ;
18635 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18636 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18637 0 : }
18638 :
18639 : void
18640 2 : SgUpirTargetFieldStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18641 : {
18642 2 : EasyStorage < std::set<SgOmpClause::upir_target_type_enum> > :: deleteMemoryPool() ;
18643 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18644 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18645 2 : }
18646 :
18647 : void
18648 0 : SgUpirTargetFieldStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18649 : {
18650 0 : EasyStorage < std::set<SgOmpClause::upir_target_type_enum> > :: writeToFile(out) ;
18651 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18652 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18653 0 : }
18654 :
18655 :
18656 : void
18657 0 : SgUpirTargetFieldStorageClass::readEasyStorageDataFromFile (std::istream& in)
18658 : {
18659 0 : EasyStorage < std::set<SgOmpClause::upir_target_type_enum> > :: readFromFile(in) ;
18660 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18661 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18662 0 : }
18663 :
18664 :
18665 :
18666 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18667 :
18668 :
18669 : // ********************************************************
18670 :
18671 : /* #line 18672 "../../../src/frontend/SageIII//StorageClasses.C" */
18672 :
18673 :
18674 :
18675 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18676 :
18677 : // ****************************************************************
18678 : // member functions definition specific to each node in the grammar
18679 : // these are the SgUpirDataItemFieldStorageClass parts !!!!
18680 : // ROSETTA generated code. Do not change by hand.
18681 : // ****************************************************************
18682 :
18683 :
18684 : /* #line 18685 "../../../src/frontend/SageIII//StorageClasses.C" */
18685 :
18686 :
18687 : void
18688 0 : SgUpirDataItemFieldStorageClass::pickOutIRNodeData ( SgUpirDataItemField* pointer )
18689 : {
18690 0 : SgUpirDataItemField* source = (SgUpirDataItemField*) (pointer);
18691 : #if FILE_IO_EXTRA_CHECK
18692 0 : assert ( source != NULL ) ;
18693 0 : assert ( source->p_freepointer != NULL) ;
18694 : #endif
18695 0 : storageOf_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol );
18696 0 : storageOf_sharing_property = source->p_sharing_property ;
18697 0 : storageOf_sharing_visibility = source->p_sharing_visibility ;
18698 0 : storageOf_mapping_property = source->p_mapping_property ;
18699 0 : storageOf_mapping_visibility = source->p_mapping_visibility ;
18700 0 : storageOf_mapper = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_mapper );
18701 0 : storageOf_access_property = source->p_access_property ;
18702 0 : storageOf_unit_id = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit_id );
18703 0 : storageOf_distribution_pattern = source->p_distribution_pattern ;
18704 0 : storageOf_section.storeDataInEasyStorageClass(source->p_section);
18705 0 : storageOf_allocator = source->p_allocator ;
18706 0 : storageOf_user_defined_allocator = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_user_defined_allocator );
18707 0 : storageOf_deallocator = source->p_deallocator ;
18708 0 : storageOf_user_defined_deallocator = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_user_defined_deallocator );
18709 0 : storageOf_memcpy_helper = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_memcpy_helper );
18710 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18711 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18712 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18713 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18714 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18715 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18716 0 : storageOf_isModified = source->p_isModified ;
18717 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18718 0 : }
18719 :
18720 : void
18721 0 : SgUpirDataItemFieldStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18722 : {
18723 0 : EasyStorage < std::list<std::list<SgExpression*>> > :: arrangeMemoryPoolInOneBlock() ;
18724 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18725 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18726 0 : }
18727 :
18728 : void
18729 2 : SgUpirDataItemFieldStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18730 : {
18731 2 : EasyStorage < std::list<std::list<SgExpression*>> > :: deleteMemoryPool() ;
18732 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18733 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18734 2 : }
18735 :
18736 : void
18737 0 : SgUpirDataItemFieldStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18738 : {
18739 0 : EasyStorage < std::list<std::list<SgExpression*>> > :: writeToFile(out) ;
18740 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18741 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18742 0 : }
18743 :
18744 :
18745 : void
18746 0 : SgUpirDataItemFieldStorageClass::readEasyStorageDataFromFile (std::istream& in)
18747 : {
18748 0 : EasyStorage < std::list<std::list<SgExpression*>> > :: readFromFile(in) ;
18749 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18750 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18751 0 : }
18752 :
18753 :
18754 :
18755 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18756 :
18757 :
18758 : // ********************************************************
18759 :
18760 : /* #line 18761 "../../../src/frontend/SageIII//StorageClasses.C" */
18761 :
18762 :
18763 :
18764 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18765 :
18766 : // ****************************************************************
18767 : // member functions definition specific to each node in the grammar
18768 : // these are the SgLambdaCaptureStorageClass parts !!!!
18769 : // ROSETTA generated code. Do not change by hand.
18770 : // ****************************************************************
18771 :
18772 :
18773 : /* #line 18774 "../../../src/frontend/SageIII//StorageClasses.C" */
18774 :
18775 :
18776 : void
18777 0 : SgLambdaCaptureStorageClass::pickOutIRNodeData ( SgLambdaCapture* pointer )
18778 : {
18779 0 : SgLambdaCapture* source = (SgLambdaCapture*) (pointer);
18780 : #if FILE_IO_EXTRA_CHECK
18781 0 : assert ( source != NULL ) ;
18782 0 : assert ( source->p_freepointer != NULL) ;
18783 : #endif
18784 0 : storageOf_capture_variable = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_capture_variable );
18785 0 : storageOf_source_closure_variable = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_source_closure_variable );
18786 0 : storageOf_closure_variable = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_closure_variable );
18787 0 : storageOf_capture_by_reference = source->p_capture_by_reference ;
18788 0 : storageOf_implicit = source->p_implicit ;
18789 0 : storageOf_pack_expansion = source->p_pack_expansion ;
18790 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18791 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18792 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18793 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18794 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18795 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18796 0 : storageOf_isModified = source->p_isModified ;
18797 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18798 0 : }
18799 :
18800 : void
18801 0 : SgLambdaCaptureStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18802 : {
18803 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18804 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18805 0 : }
18806 :
18807 : void
18808 2 : SgLambdaCaptureStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18809 : {
18810 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18811 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18812 2 : }
18813 :
18814 : void
18815 0 : SgLambdaCaptureStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18816 : {
18817 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18818 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18819 0 : }
18820 :
18821 :
18822 : void
18823 0 : SgLambdaCaptureStorageClass::readEasyStorageDataFromFile (std::istream& in)
18824 : {
18825 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18826 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18827 0 : }
18828 :
18829 :
18830 :
18831 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18832 :
18833 :
18834 : // ********************************************************
18835 :
18836 : /* #line 18837 "../../../src/frontend/SageIII//StorageClasses.C" */
18837 :
18838 :
18839 :
18840 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18841 :
18842 : // ****************************************************************
18843 : // member functions definition specific to each node in the grammar
18844 : // these are the SgLambdaCaptureListStorageClass parts !!!!
18845 : // ROSETTA generated code. Do not change by hand.
18846 : // ****************************************************************
18847 :
18848 :
18849 : /* #line 18850 "../../../src/frontend/SageIII//StorageClasses.C" */
18850 :
18851 :
18852 : void
18853 0 : SgLambdaCaptureListStorageClass::pickOutIRNodeData ( SgLambdaCaptureList* pointer )
18854 : {
18855 0 : SgLambdaCaptureList* source = (SgLambdaCaptureList*) (pointer);
18856 : #if FILE_IO_EXTRA_CHECK
18857 0 : assert ( source != NULL ) ;
18858 0 : assert ( source->p_freepointer != NULL) ;
18859 : #endif
18860 0 : SgLambdaCapturePtrList::iterator i_capture_list = source->p_capture_list.begin() ;
18861 0 : unsigned int tempListCountcapture_list = 0;
18862 0 : SgLambdaCapturePtrList::value_type * tempListcapture_list = new SgLambdaCapturePtrList::value_type[ source->p_capture_list.size() ];
18863 0 : for ( ; i_capture_list != source->p_capture_list.end(); ++i_capture_list )
18864 : {
18865 0 : tempListcapture_list[tempListCountcapture_list] = *i_capture_list;
18866 0 : tempListCountcapture_list++;
18867 0 : (*i_capture_list) = (SgLambdaCapturePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_capture_list ) );
18868 : }
18869 0 : storageOf_capture_list.storeDataInEasyStorageClass(source->p_capture_list);
18870 0 : tempListCountcapture_list = 0;
18871 0 : i_capture_list = source->p_capture_list.begin() ;
18872 0 : for ( ; i_capture_list != source->p_capture_list.end(); ++i_capture_list )
18873 : {
18874 0 : *i_capture_list = tempListcapture_list[tempListCountcapture_list] ;
18875 0 : tempListCountcapture_list++;
18876 : }
18877 0 : delete [] tempListcapture_list;
18878 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18879 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18880 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18881 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18882 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18883 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18884 0 : storageOf_isModified = source->p_isModified ;
18885 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18886 0 : }
18887 :
18888 : void
18889 0 : SgLambdaCaptureListStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18890 : {
18891 0 : EasyStorage < SgLambdaCapturePtrList > :: arrangeMemoryPoolInOneBlock() ;
18892 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18893 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18894 0 : }
18895 :
18896 : void
18897 2 : SgLambdaCaptureListStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18898 : {
18899 2 : EasyStorage < SgLambdaCapturePtrList > :: deleteMemoryPool() ;
18900 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18901 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18902 2 : }
18903 :
18904 : void
18905 0 : SgLambdaCaptureListStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18906 : {
18907 0 : EasyStorage < SgLambdaCapturePtrList > :: writeToFile(out) ;
18908 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18909 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18910 0 : }
18911 :
18912 :
18913 : void
18914 0 : SgLambdaCaptureListStorageClass::readEasyStorageDataFromFile (std::istream& in)
18915 : {
18916 0 : EasyStorage < SgLambdaCapturePtrList > :: readFromFile(in) ;
18917 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18918 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18919 0 : }
18920 :
18921 :
18922 :
18923 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18924 :
18925 :
18926 : // ********************************************************
18927 :
18928 : /* #line 18929 "../../../src/frontend/SageIII//StorageClasses.C" */
18929 :
18930 :
18931 :
18932 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18933 :
18934 : // ****************************************************************
18935 : // member functions definition specific to each node in the grammar
18936 : // these are the SgStatementStorageClass parts !!!!
18937 : // ROSETTA generated code. Do not change by hand.
18938 : // ****************************************************************
18939 :
18940 :
18941 : /* #line 18942 "../../../src/frontend/SageIII//StorageClasses.C" */
18942 :
18943 :
18944 : void
18945 0 : SgStatementStorageClass::pickOutIRNodeData ( SgStatement* pointer )
18946 : {
18947 0 : SgStatement* source = (SgStatement*) (pointer);
18948 : #if FILE_IO_EXTRA_CHECK
18949 0 : assert ( source != NULL ) ;
18950 0 : assert ( source->p_freepointer != NULL) ;
18951 : #endif
18952 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
18953 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
18954 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
18955 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
18956 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
18957 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
18958 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
18959 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
18960 0 : storageOf_isModified = source->p_isModified ;
18961 0 : storageOf_containsTransformation = source->p_containsTransformation ;
18962 0 : }
18963 :
18964 : void
18965 0 : SgStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
18966 : {
18967 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
18968 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
18969 0 : }
18970 :
18971 : void
18972 2 : SgStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
18973 : {
18974 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
18975 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
18976 2 : }
18977 :
18978 : void
18979 0 : SgStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
18980 : {
18981 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
18982 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
18983 0 : }
18984 :
18985 :
18986 : void
18987 0 : SgStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
18988 : {
18989 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
18990 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
18991 0 : }
18992 :
18993 :
18994 :
18995 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
18996 :
18997 :
18998 : // ********************************************************
18999 :
19000 : /* #line 19001 "../../../src/frontend/SageIII//StorageClasses.C" */
19001 :
19002 :
19003 :
19004 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19005 :
19006 : // ****************************************************************
19007 : // member functions definition specific to each node in the grammar
19008 : // these are the SgScopeStatementStorageClass parts !!!!
19009 : // ROSETTA generated code. Do not change by hand.
19010 : // ****************************************************************
19011 :
19012 :
19013 : /* #line 19014 "../../../src/frontend/SageIII//StorageClasses.C" */
19014 :
19015 :
19016 : void
19017 0 : SgScopeStatementStorageClass::pickOutIRNodeData ( SgScopeStatement* pointer )
19018 : {
19019 0 : SgScopeStatement* source = (SgScopeStatement*) (pointer);
19020 : #if FILE_IO_EXTRA_CHECK
19021 0 : assert ( source != NULL ) ;
19022 0 : assert ( source->p_freepointer != NULL) ;
19023 : #endif
19024 0 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
19025 0 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
19026 0 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
19027 0 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
19028 0 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
19029 0 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
19030 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
19031 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
19032 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
19033 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
19034 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
19035 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
19036 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
19037 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
19038 0 : storageOf_isModified = source->p_isModified ;
19039 0 : storageOf_containsTransformation = source->p_containsTransformation ;
19040 0 : }
19041 :
19042 : void
19043 0 : SgScopeStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
19044 : {
19045 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
19046 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
19047 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
19048 0 : }
19049 :
19050 : void
19051 2 : SgScopeStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
19052 : {
19053 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
19054 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
19055 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
19056 2 : }
19057 :
19058 : void
19059 0 : SgScopeStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
19060 : {
19061 0 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
19062 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
19063 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
19064 0 : }
19065 :
19066 :
19067 : void
19068 0 : SgScopeStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
19069 : {
19070 0 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
19071 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
19072 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
19073 0 : }
19074 :
19075 :
19076 :
19077 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19078 :
19079 :
19080 : // ********************************************************
19081 :
19082 : /* #line 19083 "../../../src/frontend/SageIII//StorageClasses.C" */
19083 :
19084 :
19085 :
19086 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19087 :
19088 : // ****************************************************************
19089 : // member functions definition specific to each node in the grammar
19090 : // these are the SgGlobalStorageClass parts !!!!
19091 : // ROSETTA generated code. Do not change by hand.
19092 : // ****************************************************************
19093 :
19094 :
19095 : /* #line 19096 "../../../src/frontend/SageIII//StorageClasses.C" */
19096 :
19097 :
19098 : void
19099 6 : SgGlobalStorageClass::pickOutIRNodeData ( SgGlobal* pointer )
19100 : {
19101 6 : SgGlobal* source = (SgGlobal*) (pointer);
19102 : #if FILE_IO_EXTRA_CHECK
19103 6 : assert ( source != NULL ) ;
19104 6 : assert ( source->p_freepointer != NULL) ;
19105 : #endif
19106 6 : SgDeclarationStatementPtrList::iterator i_declarations = source->p_declarations.begin() ;
19107 6 : unsigned int tempListCountdeclarations = 0;
19108 6 : SgDeclarationStatementPtrList::value_type * tempListdeclarations = new SgDeclarationStatementPtrList::value_type[ source->p_declarations.size() ];
19109 9178 : for ( ; i_declarations != source->p_declarations.end(); ++i_declarations )
19110 : {
19111 9172 : tempListdeclarations[tempListCountdeclarations] = *i_declarations;
19112 9172 : tempListCountdeclarations++;
19113 9172 : (*i_declarations) = (SgDeclarationStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_declarations ) );
19114 : }
19115 6 : storageOf_declarations.storeDataInEasyStorageClass(source->p_declarations);
19116 6 : tempListCountdeclarations = 0;
19117 6 : i_declarations = source->p_declarations.begin() ;
19118 9178 : for ( ; i_declarations != source->p_declarations.end(); ++i_declarations )
19119 : {
19120 9172 : *i_declarations = tempListdeclarations[tempListCountdeclarations] ;
19121 9172 : tempListCountdeclarations++;
19122 : }
19123 6 : delete [] tempListdeclarations;
19124 6 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
19125 6 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
19126 6 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
19127 6 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
19128 6 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
19129 6 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
19130 6 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
19131 6 : storageOf_source_sequence_value = source->p_source_sequence_value ;
19132 6 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
19133 6 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
19134 6 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
19135 6 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
19136 6 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
19137 6 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
19138 6 : storageOf_isModified = source->p_isModified ;
19139 6 : storageOf_containsTransformation = source->p_containsTransformation ;
19140 6 : }
19141 :
19142 : void
19143 0 : SgGlobalStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
19144 : {
19145 0 : EasyStorage < SgDeclarationStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
19146 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
19147 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
19148 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
19149 0 : }
19150 :
19151 : void
19152 2 : SgGlobalStorageClass::deleteStaticDataOfEasyStorageClasses ( )
19153 : {
19154 2 : EasyStorage < SgDeclarationStatementPtrList > :: deleteMemoryPool() ;
19155 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
19156 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
19157 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
19158 2 : }
19159 :
19160 : void
19161 3 : SgGlobalStorageClass::writeEasyStorageDataToFile (std::ostream& out)
19162 : {
19163 3 : EasyStorage < SgDeclarationStatementPtrList > :: writeToFile(out) ;
19164 3 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
19165 3 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
19166 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
19167 3 : }
19168 :
19169 :
19170 : void
19171 2 : SgGlobalStorageClass::readEasyStorageDataFromFile (std::istream& in)
19172 : {
19173 2 : EasyStorage < SgDeclarationStatementPtrList > :: readFromFile(in) ;
19174 2 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
19175 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
19176 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
19177 2 : }
19178 :
19179 :
19180 :
19181 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19182 :
19183 :
19184 : // ********************************************************
19185 :
19186 : /* #line 19187 "../../../src/frontend/SageIII//StorageClasses.C" */
19187 :
19188 :
19189 :
19190 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19191 :
19192 : // ****************************************************************
19193 : // member functions definition specific to each node in the grammar
19194 : // these are the SgBasicBlockStorageClass parts !!!!
19195 : // ROSETTA generated code. Do not change by hand.
19196 : // ****************************************************************
19197 :
19198 :
19199 : /* #line 19200 "../../../src/frontend/SageIII//StorageClasses.C" */
19200 :
19201 :
19202 : void
19203 2866 : SgBasicBlockStorageClass::pickOutIRNodeData ( SgBasicBlock* pointer )
19204 : {
19205 2866 : SgBasicBlock* source = (SgBasicBlock*) (pointer);
19206 : #if FILE_IO_EXTRA_CHECK
19207 2866 : assert ( source != NULL ) ;
19208 2866 : assert ( source->p_freepointer != NULL) ;
19209 : #endif
19210 2866 : SgStatementPtrList::iterator i_statements = source->p_statements.begin() ;
19211 2866 : unsigned int tempListCountstatements = 0;
19212 2866 : SgStatementPtrList::value_type * tempListstatements = new SgStatementPtrList::value_type[ source->p_statements.size() ];
19213 7264 : for ( ; i_statements != source->p_statements.end(); ++i_statements )
19214 : {
19215 4398 : tempListstatements[tempListCountstatements] = *i_statements;
19216 4398 : tempListCountstatements++;
19217 4398 : (*i_statements) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_statements ) );
19218 : }
19219 2866 : storageOf_statements.storeDataInEasyStorageClass(source->p_statements);
19220 2866 : tempListCountstatements = 0;
19221 2866 : i_statements = source->p_statements.begin() ;
19222 7264 : for ( ; i_statements != source->p_statements.end(); ++i_statements )
19223 : {
19224 4398 : *i_statements = tempListstatements[tempListCountstatements] ;
19225 4398 : tempListCountstatements++;
19226 : }
19227 2866 : delete [] tempListstatements;
19228 2866 : storageOf_asm_function_body.storeDataInEasyStorageClass(source->p_asm_function_body);
19229 2866 : storageOf_string_label.storeDataInEasyStorageClass(source->p_string_label);
19230 2866 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
19231 2866 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
19232 2866 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
19233 2866 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
19234 2866 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
19235 2866 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
19236 2866 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
19237 2866 : storageOf_source_sequence_value = source->p_source_sequence_value ;
19238 2866 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
19239 2866 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
19240 2866 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
19241 2866 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
19242 2866 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
19243 2866 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
19244 2866 : storageOf_isModified = source->p_isModified ;
19245 2866 : storageOf_containsTransformation = source->p_containsTransformation ;
19246 2866 : }
19247 :
19248 : void
19249 0 : SgBasicBlockStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
19250 : {
19251 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
19252 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
19253 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
19254 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
19255 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
19256 0 : }
19257 :
19258 : void
19259 2 : SgBasicBlockStorageClass::deleteStaticDataOfEasyStorageClasses ( )
19260 : {
19261 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
19262 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
19263 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
19264 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
19265 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
19266 2 : }
19267 :
19268 : void
19269 3 : SgBasicBlockStorageClass::writeEasyStorageDataToFile (std::ostream& out)
19270 : {
19271 3 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
19272 3 : EasyStorage < std::string > :: writeToFile(out) ;
19273 3 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
19274 3 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
19275 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
19276 3 : }
19277 :
19278 :
19279 : void
19280 2 : SgBasicBlockStorageClass::readEasyStorageDataFromFile (std::istream& in)
19281 : {
19282 2 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
19283 2 : EasyStorage < std::string > :: readFromFile(in) ;
19284 2 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
19285 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
19286 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
19287 2 : }
19288 :
19289 :
19290 :
19291 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19292 :
19293 :
19294 : // ********************************************************
19295 :
19296 : /* #line 19297 "../../../src/frontend/SageIII//StorageClasses.C" */
19297 :
19298 :
19299 :
19300 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19301 :
19302 : // ****************************************************************
19303 : // member functions definition specific to each node in the grammar
19304 : // these are the SgIfStmtStorageClass parts !!!!
19305 : // ROSETTA generated code. Do not change by hand.
19306 : // ****************************************************************
19307 :
19308 :
19309 : /* #line 19310 "../../../src/frontend/SageIII//StorageClasses.C" */
19310 :
19311 :
19312 : void
19313 592 : SgIfStmtStorageClass::pickOutIRNodeData ( SgIfStmt* pointer )
19314 : {
19315 592 : SgIfStmt* source = (SgIfStmt*) (pointer);
19316 : #if FILE_IO_EXTRA_CHECK
19317 592 : assert ( source != NULL ) ;
19318 592 : assert ( source->p_freepointer != NULL) ;
19319 : #endif
19320 592 : storageOf_conditional = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_conditional );
19321 592 : storageOf_true_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_true_body );
19322 592 : storageOf_false_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_false_body );
19323 592 : storageOf_is_if_constexpr_statement = source->p_is_if_constexpr_statement ;
19324 592 : storageOf_if_constexpr_value_known = source->p_if_constexpr_value_known ;
19325 592 : storageOf_if_constexpr_value = source->p_if_constexpr_value ;
19326 592 : storageOf_else_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_else_numeric_label );
19327 592 : storageOf_string_label.storeDataInEasyStorageClass(source->p_string_label);
19328 592 : storageOf_end_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_numeric_label );
19329 592 : storageOf_has_end_statement = source->p_has_end_statement ;
19330 592 : storageOf_use_then_keyword = source->p_use_then_keyword ;
19331 592 : storageOf_is_else_if_statement = source->p_is_else_if_statement ;
19332 592 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
19333 592 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
19334 592 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
19335 592 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
19336 592 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
19337 592 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
19338 592 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
19339 592 : storageOf_source_sequence_value = source->p_source_sequence_value ;
19340 592 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
19341 592 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
19342 592 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
19343 592 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
19344 592 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
19345 592 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
19346 592 : storageOf_isModified = source->p_isModified ;
19347 592 : storageOf_containsTransformation = source->p_containsTransformation ;
19348 592 : }
19349 :
19350 : void
19351 0 : SgIfStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
19352 : {
19353 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
19354 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
19355 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
19356 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
19357 0 : }
19358 :
19359 : void
19360 2 : SgIfStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
19361 : {
19362 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
19363 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
19364 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
19365 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
19366 2 : }
19367 :
19368 : void
19369 1 : SgIfStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
19370 : {
19371 1 : EasyStorage < std::string > :: writeToFile(out) ;
19372 1 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
19373 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
19374 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
19375 1 : }
19376 :
19377 :
19378 : void
19379 1 : SgIfStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
19380 : {
19381 1 : EasyStorage < std::string > :: readFromFile(in) ;
19382 1 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
19383 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
19384 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
19385 1 : }
19386 :
19387 :
19388 :
19389 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19390 :
19391 :
19392 : // ********************************************************
19393 :
19394 : /* #line 19395 "../../../src/frontend/SageIII//StorageClasses.C" */
19395 :
19396 :
19397 :
19398 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19399 :
19400 : // ****************************************************************
19401 : // member functions definition specific to each node in the grammar
19402 : // these are the SgForStatementStorageClass parts !!!!
19403 : // ROSETTA generated code. Do not change by hand.
19404 : // ****************************************************************
19405 :
19406 :
19407 : /* #line 19408 "../../../src/frontend/SageIII//StorageClasses.C" */
19408 :
19409 :
19410 : void
19411 40 : SgForStatementStorageClass::pickOutIRNodeData ( SgForStatement* pointer )
19412 : {
19413 40 : SgForStatement* source = (SgForStatement*) (pointer);
19414 : #if FILE_IO_EXTRA_CHECK
19415 40 : assert ( source != NULL ) ;
19416 40 : assert ( source->p_freepointer != NULL) ;
19417 : #endif
19418 40 : storageOf_for_init_stmt = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_for_init_stmt );
19419 40 : storageOf_test = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_test );
19420 40 : storageOf_increment = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_increment );
19421 40 : storageOf_loop_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_loop_body );
19422 40 : storageOf_else_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_else_body );
19423 40 : storageOf_string_label.storeDataInEasyStorageClass(source->p_string_label);
19424 40 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
19425 40 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
19426 40 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
19427 40 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
19428 40 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
19429 40 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
19430 40 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
19431 40 : storageOf_source_sequence_value = source->p_source_sequence_value ;
19432 40 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
19433 40 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
19434 40 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
19435 40 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
19436 40 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
19437 40 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
19438 40 : storageOf_isModified = source->p_isModified ;
19439 40 : storageOf_containsTransformation = source->p_containsTransformation ;
19440 40 : }
19441 :
19442 : void
19443 0 : SgForStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
19444 : {
19445 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
19446 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
19447 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
19448 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
19449 0 : }
19450 :
19451 : void
19452 2 : SgForStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
19453 : {
19454 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
19455 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
19456 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
19457 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
19458 2 : }
19459 :
19460 : void
19461 1 : SgForStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
19462 : {
19463 1 : EasyStorage < std::string > :: writeToFile(out) ;
19464 1 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
19465 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
19466 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
19467 1 : }
19468 :
19469 :
19470 : void
19471 1 : SgForStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
19472 : {
19473 1 : EasyStorage < std::string > :: readFromFile(in) ;
19474 1 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
19475 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
19476 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
19477 1 : }
19478 :
19479 :
19480 :
19481 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19482 :
19483 :
19484 : // ********************************************************
19485 :
19486 : /* #line 19487 "../../../src/frontend/SageIII//StorageClasses.C" */
19487 :
19488 :
19489 :
19490 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19491 :
19492 : // ****************************************************************
19493 : // member functions definition specific to each node in the grammar
19494 : // these are the SgFunctionDefinitionStorageClass parts !!!!
19495 : // ROSETTA generated code. Do not change by hand.
19496 : // ****************************************************************
19497 :
19498 :
19499 : /* #line 19500 "../../../src/frontend/SageIII//StorageClasses.C" */
19500 :
19501 :
19502 : void
19503 1583 : SgFunctionDefinitionStorageClass::pickOutIRNodeData ( SgFunctionDefinition* pointer )
19504 : {
19505 1583 : SgFunctionDefinition* source = (SgFunctionDefinition*) (pointer);
19506 : #if FILE_IO_EXTRA_CHECK
19507 1583 : assert ( source != NULL ) ;
19508 1583 : assert ( source->p_freepointer != NULL) ;
19509 : #endif
19510 1583 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
19511 1583 : storageOf_scope_number_list.storeDataInEasyStorageClass(source->p_scope_number_list);
19512 1583 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
19513 1583 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
19514 1583 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
19515 1583 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
19516 1583 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
19517 1583 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
19518 1583 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
19519 1583 : storageOf_source_sequence_value = source->p_source_sequence_value ;
19520 1583 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
19521 1583 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
19522 1583 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
19523 1583 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
19524 1583 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
19525 1583 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
19526 1583 : storageOf_isModified = source->p_isModified ;
19527 1583 : storageOf_containsTransformation = source->p_containsTransformation ;
19528 1583 : }
19529 :
19530 : void
19531 0 : SgFunctionDefinitionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
19532 : {
19533 0 : EasyStorage < std::map<SgNode*,int> > :: arrangeMemoryPoolInOneBlock() ;
19534 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
19535 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
19536 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
19537 0 : }
19538 :
19539 : void
19540 2 : SgFunctionDefinitionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
19541 : {
19542 2 : EasyStorage < std::map<SgNode*,int> > :: deleteMemoryPool() ;
19543 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
19544 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
19545 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
19546 2 : }
19547 :
19548 : void
19549 3 : SgFunctionDefinitionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
19550 : {
19551 3 : EasyStorage < std::map<SgNode*,int> > :: writeToFile(out) ;
19552 3 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
19553 3 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
19554 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
19555 3 : }
19556 :
19557 :
19558 : void
19559 2 : SgFunctionDefinitionStorageClass::readEasyStorageDataFromFile (std::istream& in)
19560 : {
19561 2 : EasyStorage < std::map<SgNode*,int> > :: readFromFile(in) ;
19562 2 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
19563 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
19564 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
19565 2 : }
19566 :
19567 :
19568 :
19569 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19570 :
19571 :
19572 : // ********************************************************
19573 :
19574 : /* #line 19575 "../../../src/frontend/SageIII//StorageClasses.C" */
19575 :
19576 :
19577 :
19578 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19579 :
19580 : // ****************************************************************
19581 : // member functions definition specific to each node in the grammar
19582 : // these are the SgTemplateFunctionDefinitionStorageClass parts !!!!
19583 : // ROSETTA generated code. Do not change by hand.
19584 : // ****************************************************************
19585 :
19586 :
19587 : /* #line 19588 "../../../src/frontend/SageIII//StorageClasses.C" */
19588 :
19589 :
19590 : void
19591 315 : SgTemplateFunctionDefinitionStorageClass::pickOutIRNodeData ( SgTemplateFunctionDefinition* pointer )
19592 : {
19593 315 : SgTemplateFunctionDefinition* source = (SgTemplateFunctionDefinition*) (pointer);
19594 : #if FILE_IO_EXTRA_CHECK
19595 315 : assert ( source != NULL ) ;
19596 315 : assert ( source->p_freepointer != NULL) ;
19597 : #endif
19598 315 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
19599 315 : storageOf_scope_number_list.storeDataInEasyStorageClass(source->p_scope_number_list);
19600 315 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
19601 315 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
19602 315 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
19603 315 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
19604 315 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
19605 315 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
19606 315 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
19607 315 : storageOf_source_sequence_value = source->p_source_sequence_value ;
19608 315 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
19609 315 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
19610 315 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
19611 315 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
19612 315 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
19613 315 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
19614 315 : storageOf_isModified = source->p_isModified ;
19615 315 : storageOf_containsTransformation = source->p_containsTransformation ;
19616 315 : }
19617 :
19618 : void
19619 0 : SgTemplateFunctionDefinitionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
19620 : {
19621 0 : EasyStorage < std::map<SgNode*,int> > :: arrangeMemoryPoolInOneBlock() ;
19622 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
19623 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
19624 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
19625 0 : }
19626 :
19627 : void
19628 2 : SgTemplateFunctionDefinitionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
19629 : {
19630 2 : EasyStorage < std::map<SgNode*,int> > :: deleteMemoryPool() ;
19631 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
19632 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
19633 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
19634 2 : }
19635 :
19636 : void
19637 1 : SgTemplateFunctionDefinitionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
19638 : {
19639 1 : EasyStorage < std::map<SgNode*,int> > :: writeToFile(out) ;
19640 1 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
19641 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
19642 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
19643 1 : }
19644 :
19645 :
19646 : void
19647 1 : SgTemplateFunctionDefinitionStorageClass::readEasyStorageDataFromFile (std::istream& in)
19648 : {
19649 1 : EasyStorage < std::map<SgNode*,int> > :: readFromFile(in) ;
19650 1 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
19651 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
19652 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
19653 1 : }
19654 :
19655 :
19656 :
19657 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19658 :
19659 :
19660 : // ********************************************************
19661 :
19662 : /* #line 19663 "../../../src/frontend/SageIII//StorageClasses.C" */
19663 :
19664 :
19665 :
19666 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19667 :
19668 : // ****************************************************************
19669 : // member functions definition specific to each node in the grammar
19670 : // these are the SgClassDefinitionStorageClass parts !!!!
19671 : // ROSETTA generated code. Do not change by hand.
19672 : // ****************************************************************
19673 :
19674 :
19675 : /* #line 19676 "../../../src/frontend/SageIII//StorageClasses.C" */
19676 :
19677 :
19678 : void
19679 168 : SgClassDefinitionStorageClass::pickOutIRNodeData ( SgClassDefinition* pointer )
19680 : {
19681 168 : SgClassDefinition* source = (SgClassDefinition*) (pointer);
19682 : #if FILE_IO_EXTRA_CHECK
19683 168 : assert ( source != NULL ) ;
19684 168 : assert ( source->p_freepointer != NULL) ;
19685 : #endif
19686 168 : SgDeclarationStatementPtrList::iterator i_members = source->p_members.begin() ;
19687 168 : unsigned int tempListCountmembers = 0;
19688 168 : SgDeclarationStatementPtrList::value_type * tempListmembers = new SgDeclarationStatementPtrList::value_type[ source->p_members.size() ];
19689 1025 : for ( ; i_members != source->p_members.end(); ++i_members )
19690 : {
19691 857 : tempListmembers[tempListCountmembers] = *i_members;
19692 857 : tempListCountmembers++;
19693 857 : (*i_members) = (SgDeclarationStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_members ) );
19694 : }
19695 168 : storageOf_members.storeDataInEasyStorageClass(source->p_members);
19696 168 : tempListCountmembers = 0;
19697 168 : i_members = source->p_members.begin() ;
19698 1025 : for ( ; i_members != source->p_members.end(); ++i_members )
19699 : {
19700 857 : *i_members = tempListmembers[tempListCountmembers] ;
19701 857 : tempListCountmembers++;
19702 : }
19703 168 : delete [] tempListmembers;
19704 168 : SgBaseClassPtrList::iterator i_inheritances = source->p_inheritances.begin() ;
19705 168 : unsigned int tempListCountinheritances = 0;
19706 168 : SgBaseClassPtrList::value_type * tempListinheritances = new SgBaseClassPtrList::value_type[ source->p_inheritances.size() ];
19707 188 : for ( ; i_inheritances != source->p_inheritances.end(); ++i_inheritances )
19708 : {
19709 20 : tempListinheritances[tempListCountinheritances] = *i_inheritances;
19710 20 : tempListCountinheritances++;
19711 20 : (*i_inheritances) = (SgBaseClassPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_inheritances ) );
19712 : }
19713 168 : storageOf_inheritances.storeDataInEasyStorageClass(source->p_inheritances);
19714 168 : tempListCountinheritances = 0;
19715 168 : i_inheritances = source->p_inheritances.begin() ;
19716 188 : for ( ; i_inheritances != source->p_inheritances.end(); ++i_inheritances )
19717 : {
19718 20 : *i_inheritances = tempListinheritances[tempListCountinheritances] ;
19719 20 : tempListCountinheritances++;
19720 : }
19721 168 : delete [] tempListinheritances;
19722 168 : storageOf_packingAlignment = source->p_packingAlignment ;
19723 168 : storageOf_isSequence = source->p_isSequence ;
19724 168 : storageOf_isPrivate = source->p_isPrivate ;
19725 168 : storageOf_isAbstract = source->p_isAbstract ;
19726 168 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
19727 168 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
19728 168 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
19729 168 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
19730 168 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
19731 168 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
19732 168 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
19733 168 : storageOf_source_sequence_value = source->p_source_sequence_value ;
19734 168 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
19735 168 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
19736 168 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
19737 168 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
19738 168 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
19739 168 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
19740 168 : storageOf_isModified = source->p_isModified ;
19741 168 : storageOf_containsTransformation = source->p_containsTransformation ;
19742 168 : }
19743 :
19744 : void
19745 0 : SgClassDefinitionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
19746 : {
19747 0 : EasyStorage < SgDeclarationStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
19748 0 : EasyStorage < SgBaseClassPtrList > :: arrangeMemoryPoolInOneBlock() ;
19749 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
19750 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
19751 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
19752 0 : }
19753 :
19754 : void
19755 2 : SgClassDefinitionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
19756 : {
19757 2 : EasyStorage < SgDeclarationStatementPtrList > :: deleteMemoryPool() ;
19758 2 : EasyStorage < SgBaseClassPtrList > :: deleteMemoryPool() ;
19759 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
19760 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
19761 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
19762 2 : }
19763 :
19764 : void
19765 2 : SgClassDefinitionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
19766 : {
19767 2 : EasyStorage < SgDeclarationStatementPtrList > :: writeToFile(out) ;
19768 2 : EasyStorage < SgBaseClassPtrList > :: writeToFile(out) ;
19769 2 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
19770 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
19771 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
19772 2 : }
19773 :
19774 :
19775 : void
19776 2 : SgClassDefinitionStorageClass::readEasyStorageDataFromFile (std::istream& in)
19777 : {
19778 2 : EasyStorage < SgDeclarationStatementPtrList > :: readFromFile(in) ;
19779 2 : EasyStorage < SgBaseClassPtrList > :: readFromFile(in) ;
19780 2 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
19781 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
19782 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
19783 2 : }
19784 :
19785 :
19786 :
19787 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19788 :
19789 :
19790 : // ********************************************************
19791 :
19792 : /* #line 19793 "../../../src/frontend/SageIII//StorageClasses.C" */
19793 :
19794 :
19795 :
19796 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19797 :
19798 : // ****************************************************************
19799 : // member functions definition specific to each node in the grammar
19800 : // these are the SgTemplateInstantiationDefnStorageClass parts !!!!
19801 : // ROSETTA generated code. Do not change by hand.
19802 : // ****************************************************************
19803 :
19804 :
19805 : /* #line 19806 "../../../src/frontend/SageIII//StorageClasses.C" */
19806 :
19807 :
19808 : void
19809 601 : SgTemplateInstantiationDefnStorageClass::pickOutIRNodeData ( SgTemplateInstantiationDefn* pointer )
19810 : {
19811 601 : SgTemplateInstantiationDefn* source = (SgTemplateInstantiationDefn*) (pointer);
19812 : #if FILE_IO_EXTRA_CHECK
19813 601 : assert ( source != NULL ) ;
19814 601 : assert ( source->p_freepointer != NULL) ;
19815 : #endif
19816 601 : SgDeclarationStatementPtrList::iterator i_members = source->p_members.begin() ;
19817 601 : unsigned int tempListCountmembers = 0;
19818 601 : SgDeclarationStatementPtrList::value_type * tempListmembers = new SgDeclarationStatementPtrList::value_type[ source->p_members.size() ];
19819 3420 : for ( ; i_members != source->p_members.end(); ++i_members )
19820 : {
19821 2819 : tempListmembers[tempListCountmembers] = *i_members;
19822 2819 : tempListCountmembers++;
19823 2819 : (*i_members) = (SgDeclarationStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_members ) );
19824 : }
19825 601 : storageOf_members.storeDataInEasyStorageClass(source->p_members);
19826 601 : tempListCountmembers = 0;
19827 601 : i_members = source->p_members.begin() ;
19828 3420 : for ( ; i_members != source->p_members.end(); ++i_members )
19829 : {
19830 2819 : *i_members = tempListmembers[tempListCountmembers] ;
19831 2819 : tempListCountmembers++;
19832 : }
19833 601 : delete [] tempListmembers;
19834 601 : SgBaseClassPtrList::iterator i_inheritances = source->p_inheritances.begin() ;
19835 601 : unsigned int tempListCountinheritances = 0;
19836 601 : SgBaseClassPtrList::value_type * tempListinheritances = new SgBaseClassPtrList::value_type[ source->p_inheritances.size() ];
19837 873 : for ( ; i_inheritances != source->p_inheritances.end(); ++i_inheritances )
19838 : {
19839 272 : tempListinheritances[tempListCountinheritances] = *i_inheritances;
19840 272 : tempListCountinheritances++;
19841 272 : (*i_inheritances) = (SgBaseClassPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_inheritances ) );
19842 : }
19843 601 : storageOf_inheritances.storeDataInEasyStorageClass(source->p_inheritances);
19844 601 : tempListCountinheritances = 0;
19845 601 : i_inheritances = source->p_inheritances.begin() ;
19846 873 : for ( ; i_inheritances != source->p_inheritances.end(); ++i_inheritances )
19847 : {
19848 272 : *i_inheritances = tempListinheritances[tempListCountinheritances] ;
19849 272 : tempListCountinheritances++;
19850 : }
19851 601 : delete [] tempListinheritances;
19852 601 : storageOf_packingAlignment = source->p_packingAlignment ;
19853 601 : storageOf_isSequence = source->p_isSequence ;
19854 601 : storageOf_isPrivate = source->p_isPrivate ;
19855 601 : storageOf_isAbstract = source->p_isAbstract ;
19856 601 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
19857 601 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
19858 601 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
19859 601 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
19860 601 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
19861 601 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
19862 601 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
19863 601 : storageOf_source_sequence_value = source->p_source_sequence_value ;
19864 601 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
19865 601 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
19866 601 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
19867 601 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
19868 601 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
19869 601 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
19870 601 : storageOf_isModified = source->p_isModified ;
19871 601 : storageOf_containsTransformation = source->p_containsTransformation ;
19872 601 : }
19873 :
19874 : void
19875 0 : SgTemplateInstantiationDefnStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
19876 : {
19877 0 : EasyStorage < SgDeclarationStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
19878 0 : EasyStorage < SgBaseClassPtrList > :: arrangeMemoryPoolInOneBlock() ;
19879 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
19880 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
19881 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
19882 0 : }
19883 :
19884 : void
19885 2 : SgTemplateInstantiationDefnStorageClass::deleteStaticDataOfEasyStorageClasses ( )
19886 : {
19887 2 : EasyStorage < SgDeclarationStatementPtrList > :: deleteMemoryPool() ;
19888 2 : EasyStorage < SgBaseClassPtrList > :: deleteMemoryPool() ;
19889 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
19890 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
19891 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
19892 2 : }
19893 :
19894 : void
19895 1 : SgTemplateInstantiationDefnStorageClass::writeEasyStorageDataToFile (std::ostream& out)
19896 : {
19897 1 : EasyStorage < SgDeclarationStatementPtrList > :: writeToFile(out) ;
19898 1 : EasyStorage < SgBaseClassPtrList > :: writeToFile(out) ;
19899 1 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
19900 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
19901 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
19902 1 : }
19903 :
19904 :
19905 : void
19906 1 : SgTemplateInstantiationDefnStorageClass::readEasyStorageDataFromFile (std::istream& in)
19907 : {
19908 1 : EasyStorage < SgDeclarationStatementPtrList > :: readFromFile(in) ;
19909 1 : EasyStorage < SgBaseClassPtrList > :: readFromFile(in) ;
19910 1 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
19911 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
19912 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
19913 1 : }
19914 :
19915 :
19916 :
19917 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19918 :
19919 :
19920 : // ********************************************************
19921 :
19922 : /* #line 19923 "../../../src/frontend/SageIII//StorageClasses.C" */
19923 :
19924 :
19925 :
19926 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
19927 :
19928 : // ****************************************************************
19929 : // member functions definition specific to each node in the grammar
19930 : // these are the SgTemplateClassDefinitionStorageClass parts !!!!
19931 : // ROSETTA generated code. Do not change by hand.
19932 : // ****************************************************************
19933 :
19934 :
19935 : /* #line 19936 "../../../src/frontend/SageIII//StorageClasses.C" */
19936 :
19937 :
19938 : void
19939 506 : SgTemplateClassDefinitionStorageClass::pickOutIRNodeData ( SgTemplateClassDefinition* pointer )
19940 : {
19941 506 : SgTemplateClassDefinition* source = (SgTemplateClassDefinition*) (pointer);
19942 : #if FILE_IO_EXTRA_CHECK
19943 506 : assert ( source != NULL ) ;
19944 506 : assert ( source->p_freepointer != NULL) ;
19945 : #endif
19946 506 : SgDeclarationStatementPtrList::iterator i_members = source->p_members.begin() ;
19947 506 : unsigned int tempListCountmembers = 0;
19948 506 : SgDeclarationStatementPtrList::value_type * tempListmembers = new SgDeclarationStatementPtrList::value_type[ source->p_members.size() ];
19949 1866 : for ( ; i_members != source->p_members.end(); ++i_members )
19950 : {
19951 1360 : tempListmembers[tempListCountmembers] = *i_members;
19952 1360 : tempListCountmembers++;
19953 1360 : (*i_members) = (SgDeclarationStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_members ) );
19954 : }
19955 506 : storageOf_members.storeDataInEasyStorageClass(source->p_members);
19956 506 : tempListCountmembers = 0;
19957 506 : i_members = source->p_members.begin() ;
19958 1866 : for ( ; i_members != source->p_members.end(); ++i_members )
19959 : {
19960 1360 : *i_members = tempListmembers[tempListCountmembers] ;
19961 1360 : tempListCountmembers++;
19962 : }
19963 506 : delete [] tempListmembers;
19964 506 : SgBaseClassPtrList::iterator i_inheritances = source->p_inheritances.begin() ;
19965 506 : unsigned int tempListCountinheritances = 0;
19966 506 : SgBaseClassPtrList::value_type * tempListinheritances = new SgBaseClassPtrList::value_type[ source->p_inheritances.size() ];
19967 834 : for ( ; i_inheritances != source->p_inheritances.end(); ++i_inheritances )
19968 : {
19969 328 : tempListinheritances[tempListCountinheritances] = *i_inheritances;
19970 328 : tempListCountinheritances++;
19971 328 : (*i_inheritances) = (SgBaseClassPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_inheritances ) );
19972 : }
19973 506 : storageOf_inheritances.storeDataInEasyStorageClass(source->p_inheritances);
19974 506 : tempListCountinheritances = 0;
19975 506 : i_inheritances = source->p_inheritances.begin() ;
19976 834 : for ( ; i_inheritances != source->p_inheritances.end(); ++i_inheritances )
19977 : {
19978 328 : *i_inheritances = tempListinheritances[tempListCountinheritances] ;
19979 328 : tempListCountinheritances++;
19980 : }
19981 506 : delete [] tempListinheritances;
19982 506 : storageOf_packingAlignment = source->p_packingAlignment ;
19983 506 : storageOf_isSequence = source->p_isSequence ;
19984 506 : storageOf_isPrivate = source->p_isPrivate ;
19985 506 : storageOf_isAbstract = source->p_isAbstract ;
19986 506 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
19987 506 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
19988 506 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
19989 506 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
19990 506 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
19991 506 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
19992 506 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
19993 506 : storageOf_source_sequence_value = source->p_source_sequence_value ;
19994 506 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
19995 506 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
19996 506 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
19997 506 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
19998 506 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
19999 506 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
20000 506 : storageOf_isModified = source->p_isModified ;
20001 506 : storageOf_containsTransformation = source->p_containsTransformation ;
20002 506 : }
20003 :
20004 : void
20005 0 : SgTemplateClassDefinitionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
20006 : {
20007 0 : EasyStorage < SgDeclarationStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
20008 0 : EasyStorage < SgBaseClassPtrList > :: arrangeMemoryPoolInOneBlock() ;
20009 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
20010 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
20011 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
20012 0 : }
20013 :
20014 : void
20015 2 : SgTemplateClassDefinitionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
20016 : {
20017 2 : EasyStorage < SgDeclarationStatementPtrList > :: deleteMemoryPool() ;
20018 2 : EasyStorage < SgBaseClassPtrList > :: deleteMemoryPool() ;
20019 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
20020 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
20021 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
20022 2 : }
20023 :
20024 : void
20025 1 : SgTemplateClassDefinitionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
20026 : {
20027 1 : EasyStorage < SgDeclarationStatementPtrList > :: writeToFile(out) ;
20028 1 : EasyStorage < SgBaseClassPtrList > :: writeToFile(out) ;
20029 1 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
20030 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
20031 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
20032 1 : }
20033 :
20034 :
20035 : void
20036 1 : SgTemplateClassDefinitionStorageClass::readEasyStorageDataFromFile (std::istream& in)
20037 : {
20038 1 : EasyStorage < SgDeclarationStatementPtrList > :: readFromFile(in) ;
20039 1 : EasyStorage < SgBaseClassPtrList > :: readFromFile(in) ;
20040 1 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
20041 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
20042 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
20043 1 : }
20044 :
20045 :
20046 :
20047 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20048 :
20049 :
20050 : // ********************************************************
20051 :
20052 : /* #line 20053 "../../../src/frontend/SageIII//StorageClasses.C" */
20053 :
20054 :
20055 :
20056 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20057 :
20058 : // ****************************************************************
20059 : // member functions definition specific to each node in the grammar
20060 : // these are the SgWhileStmtStorageClass parts !!!!
20061 : // ROSETTA generated code. Do not change by hand.
20062 : // ****************************************************************
20063 :
20064 :
20065 : /* #line 20066 "../../../src/frontend/SageIII//StorageClasses.C" */
20066 :
20067 :
20068 : void
20069 47 : SgWhileStmtStorageClass::pickOutIRNodeData ( SgWhileStmt* pointer )
20070 : {
20071 47 : SgWhileStmt* source = (SgWhileStmt*) (pointer);
20072 : #if FILE_IO_EXTRA_CHECK
20073 47 : assert ( source != NULL ) ;
20074 47 : assert ( source->p_freepointer != NULL) ;
20075 : #endif
20076 47 : storageOf_condition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_condition );
20077 47 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
20078 47 : storageOf_else_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_else_body );
20079 47 : storageOf_end_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_numeric_label );
20080 47 : storageOf_string_label.storeDataInEasyStorageClass(source->p_string_label);
20081 47 : storageOf_has_end_statement = source->p_has_end_statement ;
20082 47 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
20083 47 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
20084 47 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
20085 47 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
20086 47 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
20087 47 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
20088 47 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
20089 47 : storageOf_source_sequence_value = source->p_source_sequence_value ;
20090 47 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
20091 47 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
20092 47 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
20093 47 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
20094 47 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
20095 47 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
20096 47 : storageOf_isModified = source->p_isModified ;
20097 47 : storageOf_containsTransformation = source->p_containsTransformation ;
20098 47 : }
20099 :
20100 : void
20101 0 : SgWhileStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
20102 : {
20103 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
20104 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
20105 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
20106 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
20107 0 : }
20108 :
20109 : void
20110 2 : SgWhileStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
20111 : {
20112 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
20113 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
20114 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
20115 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
20116 2 : }
20117 :
20118 : void
20119 1 : SgWhileStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
20120 : {
20121 1 : EasyStorage < std::string > :: writeToFile(out) ;
20122 1 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
20123 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
20124 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
20125 1 : }
20126 :
20127 :
20128 : void
20129 1 : SgWhileStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
20130 : {
20131 1 : EasyStorage < std::string > :: readFromFile(in) ;
20132 1 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
20133 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
20134 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
20135 1 : }
20136 :
20137 :
20138 :
20139 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20140 :
20141 :
20142 : // ********************************************************
20143 :
20144 : /* #line 20145 "../../../src/frontend/SageIII//StorageClasses.C" */
20145 :
20146 :
20147 :
20148 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20149 :
20150 : // ****************************************************************
20151 : // member functions definition specific to each node in the grammar
20152 : // these are the SgDoWhileStmtStorageClass parts !!!!
20153 : // ROSETTA generated code. Do not change by hand.
20154 : // ****************************************************************
20155 :
20156 :
20157 : /* #line 20158 "../../../src/frontend/SageIII//StorageClasses.C" */
20158 :
20159 :
20160 : void
20161 7 : SgDoWhileStmtStorageClass::pickOutIRNodeData ( SgDoWhileStmt* pointer )
20162 : {
20163 7 : SgDoWhileStmt* source = (SgDoWhileStmt*) (pointer);
20164 : #if FILE_IO_EXTRA_CHECK
20165 7 : assert ( source != NULL ) ;
20166 7 : assert ( source->p_freepointer != NULL) ;
20167 : #endif
20168 7 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
20169 7 : storageOf_condition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_condition );
20170 7 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
20171 7 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
20172 7 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
20173 7 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
20174 7 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
20175 7 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
20176 7 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
20177 7 : storageOf_source_sequence_value = source->p_source_sequence_value ;
20178 7 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
20179 7 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
20180 7 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
20181 7 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
20182 7 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
20183 7 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
20184 7 : storageOf_isModified = source->p_isModified ;
20185 7 : storageOf_containsTransformation = source->p_containsTransformation ;
20186 7 : }
20187 :
20188 : void
20189 0 : SgDoWhileStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
20190 : {
20191 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
20192 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
20193 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
20194 0 : }
20195 :
20196 : void
20197 2 : SgDoWhileStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
20198 : {
20199 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
20200 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
20201 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
20202 2 : }
20203 :
20204 : void
20205 1 : SgDoWhileStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
20206 : {
20207 1 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
20208 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
20209 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
20210 1 : }
20211 :
20212 :
20213 : void
20214 1 : SgDoWhileStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
20215 : {
20216 1 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
20217 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
20218 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
20219 1 : }
20220 :
20221 :
20222 :
20223 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20224 :
20225 :
20226 : // ********************************************************
20227 :
20228 : /* #line 20229 "../../../src/frontend/SageIII//StorageClasses.C" */
20229 :
20230 :
20231 :
20232 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20233 :
20234 : // ****************************************************************
20235 : // member functions definition specific to each node in the grammar
20236 : // these are the SgSwitchStatementStorageClass parts !!!!
20237 : // ROSETTA generated code. Do not change by hand.
20238 : // ****************************************************************
20239 :
20240 :
20241 : /* #line 20242 "../../../src/frontend/SageIII//StorageClasses.C" */
20242 :
20243 :
20244 : void
20245 0 : SgSwitchStatementStorageClass::pickOutIRNodeData ( SgSwitchStatement* pointer )
20246 : {
20247 0 : SgSwitchStatement* source = (SgSwitchStatement*) (pointer);
20248 : #if FILE_IO_EXTRA_CHECK
20249 0 : assert ( source != NULL ) ;
20250 0 : assert ( source->p_freepointer != NULL) ;
20251 : #endif
20252 0 : storageOf_item_selector = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_item_selector );
20253 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
20254 0 : storageOf_end_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_numeric_label );
20255 0 : storageOf_string_label.storeDataInEasyStorageClass(source->p_string_label);
20256 0 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
20257 0 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
20258 0 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
20259 0 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
20260 0 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
20261 0 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
20262 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
20263 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
20264 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
20265 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
20266 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
20267 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
20268 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
20269 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
20270 0 : storageOf_isModified = source->p_isModified ;
20271 0 : storageOf_containsTransformation = source->p_containsTransformation ;
20272 0 : }
20273 :
20274 : void
20275 0 : SgSwitchStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
20276 : {
20277 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
20278 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
20279 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
20280 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
20281 0 : }
20282 :
20283 : void
20284 2 : SgSwitchStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
20285 : {
20286 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
20287 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
20288 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
20289 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
20290 2 : }
20291 :
20292 : void
20293 0 : SgSwitchStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
20294 : {
20295 0 : EasyStorage < std::string > :: writeToFile(out) ;
20296 0 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
20297 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
20298 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
20299 0 : }
20300 :
20301 :
20302 : void
20303 0 : SgSwitchStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
20304 : {
20305 0 : EasyStorage < std::string > :: readFromFile(in) ;
20306 0 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
20307 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
20308 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
20309 0 : }
20310 :
20311 :
20312 :
20313 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20314 :
20315 :
20316 : // ********************************************************
20317 :
20318 : /* #line 20319 "../../../src/frontend/SageIII//StorageClasses.C" */
20319 :
20320 :
20321 :
20322 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20323 :
20324 : // ****************************************************************
20325 : // member functions definition specific to each node in the grammar
20326 : // these are the SgCatchOptionStmtStorageClass parts !!!!
20327 : // ROSETTA generated code. Do not change by hand.
20328 : // ****************************************************************
20329 :
20330 :
20331 : /* #line 20332 "../../../src/frontend/SageIII//StorageClasses.C" */
20332 :
20333 :
20334 : void
20335 90 : SgCatchOptionStmtStorageClass::pickOutIRNodeData ( SgCatchOptionStmt* pointer )
20336 : {
20337 90 : SgCatchOptionStmt* source = (SgCatchOptionStmt*) (pointer);
20338 : #if FILE_IO_EXTRA_CHECK
20339 90 : assert ( source != NULL ) ;
20340 90 : assert ( source->p_freepointer != NULL) ;
20341 : #endif
20342 90 : storageOf_condition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_condition );
20343 90 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
20344 90 : storageOf_trystmt = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_trystmt );
20345 90 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
20346 90 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
20347 90 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
20348 90 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
20349 90 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
20350 90 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
20351 90 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
20352 90 : storageOf_source_sequence_value = source->p_source_sequence_value ;
20353 90 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
20354 90 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
20355 90 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
20356 90 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
20357 90 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
20358 90 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
20359 90 : storageOf_isModified = source->p_isModified ;
20360 90 : storageOf_containsTransformation = source->p_containsTransformation ;
20361 90 : }
20362 :
20363 : void
20364 0 : SgCatchOptionStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
20365 : {
20366 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
20367 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
20368 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
20369 0 : }
20370 :
20371 : void
20372 2 : SgCatchOptionStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
20373 : {
20374 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
20375 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
20376 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
20377 2 : }
20378 :
20379 : void
20380 1 : SgCatchOptionStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
20381 : {
20382 1 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
20383 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
20384 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
20385 1 : }
20386 :
20387 :
20388 : void
20389 1 : SgCatchOptionStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
20390 : {
20391 1 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
20392 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
20393 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
20394 1 : }
20395 :
20396 :
20397 :
20398 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20399 :
20400 :
20401 : // ********************************************************
20402 :
20403 : /* #line 20404 "../../../src/frontend/SageIII//StorageClasses.C" */
20404 :
20405 :
20406 :
20407 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20408 :
20409 : // ****************************************************************
20410 : // member functions definition specific to each node in the grammar
20411 : // these are the SgNamespaceDefinitionStatementStorageClass parts !!!!
20412 : // ROSETTA generated code. Do not change by hand.
20413 : // ****************************************************************
20414 :
20415 :
20416 : /* #line 20417 "../../../src/frontend/SageIII//StorageClasses.C" */
20417 :
20418 :
20419 : void
20420 135 : SgNamespaceDefinitionStatementStorageClass::pickOutIRNodeData ( SgNamespaceDefinitionStatement* pointer )
20421 : {
20422 135 : SgNamespaceDefinitionStatement* source = (SgNamespaceDefinitionStatement*) (pointer);
20423 : #if FILE_IO_EXTRA_CHECK
20424 135 : assert ( source != NULL ) ;
20425 135 : assert ( source->p_freepointer != NULL) ;
20426 : #endif
20427 135 : SgDeclarationStatementPtrList::iterator i_declarations = source->p_declarations.begin() ;
20428 135 : unsigned int tempListCountdeclarations = 0;
20429 135 : SgDeclarationStatementPtrList::value_type * tempListdeclarations = new SgDeclarationStatementPtrList::value_type[ source->p_declarations.size() ];
20430 2817 : for ( ; i_declarations != source->p_declarations.end(); ++i_declarations )
20431 : {
20432 2682 : tempListdeclarations[tempListCountdeclarations] = *i_declarations;
20433 2682 : tempListCountdeclarations++;
20434 2682 : (*i_declarations) = (SgDeclarationStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_declarations ) );
20435 : }
20436 135 : storageOf_declarations.storeDataInEasyStorageClass(source->p_declarations);
20437 135 : tempListCountdeclarations = 0;
20438 135 : i_declarations = source->p_declarations.begin() ;
20439 2817 : for ( ; i_declarations != source->p_declarations.end(); ++i_declarations )
20440 : {
20441 2682 : *i_declarations = tempListdeclarations[tempListCountdeclarations] ;
20442 2682 : tempListCountdeclarations++;
20443 : }
20444 135 : delete [] tempListdeclarations;
20445 135 : storageOf_namespaceDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_namespaceDeclaration );
20446 135 : storageOf_previousNamespaceDefinition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_previousNamespaceDefinition );
20447 135 : storageOf_nextNamespaceDefinition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_nextNamespaceDefinition );
20448 135 : storageOf_global_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_global_definition );
20449 135 : storageOf_isUnionOfReentrantNamespaceDefinitions = source->p_isUnionOfReentrantNamespaceDefinitions ;
20450 135 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
20451 135 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
20452 135 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
20453 135 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
20454 135 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
20455 135 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
20456 135 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
20457 135 : storageOf_source_sequence_value = source->p_source_sequence_value ;
20458 135 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
20459 135 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
20460 135 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
20461 135 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
20462 135 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
20463 135 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
20464 135 : storageOf_isModified = source->p_isModified ;
20465 135 : storageOf_containsTransformation = source->p_containsTransformation ;
20466 135 : }
20467 :
20468 : void
20469 0 : SgNamespaceDefinitionStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
20470 : {
20471 0 : EasyStorage < SgDeclarationStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
20472 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
20473 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
20474 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
20475 0 : }
20476 :
20477 : void
20478 2 : SgNamespaceDefinitionStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
20479 : {
20480 2 : EasyStorage < SgDeclarationStatementPtrList > :: deleteMemoryPool() ;
20481 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
20482 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
20483 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
20484 2 : }
20485 :
20486 : void
20487 1 : SgNamespaceDefinitionStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
20488 : {
20489 1 : EasyStorage < SgDeclarationStatementPtrList > :: writeToFile(out) ;
20490 1 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
20491 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
20492 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
20493 1 : }
20494 :
20495 :
20496 : void
20497 1 : SgNamespaceDefinitionStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
20498 : {
20499 1 : EasyStorage < SgDeclarationStatementPtrList > :: readFromFile(in) ;
20500 1 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
20501 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
20502 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
20503 1 : }
20504 :
20505 :
20506 :
20507 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20508 :
20509 :
20510 : // ********************************************************
20511 :
20512 : /* #line 20513 "../../../src/frontend/SageIII//StorageClasses.C" */
20513 :
20514 :
20515 :
20516 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20517 :
20518 : // ****************************************************************
20519 : // member functions definition specific to each node in the grammar
20520 : // these are the SgBlockDataStatementStorageClass parts !!!!
20521 : // ROSETTA generated code. Do not change by hand.
20522 : // ****************************************************************
20523 :
20524 :
20525 : /* #line 20526 "../../../src/frontend/SageIII//StorageClasses.C" */
20526 :
20527 :
20528 : void
20529 0 : SgBlockDataStatementStorageClass::pickOutIRNodeData ( SgBlockDataStatement* pointer )
20530 : {
20531 0 : SgBlockDataStatement* source = (SgBlockDataStatement*) (pointer);
20532 : #if FILE_IO_EXTRA_CHECK
20533 0 : assert ( source != NULL ) ;
20534 0 : assert ( source->p_freepointer != NULL) ;
20535 : #endif
20536 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
20537 0 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
20538 0 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
20539 0 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
20540 0 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
20541 0 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
20542 0 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
20543 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
20544 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
20545 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
20546 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
20547 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
20548 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
20549 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
20550 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
20551 0 : storageOf_isModified = source->p_isModified ;
20552 0 : storageOf_containsTransformation = source->p_containsTransformation ;
20553 0 : }
20554 :
20555 : void
20556 0 : SgBlockDataStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
20557 : {
20558 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
20559 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
20560 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
20561 0 : }
20562 :
20563 : void
20564 2 : SgBlockDataStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
20565 : {
20566 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
20567 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
20568 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
20569 2 : }
20570 :
20571 : void
20572 0 : SgBlockDataStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
20573 : {
20574 0 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
20575 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
20576 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
20577 0 : }
20578 :
20579 :
20580 : void
20581 0 : SgBlockDataStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
20582 : {
20583 0 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
20584 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
20585 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
20586 0 : }
20587 :
20588 :
20589 :
20590 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20591 :
20592 :
20593 : // ********************************************************
20594 :
20595 : /* #line 20596 "../../../src/frontend/SageIII//StorageClasses.C" */
20596 :
20597 :
20598 :
20599 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20600 :
20601 : // ****************************************************************
20602 : // member functions definition specific to each node in the grammar
20603 : // these are the SgAssociateStatementStorageClass parts !!!!
20604 : // ROSETTA generated code. Do not change by hand.
20605 : // ****************************************************************
20606 :
20607 :
20608 : /* #line 20609 "../../../src/frontend/SageIII//StorageClasses.C" */
20609 :
20610 :
20611 : void
20612 0 : SgAssociateStatementStorageClass::pickOutIRNodeData ( SgAssociateStatement* pointer )
20613 : {
20614 0 : SgAssociateStatement* source = (SgAssociateStatement*) (pointer);
20615 : #if FILE_IO_EXTRA_CHECK
20616 0 : assert ( source != NULL ) ;
20617 0 : assert ( source->p_freepointer != NULL) ;
20618 : #endif
20619 0 : SgDeclarationStatementPtrList::iterator i_associates = source->p_associates.begin() ;
20620 0 : unsigned int tempListCountassociates = 0;
20621 0 : SgDeclarationStatementPtrList::value_type * tempListassociates = new SgDeclarationStatementPtrList::value_type[ source->p_associates.size() ];
20622 0 : for ( ; i_associates != source->p_associates.end(); ++i_associates )
20623 : {
20624 0 : tempListassociates[tempListCountassociates] = *i_associates;
20625 0 : tempListCountassociates++;
20626 0 : (*i_associates) = (SgDeclarationStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_associates ) );
20627 : }
20628 0 : storageOf_associates.storeDataInEasyStorageClass(source->p_associates);
20629 0 : tempListCountassociates = 0;
20630 0 : i_associates = source->p_associates.begin() ;
20631 0 : for ( ; i_associates != source->p_associates.end(); ++i_associates )
20632 : {
20633 0 : *i_associates = tempListassociates[tempListCountassociates] ;
20634 0 : tempListCountassociates++;
20635 : }
20636 0 : delete [] tempListassociates;
20637 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
20638 0 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
20639 0 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
20640 0 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
20641 0 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
20642 0 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
20643 0 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
20644 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
20645 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
20646 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
20647 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
20648 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
20649 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
20650 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
20651 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
20652 0 : storageOf_isModified = source->p_isModified ;
20653 0 : storageOf_containsTransformation = source->p_containsTransformation ;
20654 0 : }
20655 :
20656 : void
20657 0 : SgAssociateStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
20658 : {
20659 0 : EasyStorage < SgDeclarationStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
20660 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
20661 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
20662 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
20663 0 : }
20664 :
20665 : void
20666 2 : SgAssociateStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
20667 : {
20668 2 : EasyStorage < SgDeclarationStatementPtrList > :: deleteMemoryPool() ;
20669 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
20670 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
20671 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
20672 2 : }
20673 :
20674 : void
20675 0 : SgAssociateStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
20676 : {
20677 0 : EasyStorage < SgDeclarationStatementPtrList > :: writeToFile(out) ;
20678 0 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
20679 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
20680 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
20681 0 : }
20682 :
20683 :
20684 : void
20685 0 : SgAssociateStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
20686 : {
20687 0 : EasyStorage < SgDeclarationStatementPtrList > :: readFromFile(in) ;
20688 0 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
20689 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
20690 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
20691 0 : }
20692 :
20693 :
20694 :
20695 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20696 :
20697 :
20698 : // ********************************************************
20699 :
20700 : /* #line 20701 "../../../src/frontend/SageIII//StorageClasses.C" */
20701 :
20702 :
20703 :
20704 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20705 :
20706 : // ****************************************************************
20707 : // member functions definition specific to each node in the grammar
20708 : // these are the SgFortranDoStorageClass parts !!!!
20709 : // ROSETTA generated code. Do not change by hand.
20710 : // ****************************************************************
20711 :
20712 :
20713 : /* #line 20714 "../../../src/frontend/SageIII//StorageClasses.C" */
20714 :
20715 :
20716 : void
20717 0 : SgFortranDoStorageClass::pickOutIRNodeData ( SgFortranDo* pointer )
20718 : {
20719 0 : SgFortranDo* source = (SgFortranDo*) (pointer);
20720 : #if FILE_IO_EXTRA_CHECK
20721 0 : assert ( source != NULL ) ;
20722 0 : assert ( source->p_freepointer != NULL) ;
20723 : #endif
20724 0 : storageOf_initialization = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_initialization );
20725 0 : storageOf_bound = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_bound );
20726 0 : storageOf_increment = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_increment );
20727 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
20728 0 : storageOf_end_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_numeric_label );
20729 0 : storageOf_string_label.storeDataInEasyStorageClass(source->p_string_label);
20730 0 : storageOf_old_style = source->p_old_style ;
20731 0 : storageOf_has_end_statement = source->p_has_end_statement ;
20732 0 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
20733 0 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
20734 0 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
20735 0 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
20736 0 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
20737 0 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
20738 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
20739 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
20740 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
20741 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
20742 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
20743 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
20744 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
20745 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
20746 0 : storageOf_isModified = source->p_isModified ;
20747 0 : storageOf_containsTransformation = source->p_containsTransformation ;
20748 0 : }
20749 :
20750 : void
20751 0 : SgFortranDoStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
20752 : {
20753 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
20754 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
20755 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
20756 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
20757 0 : }
20758 :
20759 : void
20760 2 : SgFortranDoStorageClass::deleteStaticDataOfEasyStorageClasses ( )
20761 : {
20762 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
20763 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
20764 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
20765 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
20766 2 : }
20767 :
20768 : void
20769 0 : SgFortranDoStorageClass::writeEasyStorageDataToFile (std::ostream& out)
20770 : {
20771 0 : EasyStorage < std::string > :: writeToFile(out) ;
20772 0 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
20773 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
20774 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
20775 0 : }
20776 :
20777 :
20778 : void
20779 0 : SgFortranDoStorageClass::readEasyStorageDataFromFile (std::istream& in)
20780 : {
20781 0 : EasyStorage < std::string > :: readFromFile(in) ;
20782 0 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
20783 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
20784 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
20785 0 : }
20786 :
20787 :
20788 :
20789 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20790 :
20791 :
20792 : // ********************************************************
20793 :
20794 : /* #line 20795 "../../../src/frontend/SageIII//StorageClasses.C" */
20795 :
20796 :
20797 :
20798 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20799 :
20800 : // ****************************************************************
20801 : // member functions definition specific to each node in the grammar
20802 : // these are the SgFortranNonblockedDoStorageClass parts !!!!
20803 : // ROSETTA generated code. Do not change by hand.
20804 : // ****************************************************************
20805 :
20806 :
20807 : /* #line 20808 "../../../src/frontend/SageIII//StorageClasses.C" */
20808 :
20809 :
20810 : void
20811 0 : SgFortranNonblockedDoStorageClass::pickOutIRNodeData ( SgFortranNonblockedDo* pointer )
20812 : {
20813 0 : SgFortranNonblockedDo* source = (SgFortranNonblockedDo*) (pointer);
20814 : #if FILE_IO_EXTRA_CHECK
20815 0 : assert ( source != NULL ) ;
20816 0 : assert ( source->p_freepointer != NULL) ;
20817 : #endif
20818 0 : storageOf_end_statement = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_statement );
20819 0 : storageOf_initialization = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_initialization );
20820 0 : storageOf_bound = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_bound );
20821 0 : storageOf_increment = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_increment );
20822 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
20823 0 : storageOf_end_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_numeric_label );
20824 0 : storageOf_string_label.storeDataInEasyStorageClass(source->p_string_label);
20825 0 : storageOf_old_style = source->p_old_style ;
20826 0 : storageOf_has_end_statement = source->p_has_end_statement ;
20827 0 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
20828 0 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
20829 0 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
20830 0 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
20831 0 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
20832 0 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
20833 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
20834 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
20835 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
20836 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
20837 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
20838 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
20839 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
20840 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
20841 0 : storageOf_isModified = source->p_isModified ;
20842 0 : storageOf_containsTransformation = source->p_containsTransformation ;
20843 0 : }
20844 :
20845 : void
20846 0 : SgFortranNonblockedDoStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
20847 : {
20848 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
20849 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
20850 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
20851 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
20852 0 : }
20853 :
20854 : void
20855 2 : SgFortranNonblockedDoStorageClass::deleteStaticDataOfEasyStorageClasses ( )
20856 : {
20857 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
20858 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
20859 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
20860 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
20861 2 : }
20862 :
20863 : void
20864 0 : SgFortranNonblockedDoStorageClass::writeEasyStorageDataToFile (std::ostream& out)
20865 : {
20866 0 : EasyStorage < std::string > :: writeToFile(out) ;
20867 0 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
20868 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
20869 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
20870 0 : }
20871 :
20872 :
20873 : void
20874 0 : SgFortranNonblockedDoStorageClass::readEasyStorageDataFromFile (std::istream& in)
20875 : {
20876 0 : EasyStorage < std::string > :: readFromFile(in) ;
20877 0 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
20878 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
20879 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
20880 0 : }
20881 :
20882 :
20883 :
20884 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20885 :
20886 :
20887 : // ********************************************************
20888 :
20889 : /* #line 20890 "../../../src/frontend/SageIII//StorageClasses.C" */
20890 :
20891 :
20892 :
20893 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20894 :
20895 : // ****************************************************************
20896 : // member functions definition specific to each node in the grammar
20897 : // these are the SgForAllStatementStorageClass parts !!!!
20898 : // ROSETTA generated code. Do not change by hand.
20899 : // ****************************************************************
20900 :
20901 :
20902 : /* #line 20903 "../../../src/frontend/SageIII//StorageClasses.C" */
20903 :
20904 :
20905 : void
20906 0 : SgForAllStatementStorageClass::pickOutIRNodeData ( SgForAllStatement* pointer )
20907 : {
20908 0 : SgForAllStatement* source = (SgForAllStatement*) (pointer);
20909 : #if FILE_IO_EXTRA_CHECK
20910 0 : assert ( source != NULL ) ;
20911 0 : assert ( source->p_freepointer != NULL) ;
20912 : #endif
20913 0 : storageOf_forall_header = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_forall_header );
20914 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
20915 0 : storageOf_has_end_statement = source->p_has_end_statement ;
20916 0 : storageOf_string_label.storeDataInEasyStorageClass(source->p_string_label);
20917 0 : storageOf_end_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_numeric_label );
20918 0 : storageOf_forall_statement_kind = source->p_forall_statement_kind ;
20919 0 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
20920 0 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
20921 0 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
20922 0 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
20923 0 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
20924 0 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
20925 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
20926 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
20927 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
20928 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
20929 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
20930 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
20931 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
20932 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
20933 0 : storageOf_isModified = source->p_isModified ;
20934 0 : storageOf_containsTransformation = source->p_containsTransformation ;
20935 0 : }
20936 :
20937 : void
20938 0 : SgForAllStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
20939 : {
20940 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
20941 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
20942 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
20943 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
20944 0 : }
20945 :
20946 : void
20947 2 : SgForAllStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
20948 : {
20949 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
20950 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
20951 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
20952 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
20953 2 : }
20954 :
20955 : void
20956 0 : SgForAllStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
20957 : {
20958 0 : EasyStorage < std::string > :: writeToFile(out) ;
20959 0 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
20960 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
20961 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
20962 0 : }
20963 :
20964 :
20965 : void
20966 0 : SgForAllStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
20967 : {
20968 0 : EasyStorage < std::string > :: readFromFile(in) ;
20969 0 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
20970 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
20971 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
20972 0 : }
20973 :
20974 :
20975 :
20976 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20977 :
20978 :
20979 : // ********************************************************
20980 :
20981 : /* #line 20982 "../../../src/frontend/SageIII//StorageClasses.C" */
20982 :
20983 :
20984 :
20985 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
20986 :
20987 : // ****************************************************************
20988 : // member functions definition specific to each node in the grammar
20989 : // these are the SgUpcForAllStatementStorageClass parts !!!!
20990 : // ROSETTA generated code. Do not change by hand.
20991 : // ****************************************************************
20992 :
20993 :
20994 : /* #line 20995 "../../../src/frontend/SageIII//StorageClasses.C" */
20995 :
20996 :
20997 : void
20998 0 : SgUpcForAllStatementStorageClass::pickOutIRNodeData ( SgUpcForAllStatement* pointer )
20999 : {
21000 0 : SgUpcForAllStatement* source = (SgUpcForAllStatement*) (pointer);
21001 : #if FILE_IO_EXTRA_CHECK
21002 0 : assert ( source != NULL ) ;
21003 0 : assert ( source->p_freepointer != NULL) ;
21004 : #endif
21005 0 : storageOf_for_init_stmt = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_for_init_stmt );
21006 0 : storageOf_test = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_test );
21007 0 : storageOf_increment = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_increment );
21008 0 : storageOf_affinity = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_affinity );
21009 0 : storageOf_loop_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_loop_body );
21010 0 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
21011 0 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
21012 0 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
21013 0 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
21014 0 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
21015 0 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
21016 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
21017 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
21018 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
21019 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
21020 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
21021 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
21022 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
21023 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
21024 0 : storageOf_isModified = source->p_isModified ;
21025 0 : storageOf_containsTransformation = source->p_containsTransformation ;
21026 0 : }
21027 :
21028 : void
21029 0 : SgUpcForAllStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
21030 : {
21031 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
21032 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
21033 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
21034 0 : }
21035 :
21036 : void
21037 2 : SgUpcForAllStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
21038 : {
21039 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
21040 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
21041 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
21042 2 : }
21043 :
21044 : void
21045 0 : SgUpcForAllStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
21046 : {
21047 0 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
21048 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
21049 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
21050 0 : }
21051 :
21052 :
21053 : void
21054 0 : SgUpcForAllStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
21055 : {
21056 0 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
21057 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
21058 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
21059 0 : }
21060 :
21061 :
21062 :
21063 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21064 :
21065 :
21066 : // ********************************************************
21067 :
21068 : /* #line 21069 "../../../src/frontend/SageIII//StorageClasses.C" */
21069 :
21070 :
21071 :
21072 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21073 :
21074 : // ****************************************************************
21075 : // member functions definition specific to each node in the grammar
21076 : // these are the SgCAFWithTeamStatementStorageClass parts !!!!
21077 : // ROSETTA generated code. Do not change by hand.
21078 : // ****************************************************************
21079 :
21080 :
21081 : /* #line 21082 "../../../src/frontend/SageIII//StorageClasses.C" */
21082 :
21083 :
21084 : void
21085 0 : SgCAFWithTeamStatementStorageClass::pickOutIRNodeData ( SgCAFWithTeamStatement* pointer )
21086 : {
21087 0 : SgCAFWithTeamStatement* source = (SgCAFWithTeamStatement*) (pointer);
21088 : #if FILE_IO_EXTRA_CHECK
21089 0 : assert ( source != NULL ) ;
21090 0 : assert ( source->p_freepointer != NULL) ;
21091 : #endif
21092 0 : storageOf_teamId = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_teamId );
21093 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
21094 0 : storageOf_endHasTeamId = source->p_endHasTeamId ;
21095 0 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
21096 0 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
21097 0 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
21098 0 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
21099 0 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
21100 0 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
21101 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
21102 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
21103 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
21104 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
21105 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
21106 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
21107 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
21108 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
21109 0 : storageOf_isModified = source->p_isModified ;
21110 0 : storageOf_containsTransformation = source->p_containsTransformation ;
21111 0 : }
21112 :
21113 : void
21114 0 : SgCAFWithTeamStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
21115 : {
21116 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
21117 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
21118 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
21119 0 : }
21120 :
21121 : void
21122 2 : SgCAFWithTeamStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
21123 : {
21124 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
21125 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
21126 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
21127 2 : }
21128 :
21129 : void
21130 0 : SgCAFWithTeamStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
21131 : {
21132 0 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
21133 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
21134 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
21135 0 : }
21136 :
21137 :
21138 : void
21139 0 : SgCAFWithTeamStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
21140 : {
21141 0 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
21142 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
21143 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
21144 0 : }
21145 :
21146 :
21147 :
21148 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21149 :
21150 :
21151 : // ********************************************************
21152 :
21153 : /* #line 21154 "../../../src/frontend/SageIII//StorageClasses.C" */
21154 :
21155 :
21156 :
21157 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21158 :
21159 : // ****************************************************************
21160 : // member functions definition specific to each node in the grammar
21161 : // these are the SgFunctionParameterScopeStorageClass parts !!!!
21162 : // ROSETTA generated code. Do not change by hand.
21163 : // ****************************************************************
21164 :
21165 :
21166 : /* #line 21167 "../../../src/frontend/SageIII//StorageClasses.C" */
21167 :
21168 :
21169 : void
21170 0 : SgFunctionParameterScopeStorageClass::pickOutIRNodeData ( SgFunctionParameterScope* pointer )
21171 : {
21172 0 : SgFunctionParameterScope* source = (SgFunctionParameterScope*) (pointer);
21173 : #if FILE_IO_EXTRA_CHECK
21174 0 : assert ( source != NULL ) ;
21175 0 : assert ( source->p_freepointer != NULL) ;
21176 : #endif
21177 0 : SgDeclarationStatementPtrList::iterator i_declarations = source->p_declarations.begin() ;
21178 0 : unsigned int tempListCountdeclarations = 0;
21179 0 : SgDeclarationStatementPtrList::value_type * tempListdeclarations = new SgDeclarationStatementPtrList::value_type[ source->p_declarations.size() ];
21180 0 : for ( ; i_declarations != source->p_declarations.end(); ++i_declarations )
21181 : {
21182 0 : tempListdeclarations[tempListCountdeclarations] = *i_declarations;
21183 0 : tempListCountdeclarations++;
21184 0 : (*i_declarations) = (SgDeclarationStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_declarations ) );
21185 : }
21186 0 : storageOf_declarations.storeDataInEasyStorageClass(source->p_declarations);
21187 0 : tempListCountdeclarations = 0;
21188 0 : i_declarations = source->p_declarations.begin() ;
21189 0 : for ( ; i_declarations != source->p_declarations.end(); ++i_declarations )
21190 : {
21191 0 : *i_declarations = tempListdeclarations[tempListCountdeclarations] ;
21192 0 : tempListCountdeclarations++;
21193 : }
21194 0 : delete [] tempListdeclarations;
21195 0 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
21196 0 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
21197 0 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
21198 0 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
21199 0 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
21200 0 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
21201 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
21202 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
21203 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
21204 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
21205 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
21206 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
21207 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
21208 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
21209 0 : storageOf_isModified = source->p_isModified ;
21210 0 : storageOf_containsTransformation = source->p_containsTransformation ;
21211 0 : }
21212 :
21213 : void
21214 0 : SgFunctionParameterScopeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
21215 : {
21216 0 : EasyStorage < SgDeclarationStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
21217 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
21218 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
21219 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
21220 0 : }
21221 :
21222 : void
21223 2 : SgFunctionParameterScopeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
21224 : {
21225 2 : EasyStorage < SgDeclarationStatementPtrList > :: deleteMemoryPool() ;
21226 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
21227 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
21228 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
21229 2 : }
21230 :
21231 : void
21232 0 : SgFunctionParameterScopeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
21233 : {
21234 0 : EasyStorage < SgDeclarationStatementPtrList > :: writeToFile(out) ;
21235 0 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
21236 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
21237 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
21238 0 : }
21239 :
21240 :
21241 : void
21242 0 : SgFunctionParameterScopeStorageClass::readEasyStorageDataFromFile (std::istream& in)
21243 : {
21244 0 : EasyStorage < SgDeclarationStatementPtrList > :: readFromFile(in) ;
21245 0 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
21246 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
21247 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
21248 0 : }
21249 :
21250 :
21251 :
21252 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21253 :
21254 :
21255 : // ********************************************************
21256 :
21257 : /* #line 21258 "../../../src/frontend/SageIII//StorageClasses.C" */
21258 :
21259 :
21260 :
21261 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21262 :
21263 : // ****************************************************************
21264 : // member functions definition specific to each node in the grammar
21265 : // these are the SgDeclarationScopeStorageClass parts !!!!
21266 : // ROSETTA generated code. Do not change by hand.
21267 : // ****************************************************************
21268 :
21269 :
21270 : /* #line 21271 "../../../src/frontend/SageIII//StorageClasses.C" */
21271 :
21272 :
21273 : void
21274 6496 : SgDeclarationScopeStorageClass::pickOutIRNodeData ( SgDeclarationScope* pointer )
21275 : {
21276 6496 : SgDeclarationScope* source = (SgDeclarationScope*) (pointer);
21277 : #if FILE_IO_EXTRA_CHECK
21278 6496 : assert ( source != NULL ) ;
21279 6496 : assert ( source->p_freepointer != NULL) ;
21280 : #endif
21281 6496 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
21282 6496 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
21283 6496 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
21284 6496 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
21285 6496 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
21286 6496 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
21287 6496 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
21288 6496 : storageOf_source_sequence_value = source->p_source_sequence_value ;
21289 6496 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
21290 6496 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
21291 6496 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
21292 6496 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
21293 6496 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
21294 6496 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
21295 6496 : storageOf_isModified = source->p_isModified ;
21296 6496 : storageOf_containsTransformation = source->p_containsTransformation ;
21297 6496 : }
21298 :
21299 : void
21300 0 : SgDeclarationScopeStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
21301 : {
21302 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
21303 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
21304 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
21305 0 : }
21306 :
21307 : void
21308 2 : SgDeclarationScopeStorageClass::deleteStaticDataOfEasyStorageClasses ( )
21309 : {
21310 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
21311 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
21312 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
21313 2 : }
21314 :
21315 : void
21316 1 : SgDeclarationScopeStorageClass::writeEasyStorageDataToFile (std::ostream& out)
21317 : {
21318 1 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
21319 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
21320 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
21321 1 : }
21322 :
21323 :
21324 : void
21325 1 : SgDeclarationScopeStorageClass::readEasyStorageDataFromFile (std::istream& in)
21326 : {
21327 1 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
21328 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
21329 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
21330 1 : }
21331 :
21332 :
21333 :
21334 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21335 :
21336 :
21337 : // ********************************************************
21338 :
21339 : /* #line 21340 "../../../src/frontend/SageIII//StorageClasses.C" */
21340 :
21341 :
21342 :
21343 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21344 :
21345 : // ****************************************************************
21346 : // member functions definition specific to each node in the grammar
21347 : // these are the SgRangeBasedForStatementStorageClass parts !!!!
21348 : // ROSETTA generated code. Do not change by hand.
21349 : // ****************************************************************
21350 :
21351 :
21352 : /* #line 21353 "../../../src/frontend/SageIII//StorageClasses.C" */
21353 :
21354 :
21355 : void
21356 0 : SgRangeBasedForStatementStorageClass::pickOutIRNodeData ( SgRangeBasedForStatement* pointer )
21357 : {
21358 0 : SgRangeBasedForStatement* source = (SgRangeBasedForStatement*) (pointer);
21359 : #if FILE_IO_EXTRA_CHECK
21360 0 : assert ( source != NULL ) ;
21361 0 : assert ( source->p_freepointer != NULL) ;
21362 : #endif
21363 0 : storageOf_iterator_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iterator_declaration );
21364 0 : storageOf_range_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_range_declaration );
21365 0 : storageOf_begin_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_begin_declaration );
21366 0 : storageOf_end_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_declaration );
21367 0 : storageOf_not_equal_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_not_equal_expression );
21368 0 : storageOf_increment_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_increment_expression );
21369 0 : storageOf_loop_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_loop_body );
21370 0 : storageOf_symbol_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_table );
21371 0 : storageOf_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_table );
21372 0 : storageOf_type_elaboration_list.storeDataInEasyStorageClass(source->p_type_elaboration_list);
21373 0 : storageOf_hidden_type_list.storeDataInEasyStorageClass(source->p_hidden_type_list);
21374 0 : storageOf_hidden_declaration_list.storeDataInEasyStorageClass(source->p_hidden_declaration_list);
21375 0 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
21376 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
21377 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
21378 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
21379 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
21380 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
21381 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
21382 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
21383 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
21384 0 : storageOf_isModified = source->p_isModified ;
21385 0 : storageOf_containsTransformation = source->p_containsTransformation ;
21386 0 : }
21387 :
21388 : void
21389 0 : SgRangeBasedForStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
21390 : {
21391 0 : EasyStorage < std::set<SgSymbol*> > :: arrangeMemoryPoolInOneBlock() ;
21392 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
21393 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
21394 0 : }
21395 :
21396 : void
21397 2 : SgRangeBasedForStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
21398 : {
21399 2 : EasyStorage < std::set<SgSymbol*> > :: deleteMemoryPool() ;
21400 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
21401 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
21402 2 : }
21403 :
21404 : void
21405 0 : SgRangeBasedForStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
21406 : {
21407 0 : EasyStorage < std::set<SgSymbol*> > :: writeToFile(out) ;
21408 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
21409 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
21410 0 : }
21411 :
21412 :
21413 : void
21414 0 : SgRangeBasedForStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
21415 : {
21416 0 : EasyStorage < std::set<SgSymbol*> > :: readFromFile(in) ;
21417 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
21418 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
21419 0 : }
21420 :
21421 :
21422 :
21423 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21424 :
21425 :
21426 : // ********************************************************
21427 :
21428 : /* #line 21429 "../../../src/frontend/SageIII//StorageClasses.C" */
21429 :
21430 :
21431 :
21432 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21433 :
21434 : // ****************************************************************
21435 : // member functions definition specific to each node in the grammar
21436 : // these are the SgFunctionTypeTableStorageClass parts !!!!
21437 : // ROSETTA generated code. Do not change by hand.
21438 : // ****************************************************************
21439 :
21440 :
21441 : /* #line 21442 "../../../src/frontend/SageIII//StorageClasses.C" */
21442 :
21443 :
21444 : void
21445 3 : SgFunctionTypeTableStorageClass::pickOutIRNodeData ( SgFunctionTypeTable* pointer )
21446 : {
21447 3 : SgFunctionTypeTable* source = (SgFunctionTypeTable*) (pointer);
21448 : #if FILE_IO_EXTRA_CHECK
21449 3 : assert ( source != NULL ) ;
21450 3 : assert ( source->p_freepointer != NULL) ;
21451 : #endif
21452 3 : storageOf_function_type_table = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_function_type_table );
21453 3 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
21454 3 : storageOf_source_sequence_value = source->p_source_sequence_value ;
21455 3 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
21456 3 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
21457 3 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
21458 3 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
21459 3 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
21460 3 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
21461 3 : storageOf_isModified = source->p_isModified ;
21462 3 : storageOf_containsTransformation = source->p_containsTransformation ;
21463 3 : }
21464 :
21465 : void
21466 0 : SgFunctionTypeTableStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
21467 : {
21468 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
21469 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
21470 0 : }
21471 :
21472 : void
21473 2 : SgFunctionTypeTableStorageClass::deleteStaticDataOfEasyStorageClasses ( )
21474 : {
21475 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
21476 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
21477 2 : }
21478 :
21479 : void
21480 3 : SgFunctionTypeTableStorageClass::writeEasyStorageDataToFile (std::ostream& out)
21481 : {
21482 3 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
21483 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
21484 3 : }
21485 :
21486 :
21487 : void
21488 2 : SgFunctionTypeTableStorageClass::readEasyStorageDataFromFile (std::istream& in)
21489 : {
21490 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
21491 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
21492 2 : }
21493 :
21494 :
21495 :
21496 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21497 :
21498 :
21499 : // ********************************************************
21500 :
21501 : /* #line 21502 "../../../src/frontend/SageIII//StorageClasses.C" */
21502 :
21503 :
21504 :
21505 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21506 :
21507 : // ****************************************************************
21508 : // member functions definition specific to each node in the grammar
21509 : // these are the SgDeclarationStatementStorageClass parts !!!!
21510 : // ROSETTA generated code. Do not change by hand.
21511 : // ****************************************************************
21512 :
21513 :
21514 : /* #line 21515 "../../../src/frontend/SageIII//StorageClasses.C" */
21515 :
21516 :
21517 : void
21518 0 : SgDeclarationStatementStorageClass::pickOutIRNodeData ( SgDeclarationStatement* pointer )
21519 : {
21520 0 : SgDeclarationStatement* source = (SgDeclarationStatement*) (pointer);
21521 : #if FILE_IO_EXTRA_CHECK
21522 0 : assert ( source != NULL ) ;
21523 0 : assert ( source->p_freepointer != NULL) ;
21524 : #endif
21525 0 : storageOf_decl_attributes = source->p_decl_attributes ;
21526 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
21527 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
21528 0 : storageOf_nameOnly = source->p_nameOnly ;
21529 0 : storageOf_forward = source->p_forward ;
21530 0 : storageOf_externBrace = source->p_externBrace ;
21531 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
21532 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
21533 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
21534 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
21535 0 : unsigned int tempListCountqualifiedNameList = 0;
21536 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
21537 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
21538 : {
21539 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
21540 0 : tempListCountqualifiedNameList++;
21541 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
21542 : }
21543 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
21544 0 : tempListCountqualifiedNameList = 0;
21545 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
21546 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
21547 : {
21548 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
21549 0 : tempListCountqualifiedNameList++;
21550 : }
21551 0 : delete [] tempListqualifiedNameList;
21552 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
21553 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
21554 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
21555 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
21556 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
21557 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
21558 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
21559 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
21560 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
21561 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
21562 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
21563 0 : storageOf_isModified = source->p_isModified ;
21564 0 : storageOf_containsTransformation = source->p_containsTransformation ;
21565 0 : }
21566 :
21567 : void
21568 0 : SgDeclarationStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
21569 : {
21570 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
21571 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
21572 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
21573 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
21574 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
21575 0 : }
21576 :
21577 : void
21578 2 : SgDeclarationStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
21579 : {
21580 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
21581 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
21582 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
21583 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
21584 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
21585 2 : }
21586 :
21587 : void
21588 0 : SgDeclarationStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
21589 : {
21590 0 : EasyStorage < std::string > :: writeToFile(out) ;
21591 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
21592 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
21593 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
21594 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
21595 0 : }
21596 :
21597 :
21598 : void
21599 0 : SgDeclarationStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
21600 : {
21601 0 : EasyStorage < std::string > :: readFromFile(in) ;
21602 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
21603 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
21604 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
21605 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
21606 0 : }
21607 :
21608 :
21609 :
21610 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21611 :
21612 :
21613 : // ********************************************************
21614 :
21615 : /* #line 21616 "../../../src/frontend/SageIII//StorageClasses.C" */
21616 :
21617 :
21618 :
21619 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21620 :
21621 : // ****************************************************************
21622 : // member functions definition specific to each node in the grammar
21623 : // these are the SgFunctionParameterListStorageClass parts !!!!
21624 : // ROSETTA generated code. Do not change by hand.
21625 : // ****************************************************************
21626 :
21627 :
21628 : /* #line 21629 "../../../src/frontend/SageIII//StorageClasses.C" */
21629 :
21630 :
21631 : void
21632 22768 : SgFunctionParameterListStorageClass::pickOutIRNodeData ( SgFunctionParameterList* pointer )
21633 : {
21634 22768 : SgFunctionParameterList* source = (SgFunctionParameterList*) (pointer);
21635 : #if FILE_IO_EXTRA_CHECK
21636 22768 : assert ( source != NULL ) ;
21637 22768 : assert ( source->p_freepointer != NULL) ;
21638 : #endif
21639 22768 : SgInitializedNamePtrList::iterator i_args = source->p_args.begin() ;
21640 22768 : unsigned int tempListCountargs = 0;
21641 22768 : SgInitializedNamePtrList::value_type * tempListargs = new SgInitializedNamePtrList::value_type[ source->p_args.size() ];
21642 75924 : for ( ; i_args != source->p_args.end(); ++i_args )
21643 : {
21644 53156 : tempListargs[tempListCountargs] = *i_args;
21645 53156 : tempListCountargs++;
21646 53156 : (*i_args) = (SgInitializedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_args ) );
21647 : }
21648 22768 : storageOf_args.storeDataInEasyStorageClass(source->p_args);
21649 22768 : tempListCountargs = 0;
21650 22768 : i_args = source->p_args.begin() ;
21651 75924 : for ( ; i_args != source->p_args.end(); ++i_args )
21652 : {
21653 53156 : *i_args = tempListargs[tempListCountargs] ;
21654 53156 : tempListCountargs++;
21655 : }
21656 22768 : delete [] tempListargs;
21657 22768 : storageOf_decl_attributes = source->p_decl_attributes ;
21658 22768 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
21659 22768 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
21660 22768 : storageOf_nameOnly = source->p_nameOnly ;
21661 22768 : storageOf_forward = source->p_forward ;
21662 22768 : storageOf_externBrace = source->p_externBrace ;
21663 22768 : storageOf_skipElaborateType = source->p_skipElaborateType ;
21664 22768 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
21665 22768 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
21666 22768 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
21667 22768 : unsigned int tempListCountqualifiedNameList = 0;
21668 22768 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
21669 22768 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
21670 : {
21671 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
21672 0 : tempListCountqualifiedNameList++;
21673 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
21674 : }
21675 22768 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
21676 22768 : tempListCountqualifiedNameList = 0;
21677 22768 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
21678 22768 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
21679 : {
21680 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
21681 0 : tempListCountqualifiedNameList++;
21682 : }
21683 22768 : delete [] tempListqualifiedNameList;
21684 22768 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
21685 22768 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
21686 22768 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
21687 22768 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
21688 22768 : storageOf_source_sequence_value = source->p_source_sequence_value ;
21689 22768 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
21690 22768 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
21691 22768 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
21692 22768 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
21693 22768 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
21694 22768 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
21695 22768 : storageOf_isModified = source->p_isModified ;
21696 22768 : storageOf_containsTransformation = source->p_containsTransformation ;
21697 22768 : }
21698 :
21699 : void
21700 0 : SgFunctionParameterListStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
21701 : {
21702 0 : EasyStorage < SgInitializedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
21703 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
21704 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
21705 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
21706 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
21707 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
21708 0 : }
21709 :
21710 : void
21711 2 : SgFunctionParameterListStorageClass::deleteStaticDataOfEasyStorageClasses ( )
21712 : {
21713 2 : EasyStorage < SgInitializedNamePtrList > :: deleteMemoryPool() ;
21714 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
21715 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
21716 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
21717 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
21718 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
21719 2 : }
21720 :
21721 : void
21722 3 : SgFunctionParameterListStorageClass::writeEasyStorageDataToFile (std::ostream& out)
21723 : {
21724 3 : EasyStorage < SgInitializedNamePtrList > :: writeToFile(out) ;
21725 3 : EasyStorage < std::string > :: writeToFile(out) ;
21726 3 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
21727 3 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
21728 3 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
21729 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
21730 3 : }
21731 :
21732 :
21733 : void
21734 2 : SgFunctionParameterListStorageClass::readEasyStorageDataFromFile (std::istream& in)
21735 : {
21736 2 : EasyStorage < SgInitializedNamePtrList > :: readFromFile(in) ;
21737 2 : EasyStorage < std::string > :: readFromFile(in) ;
21738 2 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
21739 2 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
21740 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
21741 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
21742 2 : }
21743 :
21744 :
21745 :
21746 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21747 :
21748 :
21749 : // ********************************************************
21750 :
21751 : /* #line 21752 "../../../src/frontend/SageIII//StorageClasses.C" */
21752 :
21753 :
21754 :
21755 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21756 :
21757 : // ****************************************************************
21758 : // member functions definition specific to each node in the grammar
21759 : // these are the SgVariableDeclarationStorageClass parts !!!!
21760 : // ROSETTA generated code. Do not change by hand.
21761 : // ****************************************************************
21762 :
21763 :
21764 : /* #line 21765 "../../../src/frontend/SageIII//StorageClasses.C" */
21765 :
21766 :
21767 : void
21768 1294 : SgVariableDeclarationStorageClass::pickOutIRNodeData ( SgVariableDeclaration* pointer )
21769 : {
21770 1294 : SgVariableDeclaration* source = (SgVariableDeclaration*) (pointer);
21771 : #if FILE_IO_EXTRA_CHECK
21772 1294 : assert ( source != NULL ) ;
21773 1294 : assert ( source->p_freepointer != NULL) ;
21774 : #endif
21775 1294 : storageOf_baseTypeDefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_baseTypeDefiningDeclaration );
21776 1294 : SgInitializedNamePtrList::iterator i_variables = source->p_variables.begin() ;
21777 1294 : unsigned int tempListCountvariables = 0;
21778 1294 : SgInitializedNamePtrList::value_type * tempListvariables = new SgInitializedNamePtrList::value_type[ source->p_variables.size() ];
21779 2588 : for ( ; i_variables != source->p_variables.end(); ++i_variables )
21780 : {
21781 1294 : tempListvariables[tempListCountvariables] = *i_variables;
21782 1294 : tempListCountvariables++;
21783 1294 : (*i_variables) = (SgInitializedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_variables ) );
21784 : }
21785 1294 : storageOf_variables.storeDataInEasyStorageClass(source->p_variables);
21786 1294 : tempListCountvariables = 0;
21787 1294 : i_variables = source->p_variables.begin() ;
21788 2588 : for ( ; i_variables != source->p_variables.end(); ++i_variables )
21789 : {
21790 1294 : *i_variables = tempListvariables[tempListCountvariables] ;
21791 1294 : tempListCountvariables++;
21792 : }
21793 1294 : delete [] tempListvariables;
21794 1294 : storageOf_variableDeclarationContainsBaseTypeDefiningDeclaration = source->p_variableDeclarationContainsBaseTypeDefiningDeclaration ;
21795 1294 : storageOf_specialization = source->p_specialization ;
21796 1294 : storageOf_requiresGlobalNameQualificationOnType = source->p_requiresGlobalNameQualificationOnType ;
21797 1294 : storageOf_gnu_extension_section.storeDataInEasyStorageClass(source->p_gnu_extension_section);
21798 1294 : storageOf_gnu_extension_alias.storeDataInEasyStorageClass(source->p_gnu_extension_alias);
21799 1294 : storageOf_gnu_extension_initialization_priority = source->p_gnu_extension_initialization_priority ;
21800 1294 : storageOf_gnu_extension_visability = source->p_gnu_extension_visability ;
21801 1294 : storageOf_gnu_extension_declaration_attribute = source->p_gnu_extension_declaration_attribute ;
21802 1294 : storageOf_name_qualification_length = source->p_name_qualification_length ;
21803 1294 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
21804 1294 : storageOf_global_qualification_required = source->p_global_qualification_required ;
21805 1294 : storageOf_isAssociatedWithDeclarationList = source->p_isAssociatedWithDeclarationList ;
21806 1294 : storageOf_isFirstDeclarationOfDeclarationList = source->p_isFirstDeclarationOfDeclarationList ;
21807 1294 : storageOf_is_thread_local = source->p_is_thread_local ;
21808 1294 : storageOf_is_constexpr = source->p_is_constexpr ;
21809 1294 : storageOf_builtFromUseOnly = source->p_builtFromUseOnly ;
21810 1294 : storageOf_decl_attributes = source->p_decl_attributes ;
21811 1294 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
21812 1294 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
21813 1294 : storageOf_nameOnly = source->p_nameOnly ;
21814 1294 : storageOf_forward = source->p_forward ;
21815 1294 : storageOf_externBrace = source->p_externBrace ;
21816 1294 : storageOf_skipElaborateType = source->p_skipElaborateType ;
21817 1294 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
21818 1294 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
21819 1294 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
21820 1294 : unsigned int tempListCountqualifiedNameList = 0;
21821 1294 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
21822 1294 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
21823 : {
21824 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
21825 0 : tempListCountqualifiedNameList++;
21826 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
21827 : }
21828 1294 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
21829 1294 : tempListCountqualifiedNameList = 0;
21830 1294 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
21831 1294 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
21832 : {
21833 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
21834 0 : tempListCountqualifiedNameList++;
21835 : }
21836 1294 : delete [] tempListqualifiedNameList;
21837 1294 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
21838 1294 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
21839 1294 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
21840 1294 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
21841 1294 : storageOf_source_sequence_value = source->p_source_sequence_value ;
21842 1294 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
21843 1294 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
21844 1294 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
21845 1294 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
21846 1294 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
21847 1294 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
21848 1294 : storageOf_isModified = source->p_isModified ;
21849 1294 : storageOf_containsTransformation = source->p_containsTransformation ;
21850 1294 : }
21851 :
21852 : void
21853 0 : SgVariableDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
21854 : {
21855 0 : EasyStorage < SgInitializedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
21856 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
21857 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
21858 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
21859 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
21860 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
21861 0 : }
21862 :
21863 : void
21864 2 : SgVariableDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
21865 : {
21866 2 : EasyStorage < SgInitializedNamePtrList > :: deleteMemoryPool() ;
21867 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
21868 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
21869 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
21870 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
21871 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
21872 2 : }
21873 :
21874 : void
21875 2 : SgVariableDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
21876 : {
21877 2 : EasyStorage < SgInitializedNamePtrList > :: writeToFile(out) ;
21878 2 : EasyStorage < std::string > :: writeToFile(out) ;
21879 2 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
21880 2 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
21881 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
21882 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
21883 2 : }
21884 :
21885 :
21886 : void
21887 2 : SgVariableDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
21888 : {
21889 2 : EasyStorage < SgInitializedNamePtrList > :: readFromFile(in) ;
21890 2 : EasyStorage < std::string > :: readFromFile(in) ;
21891 2 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
21892 2 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
21893 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
21894 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
21895 2 : }
21896 :
21897 :
21898 :
21899 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21900 :
21901 :
21902 : // ********************************************************
21903 :
21904 : /* #line 21905 "../../../src/frontend/SageIII//StorageClasses.C" */
21905 :
21906 :
21907 :
21908 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
21909 :
21910 : // ****************************************************************
21911 : // member functions definition specific to each node in the grammar
21912 : // these are the SgTemplateVariableDeclarationStorageClass parts !!!!
21913 : // ROSETTA generated code. Do not change by hand.
21914 : // ****************************************************************
21915 :
21916 :
21917 : /* #line 21918 "../../../src/frontend/SageIII//StorageClasses.C" */
21918 :
21919 :
21920 : void
21921 102 : SgTemplateVariableDeclarationStorageClass::pickOutIRNodeData ( SgTemplateVariableDeclaration* pointer )
21922 : {
21923 102 : SgTemplateVariableDeclaration* source = (SgTemplateVariableDeclaration*) (pointer);
21924 : #if FILE_IO_EXTRA_CHECK
21925 102 : assert ( source != NULL ) ;
21926 102 : assert ( source->p_freepointer != NULL) ;
21927 : #endif
21928 102 : SgTemplateParameterPtrList::iterator i_templateParameters = source->p_templateParameters.begin() ;
21929 102 : unsigned int tempListCounttemplateParameters = 0;
21930 102 : SgTemplateParameterPtrList::value_type * tempListtemplateParameters = new SgTemplateParameterPtrList::value_type[ source->p_templateParameters.size() ];
21931 130 : for ( ; i_templateParameters != source->p_templateParameters.end(); ++i_templateParameters )
21932 : {
21933 28 : tempListtemplateParameters[tempListCounttemplateParameters] = *i_templateParameters;
21934 28 : tempListCounttemplateParameters++;
21935 28 : (*i_templateParameters) = (SgTemplateParameterPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateParameters ) );
21936 : }
21937 102 : storageOf_templateParameters.storeDataInEasyStorageClass(source->p_templateParameters);
21938 102 : tempListCounttemplateParameters = 0;
21939 102 : i_templateParameters = source->p_templateParameters.begin() ;
21940 130 : for ( ; i_templateParameters != source->p_templateParameters.end(); ++i_templateParameters )
21941 : {
21942 28 : *i_templateParameters = tempListtemplateParameters[tempListCounttemplateParameters] ;
21943 28 : tempListCounttemplateParameters++;
21944 : }
21945 102 : delete [] tempListtemplateParameters;
21946 102 : SgTemplateArgumentPtrList::iterator i_templateSpecializationArguments = source->p_templateSpecializationArguments.begin() ;
21947 102 : unsigned int tempListCounttemplateSpecializationArguments = 0;
21948 102 : SgTemplateArgumentPtrList::value_type * tempListtemplateSpecializationArguments = new SgTemplateArgumentPtrList::value_type[ source->p_templateSpecializationArguments.size() ];
21949 102 : for ( ; i_templateSpecializationArguments != source->p_templateSpecializationArguments.end(); ++i_templateSpecializationArguments )
21950 : {
21951 0 : tempListtemplateSpecializationArguments[tempListCounttemplateSpecializationArguments] = *i_templateSpecializationArguments;
21952 0 : tempListCounttemplateSpecializationArguments++;
21953 0 : (*i_templateSpecializationArguments) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateSpecializationArguments ) );
21954 : }
21955 102 : storageOf_templateSpecializationArguments.storeDataInEasyStorageClass(source->p_templateSpecializationArguments);
21956 102 : tempListCounttemplateSpecializationArguments = 0;
21957 102 : i_templateSpecializationArguments = source->p_templateSpecializationArguments.begin() ;
21958 102 : for ( ; i_templateSpecializationArguments != source->p_templateSpecializationArguments.end(); ++i_templateSpecializationArguments )
21959 : {
21960 0 : *i_templateSpecializationArguments = tempListtemplateSpecializationArguments[tempListCounttemplateSpecializationArguments] ;
21961 0 : tempListCounttemplateSpecializationArguments++;
21962 : }
21963 102 : delete [] tempListtemplateSpecializationArguments;
21964 102 : storageOf_string.pickOutIRNodeData( &(source->p_string) );
21965 102 : storageOf_nonreal_decl_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_nonreal_decl_scope );
21966 102 : storageOf_baseTypeDefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_baseTypeDefiningDeclaration );
21967 102 : SgInitializedNamePtrList::iterator i_variables = source->p_variables.begin() ;
21968 102 : unsigned int tempListCountvariables = 0;
21969 102 : SgInitializedNamePtrList::value_type * tempListvariables = new SgInitializedNamePtrList::value_type[ source->p_variables.size() ];
21970 204 : for ( ; i_variables != source->p_variables.end(); ++i_variables )
21971 : {
21972 102 : tempListvariables[tempListCountvariables] = *i_variables;
21973 102 : tempListCountvariables++;
21974 102 : (*i_variables) = (SgInitializedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_variables ) );
21975 : }
21976 102 : storageOf_variables.storeDataInEasyStorageClass(source->p_variables);
21977 102 : tempListCountvariables = 0;
21978 102 : i_variables = source->p_variables.begin() ;
21979 204 : for ( ; i_variables != source->p_variables.end(); ++i_variables )
21980 : {
21981 102 : *i_variables = tempListvariables[tempListCountvariables] ;
21982 102 : tempListCountvariables++;
21983 : }
21984 102 : delete [] tempListvariables;
21985 102 : storageOf_variableDeclarationContainsBaseTypeDefiningDeclaration = source->p_variableDeclarationContainsBaseTypeDefiningDeclaration ;
21986 102 : storageOf_specialization = source->p_specialization ;
21987 102 : storageOf_requiresGlobalNameQualificationOnType = source->p_requiresGlobalNameQualificationOnType ;
21988 102 : storageOf_gnu_extension_section.storeDataInEasyStorageClass(source->p_gnu_extension_section);
21989 102 : storageOf_gnu_extension_alias.storeDataInEasyStorageClass(source->p_gnu_extension_alias);
21990 102 : storageOf_gnu_extension_initialization_priority = source->p_gnu_extension_initialization_priority ;
21991 102 : storageOf_gnu_extension_visability = source->p_gnu_extension_visability ;
21992 102 : storageOf_gnu_extension_declaration_attribute = source->p_gnu_extension_declaration_attribute ;
21993 102 : storageOf_name_qualification_length = source->p_name_qualification_length ;
21994 102 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
21995 102 : storageOf_global_qualification_required = source->p_global_qualification_required ;
21996 102 : storageOf_isAssociatedWithDeclarationList = source->p_isAssociatedWithDeclarationList ;
21997 102 : storageOf_isFirstDeclarationOfDeclarationList = source->p_isFirstDeclarationOfDeclarationList ;
21998 102 : storageOf_is_thread_local = source->p_is_thread_local ;
21999 102 : storageOf_is_constexpr = source->p_is_constexpr ;
22000 102 : storageOf_builtFromUseOnly = source->p_builtFromUseOnly ;
22001 102 : storageOf_decl_attributes = source->p_decl_attributes ;
22002 102 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
22003 102 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
22004 102 : storageOf_nameOnly = source->p_nameOnly ;
22005 102 : storageOf_forward = source->p_forward ;
22006 102 : storageOf_externBrace = source->p_externBrace ;
22007 102 : storageOf_skipElaborateType = source->p_skipElaborateType ;
22008 102 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
22009 102 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
22010 102 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22011 102 : unsigned int tempListCountqualifiedNameList = 0;
22012 102 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
22013 102 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22014 : {
22015 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
22016 0 : tempListCountqualifiedNameList++;
22017 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
22018 : }
22019 102 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
22020 102 : tempListCountqualifiedNameList = 0;
22021 102 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22022 102 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22023 : {
22024 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
22025 0 : tempListCountqualifiedNameList++;
22026 : }
22027 102 : delete [] tempListqualifiedNameList;
22028 102 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
22029 102 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
22030 102 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
22031 102 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
22032 102 : storageOf_source_sequence_value = source->p_source_sequence_value ;
22033 102 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
22034 102 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
22035 102 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
22036 102 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
22037 102 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
22038 102 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
22039 102 : storageOf_isModified = source->p_isModified ;
22040 102 : storageOf_containsTransformation = source->p_containsTransformation ;
22041 102 : }
22042 :
22043 : void
22044 0 : SgTemplateVariableDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
22045 : {
22046 0 : EasyStorage < SgTemplateParameterPtrList > :: arrangeMemoryPoolInOneBlock() ;
22047 0 : EasyStorage < SgTemplateArgumentPtrList > :: arrangeMemoryPoolInOneBlock() ;
22048 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
22049 0 : EasyStorage < SgInitializedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
22050 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
22051 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
22052 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
22053 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
22054 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
22055 0 : }
22056 :
22057 : void
22058 2 : SgTemplateVariableDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
22059 : {
22060 2 : EasyStorage < SgTemplateParameterPtrList > :: deleteMemoryPool() ;
22061 2 : EasyStorage < SgTemplateArgumentPtrList > :: deleteMemoryPool() ;
22062 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
22063 2 : EasyStorage < SgInitializedNamePtrList > :: deleteMemoryPool() ;
22064 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
22065 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
22066 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
22067 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
22068 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
22069 2 : }
22070 :
22071 : void
22072 1 : SgTemplateVariableDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
22073 : {
22074 1 : EasyStorage < SgTemplateParameterPtrList > :: writeToFile(out) ;
22075 1 : EasyStorage < SgTemplateArgumentPtrList > :: writeToFile(out) ;
22076 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
22077 1 : EasyStorage < SgInitializedNamePtrList > :: writeToFile(out) ;
22078 1 : EasyStorage < std::string > :: writeToFile(out) ;
22079 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
22080 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
22081 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
22082 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
22083 1 : }
22084 :
22085 :
22086 : void
22087 1 : SgTemplateVariableDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
22088 : {
22089 1 : EasyStorage < SgTemplateParameterPtrList > :: readFromFile(in) ;
22090 1 : EasyStorage < SgTemplateArgumentPtrList > :: readFromFile(in) ;
22091 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
22092 1 : EasyStorage < SgInitializedNamePtrList > :: readFromFile(in) ;
22093 1 : EasyStorage < std::string > :: readFromFile(in) ;
22094 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
22095 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
22096 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
22097 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
22098 1 : }
22099 :
22100 :
22101 :
22102 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22103 :
22104 :
22105 : // ********************************************************
22106 :
22107 : /* #line 22108 "../../../src/frontend/SageIII//StorageClasses.C" */
22108 :
22109 :
22110 :
22111 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22112 :
22113 : // ****************************************************************
22114 : // member functions definition specific to each node in the grammar
22115 : // these are the SgVariableDefinitionStorageClass parts !!!!
22116 : // ROSETTA generated code. Do not change by hand.
22117 : // ****************************************************************
22118 :
22119 :
22120 : /* #line 22121 "../../../src/frontend/SageIII//StorageClasses.C" */
22121 :
22122 :
22123 : void
22124 1396 : SgVariableDefinitionStorageClass::pickOutIRNodeData ( SgVariableDefinition* pointer )
22125 : {
22126 1396 : SgVariableDefinition* source = (SgVariableDefinition*) (pointer);
22127 : #if FILE_IO_EXTRA_CHECK
22128 1396 : assert ( source != NULL ) ;
22129 1396 : assert ( source->p_freepointer != NULL) ;
22130 : #endif
22131 1396 : storageOf_vardefn = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_vardefn );
22132 1396 : storageOf_bitfield = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_bitfield );
22133 1396 : storageOf_decl_attributes = source->p_decl_attributes ;
22134 1396 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
22135 1396 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
22136 1396 : storageOf_nameOnly = source->p_nameOnly ;
22137 1396 : storageOf_forward = source->p_forward ;
22138 1396 : storageOf_externBrace = source->p_externBrace ;
22139 1396 : storageOf_skipElaborateType = source->p_skipElaborateType ;
22140 1396 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
22141 1396 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
22142 1396 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22143 1396 : unsigned int tempListCountqualifiedNameList = 0;
22144 1396 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
22145 1396 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22146 : {
22147 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
22148 0 : tempListCountqualifiedNameList++;
22149 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
22150 : }
22151 1396 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
22152 1396 : tempListCountqualifiedNameList = 0;
22153 1396 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22154 1396 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22155 : {
22156 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
22157 0 : tempListCountqualifiedNameList++;
22158 : }
22159 1396 : delete [] tempListqualifiedNameList;
22160 1396 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
22161 1396 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
22162 1396 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
22163 1396 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
22164 1396 : storageOf_source_sequence_value = source->p_source_sequence_value ;
22165 1396 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
22166 1396 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
22167 1396 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
22168 1396 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
22169 1396 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
22170 1396 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
22171 1396 : storageOf_isModified = source->p_isModified ;
22172 1396 : storageOf_containsTransformation = source->p_containsTransformation ;
22173 1396 : }
22174 :
22175 : void
22176 0 : SgVariableDefinitionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
22177 : {
22178 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
22179 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
22180 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
22181 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
22182 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
22183 0 : }
22184 :
22185 : void
22186 2 : SgVariableDefinitionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
22187 : {
22188 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
22189 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
22190 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
22191 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
22192 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
22193 2 : }
22194 :
22195 : void
22196 2 : SgVariableDefinitionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
22197 : {
22198 2 : EasyStorage < std::string > :: writeToFile(out) ;
22199 2 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
22200 2 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
22201 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
22202 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
22203 2 : }
22204 :
22205 :
22206 : void
22207 2 : SgVariableDefinitionStorageClass::readEasyStorageDataFromFile (std::istream& in)
22208 : {
22209 2 : EasyStorage < std::string > :: readFromFile(in) ;
22210 2 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
22211 2 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
22212 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
22213 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
22214 2 : }
22215 :
22216 :
22217 :
22218 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22219 :
22220 :
22221 : // ********************************************************
22222 :
22223 : /* #line 22224 "../../../src/frontend/SageIII//StorageClasses.C" */
22224 :
22225 :
22226 :
22227 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22228 :
22229 : // ****************************************************************
22230 : // member functions definition specific to each node in the grammar
22231 : // these are the SgClinkageDeclarationStatementStorageClass parts !!!!
22232 : // ROSETTA generated code. Do not change by hand.
22233 : // ****************************************************************
22234 :
22235 :
22236 : /* #line 22237 "../../../src/frontend/SageIII//StorageClasses.C" */
22237 :
22238 :
22239 : void
22240 0 : SgClinkageDeclarationStatementStorageClass::pickOutIRNodeData ( SgClinkageDeclarationStatement* pointer )
22241 : {
22242 0 : SgClinkageDeclarationStatement* source = (SgClinkageDeclarationStatement*) (pointer);
22243 : #if FILE_IO_EXTRA_CHECK
22244 0 : assert ( source != NULL ) ;
22245 0 : assert ( source->p_freepointer != NULL) ;
22246 : #endif
22247 0 : storageOf_languageSpecifier.storeDataInEasyStorageClass(source->p_languageSpecifier);
22248 0 : storageOf_decl_attributes = source->p_decl_attributes ;
22249 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
22250 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
22251 0 : storageOf_nameOnly = source->p_nameOnly ;
22252 0 : storageOf_forward = source->p_forward ;
22253 0 : storageOf_externBrace = source->p_externBrace ;
22254 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
22255 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
22256 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
22257 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22258 0 : unsigned int tempListCountqualifiedNameList = 0;
22259 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
22260 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22261 : {
22262 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
22263 0 : tempListCountqualifiedNameList++;
22264 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
22265 : }
22266 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
22267 0 : tempListCountqualifiedNameList = 0;
22268 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22269 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22270 : {
22271 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
22272 0 : tempListCountqualifiedNameList++;
22273 : }
22274 0 : delete [] tempListqualifiedNameList;
22275 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
22276 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
22277 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
22278 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
22279 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
22280 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
22281 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
22282 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
22283 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
22284 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
22285 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
22286 0 : storageOf_isModified = source->p_isModified ;
22287 0 : storageOf_containsTransformation = source->p_containsTransformation ;
22288 0 : }
22289 :
22290 : void
22291 0 : SgClinkageDeclarationStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
22292 : {
22293 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
22294 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
22295 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
22296 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
22297 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
22298 0 : }
22299 :
22300 : void
22301 2 : SgClinkageDeclarationStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
22302 : {
22303 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
22304 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
22305 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
22306 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
22307 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
22308 2 : }
22309 :
22310 : void
22311 0 : SgClinkageDeclarationStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
22312 : {
22313 0 : EasyStorage < std::string > :: writeToFile(out) ;
22314 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
22315 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
22316 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
22317 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
22318 0 : }
22319 :
22320 :
22321 : void
22322 0 : SgClinkageDeclarationStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
22323 : {
22324 0 : EasyStorage < std::string > :: readFromFile(in) ;
22325 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
22326 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
22327 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
22328 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
22329 0 : }
22330 :
22331 :
22332 :
22333 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22334 :
22335 :
22336 : // ********************************************************
22337 :
22338 : /* #line 22339 "../../../src/frontend/SageIII//StorageClasses.C" */
22339 :
22340 :
22341 :
22342 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22343 :
22344 : // ****************************************************************
22345 : // member functions definition specific to each node in the grammar
22346 : // these are the SgClinkageStartStatementStorageClass parts !!!!
22347 : // ROSETTA generated code. Do not change by hand.
22348 : // ****************************************************************
22349 :
22350 :
22351 : /* #line 22352 "../../../src/frontend/SageIII//StorageClasses.C" */
22352 :
22353 :
22354 : void
22355 0 : SgClinkageStartStatementStorageClass::pickOutIRNodeData ( SgClinkageStartStatement* pointer )
22356 : {
22357 0 : SgClinkageStartStatement* source = (SgClinkageStartStatement*) (pointer);
22358 : #if FILE_IO_EXTRA_CHECK
22359 0 : assert ( source != NULL ) ;
22360 0 : assert ( source->p_freepointer != NULL) ;
22361 : #endif
22362 0 : storageOf_languageSpecifier.storeDataInEasyStorageClass(source->p_languageSpecifier);
22363 0 : storageOf_decl_attributes = source->p_decl_attributes ;
22364 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
22365 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
22366 0 : storageOf_nameOnly = source->p_nameOnly ;
22367 0 : storageOf_forward = source->p_forward ;
22368 0 : storageOf_externBrace = source->p_externBrace ;
22369 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
22370 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
22371 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
22372 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22373 0 : unsigned int tempListCountqualifiedNameList = 0;
22374 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
22375 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22376 : {
22377 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
22378 0 : tempListCountqualifiedNameList++;
22379 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
22380 : }
22381 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
22382 0 : tempListCountqualifiedNameList = 0;
22383 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22384 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22385 : {
22386 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
22387 0 : tempListCountqualifiedNameList++;
22388 : }
22389 0 : delete [] tempListqualifiedNameList;
22390 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
22391 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
22392 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
22393 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
22394 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
22395 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
22396 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
22397 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
22398 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
22399 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
22400 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
22401 0 : storageOf_isModified = source->p_isModified ;
22402 0 : storageOf_containsTransformation = source->p_containsTransformation ;
22403 0 : }
22404 :
22405 : void
22406 0 : SgClinkageStartStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
22407 : {
22408 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
22409 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
22410 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
22411 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
22412 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
22413 0 : }
22414 :
22415 : void
22416 2 : SgClinkageStartStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
22417 : {
22418 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
22419 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
22420 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
22421 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
22422 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
22423 2 : }
22424 :
22425 : void
22426 0 : SgClinkageStartStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
22427 : {
22428 0 : EasyStorage < std::string > :: writeToFile(out) ;
22429 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
22430 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
22431 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
22432 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
22433 0 : }
22434 :
22435 :
22436 : void
22437 0 : SgClinkageStartStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
22438 : {
22439 0 : EasyStorage < std::string > :: readFromFile(in) ;
22440 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
22441 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
22442 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
22443 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
22444 0 : }
22445 :
22446 :
22447 :
22448 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22449 :
22450 :
22451 : // ********************************************************
22452 :
22453 : /* #line 22454 "../../../src/frontend/SageIII//StorageClasses.C" */
22454 :
22455 :
22456 :
22457 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22458 :
22459 : // ****************************************************************
22460 : // member functions definition specific to each node in the grammar
22461 : // these are the SgClinkageEndStatementStorageClass parts !!!!
22462 : // ROSETTA generated code. Do not change by hand.
22463 : // ****************************************************************
22464 :
22465 :
22466 : /* #line 22467 "../../../src/frontend/SageIII//StorageClasses.C" */
22467 :
22468 :
22469 : void
22470 0 : SgClinkageEndStatementStorageClass::pickOutIRNodeData ( SgClinkageEndStatement* pointer )
22471 : {
22472 0 : SgClinkageEndStatement* source = (SgClinkageEndStatement*) (pointer);
22473 : #if FILE_IO_EXTRA_CHECK
22474 0 : assert ( source != NULL ) ;
22475 0 : assert ( source->p_freepointer != NULL) ;
22476 : #endif
22477 0 : storageOf_languageSpecifier.storeDataInEasyStorageClass(source->p_languageSpecifier);
22478 0 : storageOf_decl_attributes = source->p_decl_attributes ;
22479 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
22480 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
22481 0 : storageOf_nameOnly = source->p_nameOnly ;
22482 0 : storageOf_forward = source->p_forward ;
22483 0 : storageOf_externBrace = source->p_externBrace ;
22484 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
22485 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
22486 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
22487 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22488 0 : unsigned int tempListCountqualifiedNameList = 0;
22489 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
22490 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22491 : {
22492 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
22493 0 : tempListCountqualifiedNameList++;
22494 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
22495 : }
22496 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
22497 0 : tempListCountqualifiedNameList = 0;
22498 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22499 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22500 : {
22501 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
22502 0 : tempListCountqualifiedNameList++;
22503 : }
22504 0 : delete [] tempListqualifiedNameList;
22505 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
22506 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
22507 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
22508 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
22509 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
22510 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
22511 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
22512 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
22513 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
22514 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
22515 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
22516 0 : storageOf_isModified = source->p_isModified ;
22517 0 : storageOf_containsTransformation = source->p_containsTransformation ;
22518 0 : }
22519 :
22520 : void
22521 0 : SgClinkageEndStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
22522 : {
22523 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
22524 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
22525 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
22526 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
22527 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
22528 0 : }
22529 :
22530 : void
22531 2 : SgClinkageEndStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
22532 : {
22533 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
22534 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
22535 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
22536 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
22537 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
22538 2 : }
22539 :
22540 : void
22541 0 : SgClinkageEndStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
22542 : {
22543 0 : EasyStorage < std::string > :: writeToFile(out) ;
22544 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
22545 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
22546 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
22547 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
22548 0 : }
22549 :
22550 :
22551 : void
22552 0 : SgClinkageEndStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
22553 : {
22554 0 : EasyStorage < std::string > :: readFromFile(in) ;
22555 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
22556 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
22557 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
22558 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
22559 0 : }
22560 :
22561 :
22562 :
22563 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22564 :
22565 :
22566 : // ********************************************************
22567 :
22568 : /* #line 22569 "../../../src/frontend/SageIII//StorageClasses.C" */
22569 :
22570 :
22571 :
22572 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22573 :
22574 : // ****************************************************************
22575 : // member functions definition specific to each node in the grammar
22576 : // these are the SgEnumDeclarationStorageClass parts !!!!
22577 : // ROSETTA generated code. Do not change by hand.
22578 : // ****************************************************************
22579 :
22580 :
22581 : /* #line 22582 "../../../src/frontend/SageIII//StorageClasses.C" */
22582 :
22583 :
22584 : void
22585 176 : SgEnumDeclarationStorageClass::pickOutIRNodeData ( SgEnumDeclaration* pointer )
22586 : {
22587 176 : SgEnumDeclaration* source = (SgEnumDeclaration*) (pointer);
22588 : #if FILE_IO_EXTRA_CHECK
22589 176 : assert ( source != NULL ) ;
22590 176 : assert ( source->p_freepointer != NULL) ;
22591 : #endif
22592 176 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
22593 176 : storageOf_embedded = source->p_embedded ;
22594 176 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
22595 176 : storageOf_adaParentType = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_adaParentType );
22596 176 : SgInitializedNamePtrList::iterator i_enumerators = source->p_enumerators.begin() ;
22597 176 : unsigned int tempListCountenumerators = 0;
22598 176 : SgInitializedNamePtrList::value_type * tempListenumerators = new SgInitializedNamePtrList::value_type[ source->p_enumerators.size() ];
22599 461 : for ( ; i_enumerators != source->p_enumerators.end(); ++i_enumerators )
22600 : {
22601 285 : tempListenumerators[tempListCountenumerators] = *i_enumerators;
22602 285 : tempListCountenumerators++;
22603 285 : (*i_enumerators) = (SgInitializedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_enumerators ) );
22604 : }
22605 176 : storageOf_enumerators.storeDataInEasyStorageClass(source->p_enumerators);
22606 176 : tempListCountenumerators = 0;
22607 176 : i_enumerators = source->p_enumerators.begin() ;
22608 461 : for ( ; i_enumerators != source->p_enumerators.end(); ++i_enumerators )
22609 : {
22610 285 : *i_enumerators = tempListenumerators[tempListCountenumerators] ;
22611 285 : tempListCountenumerators++;
22612 : }
22613 176 : delete [] tempListenumerators;
22614 176 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
22615 176 : storageOf_isUnNamed = source->p_isUnNamed ;
22616 176 : storageOf_isAutonomousDeclaration = source->p_isAutonomousDeclaration ;
22617 176 : storageOf_field_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_field_type );
22618 176 : storageOf_isScopedEnum = source->p_isScopedEnum ;
22619 176 : storageOf_name_qualification_length = source->p_name_qualification_length ;
22620 176 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
22621 176 : storageOf_global_qualification_required = source->p_global_qualification_required ;
22622 176 : storageOf_decl_attributes = source->p_decl_attributes ;
22623 176 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
22624 176 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
22625 176 : storageOf_nameOnly = source->p_nameOnly ;
22626 176 : storageOf_forward = source->p_forward ;
22627 176 : storageOf_externBrace = source->p_externBrace ;
22628 176 : storageOf_skipElaborateType = source->p_skipElaborateType ;
22629 176 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
22630 176 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
22631 176 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22632 176 : unsigned int tempListCountqualifiedNameList = 0;
22633 176 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
22634 176 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22635 : {
22636 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
22637 0 : tempListCountqualifiedNameList++;
22638 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
22639 : }
22640 176 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
22641 176 : tempListCountqualifiedNameList = 0;
22642 176 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22643 176 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22644 : {
22645 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
22646 0 : tempListCountqualifiedNameList++;
22647 : }
22648 176 : delete [] tempListqualifiedNameList;
22649 176 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
22650 176 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
22651 176 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
22652 176 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
22653 176 : storageOf_source_sequence_value = source->p_source_sequence_value ;
22654 176 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
22655 176 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
22656 176 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
22657 176 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
22658 176 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
22659 176 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
22660 176 : storageOf_isModified = source->p_isModified ;
22661 176 : storageOf_containsTransformation = source->p_containsTransformation ;
22662 176 : }
22663 :
22664 : void
22665 0 : SgEnumDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
22666 : {
22667 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
22668 0 : EasyStorage < SgInitializedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
22669 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
22670 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
22671 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
22672 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
22673 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
22674 0 : }
22675 :
22676 : void
22677 2 : SgEnumDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
22678 : {
22679 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
22680 2 : EasyStorage < SgInitializedNamePtrList > :: deleteMemoryPool() ;
22681 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
22682 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
22683 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
22684 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
22685 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
22686 2 : }
22687 :
22688 : void
22689 1 : SgEnumDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
22690 : {
22691 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
22692 1 : EasyStorage < SgInitializedNamePtrList > :: writeToFile(out) ;
22693 1 : EasyStorage < std::string > :: writeToFile(out) ;
22694 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
22695 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
22696 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
22697 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
22698 1 : }
22699 :
22700 :
22701 : void
22702 1 : SgEnumDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
22703 : {
22704 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
22705 1 : EasyStorage < SgInitializedNamePtrList > :: readFromFile(in) ;
22706 1 : EasyStorage < std::string > :: readFromFile(in) ;
22707 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
22708 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
22709 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
22710 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
22711 1 : }
22712 :
22713 :
22714 :
22715 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22716 :
22717 :
22718 : // ********************************************************
22719 :
22720 : /* #line 22721 "../../../src/frontend/SageIII//StorageClasses.C" */
22721 :
22722 :
22723 :
22724 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22725 :
22726 : // ****************************************************************
22727 : // member functions definition specific to each node in the grammar
22728 : // these are the SgAsmStmtStorageClass parts !!!!
22729 : // ROSETTA generated code. Do not change by hand.
22730 : // ****************************************************************
22731 :
22732 :
22733 : /* #line 22734 "../../../src/frontend/SageIII//StorageClasses.C" */
22734 :
22735 :
22736 : void
22737 0 : SgAsmStmtStorageClass::pickOutIRNodeData ( SgAsmStmt* pointer )
22738 : {
22739 0 : SgAsmStmt* source = (SgAsmStmt*) (pointer);
22740 : #if FILE_IO_EXTRA_CHECK
22741 0 : assert ( source != NULL ) ;
22742 0 : assert ( source->p_freepointer != NULL) ;
22743 : #endif
22744 0 : storageOf_assemblyCode.storeDataInEasyStorageClass(source->p_assemblyCode);
22745 0 : storageOf_useGnuExtendedFormat = source->p_useGnuExtendedFormat ;
22746 0 : SgExpressionPtrList::iterator i_operands = source->p_operands.begin() ;
22747 0 : unsigned int tempListCountoperands = 0;
22748 0 : SgExpressionPtrList::value_type * tempListoperands = new SgExpressionPtrList::value_type[ source->p_operands.size() ];
22749 0 : for ( ; i_operands != source->p_operands.end(); ++i_operands )
22750 : {
22751 0 : tempListoperands[tempListCountoperands] = *i_operands;
22752 0 : tempListCountoperands++;
22753 0 : (*i_operands) = (SgExpressionPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_operands ) );
22754 : }
22755 0 : storageOf_operands.storeDataInEasyStorageClass(source->p_operands);
22756 0 : tempListCountoperands = 0;
22757 0 : i_operands = source->p_operands.begin() ;
22758 0 : for ( ; i_operands != source->p_operands.end(); ++i_operands )
22759 : {
22760 0 : *i_operands = tempListoperands[tempListCountoperands] ;
22761 0 : tempListCountoperands++;
22762 : }
22763 0 : delete [] tempListoperands;
22764 0 : storageOf_clobberRegisterList.storeDataInEasyStorageClass(source->p_clobberRegisterList);
22765 0 : storageOf_isVolatile = source->p_isVolatile ;
22766 0 : storageOf_decl_attributes = source->p_decl_attributes ;
22767 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
22768 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
22769 0 : storageOf_nameOnly = source->p_nameOnly ;
22770 0 : storageOf_forward = source->p_forward ;
22771 0 : storageOf_externBrace = source->p_externBrace ;
22772 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
22773 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
22774 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
22775 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22776 0 : unsigned int tempListCountqualifiedNameList = 0;
22777 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
22778 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22779 : {
22780 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
22781 0 : tempListCountqualifiedNameList++;
22782 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
22783 : }
22784 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
22785 0 : tempListCountqualifiedNameList = 0;
22786 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22787 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22788 : {
22789 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
22790 0 : tempListCountqualifiedNameList++;
22791 : }
22792 0 : delete [] tempListqualifiedNameList;
22793 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
22794 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
22795 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
22796 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
22797 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
22798 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
22799 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
22800 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
22801 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
22802 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
22803 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
22804 0 : storageOf_isModified = source->p_isModified ;
22805 0 : storageOf_containsTransformation = source->p_containsTransformation ;
22806 0 : }
22807 :
22808 : void
22809 0 : SgAsmStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
22810 : {
22811 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
22812 0 : EasyStorage < SgExpressionPtrList > :: arrangeMemoryPoolInOneBlock() ;
22813 0 : EasyStorage < SgAsmStmt::AsmRegisterNameList > :: arrangeMemoryPoolInOneBlock() ;
22814 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
22815 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
22816 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
22817 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
22818 0 : }
22819 :
22820 : void
22821 2 : SgAsmStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
22822 : {
22823 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
22824 2 : EasyStorage < SgExpressionPtrList > :: deleteMemoryPool() ;
22825 2 : EasyStorage < SgAsmStmt::AsmRegisterNameList > :: deleteMemoryPool() ;
22826 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
22827 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
22828 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
22829 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
22830 2 : }
22831 :
22832 : void
22833 0 : SgAsmStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
22834 : {
22835 0 : EasyStorage < std::string > :: writeToFile(out) ;
22836 0 : EasyStorage < SgExpressionPtrList > :: writeToFile(out) ;
22837 0 : EasyStorage < SgAsmStmt::AsmRegisterNameList > :: writeToFile(out) ;
22838 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
22839 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
22840 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
22841 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
22842 0 : }
22843 :
22844 :
22845 : void
22846 0 : SgAsmStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
22847 : {
22848 0 : EasyStorage < std::string > :: readFromFile(in) ;
22849 0 : EasyStorage < SgExpressionPtrList > :: readFromFile(in) ;
22850 0 : EasyStorage < SgAsmStmt::AsmRegisterNameList > :: readFromFile(in) ;
22851 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
22852 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
22853 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
22854 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
22855 0 : }
22856 :
22857 :
22858 :
22859 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22860 :
22861 :
22862 : // ********************************************************
22863 :
22864 : /* #line 22865 "../../../src/frontend/SageIII//StorageClasses.C" */
22865 :
22866 :
22867 :
22868 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
22869 :
22870 : // ****************************************************************
22871 : // member functions definition specific to each node in the grammar
22872 : // these are the SgAttributeSpecificationStatementStorageClass parts !!!!
22873 : // ROSETTA generated code. Do not change by hand.
22874 : // ****************************************************************
22875 :
22876 :
22877 : /* #line 22878 "../../../src/frontend/SageIII//StorageClasses.C" */
22878 :
22879 :
22880 : void
22881 0 : SgAttributeSpecificationStatementStorageClass::pickOutIRNodeData ( SgAttributeSpecificationStatement* pointer )
22882 : {
22883 0 : SgAttributeSpecificationStatement* source = (SgAttributeSpecificationStatement*) (pointer);
22884 : #if FILE_IO_EXTRA_CHECK
22885 0 : assert ( source != NULL ) ;
22886 0 : assert ( source->p_freepointer != NULL) ;
22887 : #endif
22888 0 : storageOf_name_list.storeDataInEasyStorageClass(source->p_name_list);
22889 0 : storageOf_attribute_kind = source->p_attribute_kind ;
22890 0 : storageOf_intent = source->p_intent ;
22891 0 : storageOf_parameter_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameter_list );
22892 0 : SgDataStatementGroupPtrList::iterator i_data_statement_group_list = source->p_data_statement_group_list.begin() ;
22893 0 : unsigned int tempListCountdata_statement_group_list = 0;
22894 0 : SgDataStatementGroupPtrList::value_type * tempListdata_statement_group_list = new SgDataStatementGroupPtrList::value_type[ source->p_data_statement_group_list.size() ];
22895 0 : for ( ; i_data_statement_group_list != source->p_data_statement_group_list.end(); ++i_data_statement_group_list )
22896 : {
22897 0 : tempListdata_statement_group_list[tempListCountdata_statement_group_list] = *i_data_statement_group_list;
22898 0 : tempListCountdata_statement_group_list++;
22899 0 : (*i_data_statement_group_list) = (SgDataStatementGroupPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_data_statement_group_list ) );
22900 : }
22901 0 : storageOf_data_statement_group_list.storeDataInEasyStorageClass(source->p_data_statement_group_list);
22902 0 : tempListCountdata_statement_group_list = 0;
22903 0 : i_data_statement_group_list = source->p_data_statement_group_list.begin() ;
22904 0 : for ( ; i_data_statement_group_list != source->p_data_statement_group_list.end(); ++i_data_statement_group_list )
22905 : {
22906 0 : *i_data_statement_group_list = tempListdata_statement_group_list[tempListCountdata_statement_group_list] ;
22907 0 : tempListCountdata_statement_group_list++;
22908 : }
22909 0 : delete [] tempListdata_statement_group_list;
22910 0 : storageOf_bind_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_bind_list );
22911 0 : SgDimensionObjectPtrList::iterator i_dimension_object_list = source->p_dimension_object_list.begin() ;
22912 0 : unsigned int tempListCountdimension_object_list = 0;
22913 0 : SgDimensionObjectPtrList::value_type * tempListdimension_object_list = new SgDimensionObjectPtrList::value_type[ source->p_dimension_object_list.size() ];
22914 0 : for ( ; i_dimension_object_list != source->p_dimension_object_list.end(); ++i_dimension_object_list )
22915 : {
22916 0 : tempListdimension_object_list[tempListCountdimension_object_list] = *i_dimension_object_list;
22917 0 : tempListCountdimension_object_list++;
22918 0 : (*i_dimension_object_list) = (SgDimensionObjectPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_dimension_object_list ) );
22919 : }
22920 0 : storageOf_dimension_object_list.storeDataInEasyStorageClass(source->p_dimension_object_list);
22921 0 : tempListCountdimension_object_list = 0;
22922 0 : i_dimension_object_list = source->p_dimension_object_list.begin() ;
22923 0 : for ( ; i_dimension_object_list != source->p_dimension_object_list.end(); ++i_dimension_object_list )
22924 : {
22925 0 : *i_dimension_object_list = tempListdimension_object_list[tempListCountdimension_object_list] ;
22926 0 : tempListCountdimension_object_list++;
22927 : }
22928 0 : delete [] tempListdimension_object_list;
22929 0 : storageOf_decl_attributes = source->p_decl_attributes ;
22930 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
22931 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
22932 0 : storageOf_nameOnly = source->p_nameOnly ;
22933 0 : storageOf_forward = source->p_forward ;
22934 0 : storageOf_externBrace = source->p_externBrace ;
22935 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
22936 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
22937 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
22938 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22939 0 : unsigned int tempListCountqualifiedNameList = 0;
22940 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
22941 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22942 : {
22943 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
22944 0 : tempListCountqualifiedNameList++;
22945 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
22946 : }
22947 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
22948 0 : tempListCountqualifiedNameList = 0;
22949 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
22950 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
22951 : {
22952 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
22953 0 : tempListCountqualifiedNameList++;
22954 : }
22955 0 : delete [] tempListqualifiedNameList;
22956 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
22957 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
22958 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
22959 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
22960 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
22961 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
22962 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
22963 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
22964 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
22965 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
22966 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
22967 0 : storageOf_isModified = source->p_isModified ;
22968 0 : storageOf_containsTransformation = source->p_containsTransformation ;
22969 0 : }
22970 :
22971 : void
22972 0 : SgAttributeSpecificationStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
22973 : {
22974 0 : EasyStorage < SgStringList > :: arrangeMemoryPoolInOneBlock() ;
22975 0 : EasyStorage < SgDataStatementGroupPtrList > :: arrangeMemoryPoolInOneBlock() ;
22976 0 : EasyStorage < SgDimensionObjectPtrList > :: arrangeMemoryPoolInOneBlock() ;
22977 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
22978 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
22979 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
22980 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
22981 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
22982 0 : }
22983 :
22984 : void
22985 2 : SgAttributeSpecificationStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
22986 : {
22987 2 : EasyStorage < SgStringList > :: deleteMemoryPool() ;
22988 2 : EasyStorage < SgDataStatementGroupPtrList > :: deleteMemoryPool() ;
22989 2 : EasyStorage < SgDimensionObjectPtrList > :: deleteMemoryPool() ;
22990 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
22991 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
22992 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
22993 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
22994 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
22995 2 : }
22996 :
22997 : void
22998 0 : SgAttributeSpecificationStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
22999 : {
23000 0 : EasyStorage < SgStringList > :: writeToFile(out) ;
23001 0 : EasyStorage < SgDataStatementGroupPtrList > :: writeToFile(out) ;
23002 0 : EasyStorage < SgDimensionObjectPtrList > :: writeToFile(out) ;
23003 0 : EasyStorage < std::string > :: writeToFile(out) ;
23004 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
23005 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
23006 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
23007 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
23008 0 : }
23009 :
23010 :
23011 : void
23012 0 : SgAttributeSpecificationStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
23013 : {
23014 0 : EasyStorage < SgStringList > :: readFromFile(in) ;
23015 0 : EasyStorage < SgDataStatementGroupPtrList > :: readFromFile(in) ;
23016 0 : EasyStorage < SgDimensionObjectPtrList > :: readFromFile(in) ;
23017 0 : EasyStorage < std::string > :: readFromFile(in) ;
23018 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
23019 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
23020 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
23021 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
23022 0 : }
23023 :
23024 :
23025 :
23026 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23027 :
23028 :
23029 : // ********************************************************
23030 :
23031 : /* #line 23032 "../../../src/frontend/SageIII//StorageClasses.C" */
23032 :
23033 :
23034 :
23035 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23036 :
23037 : // ****************************************************************
23038 : // member functions definition specific to each node in the grammar
23039 : // these are the SgFormatStatementStorageClass parts !!!!
23040 : // ROSETTA generated code. Do not change by hand.
23041 : // ****************************************************************
23042 :
23043 :
23044 : /* #line 23045 "../../../src/frontend/SageIII//StorageClasses.C" */
23045 :
23046 :
23047 : void
23048 0 : SgFormatStatementStorageClass::pickOutIRNodeData ( SgFormatStatement* pointer )
23049 : {
23050 0 : SgFormatStatement* source = (SgFormatStatement*) (pointer);
23051 : #if FILE_IO_EXTRA_CHECK
23052 0 : assert ( source != NULL ) ;
23053 0 : assert ( source->p_freepointer != NULL) ;
23054 : #endif
23055 0 : storageOf_format_item_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_format_item_list );
23056 0 : storageOf_decl_attributes = source->p_decl_attributes ;
23057 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
23058 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
23059 0 : storageOf_nameOnly = source->p_nameOnly ;
23060 0 : storageOf_forward = source->p_forward ;
23061 0 : storageOf_externBrace = source->p_externBrace ;
23062 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
23063 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
23064 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
23065 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23066 0 : unsigned int tempListCountqualifiedNameList = 0;
23067 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
23068 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23069 : {
23070 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
23071 0 : tempListCountqualifiedNameList++;
23072 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
23073 : }
23074 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
23075 0 : tempListCountqualifiedNameList = 0;
23076 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23077 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23078 : {
23079 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
23080 0 : tempListCountqualifiedNameList++;
23081 : }
23082 0 : delete [] tempListqualifiedNameList;
23083 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
23084 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
23085 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
23086 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
23087 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
23088 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
23089 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
23090 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
23091 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
23092 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
23093 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
23094 0 : storageOf_isModified = source->p_isModified ;
23095 0 : storageOf_containsTransformation = source->p_containsTransformation ;
23096 0 : }
23097 :
23098 : void
23099 0 : SgFormatStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
23100 : {
23101 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
23102 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
23103 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
23104 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
23105 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
23106 0 : }
23107 :
23108 : void
23109 2 : SgFormatStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
23110 : {
23111 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
23112 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
23113 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
23114 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
23115 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
23116 2 : }
23117 :
23118 : void
23119 0 : SgFormatStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
23120 : {
23121 0 : EasyStorage < std::string > :: writeToFile(out) ;
23122 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
23123 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
23124 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
23125 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
23126 0 : }
23127 :
23128 :
23129 : void
23130 0 : SgFormatStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
23131 : {
23132 0 : EasyStorage < std::string > :: readFromFile(in) ;
23133 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
23134 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
23135 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
23136 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
23137 0 : }
23138 :
23139 :
23140 :
23141 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23142 :
23143 :
23144 : // ********************************************************
23145 :
23146 : /* #line 23147 "../../../src/frontend/SageIII//StorageClasses.C" */
23147 :
23148 :
23149 :
23150 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23151 :
23152 : // ****************************************************************
23153 : // member functions definition specific to each node in the grammar
23154 : // these are the SgTemplateDeclarationStorageClass parts !!!!
23155 : // ROSETTA generated code. Do not change by hand.
23156 : // ****************************************************************
23157 :
23158 :
23159 : /* #line 23160 "../../../src/frontend/SageIII//StorageClasses.C" */
23160 :
23161 :
23162 : void
23163 0 : SgTemplateDeclarationStorageClass::pickOutIRNodeData ( SgTemplateDeclaration* pointer )
23164 : {
23165 0 : SgTemplateDeclaration* source = (SgTemplateDeclaration*) (pointer);
23166 : #if FILE_IO_EXTRA_CHECK
23167 0 : assert ( source != NULL ) ;
23168 0 : assert ( source->p_freepointer != NULL) ;
23169 : #endif
23170 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
23171 0 : storageOf_string.pickOutIRNodeData( &(source->p_string) );
23172 0 : storageOf_template_kind = source->p_template_kind ;
23173 0 : SgTemplateParameterPtrList::iterator i_templateParameters = source->p_templateParameters.begin() ;
23174 0 : unsigned int tempListCounttemplateParameters = 0;
23175 0 : SgTemplateParameterPtrList::value_type * tempListtemplateParameters = new SgTemplateParameterPtrList::value_type[ source->p_templateParameters.size() ];
23176 0 : for ( ; i_templateParameters != source->p_templateParameters.end(); ++i_templateParameters )
23177 : {
23178 0 : tempListtemplateParameters[tempListCounttemplateParameters] = *i_templateParameters;
23179 0 : tempListCounttemplateParameters++;
23180 0 : (*i_templateParameters) = (SgTemplateParameterPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateParameters ) );
23181 : }
23182 0 : storageOf_templateParameters.storeDataInEasyStorageClass(source->p_templateParameters);
23183 0 : tempListCounttemplateParameters = 0;
23184 0 : i_templateParameters = source->p_templateParameters.begin() ;
23185 0 : for ( ; i_templateParameters != source->p_templateParameters.end(); ++i_templateParameters )
23186 : {
23187 0 : *i_templateParameters = tempListtemplateParameters[tempListCounttemplateParameters] ;
23188 0 : tempListCounttemplateParameters++;
23189 : }
23190 0 : delete [] tempListtemplateParameters;
23191 0 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
23192 0 : storageOf_nonreal_decl_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_nonreal_decl_scope );
23193 0 : storageOf_decl_attributes = source->p_decl_attributes ;
23194 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
23195 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
23196 0 : storageOf_nameOnly = source->p_nameOnly ;
23197 0 : storageOf_forward = source->p_forward ;
23198 0 : storageOf_externBrace = source->p_externBrace ;
23199 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
23200 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
23201 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
23202 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23203 0 : unsigned int tempListCountqualifiedNameList = 0;
23204 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
23205 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23206 : {
23207 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
23208 0 : tempListCountqualifiedNameList++;
23209 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
23210 : }
23211 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
23212 0 : tempListCountqualifiedNameList = 0;
23213 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23214 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23215 : {
23216 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
23217 0 : tempListCountqualifiedNameList++;
23218 : }
23219 0 : delete [] tempListqualifiedNameList;
23220 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
23221 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
23222 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
23223 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
23224 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
23225 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
23226 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
23227 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
23228 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
23229 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
23230 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
23231 0 : storageOf_isModified = source->p_isModified ;
23232 0 : storageOf_containsTransformation = source->p_containsTransformation ;
23233 0 : }
23234 :
23235 : void
23236 0 : SgTemplateDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
23237 : {
23238 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
23239 0 : EasyStorage < SgTemplateParameterPtrList > :: arrangeMemoryPoolInOneBlock() ;
23240 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
23241 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
23242 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
23243 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
23244 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
23245 0 : }
23246 :
23247 : void
23248 2 : SgTemplateDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
23249 : {
23250 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
23251 2 : EasyStorage < SgTemplateParameterPtrList > :: deleteMemoryPool() ;
23252 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
23253 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
23254 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
23255 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
23256 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
23257 2 : }
23258 :
23259 : void
23260 0 : SgTemplateDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
23261 : {
23262 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
23263 0 : EasyStorage < SgTemplateParameterPtrList > :: writeToFile(out) ;
23264 0 : EasyStorage < std::string > :: writeToFile(out) ;
23265 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
23266 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
23267 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
23268 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
23269 0 : }
23270 :
23271 :
23272 : void
23273 0 : SgTemplateDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
23274 : {
23275 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
23276 0 : EasyStorage < SgTemplateParameterPtrList > :: readFromFile(in) ;
23277 0 : EasyStorage < std::string > :: readFromFile(in) ;
23278 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
23279 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
23280 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
23281 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
23282 0 : }
23283 :
23284 :
23285 :
23286 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23287 :
23288 :
23289 : // ********************************************************
23290 :
23291 : /* #line 23292 "../../../src/frontend/SageIII//StorageClasses.C" */
23292 :
23293 :
23294 :
23295 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23296 :
23297 : // ****************************************************************
23298 : // member functions definition specific to each node in the grammar
23299 : // these are the SgTemplateInstantiationDirectiveStatementStorageClass parts !!!!
23300 : // ROSETTA generated code. Do not change by hand.
23301 : // ****************************************************************
23302 :
23303 :
23304 : /* #line 23305 "../../../src/frontend/SageIII//StorageClasses.C" */
23305 :
23306 :
23307 : void
23308 124 : SgTemplateInstantiationDirectiveStatementStorageClass::pickOutIRNodeData ( SgTemplateInstantiationDirectiveStatement* pointer )
23309 : {
23310 124 : SgTemplateInstantiationDirectiveStatement* source = (SgTemplateInstantiationDirectiveStatement*) (pointer);
23311 : #if FILE_IO_EXTRA_CHECK
23312 124 : assert ( source != NULL ) ;
23313 124 : assert ( source->p_freepointer != NULL) ;
23314 : #endif
23315 124 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
23316 124 : storageOf_do_not_instantiate = source->p_do_not_instantiate ;
23317 124 : storageOf_decl_attributes = source->p_decl_attributes ;
23318 124 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
23319 124 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
23320 124 : storageOf_nameOnly = source->p_nameOnly ;
23321 124 : storageOf_forward = source->p_forward ;
23322 124 : storageOf_externBrace = source->p_externBrace ;
23323 124 : storageOf_skipElaborateType = source->p_skipElaborateType ;
23324 124 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
23325 124 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
23326 124 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23327 124 : unsigned int tempListCountqualifiedNameList = 0;
23328 124 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
23329 124 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23330 : {
23331 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
23332 0 : tempListCountqualifiedNameList++;
23333 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
23334 : }
23335 124 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
23336 124 : tempListCountqualifiedNameList = 0;
23337 124 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23338 124 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23339 : {
23340 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
23341 0 : tempListCountqualifiedNameList++;
23342 : }
23343 124 : delete [] tempListqualifiedNameList;
23344 124 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
23345 124 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
23346 124 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
23347 124 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
23348 124 : storageOf_source_sequence_value = source->p_source_sequence_value ;
23349 124 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
23350 124 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
23351 124 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
23352 124 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
23353 124 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
23354 124 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
23355 124 : storageOf_isModified = source->p_isModified ;
23356 124 : storageOf_containsTransformation = source->p_containsTransformation ;
23357 124 : }
23358 :
23359 : void
23360 0 : SgTemplateInstantiationDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
23361 : {
23362 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
23363 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
23364 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
23365 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
23366 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
23367 0 : }
23368 :
23369 : void
23370 2 : SgTemplateInstantiationDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
23371 : {
23372 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
23373 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
23374 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
23375 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
23376 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
23377 2 : }
23378 :
23379 : void
23380 1 : SgTemplateInstantiationDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
23381 : {
23382 1 : EasyStorage < std::string > :: writeToFile(out) ;
23383 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
23384 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
23385 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
23386 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
23387 1 : }
23388 :
23389 :
23390 : void
23391 1 : SgTemplateInstantiationDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
23392 : {
23393 1 : EasyStorage < std::string > :: readFromFile(in) ;
23394 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
23395 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
23396 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
23397 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
23398 1 : }
23399 :
23400 :
23401 :
23402 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23403 :
23404 :
23405 : // ********************************************************
23406 :
23407 : /* #line 23408 "../../../src/frontend/SageIII//StorageClasses.C" */
23408 :
23409 :
23410 :
23411 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23412 :
23413 : // ****************************************************************
23414 : // member functions definition specific to each node in the grammar
23415 : // these are the SgUseStatementStorageClass parts !!!!
23416 : // ROSETTA generated code. Do not change by hand.
23417 : // ****************************************************************
23418 :
23419 :
23420 : /* #line 23421 "../../../src/frontend/SageIII//StorageClasses.C" */
23421 :
23422 :
23423 : void
23424 0 : SgUseStatementStorageClass::pickOutIRNodeData ( SgUseStatement* pointer )
23425 : {
23426 0 : SgUseStatement* source = (SgUseStatement*) (pointer);
23427 : #if FILE_IO_EXTRA_CHECK
23428 0 : assert ( source != NULL ) ;
23429 0 : assert ( source->p_freepointer != NULL) ;
23430 : #endif
23431 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
23432 0 : storageOf_only_option = source->p_only_option ;
23433 0 : storageOf_module_nature.storeDataInEasyStorageClass(source->p_module_nature);
23434 0 : SgRenamePairPtrList::iterator i_rename_list = source->p_rename_list.begin() ;
23435 0 : unsigned int tempListCountrename_list = 0;
23436 0 : SgRenamePairPtrList::value_type * tempListrename_list = new SgRenamePairPtrList::value_type[ source->p_rename_list.size() ];
23437 0 : for ( ; i_rename_list != source->p_rename_list.end(); ++i_rename_list )
23438 : {
23439 0 : tempListrename_list[tempListCountrename_list] = *i_rename_list;
23440 0 : tempListCountrename_list++;
23441 0 : (*i_rename_list) = (SgRenamePairPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_rename_list ) );
23442 : }
23443 0 : storageOf_rename_list.storeDataInEasyStorageClass(source->p_rename_list);
23444 0 : tempListCountrename_list = 0;
23445 0 : i_rename_list = source->p_rename_list.begin() ;
23446 0 : for ( ; i_rename_list != source->p_rename_list.end(); ++i_rename_list )
23447 : {
23448 0 : *i_rename_list = tempListrename_list[tempListCountrename_list] ;
23449 0 : tempListCountrename_list++;
23450 : }
23451 0 : delete [] tempListrename_list;
23452 0 : storageOf_module = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_module );
23453 0 : storageOf_decl_attributes = source->p_decl_attributes ;
23454 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
23455 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
23456 0 : storageOf_nameOnly = source->p_nameOnly ;
23457 0 : storageOf_forward = source->p_forward ;
23458 0 : storageOf_externBrace = source->p_externBrace ;
23459 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
23460 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
23461 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
23462 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23463 0 : unsigned int tempListCountqualifiedNameList = 0;
23464 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
23465 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23466 : {
23467 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
23468 0 : tempListCountqualifiedNameList++;
23469 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
23470 : }
23471 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
23472 0 : tempListCountqualifiedNameList = 0;
23473 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23474 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23475 : {
23476 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
23477 0 : tempListCountqualifiedNameList++;
23478 : }
23479 0 : delete [] tempListqualifiedNameList;
23480 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
23481 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
23482 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
23483 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
23484 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
23485 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
23486 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
23487 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
23488 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
23489 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
23490 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
23491 0 : storageOf_isModified = source->p_isModified ;
23492 0 : storageOf_containsTransformation = source->p_containsTransformation ;
23493 0 : }
23494 :
23495 : void
23496 0 : SgUseStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
23497 : {
23498 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
23499 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
23500 0 : EasyStorage < SgRenamePairPtrList > :: arrangeMemoryPoolInOneBlock() ;
23501 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
23502 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
23503 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
23504 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
23505 0 : }
23506 :
23507 : void
23508 2 : SgUseStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
23509 : {
23510 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
23511 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
23512 2 : EasyStorage < SgRenamePairPtrList > :: deleteMemoryPool() ;
23513 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
23514 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
23515 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
23516 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
23517 2 : }
23518 :
23519 : void
23520 0 : SgUseStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
23521 : {
23522 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
23523 0 : EasyStorage < std::string > :: writeToFile(out) ;
23524 0 : EasyStorage < SgRenamePairPtrList > :: writeToFile(out) ;
23525 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
23526 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
23527 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
23528 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
23529 0 : }
23530 :
23531 :
23532 : void
23533 0 : SgUseStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
23534 : {
23535 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
23536 0 : EasyStorage < std::string > :: readFromFile(in) ;
23537 0 : EasyStorage < SgRenamePairPtrList > :: readFromFile(in) ;
23538 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
23539 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
23540 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
23541 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
23542 0 : }
23543 :
23544 :
23545 :
23546 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23547 :
23548 :
23549 : // ********************************************************
23550 :
23551 : /* #line 23552 "../../../src/frontend/SageIII//StorageClasses.C" */
23552 :
23553 :
23554 :
23555 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23556 :
23557 : // ****************************************************************
23558 : // member functions definition specific to each node in the grammar
23559 : // these are the SgParameterStatementStorageClass parts !!!!
23560 : // ROSETTA generated code. Do not change by hand.
23561 : // ****************************************************************
23562 :
23563 :
23564 : /* #line 23565 "../../../src/frontend/SageIII//StorageClasses.C" */
23565 :
23566 :
23567 : void
23568 0 : SgParameterStatementStorageClass::pickOutIRNodeData ( SgParameterStatement* pointer )
23569 : {
23570 0 : SgParameterStatement* source = (SgParameterStatement*) (pointer);
23571 : #if FILE_IO_EXTRA_CHECK
23572 0 : assert ( source != NULL ) ;
23573 0 : assert ( source->p_freepointer != NULL) ;
23574 : #endif
23575 0 : storageOf_decl_attributes = source->p_decl_attributes ;
23576 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
23577 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
23578 0 : storageOf_nameOnly = source->p_nameOnly ;
23579 0 : storageOf_forward = source->p_forward ;
23580 0 : storageOf_externBrace = source->p_externBrace ;
23581 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
23582 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
23583 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
23584 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23585 0 : unsigned int tempListCountqualifiedNameList = 0;
23586 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
23587 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23588 : {
23589 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
23590 0 : tempListCountqualifiedNameList++;
23591 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
23592 : }
23593 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
23594 0 : tempListCountqualifiedNameList = 0;
23595 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23596 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23597 : {
23598 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
23599 0 : tempListCountqualifiedNameList++;
23600 : }
23601 0 : delete [] tempListqualifiedNameList;
23602 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
23603 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
23604 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
23605 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
23606 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
23607 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
23608 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
23609 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
23610 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
23611 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
23612 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
23613 0 : storageOf_isModified = source->p_isModified ;
23614 0 : storageOf_containsTransformation = source->p_containsTransformation ;
23615 0 : }
23616 :
23617 : void
23618 0 : SgParameterStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
23619 : {
23620 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
23621 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
23622 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
23623 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
23624 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
23625 0 : }
23626 :
23627 : void
23628 2 : SgParameterStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
23629 : {
23630 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
23631 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
23632 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
23633 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
23634 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
23635 2 : }
23636 :
23637 : void
23638 0 : SgParameterStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
23639 : {
23640 0 : EasyStorage < std::string > :: writeToFile(out) ;
23641 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
23642 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
23643 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
23644 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
23645 0 : }
23646 :
23647 :
23648 : void
23649 0 : SgParameterStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
23650 : {
23651 0 : EasyStorage < std::string > :: readFromFile(in) ;
23652 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
23653 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
23654 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
23655 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
23656 0 : }
23657 :
23658 :
23659 :
23660 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23661 :
23662 :
23663 : // ********************************************************
23664 :
23665 : /* #line 23666 "../../../src/frontend/SageIII//StorageClasses.C" */
23666 :
23667 :
23668 :
23669 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23670 :
23671 : // ****************************************************************
23672 : // member functions definition specific to each node in the grammar
23673 : // these are the SgNamespaceDeclarationStatementStorageClass parts !!!!
23674 : // ROSETTA generated code. Do not change by hand.
23675 : // ****************************************************************
23676 :
23677 :
23678 : /* #line 23679 "../../../src/frontend/SageIII//StorageClasses.C" */
23679 :
23680 :
23681 : void
23682 121 : SgNamespaceDeclarationStatementStorageClass::pickOutIRNodeData ( SgNamespaceDeclarationStatement* pointer )
23683 : {
23684 121 : SgNamespaceDeclarationStatement* source = (SgNamespaceDeclarationStatement*) (pointer);
23685 : #if FILE_IO_EXTRA_CHECK
23686 121 : assert ( source != NULL ) ;
23687 121 : assert ( source->p_freepointer != NULL) ;
23688 : #endif
23689 121 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
23690 121 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
23691 121 : storageOf_isUnnamedNamespace = source->p_isUnnamedNamespace ;
23692 121 : storageOf_isInlinedNamespace = source->p_isInlinedNamespace ;
23693 121 : storageOf_decl_attributes = source->p_decl_attributes ;
23694 121 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
23695 121 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
23696 121 : storageOf_nameOnly = source->p_nameOnly ;
23697 121 : storageOf_forward = source->p_forward ;
23698 121 : storageOf_externBrace = source->p_externBrace ;
23699 121 : storageOf_skipElaborateType = source->p_skipElaborateType ;
23700 121 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
23701 121 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
23702 121 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23703 121 : unsigned int tempListCountqualifiedNameList = 0;
23704 121 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
23705 121 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23706 : {
23707 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
23708 0 : tempListCountqualifiedNameList++;
23709 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
23710 : }
23711 121 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
23712 121 : tempListCountqualifiedNameList = 0;
23713 121 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23714 121 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23715 : {
23716 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
23717 0 : tempListCountqualifiedNameList++;
23718 : }
23719 121 : delete [] tempListqualifiedNameList;
23720 121 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
23721 121 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
23722 121 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
23723 121 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
23724 121 : storageOf_source_sequence_value = source->p_source_sequence_value ;
23725 121 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
23726 121 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
23727 121 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
23728 121 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
23729 121 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
23730 121 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
23731 121 : storageOf_isModified = source->p_isModified ;
23732 121 : storageOf_containsTransformation = source->p_containsTransformation ;
23733 121 : }
23734 :
23735 : void
23736 0 : SgNamespaceDeclarationStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
23737 : {
23738 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
23739 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
23740 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
23741 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
23742 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
23743 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
23744 0 : }
23745 :
23746 : void
23747 2 : SgNamespaceDeclarationStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
23748 : {
23749 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
23750 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
23751 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
23752 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
23753 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
23754 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
23755 2 : }
23756 :
23757 : void
23758 1 : SgNamespaceDeclarationStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
23759 : {
23760 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
23761 1 : EasyStorage < std::string > :: writeToFile(out) ;
23762 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
23763 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
23764 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
23765 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
23766 1 : }
23767 :
23768 :
23769 : void
23770 1 : SgNamespaceDeclarationStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
23771 : {
23772 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
23773 1 : EasyStorage < std::string > :: readFromFile(in) ;
23774 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
23775 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
23776 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
23777 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
23778 1 : }
23779 :
23780 :
23781 :
23782 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23783 :
23784 :
23785 : // ********************************************************
23786 :
23787 : /* #line 23788 "../../../src/frontend/SageIII//StorageClasses.C" */
23788 :
23789 :
23790 :
23791 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23792 :
23793 : // ****************************************************************
23794 : // member functions definition specific to each node in the grammar
23795 : // these are the SgEquivalenceStatementStorageClass parts !!!!
23796 : // ROSETTA generated code. Do not change by hand.
23797 : // ****************************************************************
23798 :
23799 :
23800 : /* #line 23801 "../../../src/frontend/SageIII//StorageClasses.C" */
23801 :
23802 :
23803 : void
23804 0 : SgEquivalenceStatementStorageClass::pickOutIRNodeData ( SgEquivalenceStatement* pointer )
23805 : {
23806 0 : SgEquivalenceStatement* source = (SgEquivalenceStatement*) (pointer);
23807 : #if FILE_IO_EXTRA_CHECK
23808 0 : assert ( source != NULL ) ;
23809 0 : assert ( source->p_freepointer != NULL) ;
23810 : #endif
23811 0 : storageOf_equivalence_set_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_equivalence_set_list );
23812 0 : storageOf_decl_attributes = source->p_decl_attributes ;
23813 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
23814 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
23815 0 : storageOf_nameOnly = source->p_nameOnly ;
23816 0 : storageOf_forward = source->p_forward ;
23817 0 : storageOf_externBrace = source->p_externBrace ;
23818 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
23819 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
23820 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
23821 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23822 0 : unsigned int tempListCountqualifiedNameList = 0;
23823 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
23824 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23825 : {
23826 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
23827 0 : tempListCountqualifiedNameList++;
23828 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
23829 : }
23830 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
23831 0 : tempListCountqualifiedNameList = 0;
23832 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23833 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23834 : {
23835 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
23836 0 : tempListCountqualifiedNameList++;
23837 : }
23838 0 : delete [] tempListqualifiedNameList;
23839 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
23840 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
23841 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
23842 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
23843 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
23844 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
23845 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
23846 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
23847 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
23848 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
23849 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
23850 0 : storageOf_isModified = source->p_isModified ;
23851 0 : storageOf_containsTransformation = source->p_containsTransformation ;
23852 0 : }
23853 :
23854 : void
23855 0 : SgEquivalenceStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
23856 : {
23857 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
23858 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
23859 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
23860 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
23861 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
23862 0 : }
23863 :
23864 : void
23865 2 : SgEquivalenceStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
23866 : {
23867 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
23868 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
23869 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
23870 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
23871 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
23872 2 : }
23873 :
23874 : void
23875 0 : SgEquivalenceStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
23876 : {
23877 0 : EasyStorage < std::string > :: writeToFile(out) ;
23878 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
23879 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
23880 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
23881 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
23882 0 : }
23883 :
23884 :
23885 : void
23886 0 : SgEquivalenceStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
23887 : {
23888 0 : EasyStorage < std::string > :: readFromFile(in) ;
23889 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
23890 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
23891 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
23892 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
23893 0 : }
23894 :
23895 :
23896 :
23897 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23898 :
23899 :
23900 : // ********************************************************
23901 :
23902 : /* #line 23903 "../../../src/frontend/SageIII//StorageClasses.C" */
23903 :
23904 :
23905 :
23906 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
23907 :
23908 : // ****************************************************************
23909 : // member functions definition specific to each node in the grammar
23910 : // these are the SgInterfaceStatementStorageClass parts !!!!
23911 : // ROSETTA generated code. Do not change by hand.
23912 : // ****************************************************************
23913 :
23914 :
23915 : /* #line 23916 "../../../src/frontend/SageIII//StorageClasses.C" */
23916 :
23917 :
23918 : void
23919 0 : SgInterfaceStatementStorageClass::pickOutIRNodeData ( SgInterfaceStatement* pointer )
23920 : {
23921 0 : SgInterfaceStatement* source = (SgInterfaceStatement*) (pointer);
23922 : #if FILE_IO_EXTRA_CHECK
23923 0 : assert ( source != NULL ) ;
23924 0 : assert ( source->p_freepointer != NULL) ;
23925 : #endif
23926 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
23927 0 : storageOf_generic_spec = source->p_generic_spec ;
23928 0 : SgInterfaceBodyPtrList::iterator i_interface_body_list = source->p_interface_body_list.begin() ;
23929 0 : unsigned int tempListCountinterface_body_list = 0;
23930 0 : SgInterfaceBodyPtrList::value_type * tempListinterface_body_list = new SgInterfaceBodyPtrList::value_type[ source->p_interface_body_list.size() ];
23931 0 : for ( ; i_interface_body_list != source->p_interface_body_list.end(); ++i_interface_body_list )
23932 : {
23933 0 : tempListinterface_body_list[tempListCountinterface_body_list] = *i_interface_body_list;
23934 0 : tempListCountinterface_body_list++;
23935 0 : (*i_interface_body_list) = (SgInterfaceBodyPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_interface_body_list ) );
23936 : }
23937 0 : storageOf_interface_body_list.storeDataInEasyStorageClass(source->p_interface_body_list);
23938 0 : tempListCountinterface_body_list = 0;
23939 0 : i_interface_body_list = source->p_interface_body_list.begin() ;
23940 0 : for ( ; i_interface_body_list != source->p_interface_body_list.end(); ++i_interface_body_list )
23941 : {
23942 0 : *i_interface_body_list = tempListinterface_body_list[tempListCountinterface_body_list] ;
23943 0 : tempListCountinterface_body_list++;
23944 : }
23945 0 : delete [] tempListinterface_body_list;
23946 0 : storageOf_end_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_numeric_label );
23947 0 : storageOf_decl_attributes = source->p_decl_attributes ;
23948 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
23949 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
23950 0 : storageOf_nameOnly = source->p_nameOnly ;
23951 0 : storageOf_forward = source->p_forward ;
23952 0 : storageOf_externBrace = source->p_externBrace ;
23953 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
23954 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
23955 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
23956 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23957 0 : unsigned int tempListCountqualifiedNameList = 0;
23958 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
23959 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23960 : {
23961 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
23962 0 : tempListCountqualifiedNameList++;
23963 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
23964 : }
23965 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
23966 0 : tempListCountqualifiedNameList = 0;
23967 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
23968 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
23969 : {
23970 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
23971 0 : tempListCountqualifiedNameList++;
23972 : }
23973 0 : delete [] tempListqualifiedNameList;
23974 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
23975 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
23976 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
23977 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
23978 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
23979 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
23980 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
23981 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
23982 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
23983 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
23984 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
23985 0 : storageOf_isModified = source->p_isModified ;
23986 0 : storageOf_containsTransformation = source->p_containsTransformation ;
23987 0 : }
23988 :
23989 : void
23990 0 : SgInterfaceStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
23991 : {
23992 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
23993 0 : EasyStorage < SgInterfaceBodyPtrList > :: arrangeMemoryPoolInOneBlock() ;
23994 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
23995 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
23996 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
23997 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
23998 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
23999 0 : }
24000 :
24001 : void
24002 2 : SgInterfaceStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
24003 : {
24004 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
24005 2 : EasyStorage < SgInterfaceBodyPtrList > :: deleteMemoryPool() ;
24006 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
24007 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
24008 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
24009 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
24010 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
24011 2 : }
24012 :
24013 : void
24014 0 : SgInterfaceStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
24015 : {
24016 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
24017 0 : EasyStorage < SgInterfaceBodyPtrList > :: writeToFile(out) ;
24018 0 : EasyStorage < std::string > :: writeToFile(out) ;
24019 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
24020 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
24021 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
24022 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
24023 0 : }
24024 :
24025 :
24026 : void
24027 0 : SgInterfaceStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
24028 : {
24029 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
24030 0 : EasyStorage < SgInterfaceBodyPtrList > :: readFromFile(in) ;
24031 0 : EasyStorage < std::string > :: readFromFile(in) ;
24032 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
24033 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
24034 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
24035 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
24036 0 : }
24037 :
24038 :
24039 :
24040 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24041 :
24042 :
24043 : // ********************************************************
24044 :
24045 : /* #line 24046 "../../../src/frontend/SageIII//StorageClasses.C" */
24046 :
24047 :
24048 :
24049 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24050 :
24051 : // ****************************************************************
24052 : // member functions definition specific to each node in the grammar
24053 : // these are the SgNamespaceAliasDeclarationStatementStorageClass parts !!!!
24054 : // ROSETTA generated code. Do not change by hand.
24055 : // ****************************************************************
24056 :
24057 :
24058 : /* #line 24059 "../../../src/frontend/SageIII//StorageClasses.C" */
24059 :
24060 :
24061 : void
24062 0 : SgNamespaceAliasDeclarationStatementStorageClass::pickOutIRNodeData ( SgNamespaceAliasDeclarationStatement* pointer )
24063 : {
24064 0 : SgNamespaceAliasDeclarationStatement* source = (SgNamespaceAliasDeclarationStatement*) (pointer);
24065 : #if FILE_IO_EXTRA_CHECK
24066 0 : assert ( source != NULL ) ;
24067 0 : assert ( source->p_freepointer != NULL) ;
24068 : #endif
24069 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
24070 0 : storageOf_namespaceDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_namespaceDeclaration );
24071 0 : storageOf_name_qualification_length = source->p_name_qualification_length ;
24072 0 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
24073 0 : storageOf_global_qualification_required = source->p_global_qualification_required ;
24074 0 : storageOf_is_alias_for_another_namespace_alias = source->p_is_alias_for_another_namespace_alias ;
24075 0 : storageOf_namespaceAliasDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_namespaceAliasDeclaration );
24076 0 : storageOf_decl_attributes = source->p_decl_attributes ;
24077 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
24078 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
24079 0 : storageOf_nameOnly = source->p_nameOnly ;
24080 0 : storageOf_forward = source->p_forward ;
24081 0 : storageOf_externBrace = source->p_externBrace ;
24082 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
24083 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
24084 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
24085 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24086 0 : unsigned int tempListCountqualifiedNameList = 0;
24087 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
24088 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24089 : {
24090 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
24091 0 : tempListCountqualifiedNameList++;
24092 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
24093 : }
24094 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
24095 0 : tempListCountqualifiedNameList = 0;
24096 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24097 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24098 : {
24099 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
24100 0 : tempListCountqualifiedNameList++;
24101 : }
24102 0 : delete [] tempListqualifiedNameList;
24103 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
24104 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
24105 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
24106 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
24107 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
24108 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
24109 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
24110 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
24111 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
24112 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
24113 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
24114 0 : storageOf_isModified = source->p_isModified ;
24115 0 : storageOf_containsTransformation = source->p_containsTransformation ;
24116 0 : }
24117 :
24118 : void
24119 0 : SgNamespaceAliasDeclarationStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
24120 : {
24121 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
24122 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
24123 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
24124 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
24125 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
24126 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
24127 0 : }
24128 :
24129 : void
24130 2 : SgNamespaceAliasDeclarationStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
24131 : {
24132 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
24133 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
24134 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
24135 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
24136 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
24137 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
24138 2 : }
24139 :
24140 : void
24141 0 : SgNamespaceAliasDeclarationStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
24142 : {
24143 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
24144 0 : EasyStorage < std::string > :: writeToFile(out) ;
24145 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
24146 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
24147 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
24148 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
24149 0 : }
24150 :
24151 :
24152 : void
24153 0 : SgNamespaceAliasDeclarationStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
24154 : {
24155 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
24156 0 : EasyStorage < std::string > :: readFromFile(in) ;
24157 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
24158 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
24159 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
24160 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
24161 0 : }
24162 :
24163 :
24164 :
24165 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24166 :
24167 :
24168 : // ********************************************************
24169 :
24170 : /* #line 24171 "../../../src/frontend/SageIII//StorageClasses.C" */
24171 :
24172 :
24173 :
24174 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24175 :
24176 : // ****************************************************************
24177 : // member functions definition specific to each node in the grammar
24178 : // these are the SgCommonBlockStorageClass parts !!!!
24179 : // ROSETTA generated code. Do not change by hand.
24180 : // ****************************************************************
24181 :
24182 :
24183 : /* #line 24184 "../../../src/frontend/SageIII//StorageClasses.C" */
24184 :
24185 :
24186 : void
24187 0 : SgCommonBlockStorageClass::pickOutIRNodeData ( SgCommonBlock* pointer )
24188 : {
24189 0 : SgCommonBlock* source = (SgCommonBlock*) (pointer);
24190 : #if FILE_IO_EXTRA_CHECK
24191 0 : assert ( source != NULL ) ;
24192 0 : assert ( source->p_freepointer != NULL) ;
24193 : #endif
24194 0 : SgCommonBlockObjectPtrList::iterator i_block_list = source->p_block_list.begin() ;
24195 0 : unsigned int tempListCountblock_list = 0;
24196 0 : SgCommonBlockObjectPtrList::value_type * tempListblock_list = new SgCommonBlockObjectPtrList::value_type[ source->p_block_list.size() ];
24197 0 : for ( ; i_block_list != source->p_block_list.end(); ++i_block_list )
24198 : {
24199 0 : tempListblock_list[tempListCountblock_list] = *i_block_list;
24200 0 : tempListCountblock_list++;
24201 0 : (*i_block_list) = (SgCommonBlockObjectPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_block_list ) );
24202 : }
24203 0 : storageOf_block_list.storeDataInEasyStorageClass(source->p_block_list);
24204 0 : tempListCountblock_list = 0;
24205 0 : i_block_list = source->p_block_list.begin() ;
24206 0 : for ( ; i_block_list != source->p_block_list.end(); ++i_block_list )
24207 : {
24208 0 : *i_block_list = tempListblock_list[tempListCountblock_list] ;
24209 0 : tempListCountblock_list++;
24210 : }
24211 0 : delete [] tempListblock_list;
24212 0 : storageOf_decl_attributes = source->p_decl_attributes ;
24213 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
24214 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
24215 0 : storageOf_nameOnly = source->p_nameOnly ;
24216 0 : storageOf_forward = source->p_forward ;
24217 0 : storageOf_externBrace = source->p_externBrace ;
24218 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
24219 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
24220 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
24221 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24222 0 : unsigned int tempListCountqualifiedNameList = 0;
24223 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
24224 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24225 : {
24226 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
24227 0 : tempListCountqualifiedNameList++;
24228 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
24229 : }
24230 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
24231 0 : tempListCountqualifiedNameList = 0;
24232 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24233 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24234 : {
24235 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
24236 0 : tempListCountqualifiedNameList++;
24237 : }
24238 0 : delete [] tempListqualifiedNameList;
24239 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
24240 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
24241 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
24242 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
24243 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
24244 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
24245 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
24246 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
24247 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
24248 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
24249 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
24250 0 : storageOf_isModified = source->p_isModified ;
24251 0 : storageOf_containsTransformation = source->p_containsTransformation ;
24252 0 : }
24253 :
24254 : void
24255 0 : SgCommonBlockStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
24256 : {
24257 0 : EasyStorage < SgCommonBlockObjectPtrList > :: arrangeMemoryPoolInOneBlock() ;
24258 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
24259 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
24260 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
24261 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
24262 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
24263 0 : }
24264 :
24265 : void
24266 2 : SgCommonBlockStorageClass::deleteStaticDataOfEasyStorageClasses ( )
24267 : {
24268 2 : EasyStorage < SgCommonBlockObjectPtrList > :: deleteMemoryPool() ;
24269 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
24270 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
24271 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
24272 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
24273 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
24274 2 : }
24275 :
24276 : void
24277 0 : SgCommonBlockStorageClass::writeEasyStorageDataToFile (std::ostream& out)
24278 : {
24279 0 : EasyStorage < SgCommonBlockObjectPtrList > :: writeToFile(out) ;
24280 0 : EasyStorage < std::string > :: writeToFile(out) ;
24281 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
24282 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
24283 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
24284 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
24285 0 : }
24286 :
24287 :
24288 : void
24289 0 : SgCommonBlockStorageClass::readEasyStorageDataFromFile (std::istream& in)
24290 : {
24291 0 : EasyStorage < SgCommonBlockObjectPtrList > :: readFromFile(in) ;
24292 0 : EasyStorage < std::string > :: readFromFile(in) ;
24293 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
24294 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
24295 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
24296 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
24297 0 : }
24298 :
24299 :
24300 :
24301 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24302 :
24303 :
24304 : // ********************************************************
24305 :
24306 : /* #line 24307 "../../../src/frontend/SageIII//StorageClasses.C" */
24307 :
24308 :
24309 :
24310 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24311 :
24312 : // ****************************************************************
24313 : // member functions definition specific to each node in the grammar
24314 : // these are the SgTypedefDeclarationStorageClass parts !!!!
24315 : // ROSETTA generated code. Do not change by hand.
24316 : // ****************************************************************
24317 :
24318 :
24319 : /* #line 24320 "../../../src/frontend/SageIII//StorageClasses.C" */
24320 :
24321 :
24322 : void
24323 1719 : SgTypedefDeclarationStorageClass::pickOutIRNodeData ( SgTypedefDeclaration* pointer )
24324 : {
24325 1719 : SgTypedefDeclaration* source = (SgTypedefDeclaration*) (pointer);
24326 : #if FILE_IO_EXTRA_CHECK
24327 1719 : assert ( source != NULL ) ;
24328 1719 : assert ( source->p_freepointer != NULL) ;
24329 : #endif
24330 1719 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
24331 1719 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
24332 1719 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
24333 1719 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
24334 1719 : storageOf_parent_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent_scope );
24335 1719 : storageOf_typedefBaseTypeContainsDefiningDeclaration = source->p_typedefBaseTypeContainsDefiningDeclaration ;
24336 1719 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
24337 1719 : storageOf_requiresGlobalNameQualificationOnType = source->p_requiresGlobalNameQualificationOnType ;
24338 1719 : storageOf_name_qualification_length_for_base_type = source->p_name_qualification_length_for_base_type ;
24339 1719 : storageOf_type_elaboration_required_for_base_type = source->p_type_elaboration_required_for_base_type ;
24340 1719 : storageOf_global_qualification_required_for_base_type = source->p_global_qualification_required_for_base_type ;
24341 1719 : storageOf_isAutonomousDeclaration = source->p_isAutonomousDeclaration ;
24342 1719 : storageOf_isAssociatedWithDeclarationList = source->p_isAssociatedWithDeclarationList ;
24343 1719 : storageOf_isFirstDeclarationOfDeclarationList = source->p_isFirstDeclarationOfDeclarationList ;
24344 1719 : storageOf_name_qualification_length = source->p_name_qualification_length ;
24345 1719 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
24346 1719 : storageOf_global_qualification_required = source->p_global_qualification_required ;
24347 1719 : storageOf_decl_attributes = source->p_decl_attributes ;
24348 1719 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
24349 1719 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
24350 1719 : storageOf_nameOnly = source->p_nameOnly ;
24351 1719 : storageOf_forward = source->p_forward ;
24352 1719 : storageOf_externBrace = source->p_externBrace ;
24353 1719 : storageOf_skipElaborateType = source->p_skipElaborateType ;
24354 1719 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
24355 1719 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
24356 1719 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24357 1719 : unsigned int tempListCountqualifiedNameList = 0;
24358 1719 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
24359 1719 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24360 : {
24361 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
24362 0 : tempListCountqualifiedNameList++;
24363 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
24364 : }
24365 1719 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
24366 1719 : tempListCountqualifiedNameList = 0;
24367 1719 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24368 1719 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24369 : {
24370 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
24371 0 : tempListCountqualifiedNameList++;
24372 : }
24373 1719 : delete [] tempListqualifiedNameList;
24374 1719 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
24375 1719 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
24376 1719 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
24377 1719 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
24378 1719 : storageOf_source_sequence_value = source->p_source_sequence_value ;
24379 1719 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
24380 1719 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
24381 1719 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
24382 1719 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
24383 1719 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
24384 1719 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
24385 1719 : storageOf_isModified = source->p_isModified ;
24386 1719 : storageOf_containsTransformation = source->p_containsTransformation ;
24387 1719 : }
24388 :
24389 : void
24390 0 : SgTypedefDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
24391 : {
24392 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
24393 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
24394 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
24395 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
24396 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
24397 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
24398 0 : }
24399 :
24400 : void
24401 2 : SgTypedefDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
24402 : {
24403 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
24404 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
24405 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
24406 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
24407 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
24408 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
24409 2 : }
24410 :
24411 : void
24412 2 : SgTypedefDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
24413 : {
24414 2 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
24415 2 : EasyStorage < std::string > :: writeToFile(out) ;
24416 2 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
24417 2 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
24418 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
24419 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
24420 2 : }
24421 :
24422 :
24423 : void
24424 2 : SgTypedefDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
24425 : {
24426 2 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
24427 2 : EasyStorage < std::string > :: readFromFile(in) ;
24428 2 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
24429 2 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
24430 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
24431 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
24432 2 : }
24433 :
24434 :
24435 :
24436 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24437 :
24438 :
24439 : // ********************************************************
24440 :
24441 : /* #line 24442 "../../../src/frontend/SageIII//StorageClasses.C" */
24442 :
24443 :
24444 :
24445 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24446 :
24447 : // ****************************************************************
24448 : // member functions definition specific to each node in the grammar
24449 : // these are the SgTemplateTypedefDeclarationStorageClass parts !!!!
24450 : // ROSETTA generated code. Do not change by hand.
24451 : // ****************************************************************
24452 :
24453 :
24454 : /* #line 24455 "../../../src/frontend/SageIII//StorageClasses.C" */
24455 :
24456 :
24457 : void
24458 95 : SgTemplateTypedefDeclarationStorageClass::pickOutIRNodeData ( SgTemplateTypedefDeclaration* pointer )
24459 : {
24460 95 : SgTemplateTypedefDeclaration* source = (SgTemplateTypedefDeclaration*) (pointer);
24461 : #if FILE_IO_EXTRA_CHECK
24462 95 : assert ( source != NULL ) ;
24463 95 : assert ( source->p_freepointer != NULL) ;
24464 : #endif
24465 95 : SgTemplateParameterPtrList::iterator i_templateParameters = source->p_templateParameters.begin() ;
24466 95 : unsigned int tempListCounttemplateParameters = 0;
24467 95 : SgTemplateParameterPtrList::value_type * tempListtemplateParameters = new SgTemplateParameterPtrList::value_type[ source->p_templateParameters.size() ];
24468 215 : for ( ; i_templateParameters != source->p_templateParameters.end(); ++i_templateParameters )
24469 : {
24470 120 : tempListtemplateParameters[tempListCounttemplateParameters] = *i_templateParameters;
24471 120 : tempListCounttemplateParameters++;
24472 120 : (*i_templateParameters) = (SgTemplateParameterPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateParameters ) );
24473 : }
24474 95 : storageOf_templateParameters.storeDataInEasyStorageClass(source->p_templateParameters);
24475 95 : tempListCounttemplateParameters = 0;
24476 95 : i_templateParameters = source->p_templateParameters.begin() ;
24477 215 : for ( ; i_templateParameters != source->p_templateParameters.end(); ++i_templateParameters )
24478 : {
24479 120 : *i_templateParameters = tempListtemplateParameters[tempListCounttemplateParameters] ;
24480 120 : tempListCounttemplateParameters++;
24481 : }
24482 95 : delete [] tempListtemplateParameters;
24483 95 : SgTemplateArgumentPtrList::iterator i_templateSpecializationArguments = source->p_templateSpecializationArguments.begin() ;
24484 95 : unsigned int tempListCounttemplateSpecializationArguments = 0;
24485 95 : SgTemplateArgumentPtrList::value_type * tempListtemplateSpecializationArguments = new SgTemplateArgumentPtrList::value_type[ source->p_templateSpecializationArguments.size() ];
24486 95 : for ( ; i_templateSpecializationArguments != source->p_templateSpecializationArguments.end(); ++i_templateSpecializationArguments )
24487 : {
24488 0 : tempListtemplateSpecializationArguments[tempListCounttemplateSpecializationArguments] = *i_templateSpecializationArguments;
24489 0 : tempListCounttemplateSpecializationArguments++;
24490 0 : (*i_templateSpecializationArguments) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateSpecializationArguments ) );
24491 : }
24492 95 : storageOf_templateSpecializationArguments.storeDataInEasyStorageClass(source->p_templateSpecializationArguments);
24493 95 : tempListCounttemplateSpecializationArguments = 0;
24494 95 : i_templateSpecializationArguments = source->p_templateSpecializationArguments.begin() ;
24495 95 : for ( ; i_templateSpecializationArguments != source->p_templateSpecializationArguments.end(); ++i_templateSpecializationArguments )
24496 : {
24497 0 : *i_templateSpecializationArguments = tempListtemplateSpecializationArguments[tempListCounttemplateSpecializationArguments] ;
24498 0 : tempListCounttemplateSpecializationArguments++;
24499 : }
24500 95 : delete [] tempListtemplateSpecializationArguments;
24501 95 : storageOf_string.pickOutIRNodeData( &(source->p_string) );
24502 95 : storageOf_nonreal_decl_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_nonreal_decl_scope );
24503 95 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
24504 95 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
24505 95 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
24506 95 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
24507 95 : storageOf_parent_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent_scope );
24508 95 : storageOf_typedefBaseTypeContainsDefiningDeclaration = source->p_typedefBaseTypeContainsDefiningDeclaration ;
24509 95 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
24510 95 : storageOf_requiresGlobalNameQualificationOnType = source->p_requiresGlobalNameQualificationOnType ;
24511 95 : storageOf_name_qualification_length_for_base_type = source->p_name_qualification_length_for_base_type ;
24512 95 : storageOf_type_elaboration_required_for_base_type = source->p_type_elaboration_required_for_base_type ;
24513 95 : storageOf_global_qualification_required_for_base_type = source->p_global_qualification_required_for_base_type ;
24514 95 : storageOf_isAutonomousDeclaration = source->p_isAutonomousDeclaration ;
24515 95 : storageOf_isAssociatedWithDeclarationList = source->p_isAssociatedWithDeclarationList ;
24516 95 : storageOf_isFirstDeclarationOfDeclarationList = source->p_isFirstDeclarationOfDeclarationList ;
24517 95 : storageOf_name_qualification_length = source->p_name_qualification_length ;
24518 95 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
24519 95 : storageOf_global_qualification_required = source->p_global_qualification_required ;
24520 95 : storageOf_decl_attributes = source->p_decl_attributes ;
24521 95 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
24522 95 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
24523 95 : storageOf_nameOnly = source->p_nameOnly ;
24524 95 : storageOf_forward = source->p_forward ;
24525 95 : storageOf_externBrace = source->p_externBrace ;
24526 95 : storageOf_skipElaborateType = source->p_skipElaborateType ;
24527 95 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
24528 95 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
24529 95 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24530 95 : unsigned int tempListCountqualifiedNameList = 0;
24531 95 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
24532 95 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24533 : {
24534 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
24535 0 : tempListCountqualifiedNameList++;
24536 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
24537 : }
24538 95 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
24539 95 : tempListCountqualifiedNameList = 0;
24540 95 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24541 95 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24542 : {
24543 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
24544 0 : tempListCountqualifiedNameList++;
24545 : }
24546 95 : delete [] tempListqualifiedNameList;
24547 95 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
24548 95 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
24549 95 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
24550 95 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
24551 95 : storageOf_source_sequence_value = source->p_source_sequence_value ;
24552 95 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
24553 95 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
24554 95 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
24555 95 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
24556 95 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
24557 95 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
24558 95 : storageOf_isModified = source->p_isModified ;
24559 95 : storageOf_containsTransformation = source->p_containsTransformation ;
24560 95 : }
24561 :
24562 : void
24563 0 : SgTemplateTypedefDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
24564 : {
24565 0 : EasyStorage < SgTemplateParameterPtrList > :: arrangeMemoryPoolInOneBlock() ;
24566 0 : EasyStorage < SgTemplateArgumentPtrList > :: arrangeMemoryPoolInOneBlock() ;
24567 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
24568 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
24569 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
24570 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
24571 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
24572 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
24573 0 : }
24574 :
24575 : void
24576 2 : SgTemplateTypedefDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
24577 : {
24578 2 : EasyStorage < SgTemplateParameterPtrList > :: deleteMemoryPool() ;
24579 2 : EasyStorage < SgTemplateArgumentPtrList > :: deleteMemoryPool() ;
24580 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
24581 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
24582 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
24583 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
24584 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
24585 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
24586 2 : }
24587 :
24588 : void
24589 1 : SgTemplateTypedefDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
24590 : {
24591 1 : EasyStorage < SgTemplateParameterPtrList > :: writeToFile(out) ;
24592 1 : EasyStorage < SgTemplateArgumentPtrList > :: writeToFile(out) ;
24593 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
24594 1 : EasyStorage < std::string > :: writeToFile(out) ;
24595 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
24596 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
24597 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
24598 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
24599 1 : }
24600 :
24601 :
24602 : void
24603 1 : SgTemplateTypedefDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
24604 : {
24605 1 : EasyStorage < SgTemplateParameterPtrList > :: readFromFile(in) ;
24606 1 : EasyStorage < SgTemplateArgumentPtrList > :: readFromFile(in) ;
24607 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
24608 1 : EasyStorage < std::string > :: readFromFile(in) ;
24609 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
24610 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
24611 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
24612 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
24613 1 : }
24614 :
24615 :
24616 :
24617 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24618 :
24619 :
24620 : // ********************************************************
24621 :
24622 : /* #line 24623 "../../../src/frontend/SageIII//StorageClasses.C" */
24623 :
24624 :
24625 :
24626 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24627 :
24628 : // ****************************************************************
24629 : // member functions definition specific to each node in the grammar
24630 : // these are the SgTemplateInstantiationTypedefDeclarationStorageClass parts !!!!
24631 : // ROSETTA generated code. Do not change by hand.
24632 : // ****************************************************************
24633 :
24634 :
24635 : /* #line 24636 "../../../src/frontend/SageIII//StorageClasses.C" */
24636 :
24637 :
24638 : void
24639 65 : SgTemplateInstantiationTypedefDeclarationStorageClass::pickOutIRNodeData ( SgTemplateInstantiationTypedefDeclaration* pointer )
24640 : {
24641 65 : SgTemplateInstantiationTypedefDeclaration* source = (SgTemplateInstantiationTypedefDeclaration*) (pointer);
24642 : #if FILE_IO_EXTRA_CHECK
24643 65 : assert ( source != NULL ) ;
24644 65 : assert ( source->p_freepointer != NULL) ;
24645 : #endif
24646 65 : storageOf_templateName.pickOutIRNodeData( &(source->p_templateName) );
24647 65 : storageOf_templateHeader.pickOutIRNodeData( &(source->p_templateHeader) );
24648 65 : storageOf_templateDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_templateDeclaration );
24649 65 : SgTemplateArgumentPtrList::iterator i_templateArguments = source->p_templateArguments.begin() ;
24650 65 : unsigned int tempListCounttemplateArguments = 0;
24651 65 : SgTemplateArgumentPtrList::value_type * tempListtemplateArguments = new SgTemplateArgumentPtrList::value_type[ source->p_templateArguments.size() ];
24652 180 : for ( ; i_templateArguments != source->p_templateArguments.end(); ++i_templateArguments )
24653 : {
24654 115 : tempListtemplateArguments[tempListCounttemplateArguments] = *i_templateArguments;
24655 115 : tempListCounttemplateArguments++;
24656 115 : (*i_templateArguments) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateArguments ) );
24657 : }
24658 65 : storageOf_templateArguments.storeDataInEasyStorageClass(source->p_templateArguments);
24659 65 : tempListCounttemplateArguments = 0;
24660 65 : i_templateArguments = source->p_templateArguments.begin() ;
24661 180 : for ( ; i_templateArguments != source->p_templateArguments.end(); ++i_templateArguments )
24662 : {
24663 115 : *i_templateArguments = tempListtemplateArguments[tempListCounttemplateArguments] ;
24664 115 : tempListCounttemplateArguments++;
24665 : }
24666 65 : delete [] tempListtemplateArguments;
24667 65 : storageOf_nameResetFromMangledForm = source->p_nameResetFromMangledForm ;
24668 65 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
24669 65 : storageOf_base_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_base_type );
24670 65 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
24671 65 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
24672 65 : storageOf_parent_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent_scope );
24673 65 : storageOf_typedefBaseTypeContainsDefiningDeclaration = source->p_typedefBaseTypeContainsDefiningDeclaration ;
24674 65 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
24675 65 : storageOf_requiresGlobalNameQualificationOnType = source->p_requiresGlobalNameQualificationOnType ;
24676 65 : storageOf_name_qualification_length_for_base_type = source->p_name_qualification_length_for_base_type ;
24677 65 : storageOf_type_elaboration_required_for_base_type = source->p_type_elaboration_required_for_base_type ;
24678 65 : storageOf_global_qualification_required_for_base_type = source->p_global_qualification_required_for_base_type ;
24679 65 : storageOf_isAutonomousDeclaration = source->p_isAutonomousDeclaration ;
24680 65 : storageOf_isAssociatedWithDeclarationList = source->p_isAssociatedWithDeclarationList ;
24681 65 : storageOf_isFirstDeclarationOfDeclarationList = source->p_isFirstDeclarationOfDeclarationList ;
24682 65 : storageOf_name_qualification_length = source->p_name_qualification_length ;
24683 65 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
24684 65 : storageOf_global_qualification_required = source->p_global_qualification_required ;
24685 65 : storageOf_decl_attributes = source->p_decl_attributes ;
24686 65 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
24687 65 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
24688 65 : storageOf_nameOnly = source->p_nameOnly ;
24689 65 : storageOf_forward = source->p_forward ;
24690 65 : storageOf_externBrace = source->p_externBrace ;
24691 65 : storageOf_skipElaborateType = source->p_skipElaborateType ;
24692 65 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
24693 65 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
24694 65 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24695 65 : unsigned int tempListCountqualifiedNameList = 0;
24696 65 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
24697 65 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24698 : {
24699 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
24700 0 : tempListCountqualifiedNameList++;
24701 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
24702 : }
24703 65 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
24704 65 : tempListCountqualifiedNameList = 0;
24705 65 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24706 65 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24707 : {
24708 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
24709 0 : tempListCountqualifiedNameList++;
24710 : }
24711 65 : delete [] tempListqualifiedNameList;
24712 65 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
24713 65 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
24714 65 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
24715 65 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
24716 65 : storageOf_source_sequence_value = source->p_source_sequence_value ;
24717 65 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
24718 65 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
24719 65 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
24720 65 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
24721 65 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
24722 65 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
24723 65 : storageOf_isModified = source->p_isModified ;
24724 65 : storageOf_containsTransformation = source->p_containsTransformation ;
24725 65 : }
24726 :
24727 : void
24728 0 : SgTemplateInstantiationTypedefDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
24729 : {
24730 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
24731 0 : EasyStorage < SgTemplateArgumentPtrList > :: arrangeMemoryPoolInOneBlock() ;
24732 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
24733 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
24734 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
24735 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
24736 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
24737 0 : }
24738 :
24739 : void
24740 2 : SgTemplateInstantiationTypedefDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
24741 : {
24742 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
24743 2 : EasyStorage < SgTemplateArgumentPtrList > :: deleteMemoryPool() ;
24744 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
24745 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
24746 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
24747 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
24748 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
24749 2 : }
24750 :
24751 : void
24752 1 : SgTemplateInstantiationTypedefDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
24753 : {
24754 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
24755 1 : EasyStorage < SgTemplateArgumentPtrList > :: writeToFile(out) ;
24756 1 : EasyStorage < std::string > :: writeToFile(out) ;
24757 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
24758 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
24759 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
24760 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
24761 1 : }
24762 :
24763 :
24764 : void
24765 1 : SgTemplateInstantiationTypedefDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
24766 : {
24767 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
24768 1 : EasyStorage < SgTemplateArgumentPtrList > :: readFromFile(in) ;
24769 1 : EasyStorage < std::string > :: readFromFile(in) ;
24770 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
24771 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
24772 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
24773 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
24774 1 : }
24775 :
24776 :
24777 :
24778 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24779 :
24780 :
24781 : // ********************************************************
24782 :
24783 : /* #line 24784 "../../../src/frontend/SageIII//StorageClasses.C" */
24784 :
24785 :
24786 :
24787 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24788 :
24789 : // ****************************************************************
24790 : // member functions definition specific to each node in the grammar
24791 : // these are the SgStatementFunctionStatementStorageClass parts !!!!
24792 : // ROSETTA generated code. Do not change by hand.
24793 : // ****************************************************************
24794 :
24795 :
24796 : /* #line 24797 "../../../src/frontend/SageIII//StorageClasses.C" */
24797 :
24798 :
24799 : void
24800 0 : SgStatementFunctionStatementStorageClass::pickOutIRNodeData ( SgStatementFunctionStatement* pointer )
24801 : {
24802 0 : SgStatementFunctionStatement* source = (SgStatementFunctionStatement*) (pointer);
24803 : #if FILE_IO_EXTRA_CHECK
24804 0 : assert ( source != NULL ) ;
24805 0 : assert ( source->p_freepointer != NULL) ;
24806 : #endif
24807 0 : storageOf_function = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_function );
24808 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
24809 0 : storageOf_decl_attributes = source->p_decl_attributes ;
24810 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
24811 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
24812 0 : storageOf_nameOnly = source->p_nameOnly ;
24813 0 : storageOf_forward = source->p_forward ;
24814 0 : storageOf_externBrace = source->p_externBrace ;
24815 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
24816 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
24817 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
24818 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24819 0 : unsigned int tempListCountqualifiedNameList = 0;
24820 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
24821 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24822 : {
24823 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
24824 0 : tempListCountqualifiedNameList++;
24825 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
24826 : }
24827 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
24828 0 : tempListCountqualifiedNameList = 0;
24829 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24830 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24831 : {
24832 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
24833 0 : tempListCountqualifiedNameList++;
24834 : }
24835 0 : delete [] tempListqualifiedNameList;
24836 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
24837 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
24838 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
24839 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
24840 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
24841 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
24842 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
24843 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
24844 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
24845 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
24846 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
24847 0 : storageOf_isModified = source->p_isModified ;
24848 0 : storageOf_containsTransformation = source->p_containsTransformation ;
24849 0 : }
24850 :
24851 : void
24852 0 : SgStatementFunctionStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
24853 : {
24854 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
24855 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
24856 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
24857 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
24858 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
24859 0 : }
24860 :
24861 : void
24862 2 : SgStatementFunctionStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
24863 : {
24864 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
24865 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
24866 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
24867 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
24868 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
24869 2 : }
24870 :
24871 : void
24872 0 : SgStatementFunctionStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
24873 : {
24874 0 : EasyStorage < std::string > :: writeToFile(out) ;
24875 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
24876 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
24877 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
24878 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
24879 0 : }
24880 :
24881 :
24882 : void
24883 0 : SgStatementFunctionStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
24884 : {
24885 0 : EasyStorage < std::string > :: readFromFile(in) ;
24886 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
24887 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
24888 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
24889 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
24890 0 : }
24891 :
24892 :
24893 :
24894 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24895 :
24896 :
24897 : // ********************************************************
24898 :
24899 : /* #line 24900 "../../../src/frontend/SageIII//StorageClasses.C" */
24900 :
24901 :
24902 :
24903 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
24904 :
24905 : // ****************************************************************
24906 : // member functions definition specific to each node in the grammar
24907 : // these are the SgCtorInitializerListStorageClass parts !!!!
24908 : // ROSETTA generated code. Do not change by hand.
24909 : // ****************************************************************
24910 :
24911 :
24912 : /* #line 24913 "../../../src/frontend/SageIII//StorageClasses.C" */
24913 :
24914 :
24915 : void
24916 4428 : SgCtorInitializerListStorageClass::pickOutIRNodeData ( SgCtorInitializerList* pointer )
24917 : {
24918 4428 : SgCtorInitializerList* source = (SgCtorInitializerList*) (pointer);
24919 : #if FILE_IO_EXTRA_CHECK
24920 4428 : assert ( source != NULL ) ;
24921 4428 : assert ( source->p_freepointer != NULL) ;
24922 : #endif
24923 4428 : SgInitializedNamePtrList::iterator i_ctors = source->p_ctors.begin() ;
24924 4428 : unsigned int tempListCountctors = 0;
24925 4428 : SgInitializedNamePtrList::value_type * tempListctors = new SgInitializedNamePtrList::value_type[ source->p_ctors.size() ];
24926 4691 : for ( ; i_ctors != source->p_ctors.end(); ++i_ctors )
24927 : {
24928 263 : tempListctors[tempListCountctors] = *i_ctors;
24929 263 : tempListCountctors++;
24930 263 : (*i_ctors) = (SgInitializedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_ctors ) );
24931 : }
24932 4428 : storageOf_ctors.storeDataInEasyStorageClass(source->p_ctors);
24933 4428 : tempListCountctors = 0;
24934 4428 : i_ctors = source->p_ctors.begin() ;
24935 4691 : for ( ; i_ctors != source->p_ctors.end(); ++i_ctors )
24936 : {
24937 263 : *i_ctors = tempListctors[tempListCountctors] ;
24938 263 : tempListCountctors++;
24939 : }
24940 4428 : delete [] tempListctors;
24941 4428 : storageOf_decl_attributes = source->p_decl_attributes ;
24942 4428 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
24943 4428 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
24944 4428 : storageOf_nameOnly = source->p_nameOnly ;
24945 4428 : storageOf_forward = source->p_forward ;
24946 4428 : storageOf_externBrace = source->p_externBrace ;
24947 4428 : storageOf_skipElaborateType = source->p_skipElaborateType ;
24948 4428 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
24949 4428 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
24950 4428 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24951 4428 : unsigned int tempListCountqualifiedNameList = 0;
24952 4428 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
24953 4428 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24954 : {
24955 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
24956 0 : tempListCountqualifiedNameList++;
24957 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
24958 : }
24959 4428 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
24960 4428 : tempListCountqualifiedNameList = 0;
24961 4428 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
24962 4428 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
24963 : {
24964 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
24965 0 : tempListCountqualifiedNameList++;
24966 : }
24967 4428 : delete [] tempListqualifiedNameList;
24968 4428 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
24969 4428 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
24970 4428 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
24971 4428 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
24972 4428 : storageOf_source_sequence_value = source->p_source_sequence_value ;
24973 4428 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
24974 4428 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
24975 4428 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
24976 4428 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
24977 4428 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
24978 4428 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
24979 4428 : storageOf_isModified = source->p_isModified ;
24980 4428 : storageOf_containsTransformation = source->p_containsTransformation ;
24981 4428 : }
24982 :
24983 : void
24984 0 : SgCtorInitializerListStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
24985 : {
24986 0 : EasyStorage < SgInitializedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
24987 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
24988 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
24989 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
24990 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
24991 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
24992 0 : }
24993 :
24994 : void
24995 2 : SgCtorInitializerListStorageClass::deleteStaticDataOfEasyStorageClasses ( )
24996 : {
24997 2 : EasyStorage < SgInitializedNamePtrList > :: deleteMemoryPool() ;
24998 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
24999 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25000 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
25001 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
25002 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
25003 2 : }
25004 :
25005 : void
25006 1 : SgCtorInitializerListStorageClass::writeEasyStorageDataToFile (std::ostream& out)
25007 : {
25008 1 : EasyStorage < SgInitializedNamePtrList > :: writeToFile(out) ;
25009 1 : EasyStorage < std::string > :: writeToFile(out) ;
25010 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
25011 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
25012 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
25013 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
25014 1 : }
25015 :
25016 :
25017 : void
25018 1 : SgCtorInitializerListStorageClass::readEasyStorageDataFromFile (std::istream& in)
25019 : {
25020 1 : EasyStorage < SgInitializedNamePtrList > :: readFromFile(in) ;
25021 1 : EasyStorage < std::string > :: readFromFile(in) ;
25022 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
25023 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
25024 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
25025 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
25026 1 : }
25027 :
25028 :
25029 :
25030 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25031 :
25032 :
25033 : // ********************************************************
25034 :
25035 : /* #line 25036 "../../../src/frontend/SageIII//StorageClasses.C" */
25036 :
25037 :
25038 :
25039 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25040 :
25041 : // ****************************************************************
25042 : // member functions definition specific to each node in the grammar
25043 : // these are the SgPragmaDeclarationStorageClass parts !!!!
25044 : // ROSETTA generated code. Do not change by hand.
25045 : // ****************************************************************
25046 :
25047 :
25048 : /* #line 25049 "../../../src/frontend/SageIII//StorageClasses.C" */
25049 :
25050 :
25051 : void
25052 97 : SgPragmaDeclarationStorageClass::pickOutIRNodeData ( SgPragmaDeclaration* pointer )
25053 : {
25054 97 : SgPragmaDeclaration* source = (SgPragmaDeclaration*) (pointer);
25055 : #if FILE_IO_EXTRA_CHECK
25056 97 : assert ( source != NULL ) ;
25057 97 : assert ( source->p_freepointer != NULL) ;
25058 : #endif
25059 97 : storageOf_pragma = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pragma );
25060 97 : storageOf_decl_attributes = source->p_decl_attributes ;
25061 97 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
25062 97 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
25063 97 : storageOf_nameOnly = source->p_nameOnly ;
25064 97 : storageOf_forward = source->p_forward ;
25065 97 : storageOf_externBrace = source->p_externBrace ;
25066 97 : storageOf_skipElaborateType = source->p_skipElaborateType ;
25067 97 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
25068 97 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
25069 97 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25070 97 : unsigned int tempListCountqualifiedNameList = 0;
25071 97 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
25072 97 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25073 : {
25074 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
25075 0 : tempListCountqualifiedNameList++;
25076 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
25077 : }
25078 97 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
25079 97 : tempListCountqualifiedNameList = 0;
25080 97 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25081 97 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25082 : {
25083 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
25084 0 : tempListCountqualifiedNameList++;
25085 : }
25086 97 : delete [] tempListqualifiedNameList;
25087 97 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
25088 97 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
25089 97 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
25090 97 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
25091 97 : storageOf_source_sequence_value = source->p_source_sequence_value ;
25092 97 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
25093 97 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
25094 97 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
25095 97 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
25096 97 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
25097 97 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
25098 97 : storageOf_isModified = source->p_isModified ;
25099 97 : storageOf_containsTransformation = source->p_containsTransformation ;
25100 97 : }
25101 :
25102 : void
25103 0 : SgPragmaDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
25104 : {
25105 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
25106 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
25107 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
25108 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
25109 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
25110 0 : }
25111 :
25112 : void
25113 2 : SgPragmaDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
25114 : {
25115 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
25116 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25117 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
25118 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
25119 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
25120 2 : }
25121 :
25122 : void
25123 1 : SgPragmaDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
25124 : {
25125 1 : EasyStorage < std::string > :: writeToFile(out) ;
25126 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
25127 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
25128 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
25129 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
25130 1 : }
25131 :
25132 :
25133 : void
25134 1 : SgPragmaDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
25135 : {
25136 1 : EasyStorage < std::string > :: readFromFile(in) ;
25137 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
25138 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
25139 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
25140 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
25141 1 : }
25142 :
25143 :
25144 :
25145 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25146 :
25147 :
25148 : // ********************************************************
25149 :
25150 : /* #line 25151 "../../../src/frontend/SageIII//StorageClasses.C" */
25151 :
25152 :
25153 :
25154 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25155 :
25156 : // ****************************************************************
25157 : // member functions definition specific to each node in the grammar
25158 : // these are the SgUsingDirectiveStatementStorageClass parts !!!!
25159 : // ROSETTA generated code. Do not change by hand.
25160 : // ****************************************************************
25161 :
25162 :
25163 : /* #line 25164 "../../../src/frontend/SageIII//StorageClasses.C" */
25164 :
25165 :
25166 : void
25167 1 : SgUsingDirectiveStatementStorageClass::pickOutIRNodeData ( SgUsingDirectiveStatement* pointer )
25168 : {
25169 1 : SgUsingDirectiveStatement* source = (SgUsingDirectiveStatement*) (pointer);
25170 : #if FILE_IO_EXTRA_CHECK
25171 1 : assert ( source != NULL ) ;
25172 1 : assert ( source->p_freepointer != NULL) ;
25173 : #endif
25174 1 : storageOf_namespaceDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_namespaceDeclaration );
25175 1 : storageOf_name_qualification_length = source->p_name_qualification_length ;
25176 1 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
25177 1 : storageOf_global_qualification_required = source->p_global_qualification_required ;
25178 1 : storageOf_decl_attributes = source->p_decl_attributes ;
25179 1 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
25180 1 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
25181 1 : storageOf_nameOnly = source->p_nameOnly ;
25182 1 : storageOf_forward = source->p_forward ;
25183 1 : storageOf_externBrace = source->p_externBrace ;
25184 1 : storageOf_skipElaborateType = source->p_skipElaborateType ;
25185 1 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
25186 1 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
25187 1 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25188 1 : unsigned int tempListCountqualifiedNameList = 0;
25189 1 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
25190 1 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25191 : {
25192 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
25193 0 : tempListCountqualifiedNameList++;
25194 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
25195 : }
25196 1 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
25197 1 : tempListCountqualifiedNameList = 0;
25198 1 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25199 1 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25200 : {
25201 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
25202 0 : tempListCountqualifiedNameList++;
25203 : }
25204 1 : delete [] tempListqualifiedNameList;
25205 1 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
25206 1 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
25207 1 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
25208 1 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
25209 1 : storageOf_source_sequence_value = source->p_source_sequence_value ;
25210 1 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
25211 1 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
25212 1 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
25213 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
25214 1 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
25215 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
25216 1 : storageOf_isModified = source->p_isModified ;
25217 1 : storageOf_containsTransformation = source->p_containsTransformation ;
25218 1 : }
25219 :
25220 : void
25221 0 : SgUsingDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
25222 : {
25223 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
25224 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
25225 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
25226 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
25227 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
25228 0 : }
25229 :
25230 : void
25231 2 : SgUsingDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
25232 : {
25233 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
25234 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25235 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
25236 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
25237 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
25238 2 : }
25239 :
25240 : void
25241 1 : SgUsingDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
25242 : {
25243 1 : EasyStorage < std::string > :: writeToFile(out) ;
25244 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
25245 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
25246 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
25247 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
25248 1 : }
25249 :
25250 :
25251 : void
25252 1 : SgUsingDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
25253 : {
25254 1 : EasyStorage < std::string > :: readFromFile(in) ;
25255 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
25256 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
25257 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
25258 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
25259 1 : }
25260 :
25261 :
25262 :
25263 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25264 :
25265 :
25266 : // ********************************************************
25267 :
25268 : /* #line 25269 "../../../src/frontend/SageIII//StorageClasses.C" */
25269 :
25270 :
25271 :
25272 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25273 :
25274 : // ****************************************************************
25275 : // member functions definition specific to each node in the grammar
25276 : // these are the SgClassDeclarationStorageClass parts !!!!
25277 : // ROSETTA generated code. Do not change by hand.
25278 : // ****************************************************************
25279 :
25280 :
25281 : /* #line 25282 "../../../src/frontend/SageIII//StorageClasses.C" */
25282 :
25283 :
25284 : void
25285 371 : SgClassDeclarationStorageClass::pickOutIRNodeData ( SgClassDeclaration* pointer )
25286 : {
25287 371 : SgClassDeclaration* source = (SgClassDeclaration*) (pointer);
25288 : #if FILE_IO_EXTRA_CHECK
25289 371 : assert ( source != NULL ) ;
25290 371 : assert ( source->p_freepointer != NULL) ;
25291 : #endif
25292 371 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
25293 371 : storageOf_class_type = source->p_class_type ;
25294 371 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
25295 371 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
25296 371 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
25297 371 : storageOf_specialization = source->p_specialization ;
25298 371 : storageOf_from_template = source->p_from_template ;
25299 371 : storageOf_fixupScope = source->p_fixupScope ;
25300 371 : storageOf_isUnNamed = source->p_isUnNamed ;
25301 371 : storageOf_explicit_annotation_interface = source->p_explicit_annotation_interface ;
25302 371 : storageOf_explicit_interface = source->p_explicit_interface ;
25303 371 : storageOf_explicit_enum = source->p_explicit_enum ;
25304 371 : storageOf_explicit_anonymous = source->p_explicit_anonymous ;
25305 371 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
25306 371 : storageOf_name_qualification_length = source->p_name_qualification_length ;
25307 371 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
25308 371 : storageOf_global_qualification_required = source->p_global_qualification_required ;
25309 371 : storageOf_isAutonomousDeclaration = source->p_isAutonomousDeclaration ;
25310 371 : storageOf_isRepresentingTemplateParameterInTemplateDeclaration = source->p_isRepresentingTemplateParameterInTemplateDeclaration ;
25311 371 : storageOf_adaParentType = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_adaParentType );
25312 371 : storageOf_decl_attributes = source->p_decl_attributes ;
25313 371 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
25314 371 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
25315 371 : storageOf_nameOnly = source->p_nameOnly ;
25316 371 : storageOf_forward = source->p_forward ;
25317 371 : storageOf_externBrace = source->p_externBrace ;
25318 371 : storageOf_skipElaborateType = source->p_skipElaborateType ;
25319 371 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
25320 371 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
25321 371 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25322 371 : unsigned int tempListCountqualifiedNameList = 0;
25323 371 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
25324 371 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25325 : {
25326 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
25327 0 : tempListCountqualifiedNameList++;
25328 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
25329 : }
25330 371 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
25331 371 : tempListCountqualifiedNameList = 0;
25332 371 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25333 371 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25334 : {
25335 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
25336 0 : tempListCountqualifiedNameList++;
25337 : }
25338 371 : delete [] tempListqualifiedNameList;
25339 371 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
25340 371 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
25341 371 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
25342 371 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
25343 371 : storageOf_source_sequence_value = source->p_source_sequence_value ;
25344 371 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
25345 371 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
25346 371 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
25347 371 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
25348 371 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
25349 371 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
25350 371 : storageOf_isModified = source->p_isModified ;
25351 371 : storageOf_containsTransformation = source->p_containsTransformation ;
25352 371 : }
25353 :
25354 : void
25355 0 : SgClassDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
25356 : {
25357 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
25358 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
25359 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
25360 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
25361 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
25362 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
25363 0 : }
25364 :
25365 : void
25366 2 : SgClassDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
25367 : {
25368 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25369 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
25370 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25371 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
25372 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
25373 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
25374 2 : }
25375 :
25376 : void
25377 2 : SgClassDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
25378 : {
25379 2 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
25380 2 : EasyStorage < std::string > :: writeToFile(out) ;
25381 2 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
25382 2 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
25383 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
25384 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
25385 2 : }
25386 :
25387 :
25388 : void
25389 2 : SgClassDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
25390 : {
25391 2 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
25392 2 : EasyStorage < std::string > :: readFromFile(in) ;
25393 2 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
25394 2 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
25395 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
25396 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
25397 2 : }
25398 :
25399 :
25400 :
25401 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25402 :
25403 :
25404 : // ********************************************************
25405 :
25406 : /* #line 25407 "../../../src/frontend/SageIII//StorageClasses.C" */
25407 :
25408 :
25409 :
25410 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25411 :
25412 : // ****************************************************************
25413 : // member functions definition specific to each node in the grammar
25414 : // these are the SgTemplateClassDeclarationStorageClass parts !!!!
25415 : // ROSETTA generated code. Do not change by hand.
25416 : // ****************************************************************
25417 :
25418 :
25419 : /* #line 25420 "../../../src/frontend/SageIII//StorageClasses.C" */
25420 :
25421 :
25422 : void
25423 1090 : SgTemplateClassDeclarationStorageClass::pickOutIRNodeData ( SgTemplateClassDeclaration* pointer )
25424 : {
25425 1090 : SgTemplateClassDeclaration* source = (SgTemplateClassDeclaration*) (pointer);
25426 : #if FILE_IO_EXTRA_CHECK
25427 1090 : assert ( source != NULL ) ;
25428 1090 : assert ( source->p_freepointer != NULL) ;
25429 : #endif
25430 1090 : SgTemplateParameterPtrList::iterator i_templateParameters = source->p_templateParameters.begin() ;
25431 1090 : unsigned int tempListCounttemplateParameters = 0;
25432 1090 : SgTemplateParameterPtrList::value_type * tempListtemplateParameters = new SgTemplateParameterPtrList::value_type[ source->p_templateParameters.size() ];
25433 2771 : for ( ; i_templateParameters != source->p_templateParameters.end(); ++i_templateParameters )
25434 : {
25435 1681 : tempListtemplateParameters[tempListCounttemplateParameters] = *i_templateParameters;
25436 1681 : tempListCounttemplateParameters++;
25437 1681 : (*i_templateParameters) = (SgTemplateParameterPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateParameters ) );
25438 : }
25439 1090 : storageOf_templateParameters.storeDataInEasyStorageClass(source->p_templateParameters);
25440 1090 : tempListCounttemplateParameters = 0;
25441 1090 : i_templateParameters = source->p_templateParameters.begin() ;
25442 2771 : for ( ; i_templateParameters != source->p_templateParameters.end(); ++i_templateParameters )
25443 : {
25444 1681 : *i_templateParameters = tempListtemplateParameters[tempListCounttemplateParameters] ;
25445 1681 : tempListCounttemplateParameters++;
25446 : }
25447 1090 : delete [] tempListtemplateParameters;
25448 1090 : SgTemplateArgumentPtrList::iterator i_templateSpecializationArguments = source->p_templateSpecializationArguments.begin() ;
25449 1090 : unsigned int tempListCounttemplateSpecializationArguments = 0;
25450 1090 : SgTemplateArgumentPtrList::value_type * tempListtemplateSpecializationArguments = new SgTemplateArgumentPtrList::value_type[ source->p_templateSpecializationArguments.size() ];
25451 1862 : for ( ; i_templateSpecializationArguments != source->p_templateSpecializationArguments.end(); ++i_templateSpecializationArguments )
25452 : {
25453 772 : tempListtemplateSpecializationArguments[tempListCounttemplateSpecializationArguments] = *i_templateSpecializationArguments;
25454 772 : tempListCounttemplateSpecializationArguments++;
25455 772 : (*i_templateSpecializationArguments) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateSpecializationArguments ) );
25456 : }
25457 1090 : storageOf_templateSpecializationArguments.storeDataInEasyStorageClass(source->p_templateSpecializationArguments);
25458 1090 : tempListCounttemplateSpecializationArguments = 0;
25459 1090 : i_templateSpecializationArguments = source->p_templateSpecializationArguments.begin() ;
25460 1862 : for ( ; i_templateSpecializationArguments != source->p_templateSpecializationArguments.end(); ++i_templateSpecializationArguments )
25461 : {
25462 772 : *i_templateSpecializationArguments = tempListtemplateSpecializationArguments[tempListCounttemplateSpecializationArguments] ;
25463 772 : tempListCounttemplateSpecializationArguments++;
25464 : }
25465 1090 : delete [] tempListtemplateSpecializationArguments;
25466 1090 : storageOf_string.pickOutIRNodeData( &(source->p_string) );
25467 1090 : storageOf_templateName.pickOutIRNodeData( &(source->p_templateName) );
25468 1090 : storageOf_nonreal_decl_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_nonreal_decl_scope );
25469 1090 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
25470 1090 : storageOf_class_type = source->p_class_type ;
25471 1090 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
25472 1090 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
25473 1090 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
25474 1090 : storageOf_specialization = source->p_specialization ;
25475 1090 : storageOf_from_template = source->p_from_template ;
25476 1090 : storageOf_fixupScope = source->p_fixupScope ;
25477 1090 : storageOf_isUnNamed = source->p_isUnNamed ;
25478 1090 : storageOf_explicit_annotation_interface = source->p_explicit_annotation_interface ;
25479 1090 : storageOf_explicit_interface = source->p_explicit_interface ;
25480 1090 : storageOf_explicit_enum = source->p_explicit_enum ;
25481 1090 : storageOf_explicit_anonymous = source->p_explicit_anonymous ;
25482 1090 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
25483 1090 : storageOf_name_qualification_length = source->p_name_qualification_length ;
25484 1090 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
25485 1090 : storageOf_global_qualification_required = source->p_global_qualification_required ;
25486 1090 : storageOf_isAutonomousDeclaration = source->p_isAutonomousDeclaration ;
25487 1090 : storageOf_isRepresentingTemplateParameterInTemplateDeclaration = source->p_isRepresentingTemplateParameterInTemplateDeclaration ;
25488 1090 : storageOf_adaParentType = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_adaParentType );
25489 1090 : storageOf_decl_attributes = source->p_decl_attributes ;
25490 1090 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
25491 1090 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
25492 1090 : storageOf_nameOnly = source->p_nameOnly ;
25493 1090 : storageOf_forward = source->p_forward ;
25494 1090 : storageOf_externBrace = source->p_externBrace ;
25495 1090 : storageOf_skipElaborateType = source->p_skipElaborateType ;
25496 1090 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
25497 1090 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
25498 1090 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25499 1090 : unsigned int tempListCountqualifiedNameList = 0;
25500 1090 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
25501 1090 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25502 : {
25503 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
25504 0 : tempListCountqualifiedNameList++;
25505 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
25506 : }
25507 1090 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
25508 1090 : tempListCountqualifiedNameList = 0;
25509 1090 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25510 1090 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25511 : {
25512 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
25513 0 : tempListCountqualifiedNameList++;
25514 : }
25515 1090 : delete [] tempListqualifiedNameList;
25516 1090 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
25517 1090 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
25518 1090 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
25519 1090 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
25520 1090 : storageOf_source_sequence_value = source->p_source_sequence_value ;
25521 1090 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
25522 1090 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
25523 1090 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
25524 1090 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
25525 1090 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
25526 1090 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
25527 1090 : storageOf_isModified = source->p_isModified ;
25528 1090 : storageOf_containsTransformation = source->p_containsTransformation ;
25529 1090 : }
25530 :
25531 : void
25532 0 : SgTemplateClassDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
25533 : {
25534 0 : EasyStorage < SgTemplateParameterPtrList > :: arrangeMemoryPoolInOneBlock() ;
25535 0 : EasyStorage < SgTemplateArgumentPtrList > :: arrangeMemoryPoolInOneBlock() ;
25536 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
25537 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
25538 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
25539 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
25540 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
25541 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
25542 0 : }
25543 :
25544 : void
25545 2 : SgTemplateClassDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
25546 : {
25547 2 : EasyStorage < SgTemplateParameterPtrList > :: deleteMemoryPool() ;
25548 2 : EasyStorage < SgTemplateArgumentPtrList > :: deleteMemoryPool() ;
25549 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25550 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
25551 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25552 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
25553 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
25554 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
25555 2 : }
25556 :
25557 : void
25558 1 : SgTemplateClassDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
25559 : {
25560 1 : EasyStorage < SgTemplateParameterPtrList > :: writeToFile(out) ;
25561 1 : EasyStorage < SgTemplateArgumentPtrList > :: writeToFile(out) ;
25562 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
25563 1 : EasyStorage < std::string > :: writeToFile(out) ;
25564 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
25565 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
25566 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
25567 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
25568 1 : }
25569 :
25570 :
25571 : void
25572 1 : SgTemplateClassDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
25573 : {
25574 1 : EasyStorage < SgTemplateParameterPtrList > :: readFromFile(in) ;
25575 1 : EasyStorage < SgTemplateArgumentPtrList > :: readFromFile(in) ;
25576 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
25577 1 : EasyStorage < std::string > :: readFromFile(in) ;
25578 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
25579 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
25580 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
25581 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
25582 1 : }
25583 :
25584 :
25585 :
25586 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25587 :
25588 :
25589 : // ********************************************************
25590 :
25591 : /* #line 25592 "../../../src/frontend/SageIII//StorageClasses.C" */
25592 :
25593 :
25594 :
25595 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25596 :
25597 : // ****************************************************************
25598 : // member functions definition specific to each node in the grammar
25599 : // these are the SgTemplateInstantiationDeclStorageClass parts !!!!
25600 : // ROSETTA generated code. Do not change by hand.
25601 : // ****************************************************************
25602 :
25603 :
25604 : /* #line 25605 "../../../src/frontend/SageIII//StorageClasses.C" */
25605 :
25606 :
25607 : void
25608 1319 : SgTemplateInstantiationDeclStorageClass::pickOutIRNodeData ( SgTemplateInstantiationDecl* pointer )
25609 : {
25610 1319 : SgTemplateInstantiationDecl* source = (SgTemplateInstantiationDecl*) (pointer);
25611 : #if FILE_IO_EXTRA_CHECK
25612 1319 : assert ( source != NULL ) ;
25613 1319 : assert ( source->p_freepointer != NULL) ;
25614 : #endif
25615 1319 : storageOf_templateName.pickOutIRNodeData( &(source->p_templateName) );
25616 1319 : storageOf_templateHeader.pickOutIRNodeData( &(source->p_templateHeader) );
25617 1319 : storageOf_templateDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_templateDeclaration );
25618 1319 : SgTemplateArgumentPtrList::iterator i_templateArguments = source->p_templateArguments.begin() ;
25619 1319 : unsigned int tempListCounttemplateArguments = 0;
25620 1319 : SgTemplateArgumentPtrList::value_type * tempListtemplateArguments = new SgTemplateArgumentPtrList::value_type[ source->p_templateArguments.size() ];
25621 3387 : for ( ; i_templateArguments != source->p_templateArguments.end(); ++i_templateArguments )
25622 : {
25623 2068 : tempListtemplateArguments[tempListCounttemplateArguments] = *i_templateArguments;
25624 2068 : tempListCounttemplateArguments++;
25625 2068 : (*i_templateArguments) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateArguments ) );
25626 : }
25627 1319 : storageOf_templateArguments.storeDataInEasyStorageClass(source->p_templateArguments);
25628 1319 : tempListCounttemplateArguments = 0;
25629 1319 : i_templateArguments = source->p_templateArguments.begin() ;
25630 3387 : for ( ; i_templateArguments != source->p_templateArguments.end(); ++i_templateArguments )
25631 : {
25632 2068 : *i_templateArguments = tempListtemplateArguments[tempListCounttemplateArguments] ;
25633 2068 : tempListCounttemplateArguments++;
25634 : }
25635 1319 : delete [] tempListtemplateArguments;
25636 1319 : storageOf_nameResetFromMangledForm = source->p_nameResetFromMangledForm ;
25637 1319 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
25638 1319 : storageOf_class_type = source->p_class_type ;
25639 1319 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
25640 1319 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
25641 1319 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
25642 1319 : storageOf_specialization = source->p_specialization ;
25643 1319 : storageOf_from_template = source->p_from_template ;
25644 1319 : storageOf_fixupScope = source->p_fixupScope ;
25645 1319 : storageOf_isUnNamed = source->p_isUnNamed ;
25646 1319 : storageOf_explicit_annotation_interface = source->p_explicit_annotation_interface ;
25647 1319 : storageOf_explicit_interface = source->p_explicit_interface ;
25648 1319 : storageOf_explicit_enum = source->p_explicit_enum ;
25649 1319 : storageOf_explicit_anonymous = source->p_explicit_anonymous ;
25650 1319 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
25651 1319 : storageOf_name_qualification_length = source->p_name_qualification_length ;
25652 1319 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
25653 1319 : storageOf_global_qualification_required = source->p_global_qualification_required ;
25654 1319 : storageOf_isAutonomousDeclaration = source->p_isAutonomousDeclaration ;
25655 1319 : storageOf_isRepresentingTemplateParameterInTemplateDeclaration = source->p_isRepresentingTemplateParameterInTemplateDeclaration ;
25656 1319 : storageOf_adaParentType = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_adaParentType );
25657 1319 : storageOf_decl_attributes = source->p_decl_attributes ;
25658 1319 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
25659 1319 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
25660 1319 : storageOf_nameOnly = source->p_nameOnly ;
25661 1319 : storageOf_forward = source->p_forward ;
25662 1319 : storageOf_externBrace = source->p_externBrace ;
25663 1319 : storageOf_skipElaborateType = source->p_skipElaborateType ;
25664 1319 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
25665 1319 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
25666 1319 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25667 1319 : unsigned int tempListCountqualifiedNameList = 0;
25668 1319 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
25669 1319 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25670 : {
25671 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
25672 0 : tempListCountqualifiedNameList++;
25673 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
25674 : }
25675 1319 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
25676 1319 : tempListCountqualifiedNameList = 0;
25677 1319 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25678 1319 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25679 : {
25680 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
25681 0 : tempListCountqualifiedNameList++;
25682 : }
25683 1319 : delete [] tempListqualifiedNameList;
25684 1319 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
25685 1319 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
25686 1319 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
25687 1319 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
25688 1319 : storageOf_source_sequence_value = source->p_source_sequence_value ;
25689 1319 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
25690 1319 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
25691 1319 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
25692 1319 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
25693 1319 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
25694 1319 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
25695 1319 : storageOf_isModified = source->p_isModified ;
25696 1319 : storageOf_containsTransformation = source->p_containsTransformation ;
25697 1319 : }
25698 :
25699 : void
25700 0 : SgTemplateInstantiationDeclStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
25701 : {
25702 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
25703 0 : EasyStorage < SgTemplateArgumentPtrList > :: arrangeMemoryPoolInOneBlock() ;
25704 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
25705 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
25706 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
25707 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
25708 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
25709 0 : }
25710 :
25711 : void
25712 2 : SgTemplateInstantiationDeclStorageClass::deleteStaticDataOfEasyStorageClasses ( )
25713 : {
25714 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25715 2 : EasyStorage < SgTemplateArgumentPtrList > :: deleteMemoryPool() ;
25716 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
25717 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25718 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
25719 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
25720 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
25721 2 : }
25722 :
25723 : void
25724 1 : SgTemplateInstantiationDeclStorageClass::writeEasyStorageDataToFile (std::ostream& out)
25725 : {
25726 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
25727 1 : EasyStorage < SgTemplateArgumentPtrList > :: writeToFile(out) ;
25728 1 : EasyStorage < std::string > :: writeToFile(out) ;
25729 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
25730 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
25731 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
25732 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
25733 1 : }
25734 :
25735 :
25736 : void
25737 1 : SgTemplateInstantiationDeclStorageClass::readEasyStorageDataFromFile (std::istream& in)
25738 : {
25739 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
25740 1 : EasyStorage < SgTemplateArgumentPtrList > :: readFromFile(in) ;
25741 1 : EasyStorage < std::string > :: readFromFile(in) ;
25742 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
25743 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
25744 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
25745 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
25746 1 : }
25747 :
25748 :
25749 :
25750 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25751 :
25752 :
25753 : // ********************************************************
25754 :
25755 : /* #line 25756 "../../../src/frontend/SageIII//StorageClasses.C" */
25756 :
25757 :
25758 :
25759 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25760 :
25761 : // ****************************************************************
25762 : // member functions definition specific to each node in the grammar
25763 : // these are the SgDerivedTypeStatementStorageClass parts !!!!
25764 : // ROSETTA generated code. Do not change by hand.
25765 : // ****************************************************************
25766 :
25767 :
25768 : /* #line 25769 "../../../src/frontend/SageIII//StorageClasses.C" */
25769 :
25770 :
25771 : void
25772 0 : SgDerivedTypeStatementStorageClass::pickOutIRNodeData ( SgDerivedTypeStatement* pointer )
25773 : {
25774 0 : SgDerivedTypeStatement* source = (SgDerivedTypeStatement*) (pointer);
25775 : #if FILE_IO_EXTRA_CHECK
25776 0 : assert ( source != NULL ) ;
25777 0 : assert ( source->p_freepointer != NULL) ;
25778 : #endif
25779 0 : storageOf_end_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_numeric_label );
25780 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
25781 0 : storageOf_class_type = source->p_class_type ;
25782 0 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
25783 0 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
25784 0 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
25785 0 : storageOf_specialization = source->p_specialization ;
25786 0 : storageOf_from_template = source->p_from_template ;
25787 0 : storageOf_fixupScope = source->p_fixupScope ;
25788 0 : storageOf_isUnNamed = source->p_isUnNamed ;
25789 0 : storageOf_explicit_annotation_interface = source->p_explicit_annotation_interface ;
25790 0 : storageOf_explicit_interface = source->p_explicit_interface ;
25791 0 : storageOf_explicit_enum = source->p_explicit_enum ;
25792 0 : storageOf_explicit_anonymous = source->p_explicit_anonymous ;
25793 0 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
25794 0 : storageOf_name_qualification_length = source->p_name_qualification_length ;
25795 0 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
25796 0 : storageOf_global_qualification_required = source->p_global_qualification_required ;
25797 0 : storageOf_isAutonomousDeclaration = source->p_isAutonomousDeclaration ;
25798 0 : storageOf_isRepresentingTemplateParameterInTemplateDeclaration = source->p_isRepresentingTemplateParameterInTemplateDeclaration ;
25799 0 : storageOf_adaParentType = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_adaParentType );
25800 0 : storageOf_decl_attributes = source->p_decl_attributes ;
25801 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
25802 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
25803 0 : storageOf_nameOnly = source->p_nameOnly ;
25804 0 : storageOf_forward = source->p_forward ;
25805 0 : storageOf_externBrace = source->p_externBrace ;
25806 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
25807 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
25808 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
25809 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25810 0 : unsigned int tempListCountqualifiedNameList = 0;
25811 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
25812 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25813 : {
25814 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
25815 0 : tempListCountqualifiedNameList++;
25816 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
25817 : }
25818 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
25819 0 : tempListCountqualifiedNameList = 0;
25820 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25821 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25822 : {
25823 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
25824 0 : tempListCountqualifiedNameList++;
25825 : }
25826 0 : delete [] tempListqualifiedNameList;
25827 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
25828 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
25829 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
25830 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
25831 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
25832 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
25833 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
25834 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
25835 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
25836 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
25837 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
25838 0 : storageOf_isModified = source->p_isModified ;
25839 0 : storageOf_containsTransformation = source->p_containsTransformation ;
25840 0 : }
25841 :
25842 : void
25843 0 : SgDerivedTypeStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
25844 : {
25845 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
25846 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
25847 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
25848 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
25849 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
25850 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
25851 0 : }
25852 :
25853 : void
25854 2 : SgDerivedTypeStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
25855 : {
25856 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25857 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
25858 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25859 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
25860 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
25861 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
25862 2 : }
25863 :
25864 : void
25865 0 : SgDerivedTypeStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
25866 : {
25867 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
25868 0 : EasyStorage < std::string > :: writeToFile(out) ;
25869 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
25870 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
25871 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
25872 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
25873 0 : }
25874 :
25875 :
25876 : void
25877 0 : SgDerivedTypeStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
25878 : {
25879 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
25880 0 : EasyStorage < std::string > :: readFromFile(in) ;
25881 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
25882 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
25883 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
25884 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
25885 0 : }
25886 :
25887 :
25888 :
25889 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25890 :
25891 :
25892 : // ********************************************************
25893 :
25894 : /* #line 25895 "../../../src/frontend/SageIII//StorageClasses.C" */
25895 :
25896 :
25897 :
25898 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
25899 :
25900 : // ****************************************************************
25901 : // member functions definition specific to each node in the grammar
25902 : // these are the SgModuleStatementStorageClass parts !!!!
25903 : // ROSETTA generated code. Do not change by hand.
25904 : // ****************************************************************
25905 :
25906 :
25907 : /* #line 25908 "../../../src/frontend/SageIII//StorageClasses.C" */
25908 :
25909 :
25910 : void
25911 0 : SgModuleStatementStorageClass::pickOutIRNodeData ( SgModuleStatement* pointer )
25912 : {
25913 0 : SgModuleStatement* source = (SgModuleStatement*) (pointer);
25914 : #if FILE_IO_EXTRA_CHECK
25915 0 : assert ( source != NULL ) ;
25916 0 : assert ( source->p_freepointer != NULL) ;
25917 : #endif
25918 0 : storageOf_end_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_numeric_label );
25919 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
25920 0 : storageOf_class_type = source->p_class_type ;
25921 0 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
25922 0 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
25923 0 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
25924 0 : storageOf_specialization = source->p_specialization ;
25925 0 : storageOf_from_template = source->p_from_template ;
25926 0 : storageOf_fixupScope = source->p_fixupScope ;
25927 0 : storageOf_isUnNamed = source->p_isUnNamed ;
25928 0 : storageOf_explicit_annotation_interface = source->p_explicit_annotation_interface ;
25929 0 : storageOf_explicit_interface = source->p_explicit_interface ;
25930 0 : storageOf_explicit_enum = source->p_explicit_enum ;
25931 0 : storageOf_explicit_anonymous = source->p_explicit_anonymous ;
25932 0 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
25933 0 : storageOf_name_qualification_length = source->p_name_qualification_length ;
25934 0 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
25935 0 : storageOf_global_qualification_required = source->p_global_qualification_required ;
25936 0 : storageOf_isAutonomousDeclaration = source->p_isAutonomousDeclaration ;
25937 0 : storageOf_isRepresentingTemplateParameterInTemplateDeclaration = source->p_isRepresentingTemplateParameterInTemplateDeclaration ;
25938 0 : storageOf_adaParentType = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_adaParentType );
25939 0 : storageOf_decl_attributes = source->p_decl_attributes ;
25940 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
25941 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
25942 0 : storageOf_nameOnly = source->p_nameOnly ;
25943 0 : storageOf_forward = source->p_forward ;
25944 0 : storageOf_externBrace = source->p_externBrace ;
25945 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
25946 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
25947 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
25948 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25949 0 : unsigned int tempListCountqualifiedNameList = 0;
25950 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
25951 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25952 : {
25953 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
25954 0 : tempListCountqualifiedNameList++;
25955 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
25956 : }
25957 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
25958 0 : tempListCountqualifiedNameList = 0;
25959 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
25960 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
25961 : {
25962 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
25963 0 : tempListCountqualifiedNameList++;
25964 : }
25965 0 : delete [] tempListqualifiedNameList;
25966 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
25967 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
25968 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
25969 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
25970 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
25971 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
25972 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
25973 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
25974 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
25975 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
25976 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
25977 0 : storageOf_isModified = source->p_isModified ;
25978 0 : storageOf_containsTransformation = source->p_containsTransformation ;
25979 0 : }
25980 :
25981 : void
25982 0 : SgModuleStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
25983 : {
25984 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
25985 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
25986 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
25987 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
25988 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
25989 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
25990 0 : }
25991 :
25992 : void
25993 2 : SgModuleStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
25994 : {
25995 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25996 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
25997 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
25998 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
25999 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
26000 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
26001 2 : }
26002 :
26003 : void
26004 0 : SgModuleStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
26005 : {
26006 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
26007 0 : EasyStorage < std::string > :: writeToFile(out) ;
26008 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
26009 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
26010 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
26011 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
26012 0 : }
26013 :
26014 :
26015 : void
26016 0 : SgModuleStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
26017 : {
26018 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
26019 0 : EasyStorage < std::string > :: readFromFile(in) ;
26020 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
26021 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
26022 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
26023 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
26024 0 : }
26025 :
26026 :
26027 :
26028 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26029 :
26030 :
26031 : // ********************************************************
26032 :
26033 : /* #line 26034 "../../../src/frontend/SageIII//StorageClasses.C" */
26034 :
26035 :
26036 :
26037 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26038 :
26039 : // ****************************************************************
26040 : // member functions definition specific to each node in the grammar
26041 : // these are the SgImplicitStatementStorageClass parts !!!!
26042 : // ROSETTA generated code. Do not change by hand.
26043 : // ****************************************************************
26044 :
26045 :
26046 : /* #line 26047 "../../../src/frontend/SageIII//StorageClasses.C" */
26047 :
26048 :
26049 : void
26050 0 : SgImplicitStatementStorageClass::pickOutIRNodeData ( SgImplicitStatement* pointer )
26051 : {
26052 0 : SgImplicitStatement* source = (SgImplicitStatement*) (pointer);
26053 : #if FILE_IO_EXTRA_CHECK
26054 0 : assert ( source != NULL ) ;
26055 0 : assert ( source->p_freepointer != NULL) ;
26056 : #endif
26057 0 : storageOf_implicit_none = source->p_implicit_none ;
26058 0 : storageOf_implicit_spec = source->p_implicit_spec ;
26059 0 : SgInitializedNamePtrList::iterator i_variables = source->p_variables.begin() ;
26060 0 : unsigned int tempListCountvariables = 0;
26061 0 : SgInitializedNamePtrList::value_type * tempListvariables = new SgInitializedNamePtrList::value_type[ source->p_variables.size() ];
26062 0 : for ( ; i_variables != source->p_variables.end(); ++i_variables )
26063 : {
26064 0 : tempListvariables[tempListCountvariables] = *i_variables;
26065 0 : tempListCountvariables++;
26066 0 : (*i_variables) = (SgInitializedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_variables ) );
26067 : }
26068 0 : storageOf_variables.storeDataInEasyStorageClass(source->p_variables);
26069 0 : tempListCountvariables = 0;
26070 0 : i_variables = source->p_variables.begin() ;
26071 0 : for ( ; i_variables != source->p_variables.end(); ++i_variables )
26072 : {
26073 0 : *i_variables = tempListvariables[tempListCountvariables] ;
26074 0 : tempListCountvariables++;
26075 : }
26076 0 : delete [] tempListvariables;
26077 0 : storageOf_decl_attributes = source->p_decl_attributes ;
26078 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
26079 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
26080 0 : storageOf_nameOnly = source->p_nameOnly ;
26081 0 : storageOf_forward = source->p_forward ;
26082 0 : storageOf_externBrace = source->p_externBrace ;
26083 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
26084 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
26085 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
26086 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
26087 0 : unsigned int tempListCountqualifiedNameList = 0;
26088 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
26089 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
26090 : {
26091 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
26092 0 : tempListCountqualifiedNameList++;
26093 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
26094 : }
26095 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
26096 0 : tempListCountqualifiedNameList = 0;
26097 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
26098 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
26099 : {
26100 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
26101 0 : tempListCountqualifiedNameList++;
26102 : }
26103 0 : delete [] tempListqualifiedNameList;
26104 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
26105 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
26106 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
26107 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
26108 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
26109 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
26110 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
26111 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
26112 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
26113 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
26114 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
26115 0 : storageOf_isModified = source->p_isModified ;
26116 0 : storageOf_containsTransformation = source->p_containsTransformation ;
26117 0 : }
26118 :
26119 : void
26120 0 : SgImplicitStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
26121 : {
26122 0 : EasyStorage < SgInitializedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
26123 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
26124 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
26125 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
26126 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
26127 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
26128 0 : }
26129 :
26130 : void
26131 2 : SgImplicitStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
26132 : {
26133 2 : EasyStorage < SgInitializedNamePtrList > :: deleteMemoryPool() ;
26134 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
26135 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
26136 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
26137 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
26138 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
26139 2 : }
26140 :
26141 : void
26142 0 : SgImplicitStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
26143 : {
26144 0 : EasyStorage < SgInitializedNamePtrList > :: writeToFile(out) ;
26145 0 : EasyStorage < std::string > :: writeToFile(out) ;
26146 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
26147 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
26148 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
26149 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
26150 0 : }
26151 :
26152 :
26153 : void
26154 0 : SgImplicitStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
26155 : {
26156 0 : EasyStorage < SgInitializedNamePtrList > :: readFromFile(in) ;
26157 0 : EasyStorage < std::string > :: readFromFile(in) ;
26158 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
26159 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
26160 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
26161 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
26162 0 : }
26163 :
26164 :
26165 :
26166 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26167 :
26168 :
26169 : // ********************************************************
26170 :
26171 : /* #line 26172 "../../../src/frontend/SageIII//StorageClasses.C" */
26172 :
26173 :
26174 :
26175 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26176 :
26177 : // ****************************************************************
26178 : // member functions definition specific to each node in the grammar
26179 : // these are the SgUsingDeclarationStatementStorageClass parts !!!!
26180 : // ROSETTA generated code. Do not change by hand.
26181 : // ****************************************************************
26182 :
26183 :
26184 : /* #line 26185 "../../../src/frontend/SageIII//StorageClasses.C" */
26185 :
26186 :
26187 : void
26188 275 : SgUsingDeclarationStatementStorageClass::pickOutIRNodeData ( SgUsingDeclarationStatement* pointer )
26189 : {
26190 275 : SgUsingDeclarationStatement* source = (SgUsingDeclarationStatement*) (pointer);
26191 : #if FILE_IO_EXTRA_CHECK
26192 275 : assert ( source != NULL ) ;
26193 275 : assert ( source->p_freepointer != NULL) ;
26194 : #endif
26195 275 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
26196 275 : storageOf_initializedName = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_initializedName );
26197 275 : storageOf_name_qualification_length = source->p_name_qualification_length ;
26198 275 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
26199 275 : storageOf_global_qualification_required = source->p_global_qualification_required ;
26200 275 : storageOf_is_inheriting_constructor = source->p_is_inheriting_constructor ;
26201 275 : storageOf_decl_attributes = source->p_decl_attributes ;
26202 275 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
26203 275 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
26204 275 : storageOf_nameOnly = source->p_nameOnly ;
26205 275 : storageOf_forward = source->p_forward ;
26206 275 : storageOf_externBrace = source->p_externBrace ;
26207 275 : storageOf_skipElaborateType = source->p_skipElaborateType ;
26208 275 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
26209 275 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
26210 275 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
26211 275 : unsigned int tempListCountqualifiedNameList = 0;
26212 275 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
26213 275 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
26214 : {
26215 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
26216 0 : tempListCountqualifiedNameList++;
26217 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
26218 : }
26219 275 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
26220 275 : tempListCountqualifiedNameList = 0;
26221 275 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
26222 275 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
26223 : {
26224 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
26225 0 : tempListCountqualifiedNameList++;
26226 : }
26227 275 : delete [] tempListqualifiedNameList;
26228 275 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
26229 275 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
26230 275 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
26231 275 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
26232 275 : storageOf_source_sequence_value = source->p_source_sequence_value ;
26233 275 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
26234 275 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
26235 275 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
26236 275 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
26237 275 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
26238 275 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
26239 275 : storageOf_isModified = source->p_isModified ;
26240 275 : storageOf_containsTransformation = source->p_containsTransformation ;
26241 275 : }
26242 :
26243 : void
26244 0 : SgUsingDeclarationStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
26245 : {
26246 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
26247 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
26248 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
26249 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
26250 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
26251 0 : }
26252 :
26253 : void
26254 2 : SgUsingDeclarationStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
26255 : {
26256 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
26257 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
26258 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
26259 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
26260 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
26261 2 : }
26262 :
26263 : void
26264 1 : SgUsingDeclarationStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
26265 : {
26266 1 : EasyStorage < std::string > :: writeToFile(out) ;
26267 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
26268 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
26269 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
26270 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
26271 1 : }
26272 :
26273 :
26274 : void
26275 1 : SgUsingDeclarationStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
26276 : {
26277 1 : EasyStorage < std::string > :: readFromFile(in) ;
26278 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
26279 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
26280 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
26281 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
26282 1 : }
26283 :
26284 :
26285 :
26286 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26287 :
26288 :
26289 : // ********************************************************
26290 :
26291 : /* #line 26292 "../../../src/frontend/SageIII//StorageClasses.C" */
26292 :
26293 :
26294 :
26295 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26296 :
26297 : // ****************************************************************
26298 : // member functions definition specific to each node in the grammar
26299 : // these are the SgNamelistStatementStorageClass parts !!!!
26300 : // ROSETTA generated code. Do not change by hand.
26301 : // ****************************************************************
26302 :
26303 :
26304 : /* #line 26305 "../../../src/frontend/SageIII//StorageClasses.C" */
26305 :
26306 :
26307 : void
26308 0 : SgNamelistStatementStorageClass::pickOutIRNodeData ( SgNamelistStatement* pointer )
26309 : {
26310 0 : SgNamelistStatement* source = (SgNamelistStatement*) (pointer);
26311 : #if FILE_IO_EXTRA_CHECK
26312 0 : assert ( source != NULL ) ;
26313 0 : assert ( source->p_freepointer != NULL) ;
26314 : #endif
26315 0 : SgNameGroupPtrList::iterator i_group_list = source->p_group_list.begin() ;
26316 0 : unsigned int tempListCountgroup_list = 0;
26317 0 : SgNameGroupPtrList::value_type * tempListgroup_list = new SgNameGroupPtrList::value_type[ source->p_group_list.size() ];
26318 0 : for ( ; i_group_list != source->p_group_list.end(); ++i_group_list )
26319 : {
26320 0 : tempListgroup_list[tempListCountgroup_list] = *i_group_list;
26321 0 : tempListCountgroup_list++;
26322 0 : (*i_group_list) = (SgNameGroupPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_group_list ) );
26323 : }
26324 0 : storageOf_group_list.storeDataInEasyStorageClass(source->p_group_list);
26325 0 : tempListCountgroup_list = 0;
26326 0 : i_group_list = source->p_group_list.begin() ;
26327 0 : for ( ; i_group_list != source->p_group_list.end(); ++i_group_list )
26328 : {
26329 0 : *i_group_list = tempListgroup_list[tempListCountgroup_list] ;
26330 0 : tempListCountgroup_list++;
26331 : }
26332 0 : delete [] tempListgroup_list;
26333 0 : storageOf_decl_attributes = source->p_decl_attributes ;
26334 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
26335 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
26336 0 : storageOf_nameOnly = source->p_nameOnly ;
26337 0 : storageOf_forward = source->p_forward ;
26338 0 : storageOf_externBrace = source->p_externBrace ;
26339 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
26340 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
26341 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
26342 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
26343 0 : unsigned int tempListCountqualifiedNameList = 0;
26344 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
26345 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
26346 : {
26347 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
26348 0 : tempListCountqualifiedNameList++;
26349 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
26350 : }
26351 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
26352 0 : tempListCountqualifiedNameList = 0;
26353 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
26354 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
26355 : {
26356 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
26357 0 : tempListCountqualifiedNameList++;
26358 : }
26359 0 : delete [] tempListqualifiedNameList;
26360 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
26361 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
26362 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
26363 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
26364 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
26365 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
26366 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
26367 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
26368 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
26369 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
26370 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
26371 0 : storageOf_isModified = source->p_isModified ;
26372 0 : storageOf_containsTransformation = source->p_containsTransformation ;
26373 0 : }
26374 :
26375 : void
26376 0 : SgNamelistStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
26377 : {
26378 0 : EasyStorage < SgNameGroupPtrList > :: arrangeMemoryPoolInOneBlock() ;
26379 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
26380 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
26381 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
26382 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
26383 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
26384 0 : }
26385 :
26386 : void
26387 2 : SgNamelistStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
26388 : {
26389 2 : EasyStorage < SgNameGroupPtrList > :: deleteMemoryPool() ;
26390 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
26391 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
26392 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
26393 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
26394 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
26395 2 : }
26396 :
26397 : void
26398 0 : SgNamelistStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
26399 : {
26400 0 : EasyStorage < SgNameGroupPtrList > :: writeToFile(out) ;
26401 0 : EasyStorage < std::string > :: writeToFile(out) ;
26402 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
26403 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
26404 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
26405 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
26406 0 : }
26407 :
26408 :
26409 : void
26410 0 : SgNamelistStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
26411 : {
26412 0 : EasyStorage < SgNameGroupPtrList > :: readFromFile(in) ;
26413 0 : EasyStorage < std::string > :: readFromFile(in) ;
26414 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
26415 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
26416 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
26417 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
26418 0 : }
26419 :
26420 :
26421 :
26422 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26423 :
26424 :
26425 : // ********************************************************
26426 :
26427 : /* #line 26428 "../../../src/frontend/SageIII//StorageClasses.C" */
26428 :
26429 :
26430 :
26431 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26432 :
26433 : // ****************************************************************
26434 : // member functions definition specific to each node in the grammar
26435 : // these are the SgImportStatementStorageClass parts !!!!
26436 : // ROSETTA generated code. Do not change by hand.
26437 : // ****************************************************************
26438 :
26439 :
26440 : /* #line 26441 "../../../src/frontend/SageIII//StorageClasses.C" */
26441 :
26442 :
26443 : void
26444 0 : SgImportStatementStorageClass::pickOutIRNodeData ( SgImportStatement* pointer )
26445 : {
26446 0 : SgImportStatement* source = (SgImportStatement*) (pointer);
26447 : #if FILE_IO_EXTRA_CHECK
26448 0 : assert ( source != NULL ) ;
26449 0 : assert ( source->p_freepointer != NULL) ;
26450 : #endif
26451 0 : SgExpressionPtrList::iterator i_import_list = source->p_import_list.begin() ;
26452 0 : unsigned int tempListCountimport_list = 0;
26453 0 : SgExpressionPtrList::value_type * tempListimport_list = new SgExpressionPtrList::value_type[ source->p_import_list.size() ];
26454 0 : for ( ; i_import_list != source->p_import_list.end(); ++i_import_list )
26455 : {
26456 0 : tempListimport_list[tempListCountimport_list] = *i_import_list;
26457 0 : tempListCountimport_list++;
26458 0 : (*i_import_list) = (SgExpressionPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_import_list ) );
26459 : }
26460 0 : storageOf_import_list.storeDataInEasyStorageClass(source->p_import_list);
26461 0 : tempListCountimport_list = 0;
26462 0 : i_import_list = source->p_import_list.begin() ;
26463 0 : for ( ; i_import_list != source->p_import_list.end(); ++i_import_list )
26464 : {
26465 0 : *i_import_list = tempListimport_list[tempListCountimport_list] ;
26466 0 : tempListCountimport_list++;
26467 : }
26468 0 : delete [] tempListimport_list;
26469 0 : storageOf_decl_attributes = source->p_decl_attributes ;
26470 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
26471 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
26472 0 : storageOf_nameOnly = source->p_nameOnly ;
26473 0 : storageOf_forward = source->p_forward ;
26474 0 : storageOf_externBrace = source->p_externBrace ;
26475 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
26476 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
26477 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
26478 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
26479 0 : unsigned int tempListCountqualifiedNameList = 0;
26480 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
26481 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
26482 : {
26483 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
26484 0 : tempListCountqualifiedNameList++;
26485 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
26486 : }
26487 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
26488 0 : tempListCountqualifiedNameList = 0;
26489 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
26490 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
26491 : {
26492 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
26493 0 : tempListCountqualifiedNameList++;
26494 : }
26495 0 : delete [] tempListqualifiedNameList;
26496 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
26497 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
26498 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
26499 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
26500 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
26501 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
26502 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
26503 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
26504 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
26505 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
26506 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
26507 0 : storageOf_isModified = source->p_isModified ;
26508 0 : storageOf_containsTransformation = source->p_containsTransformation ;
26509 0 : }
26510 :
26511 : void
26512 0 : SgImportStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
26513 : {
26514 0 : EasyStorage < SgExpressionPtrList > :: arrangeMemoryPoolInOneBlock() ;
26515 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
26516 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
26517 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
26518 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
26519 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
26520 0 : }
26521 :
26522 : void
26523 2 : SgImportStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
26524 : {
26525 2 : EasyStorage < SgExpressionPtrList > :: deleteMemoryPool() ;
26526 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
26527 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
26528 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
26529 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
26530 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
26531 2 : }
26532 :
26533 : void
26534 0 : SgImportStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
26535 : {
26536 0 : EasyStorage < SgExpressionPtrList > :: writeToFile(out) ;
26537 0 : EasyStorage < std::string > :: writeToFile(out) ;
26538 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
26539 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
26540 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
26541 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
26542 0 : }
26543 :
26544 :
26545 : void
26546 0 : SgImportStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
26547 : {
26548 0 : EasyStorage < SgExpressionPtrList > :: readFromFile(in) ;
26549 0 : EasyStorage < std::string > :: readFromFile(in) ;
26550 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
26551 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
26552 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
26553 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
26554 0 : }
26555 :
26556 :
26557 :
26558 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26559 :
26560 :
26561 : // ********************************************************
26562 :
26563 : /* #line 26564 "../../../src/frontend/SageIII//StorageClasses.C" */
26564 :
26565 :
26566 :
26567 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26568 :
26569 : // ****************************************************************
26570 : // member functions definition specific to each node in the grammar
26571 : // these are the SgFunctionDeclarationStorageClass parts !!!!
26572 : // ROSETTA generated code. Do not change by hand.
26573 : // ****************************************************************
26574 :
26575 :
26576 : /* #line 26577 "../../../src/frontend/SageIII//StorageClasses.C" */
26577 :
26578 :
26579 : void
26580 7916 : SgFunctionDeclarationStorageClass::pickOutIRNodeData ( SgFunctionDeclaration* pointer )
26581 : {
26582 7916 : SgFunctionDeclaration* source = (SgFunctionDeclaration*) (pointer);
26583 : #if FILE_IO_EXTRA_CHECK
26584 7916 : assert ( source != NULL ) ;
26585 7916 : assert ( source->p_freepointer != NULL) ;
26586 : #endif
26587 7916 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
26588 7916 : storageOf_parameterList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList );
26589 7916 : storageOf_functionModifier.pickOutIRNodeData( &(source->p_functionModifier) );
26590 7916 : storageOf_specialFunctionModifier.pickOutIRNodeData( &(source->p_specialFunctionModifier) );
26591 7916 : SgTypePtrList::iterator i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
26592 7916 : unsigned int tempListCountexceptionSpecification = 0;
26593 7916 : SgTypePtrList::value_type * tempListexceptionSpecification = new SgTypePtrList::value_type[ source->p_exceptionSpecification.size() ];
26594 7916 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
26595 : {
26596 0 : tempListexceptionSpecification[tempListCountexceptionSpecification] = *i_exceptionSpecification;
26597 0 : tempListCountexceptionSpecification++;
26598 0 : (*i_exceptionSpecification) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_exceptionSpecification ) );
26599 : }
26600 7916 : storageOf_exceptionSpecification.storeDataInEasyStorageClass(source->p_exceptionSpecification);
26601 7916 : tempListCountexceptionSpecification = 0;
26602 7916 : i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
26603 7916 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
26604 : {
26605 0 : *i_exceptionSpecification = tempListexceptionSpecification[tempListCountexceptionSpecification] ;
26606 0 : tempListCountexceptionSpecification++;
26607 : }
26608 7916 : delete [] tempListexceptionSpecification;
26609 7916 : storageOf_named_in_end_statement = source->p_named_in_end_statement ;
26610 7916 : storageOf_asm_name.storeDataInEasyStorageClass(source->p_asm_name);
26611 7916 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
26612 7916 : storageOf_ada_formal_subprogram_decl = source->p_ada_formal_subprogram_decl ;
26613 7916 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
26614 7916 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
26615 7916 : storageOf_oldStyleDefinition = source->p_oldStyleDefinition ;
26616 7916 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
26617 7916 : storageOf_specialization = source->p_specialization ;
26618 7916 : storageOf_requiresNameQualificationOnReturnType = source->p_requiresNameQualificationOnReturnType ;
26619 7916 : storageOf_gnu_extension_section.storeDataInEasyStorageClass(source->p_gnu_extension_section);
26620 7916 : storageOf_gnu_extension_alias.storeDataInEasyStorageClass(source->p_gnu_extension_alias);
26621 7916 : storageOf_gnu_extension_visability = source->p_gnu_extension_visability ;
26622 7916 : storageOf_name_qualification_length = source->p_name_qualification_length ;
26623 7916 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
26624 7916 : storageOf_global_qualification_required = source->p_global_qualification_required ;
26625 7916 : storageOf_name_qualification_length_for_return_type = source->p_name_qualification_length_for_return_type ;
26626 7916 : storageOf_type_elaboration_required_for_return_type = source->p_type_elaboration_required_for_return_type ;
26627 7916 : storageOf_global_qualification_required_for_return_type = source->p_global_qualification_required_for_return_type ;
26628 7916 : storageOf_prototypeIsWithoutParameters = source->p_prototypeIsWithoutParameters ;
26629 7916 : storageOf_gnu_regparm_attribute = source->p_gnu_regparm_attribute ;
26630 7916 : storageOf_type_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_syntax );
26631 7916 : storageOf_type_syntax_is_available = source->p_type_syntax_is_available ;
26632 7916 : storageOf_parameterList_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList_syntax );
26633 7916 : storageOf_using_C11_Noreturn_keyword = source->p_using_C11_Noreturn_keyword ;
26634 7916 : storageOf_is_constexpr = source->p_is_constexpr ;
26635 7916 : storageOf_using_new_function_return_type_syntax = source->p_using_new_function_return_type_syntax ;
26636 7916 : storageOf_functionParameterScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_functionParameterScope );
26637 7916 : storageOf_marked_as_edg_normalization = source->p_marked_as_edg_normalization ;
26638 7916 : storageOf_is_implicit_function = source->p_is_implicit_function ;
26639 7916 : storageOf_decl_attributes = source->p_decl_attributes ;
26640 7916 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
26641 7916 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
26642 7916 : storageOf_nameOnly = source->p_nameOnly ;
26643 7916 : storageOf_forward = source->p_forward ;
26644 7916 : storageOf_externBrace = source->p_externBrace ;
26645 7916 : storageOf_skipElaborateType = source->p_skipElaborateType ;
26646 7916 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
26647 7916 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
26648 7916 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
26649 7916 : unsigned int tempListCountqualifiedNameList = 0;
26650 7916 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
26651 7916 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
26652 : {
26653 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
26654 0 : tempListCountqualifiedNameList++;
26655 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
26656 : }
26657 7916 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
26658 7916 : tempListCountqualifiedNameList = 0;
26659 7916 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
26660 7916 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
26661 : {
26662 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
26663 0 : tempListCountqualifiedNameList++;
26664 : }
26665 7916 : delete [] tempListqualifiedNameList;
26666 7916 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
26667 7916 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
26668 7916 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
26669 7916 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
26670 7916 : storageOf_source_sequence_value = source->p_source_sequence_value ;
26671 7916 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
26672 7916 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
26673 7916 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
26674 7916 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
26675 7916 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
26676 7916 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
26677 7916 : storageOf_isModified = source->p_isModified ;
26678 7916 : storageOf_containsTransformation = source->p_containsTransformation ;
26679 7916 : }
26680 :
26681 : void
26682 0 : SgFunctionDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
26683 : {
26684 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
26685 0 : SgFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
26686 0 : SgSpecialFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
26687 0 : EasyStorage < SgTypePtrList > :: arrangeMemoryPoolInOneBlock() ;
26688 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
26689 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
26690 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
26691 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
26692 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
26693 0 : }
26694 :
26695 : void
26696 2 : SgFunctionDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
26697 : {
26698 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
26699 2 : SgFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
26700 2 : SgSpecialFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
26701 2 : EasyStorage < SgTypePtrList > :: deleteMemoryPool() ;
26702 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
26703 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
26704 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
26705 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
26706 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
26707 2 : }
26708 :
26709 : void
26710 2 : SgFunctionDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
26711 : {
26712 2 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
26713 2 : SgFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
26714 2 : SgSpecialFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
26715 2 : EasyStorage < SgTypePtrList > :: writeToFile(out) ;
26716 2 : EasyStorage < std::string > :: writeToFile(out) ;
26717 2 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
26718 2 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
26719 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
26720 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
26721 2 : }
26722 :
26723 :
26724 : void
26725 2 : SgFunctionDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
26726 : {
26727 2 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
26728 2 : SgFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
26729 2 : SgSpecialFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
26730 2 : EasyStorage < SgTypePtrList > :: readFromFile(in) ;
26731 2 : EasyStorage < std::string > :: readFromFile(in) ;
26732 2 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
26733 2 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
26734 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
26735 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
26736 2 : }
26737 :
26738 :
26739 :
26740 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26741 :
26742 :
26743 : // ********************************************************
26744 :
26745 : /* #line 26746 "../../../src/frontend/SageIII//StorageClasses.C" */
26746 :
26747 :
26748 :
26749 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26750 :
26751 : // ****************************************************************
26752 : // member functions definition specific to each node in the grammar
26753 : // these are the SgTemplateFunctionDeclarationStorageClass parts !!!!
26754 : // ROSETTA generated code. Do not change by hand.
26755 : // ****************************************************************
26756 :
26757 :
26758 : /* #line 26759 "../../../src/frontend/SageIII//StorageClasses.C" */
26759 :
26760 :
26761 : void
26762 676 : SgTemplateFunctionDeclarationStorageClass::pickOutIRNodeData ( SgTemplateFunctionDeclaration* pointer )
26763 : {
26764 676 : SgTemplateFunctionDeclaration* source = (SgTemplateFunctionDeclaration*) (pointer);
26765 : #if FILE_IO_EXTRA_CHECK
26766 676 : assert ( source != NULL ) ;
26767 676 : assert ( source->p_freepointer != NULL) ;
26768 : #endif
26769 676 : SgTemplateParameterPtrList::iterator i_templateParameters = source->p_templateParameters.begin() ;
26770 676 : unsigned int tempListCounttemplateParameters = 0;
26771 676 : SgTemplateParameterPtrList::value_type * tempListtemplateParameters = new SgTemplateParameterPtrList::value_type[ source->p_templateParameters.size() ];
26772 1866 : for ( ; i_templateParameters != source->p_templateParameters.end(); ++i_templateParameters )
26773 : {
26774 1190 : tempListtemplateParameters[tempListCounttemplateParameters] = *i_templateParameters;
26775 1190 : tempListCounttemplateParameters++;
26776 1190 : (*i_templateParameters) = (SgTemplateParameterPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateParameters ) );
26777 : }
26778 676 : storageOf_templateParameters.storeDataInEasyStorageClass(source->p_templateParameters);
26779 676 : tempListCounttemplateParameters = 0;
26780 676 : i_templateParameters = source->p_templateParameters.begin() ;
26781 1866 : for ( ; i_templateParameters != source->p_templateParameters.end(); ++i_templateParameters )
26782 : {
26783 1190 : *i_templateParameters = tempListtemplateParameters[tempListCounttemplateParameters] ;
26784 1190 : tempListCounttemplateParameters++;
26785 : }
26786 676 : delete [] tempListtemplateParameters;
26787 676 : SgTemplateArgumentPtrList::iterator i_templateSpecializationArguments = source->p_templateSpecializationArguments.begin() ;
26788 676 : unsigned int tempListCounttemplateSpecializationArguments = 0;
26789 676 : SgTemplateArgumentPtrList::value_type * tempListtemplateSpecializationArguments = new SgTemplateArgumentPtrList::value_type[ source->p_templateSpecializationArguments.size() ];
26790 676 : for ( ; i_templateSpecializationArguments != source->p_templateSpecializationArguments.end(); ++i_templateSpecializationArguments )
26791 : {
26792 0 : tempListtemplateSpecializationArguments[tempListCounttemplateSpecializationArguments] = *i_templateSpecializationArguments;
26793 0 : tempListCounttemplateSpecializationArguments++;
26794 0 : (*i_templateSpecializationArguments) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateSpecializationArguments ) );
26795 : }
26796 676 : storageOf_templateSpecializationArguments.storeDataInEasyStorageClass(source->p_templateSpecializationArguments);
26797 676 : tempListCounttemplateSpecializationArguments = 0;
26798 676 : i_templateSpecializationArguments = source->p_templateSpecializationArguments.begin() ;
26799 676 : for ( ; i_templateSpecializationArguments != source->p_templateSpecializationArguments.end(); ++i_templateSpecializationArguments )
26800 : {
26801 0 : *i_templateSpecializationArguments = tempListtemplateSpecializationArguments[tempListCounttemplateSpecializationArguments] ;
26802 0 : tempListCounttemplateSpecializationArguments++;
26803 : }
26804 676 : delete [] tempListtemplateSpecializationArguments;
26805 676 : storageOf_string.pickOutIRNodeData( &(source->p_string) );
26806 676 : storageOf_string_represents_function_body = source->p_string_represents_function_body ;
26807 676 : storageOf_nonreal_decl_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_nonreal_decl_scope );
26808 676 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
26809 676 : storageOf_parameterList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList );
26810 676 : storageOf_functionModifier.pickOutIRNodeData( &(source->p_functionModifier) );
26811 676 : storageOf_specialFunctionModifier.pickOutIRNodeData( &(source->p_specialFunctionModifier) );
26812 676 : SgTypePtrList::iterator i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
26813 676 : unsigned int tempListCountexceptionSpecification = 0;
26814 676 : SgTypePtrList::value_type * tempListexceptionSpecification = new SgTypePtrList::value_type[ source->p_exceptionSpecification.size() ];
26815 676 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
26816 : {
26817 0 : tempListexceptionSpecification[tempListCountexceptionSpecification] = *i_exceptionSpecification;
26818 0 : tempListCountexceptionSpecification++;
26819 0 : (*i_exceptionSpecification) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_exceptionSpecification ) );
26820 : }
26821 676 : storageOf_exceptionSpecification.storeDataInEasyStorageClass(source->p_exceptionSpecification);
26822 676 : tempListCountexceptionSpecification = 0;
26823 676 : i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
26824 676 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
26825 : {
26826 0 : *i_exceptionSpecification = tempListexceptionSpecification[tempListCountexceptionSpecification] ;
26827 0 : tempListCountexceptionSpecification++;
26828 : }
26829 676 : delete [] tempListexceptionSpecification;
26830 676 : storageOf_named_in_end_statement = source->p_named_in_end_statement ;
26831 676 : storageOf_asm_name.storeDataInEasyStorageClass(source->p_asm_name);
26832 676 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
26833 676 : storageOf_ada_formal_subprogram_decl = source->p_ada_formal_subprogram_decl ;
26834 676 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
26835 676 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
26836 676 : storageOf_oldStyleDefinition = source->p_oldStyleDefinition ;
26837 676 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
26838 676 : storageOf_specialization = source->p_specialization ;
26839 676 : storageOf_requiresNameQualificationOnReturnType = source->p_requiresNameQualificationOnReturnType ;
26840 676 : storageOf_gnu_extension_section.storeDataInEasyStorageClass(source->p_gnu_extension_section);
26841 676 : storageOf_gnu_extension_alias.storeDataInEasyStorageClass(source->p_gnu_extension_alias);
26842 676 : storageOf_gnu_extension_visability = source->p_gnu_extension_visability ;
26843 676 : storageOf_name_qualification_length = source->p_name_qualification_length ;
26844 676 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
26845 676 : storageOf_global_qualification_required = source->p_global_qualification_required ;
26846 676 : storageOf_name_qualification_length_for_return_type = source->p_name_qualification_length_for_return_type ;
26847 676 : storageOf_type_elaboration_required_for_return_type = source->p_type_elaboration_required_for_return_type ;
26848 676 : storageOf_global_qualification_required_for_return_type = source->p_global_qualification_required_for_return_type ;
26849 676 : storageOf_prototypeIsWithoutParameters = source->p_prototypeIsWithoutParameters ;
26850 676 : storageOf_gnu_regparm_attribute = source->p_gnu_regparm_attribute ;
26851 676 : storageOf_type_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_syntax );
26852 676 : storageOf_type_syntax_is_available = source->p_type_syntax_is_available ;
26853 676 : storageOf_parameterList_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList_syntax );
26854 676 : storageOf_using_C11_Noreturn_keyword = source->p_using_C11_Noreturn_keyword ;
26855 676 : storageOf_is_constexpr = source->p_is_constexpr ;
26856 676 : storageOf_using_new_function_return_type_syntax = source->p_using_new_function_return_type_syntax ;
26857 676 : storageOf_functionParameterScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_functionParameterScope );
26858 676 : storageOf_marked_as_edg_normalization = source->p_marked_as_edg_normalization ;
26859 676 : storageOf_is_implicit_function = source->p_is_implicit_function ;
26860 676 : storageOf_decl_attributes = source->p_decl_attributes ;
26861 676 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
26862 676 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
26863 676 : storageOf_nameOnly = source->p_nameOnly ;
26864 676 : storageOf_forward = source->p_forward ;
26865 676 : storageOf_externBrace = source->p_externBrace ;
26866 676 : storageOf_skipElaborateType = source->p_skipElaborateType ;
26867 676 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
26868 676 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
26869 676 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
26870 676 : unsigned int tempListCountqualifiedNameList = 0;
26871 676 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
26872 676 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
26873 : {
26874 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
26875 0 : tempListCountqualifiedNameList++;
26876 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
26877 : }
26878 676 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
26879 676 : tempListCountqualifiedNameList = 0;
26880 676 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
26881 676 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
26882 : {
26883 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
26884 0 : tempListCountqualifiedNameList++;
26885 : }
26886 676 : delete [] tempListqualifiedNameList;
26887 676 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
26888 676 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
26889 676 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
26890 676 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
26891 676 : storageOf_source_sequence_value = source->p_source_sequence_value ;
26892 676 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
26893 676 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
26894 676 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
26895 676 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
26896 676 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
26897 676 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
26898 676 : storageOf_isModified = source->p_isModified ;
26899 676 : storageOf_containsTransformation = source->p_containsTransformation ;
26900 676 : }
26901 :
26902 : void
26903 0 : SgTemplateFunctionDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
26904 : {
26905 0 : EasyStorage < SgTemplateParameterPtrList > :: arrangeMemoryPoolInOneBlock() ;
26906 0 : EasyStorage < SgTemplateArgumentPtrList > :: arrangeMemoryPoolInOneBlock() ;
26907 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
26908 0 : SgFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
26909 0 : SgSpecialFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
26910 0 : EasyStorage < SgTypePtrList > :: arrangeMemoryPoolInOneBlock() ;
26911 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
26912 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
26913 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
26914 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
26915 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
26916 0 : }
26917 :
26918 : void
26919 2 : SgTemplateFunctionDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
26920 : {
26921 2 : EasyStorage < SgTemplateParameterPtrList > :: deleteMemoryPool() ;
26922 2 : EasyStorage < SgTemplateArgumentPtrList > :: deleteMemoryPool() ;
26923 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
26924 2 : SgFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
26925 2 : SgSpecialFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
26926 2 : EasyStorage < SgTypePtrList > :: deleteMemoryPool() ;
26927 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
26928 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
26929 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
26930 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
26931 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
26932 2 : }
26933 :
26934 : void
26935 1 : SgTemplateFunctionDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
26936 : {
26937 1 : EasyStorage < SgTemplateParameterPtrList > :: writeToFile(out) ;
26938 1 : EasyStorage < SgTemplateArgumentPtrList > :: writeToFile(out) ;
26939 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
26940 1 : SgFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
26941 1 : SgSpecialFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
26942 1 : EasyStorage < SgTypePtrList > :: writeToFile(out) ;
26943 1 : EasyStorage < std::string > :: writeToFile(out) ;
26944 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
26945 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
26946 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
26947 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
26948 1 : }
26949 :
26950 :
26951 : void
26952 1 : SgTemplateFunctionDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
26953 : {
26954 1 : EasyStorage < SgTemplateParameterPtrList > :: readFromFile(in) ;
26955 1 : EasyStorage < SgTemplateArgumentPtrList > :: readFromFile(in) ;
26956 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
26957 1 : SgFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
26958 1 : SgSpecialFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
26959 1 : EasyStorage < SgTypePtrList > :: readFromFile(in) ;
26960 1 : EasyStorage < std::string > :: readFromFile(in) ;
26961 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
26962 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
26963 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
26964 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
26965 1 : }
26966 :
26967 :
26968 :
26969 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26970 :
26971 :
26972 : // ********************************************************
26973 :
26974 : /* #line 26975 "../../../src/frontend/SageIII//StorageClasses.C" */
26975 :
26976 :
26977 :
26978 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
26979 :
26980 : // ****************************************************************
26981 : // member functions definition specific to each node in the grammar
26982 : // these are the SgMemberFunctionDeclarationStorageClass parts !!!!
26983 : // ROSETTA generated code. Do not change by hand.
26984 : // ****************************************************************
26985 :
26986 :
26987 : /* #line 26988 "../../../src/frontend/SageIII//StorageClasses.C" */
26988 :
26989 :
26990 : void
26991 784 : SgMemberFunctionDeclarationStorageClass::pickOutIRNodeData ( SgMemberFunctionDeclaration* pointer )
26992 : {
26993 784 : SgMemberFunctionDeclaration* source = (SgMemberFunctionDeclaration*) (pointer);
26994 : #if FILE_IO_EXTRA_CHECK
26995 784 : assert ( source != NULL ) ;
26996 784 : assert ( source->p_freepointer != NULL) ;
26997 : #endif
26998 784 : storageOf_CtorInitializerList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_CtorInitializerList );
26999 784 : storageOf_associatedClassDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_associatedClassDeclaration );
27000 784 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
27001 784 : storageOf_parameterList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList );
27002 784 : storageOf_functionModifier.pickOutIRNodeData( &(source->p_functionModifier) );
27003 784 : storageOf_specialFunctionModifier.pickOutIRNodeData( &(source->p_specialFunctionModifier) );
27004 784 : SgTypePtrList::iterator i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
27005 784 : unsigned int tempListCountexceptionSpecification = 0;
27006 784 : SgTypePtrList::value_type * tempListexceptionSpecification = new SgTypePtrList::value_type[ source->p_exceptionSpecification.size() ];
27007 784 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
27008 : {
27009 0 : tempListexceptionSpecification[tempListCountexceptionSpecification] = *i_exceptionSpecification;
27010 0 : tempListCountexceptionSpecification++;
27011 0 : (*i_exceptionSpecification) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_exceptionSpecification ) );
27012 : }
27013 784 : storageOf_exceptionSpecification.storeDataInEasyStorageClass(source->p_exceptionSpecification);
27014 784 : tempListCountexceptionSpecification = 0;
27015 784 : i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
27016 784 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
27017 : {
27018 0 : *i_exceptionSpecification = tempListexceptionSpecification[tempListCountexceptionSpecification] ;
27019 0 : tempListCountexceptionSpecification++;
27020 : }
27021 784 : delete [] tempListexceptionSpecification;
27022 784 : storageOf_named_in_end_statement = source->p_named_in_end_statement ;
27023 784 : storageOf_asm_name.storeDataInEasyStorageClass(source->p_asm_name);
27024 784 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
27025 784 : storageOf_ada_formal_subprogram_decl = source->p_ada_formal_subprogram_decl ;
27026 784 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
27027 784 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
27028 784 : storageOf_oldStyleDefinition = source->p_oldStyleDefinition ;
27029 784 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
27030 784 : storageOf_specialization = source->p_specialization ;
27031 784 : storageOf_requiresNameQualificationOnReturnType = source->p_requiresNameQualificationOnReturnType ;
27032 784 : storageOf_gnu_extension_section.storeDataInEasyStorageClass(source->p_gnu_extension_section);
27033 784 : storageOf_gnu_extension_alias.storeDataInEasyStorageClass(source->p_gnu_extension_alias);
27034 784 : storageOf_gnu_extension_visability = source->p_gnu_extension_visability ;
27035 784 : storageOf_name_qualification_length = source->p_name_qualification_length ;
27036 784 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
27037 784 : storageOf_global_qualification_required = source->p_global_qualification_required ;
27038 784 : storageOf_name_qualification_length_for_return_type = source->p_name_qualification_length_for_return_type ;
27039 784 : storageOf_type_elaboration_required_for_return_type = source->p_type_elaboration_required_for_return_type ;
27040 784 : storageOf_global_qualification_required_for_return_type = source->p_global_qualification_required_for_return_type ;
27041 784 : storageOf_prototypeIsWithoutParameters = source->p_prototypeIsWithoutParameters ;
27042 784 : storageOf_gnu_regparm_attribute = source->p_gnu_regparm_attribute ;
27043 784 : storageOf_type_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_syntax );
27044 784 : storageOf_type_syntax_is_available = source->p_type_syntax_is_available ;
27045 784 : storageOf_parameterList_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList_syntax );
27046 784 : storageOf_using_C11_Noreturn_keyword = source->p_using_C11_Noreturn_keyword ;
27047 784 : storageOf_is_constexpr = source->p_is_constexpr ;
27048 784 : storageOf_using_new_function_return_type_syntax = source->p_using_new_function_return_type_syntax ;
27049 784 : storageOf_functionParameterScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_functionParameterScope );
27050 784 : storageOf_marked_as_edg_normalization = source->p_marked_as_edg_normalization ;
27051 784 : storageOf_is_implicit_function = source->p_is_implicit_function ;
27052 784 : storageOf_decl_attributes = source->p_decl_attributes ;
27053 784 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
27054 784 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
27055 784 : storageOf_nameOnly = source->p_nameOnly ;
27056 784 : storageOf_forward = source->p_forward ;
27057 784 : storageOf_externBrace = source->p_externBrace ;
27058 784 : storageOf_skipElaborateType = source->p_skipElaborateType ;
27059 784 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
27060 784 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
27061 784 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
27062 784 : unsigned int tempListCountqualifiedNameList = 0;
27063 784 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
27064 784 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
27065 : {
27066 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
27067 0 : tempListCountqualifiedNameList++;
27068 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
27069 : }
27070 784 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
27071 784 : tempListCountqualifiedNameList = 0;
27072 784 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
27073 784 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
27074 : {
27075 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
27076 0 : tempListCountqualifiedNameList++;
27077 : }
27078 784 : delete [] tempListqualifiedNameList;
27079 784 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
27080 784 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
27081 784 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
27082 784 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
27083 784 : storageOf_source_sequence_value = source->p_source_sequence_value ;
27084 784 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
27085 784 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
27086 784 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
27087 784 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
27088 784 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
27089 784 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
27090 784 : storageOf_isModified = source->p_isModified ;
27091 784 : storageOf_containsTransformation = source->p_containsTransformation ;
27092 784 : }
27093 :
27094 : void
27095 0 : SgMemberFunctionDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
27096 : {
27097 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27098 0 : SgFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27099 0 : SgSpecialFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27100 0 : EasyStorage < SgTypePtrList > :: arrangeMemoryPoolInOneBlock() ;
27101 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
27102 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27103 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
27104 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
27105 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
27106 0 : }
27107 :
27108 : void
27109 2 : SgMemberFunctionDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
27110 : {
27111 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27112 2 : SgFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27113 2 : SgSpecialFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27114 2 : EasyStorage < SgTypePtrList > :: deleteMemoryPool() ;
27115 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
27116 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27117 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
27118 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
27119 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
27120 2 : }
27121 :
27122 : void
27123 1 : SgMemberFunctionDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
27124 : {
27125 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
27126 1 : SgFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27127 1 : SgSpecialFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27128 1 : EasyStorage < SgTypePtrList > :: writeToFile(out) ;
27129 1 : EasyStorage < std::string > :: writeToFile(out) ;
27130 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27131 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
27132 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
27133 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
27134 1 : }
27135 :
27136 :
27137 : void
27138 1 : SgMemberFunctionDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
27139 : {
27140 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
27141 1 : SgFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27142 1 : SgSpecialFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27143 1 : EasyStorage < SgTypePtrList > :: readFromFile(in) ;
27144 1 : EasyStorage < std::string > :: readFromFile(in) ;
27145 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27146 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
27147 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
27148 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
27149 1 : }
27150 :
27151 :
27152 :
27153 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
27154 :
27155 :
27156 : // ********************************************************
27157 :
27158 : /* #line 27159 "../../../src/frontend/SageIII//StorageClasses.C" */
27159 :
27160 :
27161 :
27162 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
27163 :
27164 : // ****************************************************************
27165 : // member functions definition specific to each node in the grammar
27166 : // these are the SgTemplateMemberFunctionDeclarationStorageClass parts !!!!
27167 : // ROSETTA generated code. Do not change by hand.
27168 : // ****************************************************************
27169 :
27170 :
27171 : /* #line 27172 "../../../src/frontend/SageIII//StorageClasses.C" */
27172 :
27173 :
27174 : void
27175 1905 : SgTemplateMemberFunctionDeclarationStorageClass::pickOutIRNodeData ( SgTemplateMemberFunctionDeclaration* pointer )
27176 : {
27177 1905 : SgTemplateMemberFunctionDeclaration* source = (SgTemplateMemberFunctionDeclaration*) (pointer);
27178 : #if FILE_IO_EXTRA_CHECK
27179 1905 : assert ( source != NULL ) ;
27180 1905 : assert ( source->p_freepointer != NULL) ;
27181 : #endif
27182 1905 : SgTemplateParameterPtrList::iterator i_templateParameters = source->p_templateParameters.begin() ;
27183 1905 : unsigned int tempListCounttemplateParameters = 0;
27184 1905 : SgTemplateParameterPtrList::value_type * tempListtemplateParameters = new SgTemplateParameterPtrList::value_type[ source->p_templateParameters.size() ];
27185 2649 : for ( ; i_templateParameters != source->p_templateParameters.end(); ++i_templateParameters )
27186 : {
27187 744 : tempListtemplateParameters[tempListCounttemplateParameters] = *i_templateParameters;
27188 744 : tempListCounttemplateParameters++;
27189 744 : (*i_templateParameters) = (SgTemplateParameterPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateParameters ) );
27190 : }
27191 1905 : storageOf_templateParameters.storeDataInEasyStorageClass(source->p_templateParameters);
27192 1905 : tempListCounttemplateParameters = 0;
27193 1905 : i_templateParameters = source->p_templateParameters.begin() ;
27194 2649 : for ( ; i_templateParameters != source->p_templateParameters.end(); ++i_templateParameters )
27195 : {
27196 744 : *i_templateParameters = tempListtemplateParameters[tempListCounttemplateParameters] ;
27197 744 : tempListCounttemplateParameters++;
27198 : }
27199 1905 : delete [] tempListtemplateParameters;
27200 1905 : SgTemplateArgumentPtrList::iterator i_templateSpecializationArguments = source->p_templateSpecializationArguments.begin() ;
27201 1905 : unsigned int tempListCounttemplateSpecializationArguments = 0;
27202 1905 : SgTemplateArgumentPtrList::value_type * tempListtemplateSpecializationArguments = new SgTemplateArgumentPtrList::value_type[ source->p_templateSpecializationArguments.size() ];
27203 1905 : for ( ; i_templateSpecializationArguments != source->p_templateSpecializationArguments.end(); ++i_templateSpecializationArguments )
27204 : {
27205 0 : tempListtemplateSpecializationArguments[tempListCounttemplateSpecializationArguments] = *i_templateSpecializationArguments;
27206 0 : tempListCounttemplateSpecializationArguments++;
27207 0 : (*i_templateSpecializationArguments) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateSpecializationArguments ) );
27208 : }
27209 1905 : storageOf_templateSpecializationArguments.storeDataInEasyStorageClass(source->p_templateSpecializationArguments);
27210 1905 : tempListCounttemplateSpecializationArguments = 0;
27211 1905 : i_templateSpecializationArguments = source->p_templateSpecializationArguments.begin() ;
27212 1905 : for ( ; i_templateSpecializationArguments != source->p_templateSpecializationArguments.end(); ++i_templateSpecializationArguments )
27213 : {
27214 0 : *i_templateSpecializationArguments = tempListtemplateSpecializationArguments[tempListCounttemplateSpecializationArguments] ;
27215 0 : tempListCounttemplateSpecializationArguments++;
27216 : }
27217 1905 : delete [] tempListtemplateSpecializationArguments;
27218 1905 : storageOf_string.pickOutIRNodeData( &(source->p_string) );
27219 1905 : storageOf_string_represents_function_body = source->p_string_represents_function_body ;
27220 1905 : storageOf_nonreal_decl_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_nonreal_decl_scope );
27221 1905 : storageOf_CtorInitializerList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_CtorInitializerList );
27222 1905 : storageOf_associatedClassDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_associatedClassDeclaration );
27223 1905 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
27224 1905 : storageOf_parameterList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList );
27225 1905 : storageOf_functionModifier.pickOutIRNodeData( &(source->p_functionModifier) );
27226 1905 : storageOf_specialFunctionModifier.pickOutIRNodeData( &(source->p_specialFunctionModifier) );
27227 1905 : SgTypePtrList::iterator i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
27228 1905 : unsigned int tempListCountexceptionSpecification = 0;
27229 1905 : SgTypePtrList::value_type * tempListexceptionSpecification = new SgTypePtrList::value_type[ source->p_exceptionSpecification.size() ];
27230 1905 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
27231 : {
27232 0 : tempListexceptionSpecification[tempListCountexceptionSpecification] = *i_exceptionSpecification;
27233 0 : tempListCountexceptionSpecification++;
27234 0 : (*i_exceptionSpecification) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_exceptionSpecification ) );
27235 : }
27236 1905 : storageOf_exceptionSpecification.storeDataInEasyStorageClass(source->p_exceptionSpecification);
27237 1905 : tempListCountexceptionSpecification = 0;
27238 1905 : i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
27239 1905 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
27240 : {
27241 0 : *i_exceptionSpecification = tempListexceptionSpecification[tempListCountexceptionSpecification] ;
27242 0 : tempListCountexceptionSpecification++;
27243 : }
27244 1905 : delete [] tempListexceptionSpecification;
27245 1905 : storageOf_named_in_end_statement = source->p_named_in_end_statement ;
27246 1905 : storageOf_asm_name.storeDataInEasyStorageClass(source->p_asm_name);
27247 1905 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
27248 1905 : storageOf_ada_formal_subprogram_decl = source->p_ada_formal_subprogram_decl ;
27249 1905 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
27250 1905 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
27251 1905 : storageOf_oldStyleDefinition = source->p_oldStyleDefinition ;
27252 1905 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
27253 1905 : storageOf_specialization = source->p_specialization ;
27254 1905 : storageOf_requiresNameQualificationOnReturnType = source->p_requiresNameQualificationOnReturnType ;
27255 1905 : storageOf_gnu_extension_section.storeDataInEasyStorageClass(source->p_gnu_extension_section);
27256 1905 : storageOf_gnu_extension_alias.storeDataInEasyStorageClass(source->p_gnu_extension_alias);
27257 1905 : storageOf_gnu_extension_visability = source->p_gnu_extension_visability ;
27258 1905 : storageOf_name_qualification_length = source->p_name_qualification_length ;
27259 1905 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
27260 1905 : storageOf_global_qualification_required = source->p_global_qualification_required ;
27261 1905 : storageOf_name_qualification_length_for_return_type = source->p_name_qualification_length_for_return_type ;
27262 1905 : storageOf_type_elaboration_required_for_return_type = source->p_type_elaboration_required_for_return_type ;
27263 1905 : storageOf_global_qualification_required_for_return_type = source->p_global_qualification_required_for_return_type ;
27264 1905 : storageOf_prototypeIsWithoutParameters = source->p_prototypeIsWithoutParameters ;
27265 1905 : storageOf_gnu_regparm_attribute = source->p_gnu_regparm_attribute ;
27266 1905 : storageOf_type_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_syntax );
27267 1905 : storageOf_type_syntax_is_available = source->p_type_syntax_is_available ;
27268 1905 : storageOf_parameterList_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList_syntax );
27269 1905 : storageOf_using_C11_Noreturn_keyword = source->p_using_C11_Noreturn_keyword ;
27270 1905 : storageOf_is_constexpr = source->p_is_constexpr ;
27271 1905 : storageOf_using_new_function_return_type_syntax = source->p_using_new_function_return_type_syntax ;
27272 1905 : storageOf_functionParameterScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_functionParameterScope );
27273 1905 : storageOf_marked_as_edg_normalization = source->p_marked_as_edg_normalization ;
27274 1905 : storageOf_is_implicit_function = source->p_is_implicit_function ;
27275 1905 : storageOf_decl_attributes = source->p_decl_attributes ;
27276 1905 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
27277 1905 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
27278 1905 : storageOf_nameOnly = source->p_nameOnly ;
27279 1905 : storageOf_forward = source->p_forward ;
27280 1905 : storageOf_externBrace = source->p_externBrace ;
27281 1905 : storageOf_skipElaborateType = source->p_skipElaborateType ;
27282 1905 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
27283 1905 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
27284 1905 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
27285 1905 : unsigned int tempListCountqualifiedNameList = 0;
27286 1905 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
27287 1905 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
27288 : {
27289 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
27290 0 : tempListCountqualifiedNameList++;
27291 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
27292 : }
27293 1905 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
27294 1905 : tempListCountqualifiedNameList = 0;
27295 1905 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
27296 1905 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
27297 : {
27298 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
27299 0 : tempListCountqualifiedNameList++;
27300 : }
27301 1905 : delete [] tempListqualifiedNameList;
27302 1905 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
27303 1905 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
27304 1905 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
27305 1905 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
27306 1905 : storageOf_source_sequence_value = source->p_source_sequence_value ;
27307 1905 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
27308 1905 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
27309 1905 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
27310 1905 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
27311 1905 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
27312 1905 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
27313 1905 : storageOf_isModified = source->p_isModified ;
27314 1905 : storageOf_containsTransformation = source->p_containsTransformation ;
27315 1905 : }
27316 :
27317 : void
27318 0 : SgTemplateMemberFunctionDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
27319 : {
27320 0 : EasyStorage < SgTemplateParameterPtrList > :: arrangeMemoryPoolInOneBlock() ;
27321 0 : EasyStorage < SgTemplateArgumentPtrList > :: arrangeMemoryPoolInOneBlock() ;
27322 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27323 0 : SgFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27324 0 : SgSpecialFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27325 0 : EasyStorage < SgTypePtrList > :: arrangeMemoryPoolInOneBlock() ;
27326 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
27327 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27328 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
27329 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
27330 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
27331 0 : }
27332 :
27333 : void
27334 2 : SgTemplateMemberFunctionDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
27335 : {
27336 2 : EasyStorage < SgTemplateParameterPtrList > :: deleteMemoryPool() ;
27337 2 : EasyStorage < SgTemplateArgumentPtrList > :: deleteMemoryPool() ;
27338 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27339 2 : SgFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27340 2 : SgSpecialFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27341 2 : EasyStorage < SgTypePtrList > :: deleteMemoryPool() ;
27342 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
27343 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27344 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
27345 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
27346 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
27347 2 : }
27348 :
27349 : void
27350 1 : SgTemplateMemberFunctionDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
27351 : {
27352 1 : EasyStorage < SgTemplateParameterPtrList > :: writeToFile(out) ;
27353 1 : EasyStorage < SgTemplateArgumentPtrList > :: writeToFile(out) ;
27354 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
27355 1 : SgFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27356 1 : SgSpecialFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27357 1 : EasyStorage < SgTypePtrList > :: writeToFile(out) ;
27358 1 : EasyStorage < std::string > :: writeToFile(out) ;
27359 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27360 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
27361 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
27362 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
27363 1 : }
27364 :
27365 :
27366 : void
27367 1 : SgTemplateMemberFunctionDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
27368 : {
27369 1 : EasyStorage < SgTemplateParameterPtrList > :: readFromFile(in) ;
27370 1 : EasyStorage < SgTemplateArgumentPtrList > :: readFromFile(in) ;
27371 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
27372 1 : SgFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27373 1 : SgSpecialFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27374 1 : EasyStorage < SgTypePtrList > :: readFromFile(in) ;
27375 1 : EasyStorage < std::string > :: readFromFile(in) ;
27376 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27377 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
27378 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
27379 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
27380 1 : }
27381 :
27382 :
27383 :
27384 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
27385 :
27386 :
27387 : // ********************************************************
27388 :
27389 : /* #line 27390 "../../../src/frontend/SageIII//StorageClasses.C" */
27390 :
27391 :
27392 :
27393 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
27394 :
27395 : // ****************************************************************
27396 : // member functions definition specific to each node in the grammar
27397 : // these are the SgTemplateInstantiationMemberFunctionDeclStorageClass parts !!!!
27398 : // ROSETTA generated code. Do not change by hand.
27399 : // ****************************************************************
27400 :
27401 :
27402 : /* #line 27403 "../../../src/frontend/SageIII//StorageClasses.C" */
27403 :
27404 :
27405 : void
27406 1739 : SgTemplateInstantiationMemberFunctionDeclStorageClass::pickOutIRNodeData ( SgTemplateInstantiationMemberFunctionDecl* pointer )
27407 : {
27408 1739 : SgTemplateInstantiationMemberFunctionDecl* source = (SgTemplateInstantiationMemberFunctionDecl*) (pointer);
27409 : #if FILE_IO_EXTRA_CHECK
27410 1739 : assert ( source != NULL ) ;
27411 1739 : assert ( source->p_freepointer != NULL) ;
27412 : #endif
27413 1739 : storageOf_templateName.pickOutIRNodeData( &(source->p_templateName) );
27414 1739 : storageOf_templateDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_templateDeclaration );
27415 1739 : SgTemplateArgumentPtrList::iterator i_templateArguments = source->p_templateArguments.begin() ;
27416 1739 : unsigned int tempListCounttemplateArguments = 0;
27417 1739 : SgTemplateArgumentPtrList::value_type * tempListtemplateArguments = new SgTemplateArgumentPtrList::value_type[ source->p_templateArguments.size() ];
27418 1877 : for ( ; i_templateArguments != source->p_templateArguments.end(); ++i_templateArguments )
27419 : {
27420 138 : tempListtemplateArguments[tempListCounttemplateArguments] = *i_templateArguments;
27421 138 : tempListCounttemplateArguments++;
27422 138 : (*i_templateArguments) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateArguments ) );
27423 : }
27424 1739 : storageOf_templateArguments.storeDataInEasyStorageClass(source->p_templateArguments);
27425 1739 : tempListCounttemplateArguments = 0;
27426 1739 : i_templateArguments = source->p_templateArguments.begin() ;
27427 1877 : for ( ; i_templateArguments != source->p_templateArguments.end(); ++i_templateArguments )
27428 : {
27429 138 : *i_templateArguments = tempListtemplateArguments[tempListCounttemplateArguments] ;
27430 138 : tempListCounttemplateArguments++;
27431 : }
27432 1739 : delete [] tempListtemplateArguments;
27433 1739 : storageOf_nameResetFromMangledForm = source->p_nameResetFromMangledForm ;
27434 1739 : storageOf_template_argument_list_is_explicit = source->p_template_argument_list_is_explicit ;
27435 1739 : storageOf_CtorInitializerList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_CtorInitializerList );
27436 1739 : storageOf_associatedClassDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_associatedClassDeclaration );
27437 1739 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
27438 1739 : storageOf_parameterList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList );
27439 1739 : storageOf_functionModifier.pickOutIRNodeData( &(source->p_functionModifier) );
27440 1739 : storageOf_specialFunctionModifier.pickOutIRNodeData( &(source->p_specialFunctionModifier) );
27441 1739 : SgTypePtrList::iterator i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
27442 1739 : unsigned int tempListCountexceptionSpecification = 0;
27443 1739 : SgTypePtrList::value_type * tempListexceptionSpecification = new SgTypePtrList::value_type[ source->p_exceptionSpecification.size() ];
27444 1739 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
27445 : {
27446 0 : tempListexceptionSpecification[tempListCountexceptionSpecification] = *i_exceptionSpecification;
27447 0 : tempListCountexceptionSpecification++;
27448 0 : (*i_exceptionSpecification) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_exceptionSpecification ) );
27449 : }
27450 1739 : storageOf_exceptionSpecification.storeDataInEasyStorageClass(source->p_exceptionSpecification);
27451 1739 : tempListCountexceptionSpecification = 0;
27452 1739 : i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
27453 1739 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
27454 : {
27455 0 : *i_exceptionSpecification = tempListexceptionSpecification[tempListCountexceptionSpecification] ;
27456 0 : tempListCountexceptionSpecification++;
27457 : }
27458 1739 : delete [] tempListexceptionSpecification;
27459 1739 : storageOf_named_in_end_statement = source->p_named_in_end_statement ;
27460 1739 : storageOf_asm_name.storeDataInEasyStorageClass(source->p_asm_name);
27461 1739 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
27462 1739 : storageOf_ada_formal_subprogram_decl = source->p_ada_formal_subprogram_decl ;
27463 1739 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
27464 1739 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
27465 1739 : storageOf_oldStyleDefinition = source->p_oldStyleDefinition ;
27466 1739 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
27467 1739 : storageOf_specialization = source->p_specialization ;
27468 1739 : storageOf_requiresNameQualificationOnReturnType = source->p_requiresNameQualificationOnReturnType ;
27469 1739 : storageOf_gnu_extension_section.storeDataInEasyStorageClass(source->p_gnu_extension_section);
27470 1739 : storageOf_gnu_extension_alias.storeDataInEasyStorageClass(source->p_gnu_extension_alias);
27471 1739 : storageOf_gnu_extension_visability = source->p_gnu_extension_visability ;
27472 1739 : storageOf_name_qualification_length = source->p_name_qualification_length ;
27473 1739 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
27474 1739 : storageOf_global_qualification_required = source->p_global_qualification_required ;
27475 1739 : storageOf_name_qualification_length_for_return_type = source->p_name_qualification_length_for_return_type ;
27476 1739 : storageOf_type_elaboration_required_for_return_type = source->p_type_elaboration_required_for_return_type ;
27477 1739 : storageOf_global_qualification_required_for_return_type = source->p_global_qualification_required_for_return_type ;
27478 1739 : storageOf_prototypeIsWithoutParameters = source->p_prototypeIsWithoutParameters ;
27479 1739 : storageOf_gnu_regparm_attribute = source->p_gnu_regparm_attribute ;
27480 1739 : storageOf_type_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_syntax );
27481 1739 : storageOf_type_syntax_is_available = source->p_type_syntax_is_available ;
27482 1739 : storageOf_parameterList_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList_syntax );
27483 1739 : storageOf_using_C11_Noreturn_keyword = source->p_using_C11_Noreturn_keyword ;
27484 1739 : storageOf_is_constexpr = source->p_is_constexpr ;
27485 1739 : storageOf_using_new_function_return_type_syntax = source->p_using_new_function_return_type_syntax ;
27486 1739 : storageOf_functionParameterScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_functionParameterScope );
27487 1739 : storageOf_marked_as_edg_normalization = source->p_marked_as_edg_normalization ;
27488 1739 : storageOf_is_implicit_function = source->p_is_implicit_function ;
27489 1739 : storageOf_decl_attributes = source->p_decl_attributes ;
27490 1739 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
27491 1739 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
27492 1739 : storageOf_nameOnly = source->p_nameOnly ;
27493 1739 : storageOf_forward = source->p_forward ;
27494 1739 : storageOf_externBrace = source->p_externBrace ;
27495 1739 : storageOf_skipElaborateType = source->p_skipElaborateType ;
27496 1739 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
27497 1739 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
27498 1739 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
27499 1739 : unsigned int tempListCountqualifiedNameList = 0;
27500 1739 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
27501 1739 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
27502 : {
27503 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
27504 0 : tempListCountqualifiedNameList++;
27505 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
27506 : }
27507 1739 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
27508 1739 : tempListCountqualifiedNameList = 0;
27509 1739 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
27510 1739 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
27511 : {
27512 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
27513 0 : tempListCountqualifiedNameList++;
27514 : }
27515 1739 : delete [] tempListqualifiedNameList;
27516 1739 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
27517 1739 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
27518 1739 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
27519 1739 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
27520 1739 : storageOf_source_sequence_value = source->p_source_sequence_value ;
27521 1739 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
27522 1739 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
27523 1739 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
27524 1739 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
27525 1739 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
27526 1739 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
27527 1739 : storageOf_isModified = source->p_isModified ;
27528 1739 : storageOf_containsTransformation = source->p_containsTransformation ;
27529 1739 : }
27530 :
27531 : void
27532 0 : SgTemplateInstantiationMemberFunctionDeclStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
27533 : {
27534 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27535 0 : EasyStorage < SgTemplateArgumentPtrList > :: arrangeMemoryPoolInOneBlock() ;
27536 0 : SgFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27537 0 : SgSpecialFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27538 0 : EasyStorage < SgTypePtrList > :: arrangeMemoryPoolInOneBlock() ;
27539 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
27540 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27541 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
27542 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
27543 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
27544 0 : }
27545 :
27546 : void
27547 2 : SgTemplateInstantiationMemberFunctionDeclStorageClass::deleteStaticDataOfEasyStorageClasses ( )
27548 : {
27549 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27550 2 : EasyStorage < SgTemplateArgumentPtrList > :: deleteMemoryPool() ;
27551 2 : SgFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27552 2 : SgSpecialFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27553 2 : EasyStorage < SgTypePtrList > :: deleteMemoryPool() ;
27554 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
27555 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27556 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
27557 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
27558 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
27559 2 : }
27560 :
27561 : void
27562 1 : SgTemplateInstantiationMemberFunctionDeclStorageClass::writeEasyStorageDataToFile (std::ostream& out)
27563 : {
27564 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
27565 1 : EasyStorage < SgTemplateArgumentPtrList > :: writeToFile(out) ;
27566 1 : SgFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27567 1 : SgSpecialFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27568 1 : EasyStorage < SgTypePtrList > :: writeToFile(out) ;
27569 1 : EasyStorage < std::string > :: writeToFile(out) ;
27570 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27571 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
27572 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
27573 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
27574 1 : }
27575 :
27576 :
27577 : void
27578 1 : SgTemplateInstantiationMemberFunctionDeclStorageClass::readEasyStorageDataFromFile (std::istream& in)
27579 : {
27580 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
27581 1 : EasyStorage < SgTemplateArgumentPtrList > :: readFromFile(in) ;
27582 1 : SgFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27583 1 : SgSpecialFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27584 1 : EasyStorage < SgTypePtrList > :: readFromFile(in) ;
27585 1 : EasyStorage < std::string > :: readFromFile(in) ;
27586 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27587 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
27588 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
27589 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
27590 1 : }
27591 :
27592 :
27593 :
27594 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
27595 :
27596 :
27597 : // ********************************************************
27598 :
27599 : /* #line 27600 "../../../src/frontend/SageIII//StorageClasses.C" */
27600 :
27601 :
27602 :
27603 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
27604 :
27605 : // ****************************************************************
27606 : // member functions definition specific to each node in the grammar
27607 : // these are the SgTemplateInstantiationFunctionDeclStorageClass parts !!!!
27608 : // ROSETTA generated code. Do not change by hand.
27609 : // ****************************************************************
27610 :
27611 :
27612 : /* #line 27613 "../../../src/frontend/SageIII//StorageClasses.C" */
27613 :
27614 :
27615 : void
27616 283 : SgTemplateInstantiationFunctionDeclStorageClass::pickOutIRNodeData ( SgTemplateInstantiationFunctionDecl* pointer )
27617 : {
27618 283 : SgTemplateInstantiationFunctionDecl* source = (SgTemplateInstantiationFunctionDecl*) (pointer);
27619 : #if FILE_IO_EXTRA_CHECK
27620 283 : assert ( source != NULL ) ;
27621 283 : assert ( source->p_freepointer != NULL) ;
27622 : #endif
27623 283 : storageOf_templateName.pickOutIRNodeData( &(source->p_templateName) );
27624 283 : storageOf_templateDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_templateDeclaration );
27625 283 : SgTemplateArgumentPtrList::iterator i_templateArguments = source->p_templateArguments.begin() ;
27626 283 : unsigned int tempListCounttemplateArguments = 0;
27627 283 : SgTemplateArgumentPtrList::value_type * tempListtemplateArguments = new SgTemplateArgumentPtrList::value_type[ source->p_templateArguments.size() ];
27628 791 : for ( ; i_templateArguments != source->p_templateArguments.end(); ++i_templateArguments )
27629 : {
27630 508 : tempListtemplateArguments[tempListCounttemplateArguments] = *i_templateArguments;
27631 508 : tempListCounttemplateArguments++;
27632 508 : (*i_templateArguments) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_templateArguments ) );
27633 : }
27634 283 : storageOf_templateArguments.storeDataInEasyStorageClass(source->p_templateArguments);
27635 283 : tempListCounttemplateArguments = 0;
27636 283 : i_templateArguments = source->p_templateArguments.begin() ;
27637 791 : for ( ; i_templateArguments != source->p_templateArguments.end(); ++i_templateArguments )
27638 : {
27639 508 : *i_templateArguments = tempListtemplateArguments[tempListCounttemplateArguments] ;
27640 508 : tempListCounttemplateArguments++;
27641 : }
27642 283 : delete [] tempListtemplateArguments;
27643 283 : storageOf_nameResetFromMangledForm = source->p_nameResetFromMangledForm ;
27644 283 : storageOf_template_argument_list_is_explicit = source->p_template_argument_list_is_explicit ;
27645 283 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
27646 283 : storageOf_parameterList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList );
27647 283 : storageOf_functionModifier.pickOutIRNodeData( &(source->p_functionModifier) );
27648 283 : storageOf_specialFunctionModifier.pickOutIRNodeData( &(source->p_specialFunctionModifier) );
27649 283 : SgTypePtrList::iterator i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
27650 283 : unsigned int tempListCountexceptionSpecification = 0;
27651 283 : SgTypePtrList::value_type * tempListexceptionSpecification = new SgTypePtrList::value_type[ source->p_exceptionSpecification.size() ];
27652 283 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
27653 : {
27654 0 : tempListexceptionSpecification[tempListCountexceptionSpecification] = *i_exceptionSpecification;
27655 0 : tempListCountexceptionSpecification++;
27656 0 : (*i_exceptionSpecification) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_exceptionSpecification ) );
27657 : }
27658 283 : storageOf_exceptionSpecification.storeDataInEasyStorageClass(source->p_exceptionSpecification);
27659 283 : tempListCountexceptionSpecification = 0;
27660 283 : i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
27661 283 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
27662 : {
27663 0 : *i_exceptionSpecification = tempListexceptionSpecification[tempListCountexceptionSpecification] ;
27664 0 : tempListCountexceptionSpecification++;
27665 : }
27666 283 : delete [] tempListexceptionSpecification;
27667 283 : storageOf_named_in_end_statement = source->p_named_in_end_statement ;
27668 283 : storageOf_asm_name.storeDataInEasyStorageClass(source->p_asm_name);
27669 283 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
27670 283 : storageOf_ada_formal_subprogram_decl = source->p_ada_formal_subprogram_decl ;
27671 283 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
27672 283 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
27673 283 : storageOf_oldStyleDefinition = source->p_oldStyleDefinition ;
27674 283 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
27675 283 : storageOf_specialization = source->p_specialization ;
27676 283 : storageOf_requiresNameQualificationOnReturnType = source->p_requiresNameQualificationOnReturnType ;
27677 283 : storageOf_gnu_extension_section.storeDataInEasyStorageClass(source->p_gnu_extension_section);
27678 283 : storageOf_gnu_extension_alias.storeDataInEasyStorageClass(source->p_gnu_extension_alias);
27679 283 : storageOf_gnu_extension_visability = source->p_gnu_extension_visability ;
27680 283 : storageOf_name_qualification_length = source->p_name_qualification_length ;
27681 283 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
27682 283 : storageOf_global_qualification_required = source->p_global_qualification_required ;
27683 283 : storageOf_name_qualification_length_for_return_type = source->p_name_qualification_length_for_return_type ;
27684 283 : storageOf_type_elaboration_required_for_return_type = source->p_type_elaboration_required_for_return_type ;
27685 283 : storageOf_global_qualification_required_for_return_type = source->p_global_qualification_required_for_return_type ;
27686 283 : storageOf_prototypeIsWithoutParameters = source->p_prototypeIsWithoutParameters ;
27687 283 : storageOf_gnu_regparm_attribute = source->p_gnu_regparm_attribute ;
27688 283 : storageOf_type_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_syntax );
27689 283 : storageOf_type_syntax_is_available = source->p_type_syntax_is_available ;
27690 283 : storageOf_parameterList_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList_syntax );
27691 283 : storageOf_using_C11_Noreturn_keyword = source->p_using_C11_Noreturn_keyword ;
27692 283 : storageOf_is_constexpr = source->p_is_constexpr ;
27693 283 : storageOf_using_new_function_return_type_syntax = source->p_using_new_function_return_type_syntax ;
27694 283 : storageOf_functionParameterScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_functionParameterScope );
27695 283 : storageOf_marked_as_edg_normalization = source->p_marked_as_edg_normalization ;
27696 283 : storageOf_is_implicit_function = source->p_is_implicit_function ;
27697 283 : storageOf_decl_attributes = source->p_decl_attributes ;
27698 283 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
27699 283 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
27700 283 : storageOf_nameOnly = source->p_nameOnly ;
27701 283 : storageOf_forward = source->p_forward ;
27702 283 : storageOf_externBrace = source->p_externBrace ;
27703 283 : storageOf_skipElaborateType = source->p_skipElaborateType ;
27704 283 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
27705 283 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
27706 283 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
27707 283 : unsigned int tempListCountqualifiedNameList = 0;
27708 283 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
27709 283 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
27710 : {
27711 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
27712 0 : tempListCountqualifiedNameList++;
27713 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
27714 : }
27715 283 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
27716 283 : tempListCountqualifiedNameList = 0;
27717 283 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
27718 283 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
27719 : {
27720 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
27721 0 : tempListCountqualifiedNameList++;
27722 : }
27723 283 : delete [] tempListqualifiedNameList;
27724 283 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
27725 283 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
27726 283 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
27727 283 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
27728 283 : storageOf_source_sequence_value = source->p_source_sequence_value ;
27729 283 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
27730 283 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
27731 283 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
27732 283 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
27733 283 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
27734 283 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
27735 283 : storageOf_isModified = source->p_isModified ;
27736 283 : storageOf_containsTransformation = source->p_containsTransformation ;
27737 283 : }
27738 :
27739 : void
27740 0 : SgTemplateInstantiationFunctionDeclStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
27741 : {
27742 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27743 0 : EasyStorage < SgTemplateArgumentPtrList > :: arrangeMemoryPoolInOneBlock() ;
27744 0 : SgFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27745 0 : SgSpecialFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27746 0 : EasyStorage < SgTypePtrList > :: arrangeMemoryPoolInOneBlock() ;
27747 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
27748 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27749 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
27750 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
27751 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
27752 0 : }
27753 :
27754 : void
27755 2 : SgTemplateInstantiationFunctionDeclStorageClass::deleteStaticDataOfEasyStorageClasses ( )
27756 : {
27757 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27758 2 : EasyStorage < SgTemplateArgumentPtrList > :: deleteMemoryPool() ;
27759 2 : SgFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27760 2 : SgSpecialFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27761 2 : EasyStorage < SgTypePtrList > :: deleteMemoryPool() ;
27762 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
27763 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27764 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
27765 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
27766 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
27767 2 : }
27768 :
27769 : void
27770 1 : SgTemplateInstantiationFunctionDeclStorageClass::writeEasyStorageDataToFile (std::ostream& out)
27771 : {
27772 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
27773 1 : EasyStorage < SgTemplateArgumentPtrList > :: writeToFile(out) ;
27774 1 : SgFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27775 1 : SgSpecialFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27776 1 : EasyStorage < SgTypePtrList > :: writeToFile(out) ;
27777 1 : EasyStorage < std::string > :: writeToFile(out) ;
27778 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27779 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
27780 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
27781 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
27782 1 : }
27783 :
27784 :
27785 : void
27786 1 : SgTemplateInstantiationFunctionDeclStorageClass::readEasyStorageDataFromFile (std::istream& in)
27787 : {
27788 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
27789 1 : EasyStorage < SgTemplateArgumentPtrList > :: readFromFile(in) ;
27790 1 : SgFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27791 1 : SgSpecialFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27792 1 : EasyStorage < SgTypePtrList > :: readFromFile(in) ;
27793 1 : EasyStorage < std::string > :: readFromFile(in) ;
27794 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27795 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
27796 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
27797 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
27798 1 : }
27799 :
27800 :
27801 :
27802 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
27803 :
27804 :
27805 : // ********************************************************
27806 :
27807 : /* #line 27808 "../../../src/frontend/SageIII//StorageClasses.C" */
27808 :
27809 :
27810 :
27811 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
27812 :
27813 : // ****************************************************************
27814 : // member functions definition specific to each node in the grammar
27815 : // these are the SgProgramHeaderStatementStorageClass parts !!!!
27816 : // ROSETTA generated code. Do not change by hand.
27817 : // ****************************************************************
27818 :
27819 :
27820 : /* #line 27821 "../../../src/frontend/SageIII//StorageClasses.C" */
27821 :
27822 :
27823 : void
27824 1 : SgProgramHeaderStatementStorageClass::pickOutIRNodeData ( SgProgramHeaderStatement* pointer )
27825 : {
27826 1 : SgProgramHeaderStatement* source = (SgProgramHeaderStatement*) (pointer);
27827 : #if FILE_IO_EXTRA_CHECK
27828 1 : assert ( source != NULL ) ;
27829 1 : assert ( source->p_freepointer != NULL) ;
27830 : #endif
27831 1 : storageOf_program_statement_explicit = source->p_program_statement_explicit ;
27832 1 : storageOf_end_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_numeric_label );
27833 1 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
27834 1 : storageOf_parameterList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList );
27835 1 : storageOf_functionModifier.pickOutIRNodeData( &(source->p_functionModifier) );
27836 1 : storageOf_specialFunctionModifier.pickOutIRNodeData( &(source->p_specialFunctionModifier) );
27837 1 : SgTypePtrList::iterator i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
27838 1 : unsigned int tempListCountexceptionSpecification = 0;
27839 1 : SgTypePtrList::value_type * tempListexceptionSpecification = new SgTypePtrList::value_type[ source->p_exceptionSpecification.size() ];
27840 1 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
27841 : {
27842 0 : tempListexceptionSpecification[tempListCountexceptionSpecification] = *i_exceptionSpecification;
27843 0 : tempListCountexceptionSpecification++;
27844 0 : (*i_exceptionSpecification) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_exceptionSpecification ) );
27845 : }
27846 1 : storageOf_exceptionSpecification.storeDataInEasyStorageClass(source->p_exceptionSpecification);
27847 1 : tempListCountexceptionSpecification = 0;
27848 1 : i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
27849 1 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
27850 : {
27851 0 : *i_exceptionSpecification = tempListexceptionSpecification[tempListCountexceptionSpecification] ;
27852 0 : tempListCountexceptionSpecification++;
27853 : }
27854 1 : delete [] tempListexceptionSpecification;
27855 1 : storageOf_named_in_end_statement = source->p_named_in_end_statement ;
27856 1 : storageOf_asm_name.storeDataInEasyStorageClass(source->p_asm_name);
27857 1 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
27858 1 : storageOf_ada_formal_subprogram_decl = source->p_ada_formal_subprogram_decl ;
27859 1 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
27860 1 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
27861 1 : storageOf_oldStyleDefinition = source->p_oldStyleDefinition ;
27862 1 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
27863 1 : storageOf_specialization = source->p_specialization ;
27864 1 : storageOf_requiresNameQualificationOnReturnType = source->p_requiresNameQualificationOnReturnType ;
27865 1 : storageOf_gnu_extension_section.storeDataInEasyStorageClass(source->p_gnu_extension_section);
27866 1 : storageOf_gnu_extension_alias.storeDataInEasyStorageClass(source->p_gnu_extension_alias);
27867 1 : storageOf_gnu_extension_visability = source->p_gnu_extension_visability ;
27868 1 : storageOf_name_qualification_length = source->p_name_qualification_length ;
27869 1 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
27870 1 : storageOf_global_qualification_required = source->p_global_qualification_required ;
27871 1 : storageOf_name_qualification_length_for_return_type = source->p_name_qualification_length_for_return_type ;
27872 1 : storageOf_type_elaboration_required_for_return_type = source->p_type_elaboration_required_for_return_type ;
27873 1 : storageOf_global_qualification_required_for_return_type = source->p_global_qualification_required_for_return_type ;
27874 1 : storageOf_prototypeIsWithoutParameters = source->p_prototypeIsWithoutParameters ;
27875 1 : storageOf_gnu_regparm_attribute = source->p_gnu_regparm_attribute ;
27876 1 : storageOf_type_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_syntax );
27877 1 : storageOf_type_syntax_is_available = source->p_type_syntax_is_available ;
27878 1 : storageOf_parameterList_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList_syntax );
27879 1 : storageOf_using_C11_Noreturn_keyword = source->p_using_C11_Noreturn_keyword ;
27880 1 : storageOf_is_constexpr = source->p_is_constexpr ;
27881 1 : storageOf_using_new_function_return_type_syntax = source->p_using_new_function_return_type_syntax ;
27882 1 : storageOf_functionParameterScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_functionParameterScope );
27883 1 : storageOf_marked_as_edg_normalization = source->p_marked_as_edg_normalization ;
27884 1 : storageOf_is_implicit_function = source->p_is_implicit_function ;
27885 1 : storageOf_decl_attributes = source->p_decl_attributes ;
27886 1 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
27887 1 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
27888 1 : storageOf_nameOnly = source->p_nameOnly ;
27889 1 : storageOf_forward = source->p_forward ;
27890 1 : storageOf_externBrace = source->p_externBrace ;
27891 1 : storageOf_skipElaborateType = source->p_skipElaborateType ;
27892 1 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
27893 1 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
27894 1 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
27895 1 : unsigned int tempListCountqualifiedNameList = 0;
27896 1 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
27897 1 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
27898 : {
27899 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
27900 0 : tempListCountqualifiedNameList++;
27901 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
27902 : }
27903 1 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
27904 1 : tempListCountqualifiedNameList = 0;
27905 1 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
27906 1 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
27907 : {
27908 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
27909 0 : tempListCountqualifiedNameList++;
27910 : }
27911 1 : delete [] tempListqualifiedNameList;
27912 1 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
27913 1 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
27914 1 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
27915 1 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
27916 1 : storageOf_source_sequence_value = source->p_source_sequence_value ;
27917 1 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
27918 1 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
27919 1 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
27920 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
27921 1 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
27922 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
27923 1 : storageOf_isModified = source->p_isModified ;
27924 1 : storageOf_containsTransformation = source->p_containsTransformation ;
27925 1 : }
27926 :
27927 : void
27928 0 : SgProgramHeaderStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
27929 : {
27930 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27931 0 : SgFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27932 0 : SgSpecialFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27933 0 : EasyStorage < SgTypePtrList > :: arrangeMemoryPoolInOneBlock() ;
27934 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
27935 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
27936 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
27937 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
27938 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
27939 0 : }
27940 :
27941 : void
27942 2 : SgProgramHeaderStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
27943 : {
27944 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27945 2 : SgFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27946 2 : SgSpecialFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27947 2 : EasyStorage < SgTypePtrList > :: deleteMemoryPool() ;
27948 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
27949 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
27950 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
27951 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
27952 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
27953 2 : }
27954 :
27955 : void
27956 1 : SgProgramHeaderStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
27957 : {
27958 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
27959 1 : SgFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27960 1 : SgSpecialFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27961 1 : EasyStorage < SgTypePtrList > :: writeToFile(out) ;
27962 1 : EasyStorage < std::string > :: writeToFile(out) ;
27963 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
27964 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
27965 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
27966 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
27967 1 : }
27968 :
27969 :
27970 : void
27971 0 : SgProgramHeaderStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
27972 : {
27973 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
27974 0 : SgFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27975 0 : SgSpecialFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27976 0 : EasyStorage < SgTypePtrList > :: readFromFile(in) ;
27977 0 : EasyStorage < std::string > :: readFromFile(in) ;
27978 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
27979 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
27980 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
27981 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
27982 0 : }
27983 :
27984 :
27985 :
27986 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
27987 :
27988 :
27989 : // ********************************************************
27990 :
27991 : /* #line 27992 "../../../src/frontend/SageIII//StorageClasses.C" */
27992 :
27993 :
27994 :
27995 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
27996 :
27997 : // ****************************************************************
27998 : // member functions definition specific to each node in the grammar
27999 : // these are the SgProcedureHeaderStatementStorageClass parts !!!!
28000 : // ROSETTA generated code. Do not change by hand.
28001 : // ****************************************************************
28002 :
28003 :
28004 : /* #line 28005 "../../../src/frontend/SageIII//StorageClasses.C" */
28005 :
28006 :
28007 : void
28008 0 : SgProcedureHeaderStatementStorageClass::pickOutIRNodeData ( SgProcedureHeaderStatement* pointer )
28009 : {
28010 0 : SgProcedureHeaderStatement* source = (SgProcedureHeaderStatement*) (pointer);
28011 : #if FILE_IO_EXTRA_CHECK
28012 0 : assert ( source != NULL ) ;
28013 0 : assert ( source->p_freepointer != NULL) ;
28014 : #endif
28015 0 : storageOf_subprogram_kind = source->p_subprogram_kind ;
28016 0 : storageOf_end_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_numeric_label );
28017 0 : storageOf_result_name = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_result_name );
28018 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
28019 0 : storageOf_parameterList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList );
28020 0 : storageOf_functionModifier.pickOutIRNodeData( &(source->p_functionModifier) );
28021 0 : storageOf_specialFunctionModifier.pickOutIRNodeData( &(source->p_specialFunctionModifier) );
28022 0 : SgTypePtrList::iterator i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
28023 0 : unsigned int tempListCountexceptionSpecification = 0;
28024 0 : SgTypePtrList::value_type * tempListexceptionSpecification = new SgTypePtrList::value_type[ source->p_exceptionSpecification.size() ];
28025 0 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
28026 : {
28027 0 : tempListexceptionSpecification[tempListCountexceptionSpecification] = *i_exceptionSpecification;
28028 0 : tempListCountexceptionSpecification++;
28029 0 : (*i_exceptionSpecification) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_exceptionSpecification ) );
28030 : }
28031 0 : storageOf_exceptionSpecification.storeDataInEasyStorageClass(source->p_exceptionSpecification);
28032 0 : tempListCountexceptionSpecification = 0;
28033 0 : i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
28034 0 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
28035 : {
28036 0 : *i_exceptionSpecification = tempListexceptionSpecification[tempListCountexceptionSpecification] ;
28037 0 : tempListCountexceptionSpecification++;
28038 : }
28039 0 : delete [] tempListexceptionSpecification;
28040 0 : storageOf_named_in_end_statement = source->p_named_in_end_statement ;
28041 0 : storageOf_asm_name.storeDataInEasyStorageClass(source->p_asm_name);
28042 0 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
28043 0 : storageOf_ada_formal_subprogram_decl = source->p_ada_formal_subprogram_decl ;
28044 0 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
28045 0 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
28046 0 : storageOf_oldStyleDefinition = source->p_oldStyleDefinition ;
28047 0 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
28048 0 : storageOf_specialization = source->p_specialization ;
28049 0 : storageOf_requiresNameQualificationOnReturnType = source->p_requiresNameQualificationOnReturnType ;
28050 0 : storageOf_gnu_extension_section.storeDataInEasyStorageClass(source->p_gnu_extension_section);
28051 0 : storageOf_gnu_extension_alias.storeDataInEasyStorageClass(source->p_gnu_extension_alias);
28052 0 : storageOf_gnu_extension_visability = source->p_gnu_extension_visability ;
28053 0 : storageOf_name_qualification_length = source->p_name_qualification_length ;
28054 0 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
28055 0 : storageOf_global_qualification_required = source->p_global_qualification_required ;
28056 0 : storageOf_name_qualification_length_for_return_type = source->p_name_qualification_length_for_return_type ;
28057 0 : storageOf_type_elaboration_required_for_return_type = source->p_type_elaboration_required_for_return_type ;
28058 0 : storageOf_global_qualification_required_for_return_type = source->p_global_qualification_required_for_return_type ;
28059 0 : storageOf_prototypeIsWithoutParameters = source->p_prototypeIsWithoutParameters ;
28060 0 : storageOf_gnu_regparm_attribute = source->p_gnu_regparm_attribute ;
28061 0 : storageOf_type_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_syntax );
28062 0 : storageOf_type_syntax_is_available = source->p_type_syntax_is_available ;
28063 0 : storageOf_parameterList_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList_syntax );
28064 0 : storageOf_using_C11_Noreturn_keyword = source->p_using_C11_Noreturn_keyword ;
28065 0 : storageOf_is_constexpr = source->p_is_constexpr ;
28066 0 : storageOf_using_new_function_return_type_syntax = source->p_using_new_function_return_type_syntax ;
28067 0 : storageOf_functionParameterScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_functionParameterScope );
28068 0 : storageOf_marked_as_edg_normalization = source->p_marked_as_edg_normalization ;
28069 0 : storageOf_is_implicit_function = source->p_is_implicit_function ;
28070 0 : storageOf_decl_attributes = source->p_decl_attributes ;
28071 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
28072 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
28073 0 : storageOf_nameOnly = source->p_nameOnly ;
28074 0 : storageOf_forward = source->p_forward ;
28075 0 : storageOf_externBrace = source->p_externBrace ;
28076 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
28077 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
28078 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
28079 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28080 0 : unsigned int tempListCountqualifiedNameList = 0;
28081 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
28082 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28083 : {
28084 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
28085 0 : tempListCountqualifiedNameList++;
28086 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
28087 : }
28088 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
28089 0 : tempListCountqualifiedNameList = 0;
28090 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28091 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28092 : {
28093 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
28094 0 : tempListCountqualifiedNameList++;
28095 : }
28096 0 : delete [] tempListqualifiedNameList;
28097 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
28098 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
28099 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
28100 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
28101 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
28102 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
28103 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
28104 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
28105 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
28106 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
28107 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
28108 0 : storageOf_isModified = source->p_isModified ;
28109 0 : storageOf_containsTransformation = source->p_containsTransformation ;
28110 0 : }
28111 :
28112 : void
28113 0 : SgProcedureHeaderStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
28114 : {
28115 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28116 0 : SgFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28117 0 : SgSpecialFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28118 0 : EasyStorage < SgTypePtrList > :: arrangeMemoryPoolInOneBlock() ;
28119 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
28120 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28121 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
28122 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
28123 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
28124 0 : }
28125 :
28126 : void
28127 2 : SgProcedureHeaderStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
28128 : {
28129 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28130 2 : SgFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28131 2 : SgSpecialFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28132 2 : EasyStorage < SgTypePtrList > :: deleteMemoryPool() ;
28133 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
28134 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28135 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
28136 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
28137 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
28138 2 : }
28139 :
28140 : void
28141 0 : SgProcedureHeaderStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
28142 : {
28143 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
28144 0 : SgFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
28145 0 : SgSpecialFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
28146 0 : EasyStorage < SgTypePtrList > :: writeToFile(out) ;
28147 0 : EasyStorage < std::string > :: writeToFile(out) ;
28148 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
28149 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
28150 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
28151 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
28152 0 : }
28153 :
28154 :
28155 : void
28156 0 : SgProcedureHeaderStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
28157 : {
28158 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
28159 0 : SgFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
28160 0 : SgSpecialFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
28161 0 : EasyStorage < SgTypePtrList > :: readFromFile(in) ;
28162 0 : EasyStorage < std::string > :: readFromFile(in) ;
28163 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
28164 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
28165 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
28166 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
28167 0 : }
28168 :
28169 :
28170 :
28171 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28172 :
28173 :
28174 : // ********************************************************
28175 :
28176 : /* #line 28177 "../../../src/frontend/SageIII//StorageClasses.C" */
28177 :
28178 :
28179 :
28180 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28181 :
28182 : // ****************************************************************
28183 : // member functions definition specific to each node in the grammar
28184 : // these are the SgEntryStatementStorageClass parts !!!!
28185 : // ROSETTA generated code. Do not change by hand.
28186 : // ****************************************************************
28187 :
28188 :
28189 : /* #line 28190 "../../../src/frontend/SageIII//StorageClasses.C" */
28190 :
28191 :
28192 : void
28193 0 : SgEntryStatementStorageClass::pickOutIRNodeData ( SgEntryStatement* pointer )
28194 : {
28195 0 : SgEntryStatement* source = (SgEntryStatement*) (pointer);
28196 : #if FILE_IO_EXTRA_CHECK
28197 0 : assert ( source != NULL ) ;
28198 0 : assert ( source->p_freepointer != NULL) ;
28199 : #endif
28200 0 : storageOf_result_name = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_result_name );
28201 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
28202 0 : storageOf_parameterList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList );
28203 0 : storageOf_functionModifier.pickOutIRNodeData( &(source->p_functionModifier) );
28204 0 : storageOf_specialFunctionModifier.pickOutIRNodeData( &(source->p_specialFunctionModifier) );
28205 0 : SgTypePtrList::iterator i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
28206 0 : unsigned int tempListCountexceptionSpecification = 0;
28207 0 : SgTypePtrList::value_type * tempListexceptionSpecification = new SgTypePtrList::value_type[ source->p_exceptionSpecification.size() ];
28208 0 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
28209 : {
28210 0 : tempListexceptionSpecification[tempListCountexceptionSpecification] = *i_exceptionSpecification;
28211 0 : tempListCountexceptionSpecification++;
28212 0 : (*i_exceptionSpecification) = (SgTypePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_exceptionSpecification ) );
28213 : }
28214 0 : storageOf_exceptionSpecification.storeDataInEasyStorageClass(source->p_exceptionSpecification);
28215 0 : tempListCountexceptionSpecification = 0;
28216 0 : i_exceptionSpecification = source->p_exceptionSpecification.begin() ;
28217 0 : for ( ; i_exceptionSpecification != source->p_exceptionSpecification.end(); ++i_exceptionSpecification )
28218 : {
28219 0 : *i_exceptionSpecification = tempListexceptionSpecification[tempListCountexceptionSpecification] ;
28220 0 : tempListCountexceptionSpecification++;
28221 : }
28222 0 : delete [] tempListexceptionSpecification;
28223 0 : storageOf_named_in_end_statement = source->p_named_in_end_statement ;
28224 0 : storageOf_asm_name.storeDataInEasyStorageClass(source->p_asm_name);
28225 0 : storageOf_decoratorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decoratorList );
28226 0 : storageOf_ada_formal_subprogram_decl = source->p_ada_formal_subprogram_decl ;
28227 0 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
28228 0 : storageOf_definition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definition );
28229 0 : storageOf_oldStyleDefinition = source->p_oldStyleDefinition ;
28230 0 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
28231 0 : storageOf_specialization = source->p_specialization ;
28232 0 : storageOf_requiresNameQualificationOnReturnType = source->p_requiresNameQualificationOnReturnType ;
28233 0 : storageOf_gnu_extension_section.storeDataInEasyStorageClass(source->p_gnu_extension_section);
28234 0 : storageOf_gnu_extension_alias.storeDataInEasyStorageClass(source->p_gnu_extension_alias);
28235 0 : storageOf_gnu_extension_visability = source->p_gnu_extension_visability ;
28236 0 : storageOf_name_qualification_length = source->p_name_qualification_length ;
28237 0 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
28238 0 : storageOf_global_qualification_required = source->p_global_qualification_required ;
28239 0 : storageOf_name_qualification_length_for_return_type = source->p_name_qualification_length_for_return_type ;
28240 0 : storageOf_type_elaboration_required_for_return_type = source->p_type_elaboration_required_for_return_type ;
28241 0 : storageOf_global_qualification_required_for_return_type = source->p_global_qualification_required_for_return_type ;
28242 0 : storageOf_prototypeIsWithoutParameters = source->p_prototypeIsWithoutParameters ;
28243 0 : storageOf_gnu_regparm_attribute = source->p_gnu_regparm_attribute ;
28244 0 : storageOf_type_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_syntax );
28245 0 : storageOf_type_syntax_is_available = source->p_type_syntax_is_available ;
28246 0 : storageOf_parameterList_syntax = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameterList_syntax );
28247 0 : storageOf_using_C11_Noreturn_keyword = source->p_using_C11_Noreturn_keyword ;
28248 0 : storageOf_is_constexpr = source->p_is_constexpr ;
28249 0 : storageOf_using_new_function_return_type_syntax = source->p_using_new_function_return_type_syntax ;
28250 0 : storageOf_functionParameterScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_functionParameterScope );
28251 0 : storageOf_marked_as_edg_normalization = source->p_marked_as_edg_normalization ;
28252 0 : storageOf_is_implicit_function = source->p_is_implicit_function ;
28253 0 : storageOf_decl_attributes = source->p_decl_attributes ;
28254 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
28255 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
28256 0 : storageOf_nameOnly = source->p_nameOnly ;
28257 0 : storageOf_forward = source->p_forward ;
28258 0 : storageOf_externBrace = source->p_externBrace ;
28259 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
28260 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
28261 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
28262 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28263 0 : unsigned int tempListCountqualifiedNameList = 0;
28264 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
28265 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28266 : {
28267 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
28268 0 : tempListCountqualifiedNameList++;
28269 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
28270 : }
28271 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
28272 0 : tempListCountqualifiedNameList = 0;
28273 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28274 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28275 : {
28276 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
28277 0 : tempListCountqualifiedNameList++;
28278 : }
28279 0 : delete [] tempListqualifiedNameList;
28280 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
28281 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
28282 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
28283 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
28284 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
28285 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
28286 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
28287 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
28288 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
28289 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
28290 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
28291 0 : storageOf_isModified = source->p_isModified ;
28292 0 : storageOf_containsTransformation = source->p_containsTransformation ;
28293 0 : }
28294 :
28295 : void
28296 0 : SgEntryStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
28297 : {
28298 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28299 0 : SgFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28300 0 : SgSpecialFunctionModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28301 0 : EasyStorage < SgTypePtrList > :: arrangeMemoryPoolInOneBlock() ;
28302 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
28303 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28304 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
28305 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
28306 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
28307 0 : }
28308 :
28309 : void
28310 2 : SgEntryStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
28311 : {
28312 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28313 2 : SgFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28314 2 : SgSpecialFunctionModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28315 2 : EasyStorage < SgTypePtrList > :: deleteMemoryPool() ;
28316 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
28317 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28318 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
28319 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
28320 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
28321 2 : }
28322 :
28323 : void
28324 0 : SgEntryStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
28325 : {
28326 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
28327 0 : SgFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
28328 0 : SgSpecialFunctionModifierStorageClass :: writeEasyStorageDataToFile(out) ;
28329 0 : EasyStorage < SgTypePtrList > :: writeToFile(out) ;
28330 0 : EasyStorage < std::string > :: writeToFile(out) ;
28331 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
28332 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
28333 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
28334 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
28335 0 : }
28336 :
28337 :
28338 : void
28339 0 : SgEntryStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
28340 : {
28341 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
28342 0 : SgFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
28343 0 : SgSpecialFunctionModifierStorageClass :: readEasyStorageDataFromFile(in) ;
28344 0 : EasyStorage < SgTypePtrList > :: readFromFile(in) ;
28345 0 : EasyStorage < std::string > :: readFromFile(in) ;
28346 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
28347 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
28348 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
28349 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
28350 0 : }
28351 :
28352 :
28353 :
28354 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28355 :
28356 :
28357 : // ********************************************************
28358 :
28359 : /* #line 28360 "../../../src/frontend/SageIII//StorageClasses.C" */
28360 :
28361 :
28362 :
28363 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28364 :
28365 : // ****************************************************************
28366 : // member functions definition specific to each node in the grammar
28367 : // these are the SgContainsStatementStorageClass parts !!!!
28368 : // ROSETTA generated code. Do not change by hand.
28369 : // ****************************************************************
28370 :
28371 :
28372 : /* #line 28373 "../../../src/frontend/SageIII//StorageClasses.C" */
28373 :
28374 :
28375 : void
28376 0 : SgContainsStatementStorageClass::pickOutIRNodeData ( SgContainsStatement* pointer )
28377 : {
28378 0 : SgContainsStatement* source = (SgContainsStatement*) (pointer);
28379 : #if FILE_IO_EXTRA_CHECK
28380 0 : assert ( source != NULL ) ;
28381 0 : assert ( source->p_freepointer != NULL) ;
28382 : #endif
28383 0 : storageOf_decl_attributes = source->p_decl_attributes ;
28384 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
28385 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
28386 0 : storageOf_nameOnly = source->p_nameOnly ;
28387 0 : storageOf_forward = source->p_forward ;
28388 0 : storageOf_externBrace = source->p_externBrace ;
28389 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
28390 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
28391 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
28392 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28393 0 : unsigned int tempListCountqualifiedNameList = 0;
28394 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
28395 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28396 : {
28397 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
28398 0 : tempListCountqualifiedNameList++;
28399 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
28400 : }
28401 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
28402 0 : tempListCountqualifiedNameList = 0;
28403 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28404 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28405 : {
28406 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
28407 0 : tempListCountqualifiedNameList++;
28408 : }
28409 0 : delete [] tempListqualifiedNameList;
28410 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
28411 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
28412 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
28413 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
28414 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
28415 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
28416 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
28417 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
28418 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
28419 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
28420 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
28421 0 : storageOf_isModified = source->p_isModified ;
28422 0 : storageOf_containsTransformation = source->p_containsTransformation ;
28423 0 : }
28424 :
28425 : void
28426 0 : SgContainsStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
28427 : {
28428 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
28429 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28430 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
28431 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
28432 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
28433 0 : }
28434 :
28435 : void
28436 2 : SgContainsStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
28437 : {
28438 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
28439 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28440 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
28441 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
28442 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
28443 2 : }
28444 :
28445 : void
28446 0 : SgContainsStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
28447 : {
28448 0 : EasyStorage < std::string > :: writeToFile(out) ;
28449 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
28450 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
28451 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
28452 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
28453 0 : }
28454 :
28455 :
28456 : void
28457 0 : SgContainsStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
28458 : {
28459 0 : EasyStorage < std::string > :: readFromFile(in) ;
28460 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
28461 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
28462 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
28463 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
28464 0 : }
28465 :
28466 :
28467 :
28468 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28469 :
28470 :
28471 : // ********************************************************
28472 :
28473 : /* #line 28474 "../../../src/frontend/SageIII//StorageClasses.C" */
28474 :
28475 :
28476 :
28477 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28478 :
28479 : // ****************************************************************
28480 : // member functions definition specific to each node in the grammar
28481 : // these are the SgC_PreprocessorDirectiveStatementStorageClass parts !!!!
28482 : // ROSETTA generated code. Do not change by hand.
28483 : // ****************************************************************
28484 :
28485 :
28486 : /* #line 28487 "../../../src/frontend/SageIII//StorageClasses.C" */
28487 :
28488 :
28489 : void
28490 0 : SgC_PreprocessorDirectiveStatementStorageClass::pickOutIRNodeData ( SgC_PreprocessorDirectiveStatement* pointer )
28491 : {
28492 0 : SgC_PreprocessorDirectiveStatement* source = (SgC_PreprocessorDirectiveStatement*) (pointer);
28493 : #if FILE_IO_EXTRA_CHECK
28494 0 : assert ( source != NULL ) ;
28495 0 : assert ( source->p_freepointer != NULL) ;
28496 : #endif
28497 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
28498 0 : storageOf_decl_attributes = source->p_decl_attributes ;
28499 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
28500 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
28501 0 : storageOf_nameOnly = source->p_nameOnly ;
28502 0 : storageOf_forward = source->p_forward ;
28503 0 : storageOf_externBrace = source->p_externBrace ;
28504 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
28505 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
28506 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
28507 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28508 0 : unsigned int tempListCountqualifiedNameList = 0;
28509 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
28510 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28511 : {
28512 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
28513 0 : tempListCountqualifiedNameList++;
28514 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
28515 : }
28516 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
28517 0 : tempListCountqualifiedNameList = 0;
28518 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28519 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28520 : {
28521 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
28522 0 : tempListCountqualifiedNameList++;
28523 : }
28524 0 : delete [] tempListqualifiedNameList;
28525 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
28526 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
28527 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
28528 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
28529 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
28530 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
28531 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
28532 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
28533 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
28534 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
28535 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
28536 0 : storageOf_isModified = source->p_isModified ;
28537 0 : storageOf_containsTransformation = source->p_containsTransformation ;
28538 0 : }
28539 :
28540 : void
28541 0 : SgC_PreprocessorDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
28542 : {
28543 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
28544 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28545 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
28546 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
28547 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
28548 0 : }
28549 :
28550 : void
28551 2 : SgC_PreprocessorDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
28552 : {
28553 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
28554 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28555 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
28556 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
28557 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
28558 2 : }
28559 :
28560 : void
28561 0 : SgC_PreprocessorDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
28562 : {
28563 0 : EasyStorage < std::string > :: writeToFile(out) ;
28564 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
28565 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
28566 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
28567 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
28568 0 : }
28569 :
28570 :
28571 : void
28572 0 : SgC_PreprocessorDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
28573 : {
28574 0 : EasyStorage < std::string > :: readFromFile(in) ;
28575 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
28576 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
28577 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
28578 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
28579 0 : }
28580 :
28581 :
28582 :
28583 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28584 :
28585 :
28586 : // ********************************************************
28587 :
28588 : /* #line 28589 "../../../src/frontend/SageIII//StorageClasses.C" */
28589 :
28590 :
28591 :
28592 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28593 :
28594 : // ****************************************************************
28595 : // member functions definition specific to each node in the grammar
28596 : // these are the SgIncludeDirectiveStatementStorageClass parts !!!!
28597 : // ROSETTA generated code. Do not change by hand.
28598 : // ****************************************************************
28599 :
28600 :
28601 : /* #line 28602 "../../../src/frontend/SageIII//StorageClasses.C" */
28602 :
28603 :
28604 : void
28605 0 : SgIncludeDirectiveStatementStorageClass::pickOutIRNodeData ( SgIncludeDirectiveStatement* pointer )
28606 : {
28607 0 : SgIncludeDirectiveStatement* source = (SgIncludeDirectiveStatement*) (pointer);
28608 : #if FILE_IO_EXTRA_CHECK
28609 0 : assert ( source != NULL ) ;
28610 0 : assert ( source->p_freepointer != NULL) ;
28611 : #endif
28612 0 : storageOf_headerFileBody = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_headerFileBody );
28613 0 : storageOf_include_file_heirarchy = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_include_file_heirarchy );
28614 0 : storageOf_name_used_in_include_directive.storeDataInEasyStorageClass(source->p_name_used_in_include_directive);
28615 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
28616 0 : storageOf_decl_attributes = source->p_decl_attributes ;
28617 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
28618 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
28619 0 : storageOf_nameOnly = source->p_nameOnly ;
28620 0 : storageOf_forward = source->p_forward ;
28621 0 : storageOf_externBrace = source->p_externBrace ;
28622 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
28623 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
28624 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
28625 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28626 0 : unsigned int tempListCountqualifiedNameList = 0;
28627 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
28628 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28629 : {
28630 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
28631 0 : tempListCountqualifiedNameList++;
28632 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
28633 : }
28634 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
28635 0 : tempListCountqualifiedNameList = 0;
28636 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28637 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28638 : {
28639 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
28640 0 : tempListCountqualifiedNameList++;
28641 : }
28642 0 : delete [] tempListqualifiedNameList;
28643 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
28644 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
28645 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
28646 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
28647 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
28648 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
28649 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
28650 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
28651 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
28652 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
28653 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
28654 0 : storageOf_isModified = source->p_isModified ;
28655 0 : storageOf_containsTransformation = source->p_containsTransformation ;
28656 0 : }
28657 :
28658 : void
28659 0 : SgIncludeDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
28660 : {
28661 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
28662 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28663 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
28664 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
28665 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
28666 0 : }
28667 :
28668 : void
28669 2 : SgIncludeDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
28670 : {
28671 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
28672 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28673 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
28674 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
28675 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
28676 2 : }
28677 :
28678 : void
28679 0 : SgIncludeDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
28680 : {
28681 0 : EasyStorage < std::string > :: writeToFile(out) ;
28682 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
28683 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
28684 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
28685 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
28686 0 : }
28687 :
28688 :
28689 : void
28690 0 : SgIncludeDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
28691 : {
28692 0 : EasyStorage < std::string > :: readFromFile(in) ;
28693 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
28694 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
28695 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
28696 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
28697 0 : }
28698 :
28699 :
28700 :
28701 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28702 :
28703 :
28704 : // ********************************************************
28705 :
28706 : /* #line 28707 "../../../src/frontend/SageIII//StorageClasses.C" */
28707 :
28708 :
28709 :
28710 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28711 :
28712 : // ****************************************************************
28713 : // member functions definition specific to each node in the grammar
28714 : // these are the SgDefineDirectiveStatementStorageClass parts !!!!
28715 : // ROSETTA generated code. Do not change by hand.
28716 : // ****************************************************************
28717 :
28718 :
28719 : /* #line 28720 "../../../src/frontend/SageIII//StorageClasses.C" */
28720 :
28721 :
28722 : void
28723 0 : SgDefineDirectiveStatementStorageClass::pickOutIRNodeData ( SgDefineDirectiveStatement* pointer )
28724 : {
28725 0 : SgDefineDirectiveStatement* source = (SgDefineDirectiveStatement*) (pointer);
28726 : #if FILE_IO_EXTRA_CHECK
28727 0 : assert ( source != NULL ) ;
28728 0 : assert ( source->p_freepointer != NULL) ;
28729 : #endif
28730 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
28731 0 : storageOf_decl_attributes = source->p_decl_attributes ;
28732 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
28733 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
28734 0 : storageOf_nameOnly = source->p_nameOnly ;
28735 0 : storageOf_forward = source->p_forward ;
28736 0 : storageOf_externBrace = source->p_externBrace ;
28737 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
28738 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
28739 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
28740 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28741 0 : unsigned int tempListCountqualifiedNameList = 0;
28742 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
28743 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28744 : {
28745 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
28746 0 : tempListCountqualifiedNameList++;
28747 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
28748 : }
28749 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
28750 0 : tempListCountqualifiedNameList = 0;
28751 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28752 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28753 : {
28754 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
28755 0 : tempListCountqualifiedNameList++;
28756 : }
28757 0 : delete [] tempListqualifiedNameList;
28758 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
28759 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
28760 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
28761 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
28762 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
28763 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
28764 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
28765 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
28766 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
28767 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
28768 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
28769 0 : storageOf_isModified = source->p_isModified ;
28770 0 : storageOf_containsTransformation = source->p_containsTransformation ;
28771 0 : }
28772 :
28773 : void
28774 0 : SgDefineDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
28775 : {
28776 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
28777 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28778 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
28779 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
28780 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
28781 0 : }
28782 :
28783 : void
28784 2 : SgDefineDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
28785 : {
28786 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
28787 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28788 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
28789 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
28790 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
28791 2 : }
28792 :
28793 : void
28794 0 : SgDefineDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
28795 : {
28796 0 : EasyStorage < std::string > :: writeToFile(out) ;
28797 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
28798 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
28799 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
28800 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
28801 0 : }
28802 :
28803 :
28804 : void
28805 0 : SgDefineDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
28806 : {
28807 0 : EasyStorage < std::string > :: readFromFile(in) ;
28808 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
28809 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
28810 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
28811 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
28812 0 : }
28813 :
28814 :
28815 :
28816 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28817 :
28818 :
28819 : // ********************************************************
28820 :
28821 : /* #line 28822 "../../../src/frontend/SageIII//StorageClasses.C" */
28822 :
28823 :
28824 :
28825 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28826 :
28827 : // ****************************************************************
28828 : // member functions definition specific to each node in the grammar
28829 : // these are the SgUndefDirectiveStatementStorageClass parts !!!!
28830 : // ROSETTA generated code. Do not change by hand.
28831 : // ****************************************************************
28832 :
28833 :
28834 : /* #line 28835 "../../../src/frontend/SageIII//StorageClasses.C" */
28835 :
28836 :
28837 : void
28838 0 : SgUndefDirectiveStatementStorageClass::pickOutIRNodeData ( SgUndefDirectiveStatement* pointer )
28839 : {
28840 0 : SgUndefDirectiveStatement* source = (SgUndefDirectiveStatement*) (pointer);
28841 : #if FILE_IO_EXTRA_CHECK
28842 0 : assert ( source != NULL ) ;
28843 0 : assert ( source->p_freepointer != NULL) ;
28844 : #endif
28845 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
28846 0 : storageOf_decl_attributes = source->p_decl_attributes ;
28847 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
28848 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
28849 0 : storageOf_nameOnly = source->p_nameOnly ;
28850 0 : storageOf_forward = source->p_forward ;
28851 0 : storageOf_externBrace = source->p_externBrace ;
28852 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
28853 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
28854 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
28855 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28856 0 : unsigned int tempListCountqualifiedNameList = 0;
28857 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
28858 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28859 : {
28860 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
28861 0 : tempListCountqualifiedNameList++;
28862 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
28863 : }
28864 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
28865 0 : tempListCountqualifiedNameList = 0;
28866 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28867 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28868 : {
28869 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
28870 0 : tempListCountqualifiedNameList++;
28871 : }
28872 0 : delete [] tempListqualifiedNameList;
28873 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
28874 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
28875 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
28876 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
28877 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
28878 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
28879 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
28880 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
28881 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
28882 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
28883 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
28884 0 : storageOf_isModified = source->p_isModified ;
28885 0 : storageOf_containsTransformation = source->p_containsTransformation ;
28886 0 : }
28887 :
28888 : void
28889 0 : SgUndefDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
28890 : {
28891 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
28892 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
28893 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
28894 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
28895 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
28896 0 : }
28897 :
28898 : void
28899 2 : SgUndefDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
28900 : {
28901 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
28902 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
28903 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
28904 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
28905 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
28906 2 : }
28907 :
28908 : void
28909 0 : SgUndefDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
28910 : {
28911 0 : EasyStorage < std::string > :: writeToFile(out) ;
28912 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
28913 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
28914 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
28915 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
28916 0 : }
28917 :
28918 :
28919 : void
28920 0 : SgUndefDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
28921 : {
28922 0 : EasyStorage < std::string > :: readFromFile(in) ;
28923 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
28924 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
28925 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
28926 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
28927 0 : }
28928 :
28929 :
28930 :
28931 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28932 :
28933 :
28934 : // ********************************************************
28935 :
28936 : /* #line 28937 "../../../src/frontend/SageIII//StorageClasses.C" */
28937 :
28938 :
28939 :
28940 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
28941 :
28942 : // ****************************************************************
28943 : // member functions definition specific to each node in the grammar
28944 : // these are the SgIfdefDirectiveStatementStorageClass parts !!!!
28945 : // ROSETTA generated code. Do not change by hand.
28946 : // ****************************************************************
28947 :
28948 :
28949 : /* #line 28950 "../../../src/frontend/SageIII//StorageClasses.C" */
28950 :
28951 :
28952 : void
28953 0 : SgIfdefDirectiveStatementStorageClass::pickOutIRNodeData ( SgIfdefDirectiveStatement* pointer )
28954 : {
28955 0 : SgIfdefDirectiveStatement* source = (SgIfdefDirectiveStatement*) (pointer);
28956 : #if FILE_IO_EXTRA_CHECK
28957 0 : assert ( source != NULL ) ;
28958 0 : assert ( source->p_freepointer != NULL) ;
28959 : #endif
28960 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
28961 0 : storageOf_decl_attributes = source->p_decl_attributes ;
28962 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
28963 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
28964 0 : storageOf_nameOnly = source->p_nameOnly ;
28965 0 : storageOf_forward = source->p_forward ;
28966 0 : storageOf_externBrace = source->p_externBrace ;
28967 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
28968 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
28969 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
28970 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28971 0 : unsigned int tempListCountqualifiedNameList = 0;
28972 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
28973 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28974 : {
28975 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
28976 0 : tempListCountqualifiedNameList++;
28977 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
28978 : }
28979 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
28980 0 : tempListCountqualifiedNameList = 0;
28981 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
28982 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
28983 : {
28984 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
28985 0 : tempListCountqualifiedNameList++;
28986 : }
28987 0 : delete [] tempListqualifiedNameList;
28988 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
28989 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
28990 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
28991 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
28992 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
28993 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
28994 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
28995 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
28996 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
28997 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
28998 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
28999 0 : storageOf_isModified = source->p_isModified ;
29000 0 : storageOf_containsTransformation = source->p_containsTransformation ;
29001 0 : }
29002 :
29003 : void
29004 0 : SgIfdefDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
29005 : {
29006 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
29007 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
29008 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
29009 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
29010 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
29011 0 : }
29012 :
29013 : void
29014 2 : SgIfdefDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
29015 : {
29016 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
29017 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
29018 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
29019 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
29020 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
29021 2 : }
29022 :
29023 : void
29024 0 : SgIfdefDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
29025 : {
29026 0 : EasyStorage < std::string > :: writeToFile(out) ;
29027 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
29028 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
29029 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
29030 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
29031 0 : }
29032 :
29033 :
29034 : void
29035 0 : SgIfdefDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
29036 : {
29037 0 : EasyStorage < std::string > :: readFromFile(in) ;
29038 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
29039 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
29040 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
29041 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
29042 0 : }
29043 :
29044 :
29045 :
29046 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29047 :
29048 :
29049 : // ********************************************************
29050 :
29051 : /* #line 29052 "../../../src/frontend/SageIII//StorageClasses.C" */
29052 :
29053 :
29054 :
29055 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29056 :
29057 : // ****************************************************************
29058 : // member functions definition specific to each node in the grammar
29059 : // these are the SgIfndefDirectiveStatementStorageClass parts !!!!
29060 : // ROSETTA generated code. Do not change by hand.
29061 : // ****************************************************************
29062 :
29063 :
29064 : /* #line 29065 "../../../src/frontend/SageIII//StorageClasses.C" */
29065 :
29066 :
29067 : void
29068 0 : SgIfndefDirectiveStatementStorageClass::pickOutIRNodeData ( SgIfndefDirectiveStatement* pointer )
29069 : {
29070 0 : SgIfndefDirectiveStatement* source = (SgIfndefDirectiveStatement*) (pointer);
29071 : #if FILE_IO_EXTRA_CHECK
29072 0 : assert ( source != NULL ) ;
29073 0 : assert ( source->p_freepointer != NULL) ;
29074 : #endif
29075 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
29076 0 : storageOf_decl_attributes = source->p_decl_attributes ;
29077 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
29078 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
29079 0 : storageOf_nameOnly = source->p_nameOnly ;
29080 0 : storageOf_forward = source->p_forward ;
29081 0 : storageOf_externBrace = source->p_externBrace ;
29082 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
29083 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
29084 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
29085 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29086 0 : unsigned int tempListCountqualifiedNameList = 0;
29087 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
29088 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29089 : {
29090 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
29091 0 : tempListCountqualifiedNameList++;
29092 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
29093 : }
29094 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
29095 0 : tempListCountqualifiedNameList = 0;
29096 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29097 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29098 : {
29099 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
29100 0 : tempListCountqualifiedNameList++;
29101 : }
29102 0 : delete [] tempListqualifiedNameList;
29103 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
29104 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
29105 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
29106 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
29107 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
29108 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
29109 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
29110 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
29111 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
29112 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
29113 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
29114 0 : storageOf_isModified = source->p_isModified ;
29115 0 : storageOf_containsTransformation = source->p_containsTransformation ;
29116 0 : }
29117 :
29118 : void
29119 0 : SgIfndefDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
29120 : {
29121 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
29122 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
29123 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
29124 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
29125 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
29126 0 : }
29127 :
29128 : void
29129 2 : SgIfndefDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
29130 : {
29131 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
29132 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
29133 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
29134 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
29135 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
29136 2 : }
29137 :
29138 : void
29139 0 : SgIfndefDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
29140 : {
29141 0 : EasyStorage < std::string > :: writeToFile(out) ;
29142 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
29143 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
29144 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
29145 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
29146 0 : }
29147 :
29148 :
29149 : void
29150 0 : SgIfndefDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
29151 : {
29152 0 : EasyStorage < std::string > :: readFromFile(in) ;
29153 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
29154 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
29155 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
29156 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
29157 0 : }
29158 :
29159 :
29160 :
29161 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29162 :
29163 :
29164 : // ********************************************************
29165 :
29166 : /* #line 29167 "../../../src/frontend/SageIII//StorageClasses.C" */
29167 :
29168 :
29169 :
29170 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29171 :
29172 : // ****************************************************************
29173 : // member functions definition specific to each node in the grammar
29174 : // these are the SgIfDirectiveStatementStorageClass parts !!!!
29175 : // ROSETTA generated code. Do not change by hand.
29176 : // ****************************************************************
29177 :
29178 :
29179 : /* #line 29180 "../../../src/frontend/SageIII//StorageClasses.C" */
29180 :
29181 :
29182 : void
29183 0 : SgIfDirectiveStatementStorageClass::pickOutIRNodeData ( SgIfDirectiveStatement* pointer )
29184 : {
29185 0 : SgIfDirectiveStatement* source = (SgIfDirectiveStatement*) (pointer);
29186 : #if FILE_IO_EXTRA_CHECK
29187 0 : assert ( source != NULL ) ;
29188 0 : assert ( source->p_freepointer != NULL) ;
29189 : #endif
29190 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
29191 0 : storageOf_decl_attributes = source->p_decl_attributes ;
29192 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
29193 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
29194 0 : storageOf_nameOnly = source->p_nameOnly ;
29195 0 : storageOf_forward = source->p_forward ;
29196 0 : storageOf_externBrace = source->p_externBrace ;
29197 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
29198 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
29199 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
29200 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29201 0 : unsigned int tempListCountqualifiedNameList = 0;
29202 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
29203 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29204 : {
29205 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
29206 0 : tempListCountqualifiedNameList++;
29207 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
29208 : }
29209 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
29210 0 : tempListCountqualifiedNameList = 0;
29211 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29212 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29213 : {
29214 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
29215 0 : tempListCountqualifiedNameList++;
29216 : }
29217 0 : delete [] tempListqualifiedNameList;
29218 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
29219 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
29220 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
29221 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
29222 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
29223 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
29224 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
29225 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
29226 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
29227 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
29228 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
29229 0 : storageOf_isModified = source->p_isModified ;
29230 0 : storageOf_containsTransformation = source->p_containsTransformation ;
29231 0 : }
29232 :
29233 : void
29234 0 : SgIfDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
29235 : {
29236 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
29237 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
29238 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
29239 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
29240 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
29241 0 : }
29242 :
29243 : void
29244 2 : SgIfDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
29245 : {
29246 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
29247 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
29248 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
29249 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
29250 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
29251 2 : }
29252 :
29253 : void
29254 0 : SgIfDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
29255 : {
29256 0 : EasyStorage < std::string > :: writeToFile(out) ;
29257 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
29258 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
29259 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
29260 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
29261 0 : }
29262 :
29263 :
29264 : void
29265 0 : SgIfDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
29266 : {
29267 0 : EasyStorage < std::string > :: readFromFile(in) ;
29268 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
29269 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
29270 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
29271 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
29272 0 : }
29273 :
29274 :
29275 :
29276 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29277 :
29278 :
29279 : // ********************************************************
29280 :
29281 : /* #line 29282 "../../../src/frontend/SageIII//StorageClasses.C" */
29282 :
29283 :
29284 :
29285 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29286 :
29287 : // ****************************************************************
29288 : // member functions definition specific to each node in the grammar
29289 : // these are the SgDeadIfDirectiveStatementStorageClass parts !!!!
29290 : // ROSETTA generated code. Do not change by hand.
29291 : // ****************************************************************
29292 :
29293 :
29294 : /* #line 29295 "../../../src/frontend/SageIII//StorageClasses.C" */
29295 :
29296 :
29297 : void
29298 0 : SgDeadIfDirectiveStatementStorageClass::pickOutIRNodeData ( SgDeadIfDirectiveStatement* pointer )
29299 : {
29300 0 : SgDeadIfDirectiveStatement* source = (SgDeadIfDirectiveStatement*) (pointer);
29301 : #if FILE_IO_EXTRA_CHECK
29302 0 : assert ( source != NULL ) ;
29303 0 : assert ( source->p_freepointer != NULL) ;
29304 : #endif
29305 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
29306 0 : storageOf_decl_attributes = source->p_decl_attributes ;
29307 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
29308 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
29309 0 : storageOf_nameOnly = source->p_nameOnly ;
29310 0 : storageOf_forward = source->p_forward ;
29311 0 : storageOf_externBrace = source->p_externBrace ;
29312 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
29313 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
29314 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
29315 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29316 0 : unsigned int tempListCountqualifiedNameList = 0;
29317 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
29318 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29319 : {
29320 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
29321 0 : tempListCountqualifiedNameList++;
29322 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
29323 : }
29324 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
29325 0 : tempListCountqualifiedNameList = 0;
29326 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29327 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29328 : {
29329 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
29330 0 : tempListCountqualifiedNameList++;
29331 : }
29332 0 : delete [] tempListqualifiedNameList;
29333 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
29334 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
29335 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
29336 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
29337 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
29338 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
29339 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
29340 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
29341 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
29342 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
29343 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
29344 0 : storageOf_isModified = source->p_isModified ;
29345 0 : storageOf_containsTransformation = source->p_containsTransformation ;
29346 0 : }
29347 :
29348 : void
29349 0 : SgDeadIfDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
29350 : {
29351 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
29352 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
29353 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
29354 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
29355 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
29356 0 : }
29357 :
29358 : void
29359 2 : SgDeadIfDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
29360 : {
29361 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
29362 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
29363 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
29364 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
29365 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
29366 2 : }
29367 :
29368 : void
29369 0 : SgDeadIfDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
29370 : {
29371 0 : EasyStorage < std::string > :: writeToFile(out) ;
29372 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
29373 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
29374 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
29375 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
29376 0 : }
29377 :
29378 :
29379 : void
29380 0 : SgDeadIfDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
29381 : {
29382 0 : EasyStorage < std::string > :: readFromFile(in) ;
29383 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
29384 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
29385 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
29386 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
29387 0 : }
29388 :
29389 :
29390 :
29391 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29392 :
29393 :
29394 : // ********************************************************
29395 :
29396 : /* #line 29397 "../../../src/frontend/SageIII//StorageClasses.C" */
29397 :
29398 :
29399 :
29400 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29401 :
29402 : // ****************************************************************
29403 : // member functions definition specific to each node in the grammar
29404 : // these are the SgElseDirectiveStatementStorageClass parts !!!!
29405 : // ROSETTA generated code. Do not change by hand.
29406 : // ****************************************************************
29407 :
29408 :
29409 : /* #line 29410 "../../../src/frontend/SageIII//StorageClasses.C" */
29410 :
29411 :
29412 : void
29413 0 : SgElseDirectiveStatementStorageClass::pickOutIRNodeData ( SgElseDirectiveStatement* pointer )
29414 : {
29415 0 : SgElseDirectiveStatement* source = (SgElseDirectiveStatement*) (pointer);
29416 : #if FILE_IO_EXTRA_CHECK
29417 0 : assert ( source != NULL ) ;
29418 0 : assert ( source->p_freepointer != NULL) ;
29419 : #endif
29420 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
29421 0 : storageOf_decl_attributes = source->p_decl_attributes ;
29422 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
29423 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
29424 0 : storageOf_nameOnly = source->p_nameOnly ;
29425 0 : storageOf_forward = source->p_forward ;
29426 0 : storageOf_externBrace = source->p_externBrace ;
29427 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
29428 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
29429 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
29430 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29431 0 : unsigned int tempListCountqualifiedNameList = 0;
29432 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
29433 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29434 : {
29435 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
29436 0 : tempListCountqualifiedNameList++;
29437 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
29438 : }
29439 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
29440 0 : tempListCountqualifiedNameList = 0;
29441 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29442 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29443 : {
29444 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
29445 0 : tempListCountqualifiedNameList++;
29446 : }
29447 0 : delete [] tempListqualifiedNameList;
29448 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
29449 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
29450 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
29451 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
29452 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
29453 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
29454 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
29455 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
29456 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
29457 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
29458 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
29459 0 : storageOf_isModified = source->p_isModified ;
29460 0 : storageOf_containsTransformation = source->p_containsTransformation ;
29461 0 : }
29462 :
29463 : void
29464 0 : SgElseDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
29465 : {
29466 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
29467 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
29468 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
29469 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
29470 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
29471 0 : }
29472 :
29473 : void
29474 2 : SgElseDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
29475 : {
29476 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
29477 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
29478 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
29479 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
29480 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
29481 2 : }
29482 :
29483 : void
29484 0 : SgElseDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
29485 : {
29486 0 : EasyStorage < std::string > :: writeToFile(out) ;
29487 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
29488 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
29489 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
29490 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
29491 0 : }
29492 :
29493 :
29494 : void
29495 0 : SgElseDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
29496 : {
29497 0 : EasyStorage < std::string > :: readFromFile(in) ;
29498 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
29499 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
29500 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
29501 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
29502 0 : }
29503 :
29504 :
29505 :
29506 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29507 :
29508 :
29509 : // ********************************************************
29510 :
29511 : /* #line 29512 "../../../src/frontend/SageIII//StorageClasses.C" */
29512 :
29513 :
29514 :
29515 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29516 :
29517 : // ****************************************************************
29518 : // member functions definition specific to each node in the grammar
29519 : // these are the SgElseifDirectiveStatementStorageClass parts !!!!
29520 : // ROSETTA generated code. Do not change by hand.
29521 : // ****************************************************************
29522 :
29523 :
29524 : /* #line 29525 "../../../src/frontend/SageIII//StorageClasses.C" */
29525 :
29526 :
29527 : void
29528 0 : SgElseifDirectiveStatementStorageClass::pickOutIRNodeData ( SgElseifDirectiveStatement* pointer )
29529 : {
29530 0 : SgElseifDirectiveStatement* source = (SgElseifDirectiveStatement*) (pointer);
29531 : #if FILE_IO_EXTRA_CHECK
29532 0 : assert ( source != NULL ) ;
29533 0 : assert ( source->p_freepointer != NULL) ;
29534 : #endif
29535 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
29536 0 : storageOf_decl_attributes = source->p_decl_attributes ;
29537 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
29538 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
29539 0 : storageOf_nameOnly = source->p_nameOnly ;
29540 0 : storageOf_forward = source->p_forward ;
29541 0 : storageOf_externBrace = source->p_externBrace ;
29542 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
29543 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
29544 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
29545 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29546 0 : unsigned int tempListCountqualifiedNameList = 0;
29547 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
29548 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29549 : {
29550 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
29551 0 : tempListCountqualifiedNameList++;
29552 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
29553 : }
29554 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
29555 0 : tempListCountqualifiedNameList = 0;
29556 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29557 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29558 : {
29559 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
29560 0 : tempListCountqualifiedNameList++;
29561 : }
29562 0 : delete [] tempListqualifiedNameList;
29563 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
29564 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
29565 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
29566 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
29567 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
29568 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
29569 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
29570 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
29571 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
29572 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
29573 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
29574 0 : storageOf_isModified = source->p_isModified ;
29575 0 : storageOf_containsTransformation = source->p_containsTransformation ;
29576 0 : }
29577 :
29578 : void
29579 0 : SgElseifDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
29580 : {
29581 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
29582 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
29583 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
29584 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
29585 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
29586 0 : }
29587 :
29588 : void
29589 2 : SgElseifDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
29590 : {
29591 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
29592 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
29593 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
29594 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
29595 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
29596 2 : }
29597 :
29598 : void
29599 0 : SgElseifDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
29600 : {
29601 0 : EasyStorage < std::string > :: writeToFile(out) ;
29602 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
29603 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
29604 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
29605 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
29606 0 : }
29607 :
29608 :
29609 : void
29610 0 : SgElseifDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
29611 : {
29612 0 : EasyStorage < std::string > :: readFromFile(in) ;
29613 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
29614 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
29615 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
29616 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
29617 0 : }
29618 :
29619 :
29620 :
29621 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29622 :
29623 :
29624 : // ********************************************************
29625 :
29626 : /* #line 29627 "../../../src/frontend/SageIII//StorageClasses.C" */
29627 :
29628 :
29629 :
29630 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29631 :
29632 : // ****************************************************************
29633 : // member functions definition specific to each node in the grammar
29634 : // these are the SgEndifDirectiveStatementStorageClass parts !!!!
29635 : // ROSETTA generated code. Do not change by hand.
29636 : // ****************************************************************
29637 :
29638 :
29639 : /* #line 29640 "../../../src/frontend/SageIII//StorageClasses.C" */
29640 :
29641 :
29642 : void
29643 0 : SgEndifDirectiveStatementStorageClass::pickOutIRNodeData ( SgEndifDirectiveStatement* pointer )
29644 : {
29645 0 : SgEndifDirectiveStatement* source = (SgEndifDirectiveStatement*) (pointer);
29646 : #if FILE_IO_EXTRA_CHECK
29647 0 : assert ( source != NULL ) ;
29648 0 : assert ( source->p_freepointer != NULL) ;
29649 : #endif
29650 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
29651 0 : storageOf_decl_attributes = source->p_decl_attributes ;
29652 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
29653 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
29654 0 : storageOf_nameOnly = source->p_nameOnly ;
29655 0 : storageOf_forward = source->p_forward ;
29656 0 : storageOf_externBrace = source->p_externBrace ;
29657 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
29658 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
29659 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
29660 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29661 0 : unsigned int tempListCountqualifiedNameList = 0;
29662 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
29663 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29664 : {
29665 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
29666 0 : tempListCountqualifiedNameList++;
29667 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
29668 : }
29669 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
29670 0 : tempListCountqualifiedNameList = 0;
29671 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29672 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29673 : {
29674 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
29675 0 : tempListCountqualifiedNameList++;
29676 : }
29677 0 : delete [] tempListqualifiedNameList;
29678 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
29679 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
29680 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
29681 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
29682 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
29683 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
29684 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
29685 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
29686 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
29687 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
29688 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
29689 0 : storageOf_isModified = source->p_isModified ;
29690 0 : storageOf_containsTransformation = source->p_containsTransformation ;
29691 0 : }
29692 :
29693 : void
29694 0 : SgEndifDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
29695 : {
29696 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
29697 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
29698 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
29699 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
29700 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
29701 0 : }
29702 :
29703 : void
29704 2 : SgEndifDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
29705 : {
29706 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
29707 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
29708 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
29709 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
29710 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
29711 2 : }
29712 :
29713 : void
29714 0 : SgEndifDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
29715 : {
29716 0 : EasyStorage < std::string > :: writeToFile(out) ;
29717 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
29718 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
29719 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
29720 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
29721 0 : }
29722 :
29723 :
29724 : void
29725 0 : SgEndifDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
29726 : {
29727 0 : EasyStorage < std::string > :: readFromFile(in) ;
29728 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
29729 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
29730 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
29731 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
29732 0 : }
29733 :
29734 :
29735 :
29736 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29737 :
29738 :
29739 : // ********************************************************
29740 :
29741 : /* #line 29742 "../../../src/frontend/SageIII//StorageClasses.C" */
29742 :
29743 :
29744 :
29745 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29746 :
29747 : // ****************************************************************
29748 : // member functions definition specific to each node in the grammar
29749 : // these are the SgLineDirectiveStatementStorageClass parts !!!!
29750 : // ROSETTA generated code. Do not change by hand.
29751 : // ****************************************************************
29752 :
29753 :
29754 : /* #line 29755 "../../../src/frontend/SageIII//StorageClasses.C" */
29755 :
29756 :
29757 : void
29758 0 : SgLineDirectiveStatementStorageClass::pickOutIRNodeData ( SgLineDirectiveStatement* pointer )
29759 : {
29760 0 : SgLineDirectiveStatement* source = (SgLineDirectiveStatement*) (pointer);
29761 : #if FILE_IO_EXTRA_CHECK
29762 0 : assert ( source != NULL ) ;
29763 0 : assert ( source->p_freepointer != NULL) ;
29764 : #endif
29765 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
29766 0 : storageOf_decl_attributes = source->p_decl_attributes ;
29767 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
29768 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
29769 0 : storageOf_nameOnly = source->p_nameOnly ;
29770 0 : storageOf_forward = source->p_forward ;
29771 0 : storageOf_externBrace = source->p_externBrace ;
29772 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
29773 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
29774 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
29775 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29776 0 : unsigned int tempListCountqualifiedNameList = 0;
29777 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
29778 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29779 : {
29780 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
29781 0 : tempListCountqualifiedNameList++;
29782 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
29783 : }
29784 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
29785 0 : tempListCountqualifiedNameList = 0;
29786 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29787 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29788 : {
29789 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
29790 0 : tempListCountqualifiedNameList++;
29791 : }
29792 0 : delete [] tempListqualifiedNameList;
29793 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
29794 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
29795 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
29796 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
29797 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
29798 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
29799 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
29800 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
29801 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
29802 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
29803 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
29804 0 : storageOf_isModified = source->p_isModified ;
29805 0 : storageOf_containsTransformation = source->p_containsTransformation ;
29806 0 : }
29807 :
29808 : void
29809 0 : SgLineDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
29810 : {
29811 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
29812 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
29813 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
29814 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
29815 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
29816 0 : }
29817 :
29818 : void
29819 2 : SgLineDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
29820 : {
29821 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
29822 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
29823 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
29824 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
29825 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
29826 2 : }
29827 :
29828 : void
29829 0 : SgLineDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
29830 : {
29831 0 : EasyStorage < std::string > :: writeToFile(out) ;
29832 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
29833 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
29834 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
29835 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
29836 0 : }
29837 :
29838 :
29839 : void
29840 0 : SgLineDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
29841 : {
29842 0 : EasyStorage < std::string > :: readFromFile(in) ;
29843 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
29844 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
29845 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
29846 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
29847 0 : }
29848 :
29849 :
29850 :
29851 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29852 :
29853 :
29854 : // ********************************************************
29855 :
29856 : /* #line 29857 "../../../src/frontend/SageIII//StorageClasses.C" */
29857 :
29858 :
29859 :
29860 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29861 :
29862 : // ****************************************************************
29863 : // member functions definition specific to each node in the grammar
29864 : // these are the SgWarningDirectiveStatementStorageClass parts !!!!
29865 : // ROSETTA generated code. Do not change by hand.
29866 : // ****************************************************************
29867 :
29868 :
29869 : /* #line 29870 "../../../src/frontend/SageIII//StorageClasses.C" */
29870 :
29871 :
29872 : void
29873 0 : SgWarningDirectiveStatementStorageClass::pickOutIRNodeData ( SgWarningDirectiveStatement* pointer )
29874 : {
29875 0 : SgWarningDirectiveStatement* source = (SgWarningDirectiveStatement*) (pointer);
29876 : #if FILE_IO_EXTRA_CHECK
29877 0 : assert ( source != NULL ) ;
29878 0 : assert ( source->p_freepointer != NULL) ;
29879 : #endif
29880 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
29881 0 : storageOf_decl_attributes = source->p_decl_attributes ;
29882 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
29883 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
29884 0 : storageOf_nameOnly = source->p_nameOnly ;
29885 0 : storageOf_forward = source->p_forward ;
29886 0 : storageOf_externBrace = source->p_externBrace ;
29887 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
29888 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
29889 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
29890 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29891 0 : unsigned int tempListCountqualifiedNameList = 0;
29892 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
29893 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29894 : {
29895 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
29896 0 : tempListCountqualifiedNameList++;
29897 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
29898 : }
29899 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
29900 0 : tempListCountqualifiedNameList = 0;
29901 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
29902 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
29903 : {
29904 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
29905 0 : tempListCountqualifiedNameList++;
29906 : }
29907 0 : delete [] tempListqualifiedNameList;
29908 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
29909 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
29910 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
29911 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
29912 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
29913 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
29914 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
29915 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
29916 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
29917 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
29918 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
29919 0 : storageOf_isModified = source->p_isModified ;
29920 0 : storageOf_containsTransformation = source->p_containsTransformation ;
29921 0 : }
29922 :
29923 : void
29924 0 : SgWarningDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
29925 : {
29926 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
29927 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
29928 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
29929 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
29930 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
29931 0 : }
29932 :
29933 : void
29934 2 : SgWarningDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
29935 : {
29936 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
29937 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
29938 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
29939 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
29940 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
29941 2 : }
29942 :
29943 : void
29944 0 : SgWarningDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
29945 : {
29946 0 : EasyStorage < std::string > :: writeToFile(out) ;
29947 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
29948 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
29949 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
29950 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
29951 0 : }
29952 :
29953 :
29954 : void
29955 0 : SgWarningDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
29956 : {
29957 0 : EasyStorage < std::string > :: readFromFile(in) ;
29958 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
29959 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
29960 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
29961 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
29962 0 : }
29963 :
29964 :
29965 :
29966 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29967 :
29968 :
29969 : // ********************************************************
29970 :
29971 : /* #line 29972 "../../../src/frontend/SageIII//StorageClasses.C" */
29972 :
29973 :
29974 :
29975 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
29976 :
29977 : // ****************************************************************
29978 : // member functions definition specific to each node in the grammar
29979 : // these are the SgErrorDirectiveStatementStorageClass parts !!!!
29980 : // ROSETTA generated code. Do not change by hand.
29981 : // ****************************************************************
29982 :
29983 :
29984 : /* #line 29985 "../../../src/frontend/SageIII//StorageClasses.C" */
29985 :
29986 :
29987 : void
29988 0 : SgErrorDirectiveStatementStorageClass::pickOutIRNodeData ( SgErrorDirectiveStatement* pointer )
29989 : {
29990 0 : SgErrorDirectiveStatement* source = (SgErrorDirectiveStatement*) (pointer);
29991 : #if FILE_IO_EXTRA_CHECK
29992 0 : assert ( source != NULL ) ;
29993 0 : assert ( source->p_freepointer != NULL) ;
29994 : #endif
29995 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
29996 0 : storageOf_decl_attributes = source->p_decl_attributes ;
29997 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
29998 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
29999 0 : storageOf_nameOnly = source->p_nameOnly ;
30000 0 : storageOf_forward = source->p_forward ;
30001 0 : storageOf_externBrace = source->p_externBrace ;
30002 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
30003 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
30004 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
30005 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30006 0 : unsigned int tempListCountqualifiedNameList = 0;
30007 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
30008 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30009 : {
30010 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
30011 0 : tempListCountqualifiedNameList++;
30012 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
30013 : }
30014 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
30015 0 : tempListCountqualifiedNameList = 0;
30016 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30017 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30018 : {
30019 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
30020 0 : tempListCountqualifiedNameList++;
30021 : }
30022 0 : delete [] tempListqualifiedNameList;
30023 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
30024 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
30025 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
30026 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
30027 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
30028 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
30029 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
30030 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
30031 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
30032 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
30033 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
30034 0 : storageOf_isModified = source->p_isModified ;
30035 0 : storageOf_containsTransformation = source->p_containsTransformation ;
30036 0 : }
30037 :
30038 : void
30039 0 : SgErrorDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
30040 : {
30041 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
30042 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
30043 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
30044 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
30045 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
30046 0 : }
30047 :
30048 : void
30049 2 : SgErrorDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
30050 : {
30051 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
30052 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
30053 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
30054 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
30055 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
30056 2 : }
30057 :
30058 : void
30059 0 : SgErrorDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
30060 : {
30061 0 : EasyStorage < std::string > :: writeToFile(out) ;
30062 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
30063 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
30064 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
30065 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
30066 0 : }
30067 :
30068 :
30069 : void
30070 0 : SgErrorDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
30071 : {
30072 0 : EasyStorage < std::string > :: readFromFile(in) ;
30073 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
30074 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
30075 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
30076 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
30077 0 : }
30078 :
30079 :
30080 :
30081 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30082 :
30083 :
30084 : // ********************************************************
30085 :
30086 : /* #line 30087 "../../../src/frontend/SageIII//StorageClasses.C" */
30087 :
30088 :
30089 :
30090 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30091 :
30092 : // ****************************************************************
30093 : // member functions definition specific to each node in the grammar
30094 : // these are the SgEmptyDirectiveStatementStorageClass parts !!!!
30095 : // ROSETTA generated code. Do not change by hand.
30096 : // ****************************************************************
30097 :
30098 :
30099 : /* #line 30100 "../../../src/frontend/SageIII//StorageClasses.C" */
30100 :
30101 :
30102 : void
30103 0 : SgEmptyDirectiveStatementStorageClass::pickOutIRNodeData ( SgEmptyDirectiveStatement* pointer )
30104 : {
30105 0 : SgEmptyDirectiveStatement* source = (SgEmptyDirectiveStatement*) (pointer);
30106 : #if FILE_IO_EXTRA_CHECK
30107 0 : assert ( source != NULL ) ;
30108 0 : assert ( source->p_freepointer != NULL) ;
30109 : #endif
30110 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
30111 0 : storageOf_decl_attributes = source->p_decl_attributes ;
30112 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
30113 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
30114 0 : storageOf_nameOnly = source->p_nameOnly ;
30115 0 : storageOf_forward = source->p_forward ;
30116 0 : storageOf_externBrace = source->p_externBrace ;
30117 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
30118 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
30119 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
30120 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30121 0 : unsigned int tempListCountqualifiedNameList = 0;
30122 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
30123 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30124 : {
30125 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
30126 0 : tempListCountqualifiedNameList++;
30127 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
30128 : }
30129 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
30130 0 : tempListCountqualifiedNameList = 0;
30131 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30132 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30133 : {
30134 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
30135 0 : tempListCountqualifiedNameList++;
30136 : }
30137 0 : delete [] tempListqualifiedNameList;
30138 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
30139 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
30140 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
30141 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
30142 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
30143 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
30144 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
30145 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
30146 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
30147 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
30148 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
30149 0 : storageOf_isModified = source->p_isModified ;
30150 0 : storageOf_containsTransformation = source->p_containsTransformation ;
30151 0 : }
30152 :
30153 : void
30154 0 : SgEmptyDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
30155 : {
30156 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
30157 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
30158 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
30159 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
30160 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
30161 0 : }
30162 :
30163 : void
30164 2 : SgEmptyDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
30165 : {
30166 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
30167 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
30168 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
30169 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
30170 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
30171 2 : }
30172 :
30173 : void
30174 0 : SgEmptyDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
30175 : {
30176 0 : EasyStorage < std::string > :: writeToFile(out) ;
30177 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
30178 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
30179 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
30180 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
30181 0 : }
30182 :
30183 :
30184 : void
30185 0 : SgEmptyDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
30186 : {
30187 0 : EasyStorage < std::string > :: readFromFile(in) ;
30188 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
30189 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
30190 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
30191 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
30192 0 : }
30193 :
30194 :
30195 :
30196 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30197 :
30198 :
30199 : // ********************************************************
30200 :
30201 : /* #line 30202 "../../../src/frontend/SageIII//StorageClasses.C" */
30202 :
30203 :
30204 :
30205 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30206 :
30207 : // ****************************************************************
30208 : // member functions definition specific to each node in the grammar
30209 : // these are the SgIncludeNextDirectiveStatementStorageClass parts !!!!
30210 : // ROSETTA generated code. Do not change by hand.
30211 : // ****************************************************************
30212 :
30213 :
30214 : /* #line 30215 "../../../src/frontend/SageIII//StorageClasses.C" */
30215 :
30216 :
30217 : void
30218 0 : SgIncludeNextDirectiveStatementStorageClass::pickOutIRNodeData ( SgIncludeNextDirectiveStatement* pointer )
30219 : {
30220 0 : SgIncludeNextDirectiveStatement* source = (SgIncludeNextDirectiveStatement*) (pointer);
30221 : #if FILE_IO_EXTRA_CHECK
30222 0 : assert ( source != NULL ) ;
30223 0 : assert ( source->p_freepointer != NULL) ;
30224 : #endif
30225 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
30226 0 : storageOf_decl_attributes = source->p_decl_attributes ;
30227 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
30228 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
30229 0 : storageOf_nameOnly = source->p_nameOnly ;
30230 0 : storageOf_forward = source->p_forward ;
30231 0 : storageOf_externBrace = source->p_externBrace ;
30232 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
30233 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
30234 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
30235 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30236 0 : unsigned int tempListCountqualifiedNameList = 0;
30237 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
30238 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30239 : {
30240 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
30241 0 : tempListCountqualifiedNameList++;
30242 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
30243 : }
30244 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
30245 0 : tempListCountqualifiedNameList = 0;
30246 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30247 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30248 : {
30249 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
30250 0 : tempListCountqualifiedNameList++;
30251 : }
30252 0 : delete [] tempListqualifiedNameList;
30253 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
30254 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
30255 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
30256 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
30257 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
30258 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
30259 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
30260 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
30261 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
30262 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
30263 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
30264 0 : storageOf_isModified = source->p_isModified ;
30265 0 : storageOf_containsTransformation = source->p_containsTransformation ;
30266 0 : }
30267 :
30268 : void
30269 0 : SgIncludeNextDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
30270 : {
30271 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
30272 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
30273 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
30274 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
30275 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
30276 0 : }
30277 :
30278 : void
30279 2 : SgIncludeNextDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
30280 : {
30281 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
30282 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
30283 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
30284 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
30285 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
30286 2 : }
30287 :
30288 : void
30289 0 : SgIncludeNextDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
30290 : {
30291 0 : EasyStorage < std::string > :: writeToFile(out) ;
30292 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
30293 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
30294 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
30295 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
30296 0 : }
30297 :
30298 :
30299 : void
30300 0 : SgIncludeNextDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
30301 : {
30302 0 : EasyStorage < std::string > :: readFromFile(in) ;
30303 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
30304 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
30305 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
30306 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
30307 0 : }
30308 :
30309 :
30310 :
30311 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30312 :
30313 :
30314 : // ********************************************************
30315 :
30316 : /* #line 30317 "../../../src/frontend/SageIII//StorageClasses.C" */
30317 :
30318 :
30319 :
30320 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30321 :
30322 : // ****************************************************************
30323 : // member functions definition specific to each node in the grammar
30324 : // these are the SgIdentDirectiveStatementStorageClass parts !!!!
30325 : // ROSETTA generated code. Do not change by hand.
30326 : // ****************************************************************
30327 :
30328 :
30329 : /* #line 30330 "../../../src/frontend/SageIII//StorageClasses.C" */
30330 :
30331 :
30332 : void
30333 0 : SgIdentDirectiveStatementStorageClass::pickOutIRNodeData ( SgIdentDirectiveStatement* pointer )
30334 : {
30335 0 : SgIdentDirectiveStatement* source = (SgIdentDirectiveStatement*) (pointer);
30336 : #if FILE_IO_EXTRA_CHECK
30337 0 : assert ( source != NULL ) ;
30338 0 : assert ( source->p_freepointer != NULL) ;
30339 : #endif
30340 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
30341 0 : storageOf_decl_attributes = source->p_decl_attributes ;
30342 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
30343 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
30344 0 : storageOf_nameOnly = source->p_nameOnly ;
30345 0 : storageOf_forward = source->p_forward ;
30346 0 : storageOf_externBrace = source->p_externBrace ;
30347 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
30348 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
30349 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
30350 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30351 0 : unsigned int tempListCountqualifiedNameList = 0;
30352 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
30353 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30354 : {
30355 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
30356 0 : tempListCountqualifiedNameList++;
30357 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
30358 : }
30359 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
30360 0 : tempListCountqualifiedNameList = 0;
30361 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30362 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30363 : {
30364 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
30365 0 : tempListCountqualifiedNameList++;
30366 : }
30367 0 : delete [] tempListqualifiedNameList;
30368 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
30369 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
30370 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
30371 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
30372 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
30373 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
30374 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
30375 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
30376 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
30377 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
30378 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
30379 0 : storageOf_isModified = source->p_isModified ;
30380 0 : storageOf_containsTransformation = source->p_containsTransformation ;
30381 0 : }
30382 :
30383 : void
30384 0 : SgIdentDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
30385 : {
30386 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
30387 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
30388 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
30389 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
30390 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
30391 0 : }
30392 :
30393 : void
30394 2 : SgIdentDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
30395 : {
30396 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
30397 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
30398 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
30399 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
30400 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
30401 2 : }
30402 :
30403 : void
30404 0 : SgIdentDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
30405 : {
30406 0 : EasyStorage < std::string > :: writeToFile(out) ;
30407 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
30408 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
30409 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
30410 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
30411 0 : }
30412 :
30413 :
30414 : void
30415 0 : SgIdentDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
30416 : {
30417 0 : EasyStorage < std::string > :: readFromFile(in) ;
30418 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
30419 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
30420 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
30421 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
30422 0 : }
30423 :
30424 :
30425 :
30426 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30427 :
30428 :
30429 : // ********************************************************
30430 :
30431 : /* #line 30432 "../../../src/frontend/SageIII//StorageClasses.C" */
30432 :
30433 :
30434 :
30435 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30436 :
30437 : // ****************************************************************
30438 : // member functions definition specific to each node in the grammar
30439 : // these are the SgLinemarkerDirectiveStatementStorageClass parts !!!!
30440 : // ROSETTA generated code. Do not change by hand.
30441 : // ****************************************************************
30442 :
30443 :
30444 : /* #line 30445 "../../../src/frontend/SageIII//StorageClasses.C" */
30445 :
30446 :
30447 : void
30448 0 : SgLinemarkerDirectiveStatementStorageClass::pickOutIRNodeData ( SgLinemarkerDirectiveStatement* pointer )
30449 : {
30450 0 : SgLinemarkerDirectiveStatement* source = (SgLinemarkerDirectiveStatement*) (pointer);
30451 : #if FILE_IO_EXTRA_CHECK
30452 0 : assert ( source != NULL ) ;
30453 0 : assert ( source->p_freepointer != NULL) ;
30454 : #endif
30455 0 : storageOf_linenumber = source->p_linenumber ;
30456 0 : storageOf_filename.storeDataInEasyStorageClass(source->p_filename);
30457 0 : storageOf_flaglist.storeDataInEasyStorageClass(source->p_flaglist);
30458 0 : storageOf_directiveString.storeDataInEasyStorageClass(source->p_directiveString);
30459 0 : storageOf_decl_attributes = source->p_decl_attributes ;
30460 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
30461 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
30462 0 : storageOf_nameOnly = source->p_nameOnly ;
30463 0 : storageOf_forward = source->p_forward ;
30464 0 : storageOf_externBrace = source->p_externBrace ;
30465 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
30466 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
30467 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
30468 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30469 0 : unsigned int tempListCountqualifiedNameList = 0;
30470 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
30471 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30472 : {
30473 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
30474 0 : tempListCountqualifiedNameList++;
30475 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
30476 : }
30477 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
30478 0 : tempListCountqualifiedNameList = 0;
30479 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30480 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30481 : {
30482 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
30483 0 : tempListCountqualifiedNameList++;
30484 : }
30485 0 : delete [] tempListqualifiedNameList;
30486 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
30487 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
30488 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
30489 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
30490 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
30491 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
30492 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
30493 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
30494 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
30495 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
30496 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
30497 0 : storageOf_isModified = source->p_isModified ;
30498 0 : storageOf_containsTransformation = source->p_containsTransformation ;
30499 0 : }
30500 :
30501 : void
30502 0 : SgLinemarkerDirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
30503 : {
30504 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
30505 0 : EasyStorage < SgUnsignedCharList > :: arrangeMemoryPoolInOneBlock() ;
30506 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
30507 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
30508 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
30509 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
30510 0 : }
30511 :
30512 : void
30513 2 : SgLinemarkerDirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
30514 : {
30515 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
30516 2 : EasyStorage < SgUnsignedCharList > :: deleteMemoryPool() ;
30517 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
30518 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
30519 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
30520 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
30521 2 : }
30522 :
30523 : void
30524 0 : SgLinemarkerDirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
30525 : {
30526 0 : EasyStorage < std::string > :: writeToFile(out) ;
30527 0 : EasyStorage < SgUnsignedCharList > :: writeToFile(out) ;
30528 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
30529 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
30530 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
30531 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
30532 0 : }
30533 :
30534 :
30535 : void
30536 0 : SgLinemarkerDirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
30537 : {
30538 0 : EasyStorage < std::string > :: readFromFile(in) ;
30539 0 : EasyStorage < SgUnsignedCharList > :: readFromFile(in) ;
30540 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
30541 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
30542 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
30543 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
30544 0 : }
30545 :
30546 :
30547 :
30548 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30549 :
30550 :
30551 : // ********************************************************
30552 :
30553 : /* #line 30554 "../../../src/frontend/SageIII//StorageClasses.C" */
30554 :
30555 :
30556 :
30557 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30558 :
30559 : // ****************************************************************
30560 : // member functions definition specific to each node in the grammar
30561 : // these are the SgOmpThreadprivateStatementStorageClass parts !!!!
30562 : // ROSETTA generated code. Do not change by hand.
30563 : // ****************************************************************
30564 :
30565 :
30566 : /* #line 30567 "../../../src/frontend/SageIII//StorageClasses.C" */
30567 :
30568 :
30569 : void
30570 0 : SgOmpThreadprivateStatementStorageClass::pickOutIRNodeData ( SgOmpThreadprivateStatement* pointer )
30571 : {
30572 0 : SgOmpThreadprivateStatement* source = (SgOmpThreadprivateStatement*) (pointer);
30573 : #if FILE_IO_EXTRA_CHECK
30574 0 : assert ( source != NULL ) ;
30575 0 : assert ( source->p_freepointer != NULL) ;
30576 : #endif
30577 0 : SgVarRefExpPtrList::iterator i_variables = source->p_variables.begin() ;
30578 0 : unsigned int tempListCountvariables = 0;
30579 0 : SgVarRefExpPtrList::value_type * tempListvariables = new SgVarRefExpPtrList::value_type[ source->p_variables.size() ];
30580 0 : for ( ; i_variables != source->p_variables.end(); ++i_variables )
30581 : {
30582 0 : tempListvariables[tempListCountvariables] = *i_variables;
30583 0 : tempListCountvariables++;
30584 0 : (*i_variables) = (SgVarRefExpPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_variables ) );
30585 : }
30586 0 : storageOf_variables.storeDataInEasyStorageClass(source->p_variables);
30587 0 : tempListCountvariables = 0;
30588 0 : i_variables = source->p_variables.begin() ;
30589 0 : for ( ; i_variables != source->p_variables.end(); ++i_variables )
30590 : {
30591 0 : *i_variables = tempListvariables[tempListCountvariables] ;
30592 0 : tempListCountvariables++;
30593 : }
30594 0 : delete [] tempListvariables;
30595 0 : storageOf_decl_attributes = source->p_decl_attributes ;
30596 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
30597 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
30598 0 : storageOf_nameOnly = source->p_nameOnly ;
30599 0 : storageOf_forward = source->p_forward ;
30600 0 : storageOf_externBrace = source->p_externBrace ;
30601 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
30602 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
30603 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
30604 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30605 0 : unsigned int tempListCountqualifiedNameList = 0;
30606 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
30607 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30608 : {
30609 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
30610 0 : tempListCountqualifiedNameList++;
30611 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
30612 : }
30613 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
30614 0 : tempListCountqualifiedNameList = 0;
30615 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30616 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30617 : {
30618 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
30619 0 : tempListCountqualifiedNameList++;
30620 : }
30621 0 : delete [] tempListqualifiedNameList;
30622 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
30623 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
30624 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
30625 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
30626 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
30627 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
30628 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
30629 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
30630 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
30631 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
30632 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
30633 0 : storageOf_isModified = source->p_isModified ;
30634 0 : storageOf_containsTransformation = source->p_containsTransformation ;
30635 0 : }
30636 :
30637 : void
30638 0 : SgOmpThreadprivateStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
30639 : {
30640 0 : EasyStorage < SgVarRefExpPtrList > :: arrangeMemoryPoolInOneBlock() ;
30641 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
30642 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
30643 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
30644 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
30645 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
30646 0 : }
30647 :
30648 : void
30649 2 : SgOmpThreadprivateStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
30650 : {
30651 2 : EasyStorage < SgVarRefExpPtrList > :: deleteMemoryPool() ;
30652 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
30653 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
30654 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
30655 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
30656 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
30657 2 : }
30658 :
30659 : void
30660 0 : SgOmpThreadprivateStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
30661 : {
30662 0 : EasyStorage < SgVarRefExpPtrList > :: writeToFile(out) ;
30663 0 : EasyStorage < std::string > :: writeToFile(out) ;
30664 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
30665 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
30666 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
30667 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
30668 0 : }
30669 :
30670 :
30671 : void
30672 0 : SgOmpThreadprivateStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
30673 : {
30674 0 : EasyStorage < SgVarRefExpPtrList > :: readFromFile(in) ;
30675 0 : EasyStorage < std::string > :: readFromFile(in) ;
30676 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
30677 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
30678 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
30679 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
30680 0 : }
30681 :
30682 :
30683 :
30684 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30685 :
30686 :
30687 : // ********************************************************
30688 :
30689 : /* #line 30690 "../../../src/frontend/SageIII//StorageClasses.C" */
30690 :
30691 :
30692 :
30693 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30694 :
30695 : // ****************************************************************
30696 : // member functions definition specific to each node in the grammar
30697 : // these are the SgOmpRequiresStatementStorageClass parts !!!!
30698 : // ROSETTA generated code. Do not change by hand.
30699 : // ****************************************************************
30700 :
30701 :
30702 : /* #line 30703 "../../../src/frontend/SageIII//StorageClasses.C" */
30703 :
30704 :
30705 : void
30706 0 : SgOmpRequiresStatementStorageClass::pickOutIRNodeData ( SgOmpRequiresStatement* pointer )
30707 : {
30708 0 : SgOmpRequiresStatement* source = (SgOmpRequiresStatement*) (pointer);
30709 : #if FILE_IO_EXTRA_CHECK
30710 0 : assert ( source != NULL ) ;
30711 0 : assert ( source->p_freepointer != NULL) ;
30712 : #endif
30713 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
30714 0 : unsigned int tempListCountclauses = 0;
30715 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
30716 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
30717 : {
30718 0 : tempListclauses[tempListCountclauses] = *i_clauses;
30719 0 : tempListCountclauses++;
30720 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
30721 : }
30722 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
30723 0 : tempListCountclauses = 0;
30724 0 : i_clauses = source->p_clauses.begin() ;
30725 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
30726 : {
30727 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
30728 0 : tempListCountclauses++;
30729 : }
30730 0 : delete [] tempListclauses;
30731 0 : storageOf_decl_attributes = source->p_decl_attributes ;
30732 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
30733 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
30734 0 : storageOf_nameOnly = source->p_nameOnly ;
30735 0 : storageOf_forward = source->p_forward ;
30736 0 : storageOf_externBrace = source->p_externBrace ;
30737 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
30738 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
30739 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
30740 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30741 0 : unsigned int tempListCountqualifiedNameList = 0;
30742 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
30743 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30744 : {
30745 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
30746 0 : tempListCountqualifiedNameList++;
30747 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
30748 : }
30749 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
30750 0 : tempListCountqualifiedNameList = 0;
30751 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30752 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30753 : {
30754 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
30755 0 : tempListCountqualifiedNameList++;
30756 : }
30757 0 : delete [] tempListqualifiedNameList;
30758 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
30759 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
30760 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
30761 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
30762 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
30763 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
30764 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
30765 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
30766 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
30767 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
30768 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
30769 0 : storageOf_isModified = source->p_isModified ;
30770 0 : storageOf_containsTransformation = source->p_containsTransformation ;
30771 0 : }
30772 :
30773 : void
30774 0 : SgOmpRequiresStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
30775 : {
30776 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
30777 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
30778 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
30779 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
30780 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
30781 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
30782 0 : }
30783 :
30784 : void
30785 2 : SgOmpRequiresStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
30786 : {
30787 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
30788 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
30789 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
30790 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
30791 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
30792 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
30793 2 : }
30794 :
30795 : void
30796 0 : SgOmpRequiresStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
30797 : {
30798 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
30799 0 : EasyStorage < std::string > :: writeToFile(out) ;
30800 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
30801 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
30802 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
30803 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
30804 0 : }
30805 :
30806 :
30807 : void
30808 0 : SgOmpRequiresStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
30809 : {
30810 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
30811 0 : EasyStorage < std::string > :: readFromFile(in) ;
30812 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
30813 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
30814 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
30815 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
30816 0 : }
30817 :
30818 :
30819 :
30820 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30821 :
30822 :
30823 : // ********************************************************
30824 :
30825 : /* #line 30826 "../../../src/frontend/SageIII//StorageClasses.C" */
30826 :
30827 :
30828 :
30829 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30830 :
30831 : // ****************************************************************
30832 : // member functions definition specific to each node in the grammar
30833 : // these are the SgFortranIncludeLineStorageClass parts !!!!
30834 : // ROSETTA generated code. Do not change by hand.
30835 : // ****************************************************************
30836 :
30837 :
30838 : /* #line 30839 "../../../src/frontend/SageIII//StorageClasses.C" */
30839 :
30840 :
30841 : void
30842 0 : SgFortranIncludeLineStorageClass::pickOutIRNodeData ( SgFortranIncludeLine* pointer )
30843 : {
30844 0 : SgFortranIncludeLine* source = (SgFortranIncludeLine*) (pointer);
30845 : #if FILE_IO_EXTRA_CHECK
30846 0 : assert ( source != NULL ) ;
30847 0 : assert ( source->p_freepointer != NULL) ;
30848 : #endif
30849 0 : storageOf_filename.storeDataInEasyStorageClass(source->p_filename);
30850 0 : storageOf_decl_attributes = source->p_decl_attributes ;
30851 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
30852 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
30853 0 : storageOf_nameOnly = source->p_nameOnly ;
30854 0 : storageOf_forward = source->p_forward ;
30855 0 : storageOf_externBrace = source->p_externBrace ;
30856 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
30857 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
30858 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
30859 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30860 0 : unsigned int tempListCountqualifiedNameList = 0;
30861 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
30862 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30863 : {
30864 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
30865 0 : tempListCountqualifiedNameList++;
30866 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
30867 : }
30868 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
30869 0 : tempListCountqualifiedNameList = 0;
30870 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30871 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30872 : {
30873 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
30874 0 : tempListCountqualifiedNameList++;
30875 : }
30876 0 : delete [] tempListqualifiedNameList;
30877 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
30878 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
30879 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
30880 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
30881 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
30882 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
30883 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
30884 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
30885 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
30886 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
30887 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
30888 0 : storageOf_isModified = source->p_isModified ;
30889 0 : storageOf_containsTransformation = source->p_containsTransformation ;
30890 0 : }
30891 :
30892 : void
30893 0 : SgFortranIncludeLineStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
30894 : {
30895 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
30896 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
30897 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
30898 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
30899 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
30900 0 : }
30901 :
30902 : void
30903 2 : SgFortranIncludeLineStorageClass::deleteStaticDataOfEasyStorageClasses ( )
30904 : {
30905 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
30906 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
30907 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
30908 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
30909 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
30910 2 : }
30911 :
30912 : void
30913 0 : SgFortranIncludeLineStorageClass::writeEasyStorageDataToFile (std::ostream& out)
30914 : {
30915 0 : EasyStorage < std::string > :: writeToFile(out) ;
30916 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
30917 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
30918 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
30919 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
30920 0 : }
30921 :
30922 :
30923 : void
30924 0 : SgFortranIncludeLineStorageClass::readEasyStorageDataFromFile (std::istream& in)
30925 : {
30926 0 : EasyStorage < std::string > :: readFromFile(in) ;
30927 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
30928 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
30929 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
30930 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
30931 0 : }
30932 :
30933 :
30934 :
30935 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30936 :
30937 :
30938 : // ********************************************************
30939 :
30940 : /* #line 30941 "../../../src/frontend/SageIII//StorageClasses.C" */
30941 :
30942 :
30943 :
30944 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
30945 :
30946 : // ****************************************************************
30947 : // member functions definition specific to each node in the grammar
30948 : // these are the SgOmpTaskwaitStatementStorageClass parts !!!!
30949 : // ROSETTA generated code. Do not change by hand.
30950 : // ****************************************************************
30951 :
30952 :
30953 : /* #line 30954 "../../../src/frontend/SageIII//StorageClasses.C" */
30954 :
30955 :
30956 : void
30957 0 : SgOmpTaskwaitStatementStorageClass::pickOutIRNodeData ( SgOmpTaskwaitStatement* pointer )
30958 : {
30959 0 : SgOmpTaskwaitStatement* source = (SgOmpTaskwaitStatement*) (pointer);
30960 : #if FILE_IO_EXTRA_CHECK
30961 0 : assert ( source != NULL ) ;
30962 0 : assert ( source->p_freepointer != NULL) ;
30963 : #endif
30964 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
30965 0 : unsigned int tempListCountclauses = 0;
30966 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
30967 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
30968 : {
30969 0 : tempListclauses[tempListCountclauses] = *i_clauses;
30970 0 : tempListCountclauses++;
30971 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
30972 : }
30973 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
30974 0 : tempListCountclauses = 0;
30975 0 : i_clauses = source->p_clauses.begin() ;
30976 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
30977 : {
30978 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
30979 0 : tempListCountclauses++;
30980 : }
30981 0 : delete [] tempListclauses;
30982 0 : storageOf_decl_attributes = source->p_decl_attributes ;
30983 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
30984 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
30985 0 : storageOf_nameOnly = source->p_nameOnly ;
30986 0 : storageOf_forward = source->p_forward ;
30987 0 : storageOf_externBrace = source->p_externBrace ;
30988 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
30989 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
30990 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
30991 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
30992 0 : unsigned int tempListCountqualifiedNameList = 0;
30993 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
30994 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
30995 : {
30996 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
30997 0 : tempListCountqualifiedNameList++;
30998 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
30999 : }
31000 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
31001 0 : tempListCountqualifiedNameList = 0;
31002 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31003 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31004 : {
31005 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
31006 0 : tempListCountqualifiedNameList++;
31007 : }
31008 0 : delete [] tempListqualifiedNameList;
31009 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
31010 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
31011 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
31012 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
31013 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
31014 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
31015 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
31016 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
31017 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
31018 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
31019 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
31020 0 : storageOf_isModified = source->p_isModified ;
31021 0 : storageOf_containsTransformation = source->p_containsTransformation ;
31022 0 : }
31023 :
31024 : void
31025 0 : SgOmpTaskwaitStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
31026 : {
31027 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
31028 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
31029 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
31030 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
31031 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
31032 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
31033 0 : }
31034 :
31035 : void
31036 2 : SgOmpTaskwaitStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
31037 : {
31038 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
31039 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
31040 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
31041 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
31042 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
31043 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
31044 2 : }
31045 :
31046 : void
31047 0 : SgOmpTaskwaitStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
31048 : {
31049 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
31050 0 : EasyStorage < std::string > :: writeToFile(out) ;
31051 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
31052 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
31053 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
31054 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
31055 0 : }
31056 :
31057 :
31058 : void
31059 0 : SgOmpTaskwaitStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
31060 : {
31061 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
31062 0 : EasyStorage < std::string > :: readFromFile(in) ;
31063 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
31064 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
31065 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
31066 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
31067 0 : }
31068 :
31069 :
31070 :
31071 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31072 :
31073 :
31074 : // ********************************************************
31075 :
31076 : /* #line 31077 "../../../src/frontend/SageIII//StorageClasses.C" */
31077 :
31078 :
31079 :
31080 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31081 :
31082 : // ****************************************************************
31083 : // member functions definition specific to each node in the grammar
31084 : // these are the SgStmtDeclarationStatementStorageClass parts !!!!
31085 : // ROSETTA generated code. Do not change by hand.
31086 : // ****************************************************************
31087 :
31088 :
31089 : /* #line 31090 "../../../src/frontend/SageIII//StorageClasses.C" */
31090 :
31091 :
31092 : void
31093 0 : SgStmtDeclarationStatementStorageClass::pickOutIRNodeData ( SgStmtDeclarationStatement* pointer )
31094 : {
31095 0 : SgStmtDeclarationStatement* source = (SgStmtDeclarationStatement*) (pointer);
31096 : #if FILE_IO_EXTRA_CHECK
31097 0 : assert ( source != NULL ) ;
31098 0 : assert ( source->p_freepointer != NULL) ;
31099 : #endif
31100 0 : storageOf_statement = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_statement );
31101 0 : storageOf_decl_attributes = source->p_decl_attributes ;
31102 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
31103 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
31104 0 : storageOf_nameOnly = source->p_nameOnly ;
31105 0 : storageOf_forward = source->p_forward ;
31106 0 : storageOf_externBrace = source->p_externBrace ;
31107 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
31108 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
31109 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
31110 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31111 0 : unsigned int tempListCountqualifiedNameList = 0;
31112 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
31113 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31114 : {
31115 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
31116 0 : tempListCountqualifiedNameList++;
31117 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
31118 : }
31119 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
31120 0 : tempListCountqualifiedNameList = 0;
31121 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31122 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31123 : {
31124 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
31125 0 : tempListCountqualifiedNameList++;
31126 : }
31127 0 : delete [] tempListqualifiedNameList;
31128 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
31129 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
31130 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
31131 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
31132 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
31133 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
31134 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
31135 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
31136 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
31137 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
31138 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
31139 0 : storageOf_isModified = source->p_isModified ;
31140 0 : storageOf_containsTransformation = source->p_containsTransformation ;
31141 0 : }
31142 :
31143 : void
31144 0 : SgStmtDeclarationStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
31145 : {
31146 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
31147 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
31148 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
31149 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
31150 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
31151 0 : }
31152 :
31153 : void
31154 2 : SgStmtDeclarationStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
31155 : {
31156 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
31157 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
31158 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
31159 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
31160 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
31161 2 : }
31162 :
31163 : void
31164 0 : SgStmtDeclarationStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
31165 : {
31166 0 : EasyStorage < std::string > :: writeToFile(out) ;
31167 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
31168 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
31169 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
31170 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
31171 0 : }
31172 :
31173 :
31174 : void
31175 0 : SgStmtDeclarationStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
31176 : {
31177 0 : EasyStorage < std::string > :: readFromFile(in) ;
31178 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
31179 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
31180 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
31181 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
31182 0 : }
31183 :
31184 :
31185 :
31186 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31187 :
31188 :
31189 : // ********************************************************
31190 :
31191 : /* #line 31192 "../../../src/frontend/SageIII//StorageClasses.C" */
31192 :
31193 :
31194 :
31195 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31196 :
31197 : // ****************************************************************
31198 : // member functions definition specific to each node in the grammar
31199 : // these are the SgStaticAssertionDeclarationStorageClass parts !!!!
31200 : // ROSETTA generated code. Do not change by hand.
31201 : // ****************************************************************
31202 :
31203 :
31204 : /* #line 31205 "../../../src/frontend/SageIII//StorageClasses.C" */
31205 :
31206 :
31207 : void
31208 14 : SgStaticAssertionDeclarationStorageClass::pickOutIRNodeData ( SgStaticAssertionDeclaration* pointer )
31209 : {
31210 14 : SgStaticAssertionDeclaration* source = (SgStaticAssertionDeclaration*) (pointer);
31211 : #if FILE_IO_EXTRA_CHECK
31212 14 : assert ( source != NULL ) ;
31213 14 : assert ( source->p_freepointer != NULL) ;
31214 : #endif
31215 14 : storageOf_condition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_condition );
31216 14 : storageOf_string_literal.pickOutIRNodeData( &(source->p_string_literal) );
31217 14 : storageOf_decl_attributes = source->p_decl_attributes ;
31218 14 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
31219 14 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
31220 14 : storageOf_nameOnly = source->p_nameOnly ;
31221 14 : storageOf_forward = source->p_forward ;
31222 14 : storageOf_externBrace = source->p_externBrace ;
31223 14 : storageOf_skipElaborateType = source->p_skipElaborateType ;
31224 14 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
31225 14 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
31226 14 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31227 14 : unsigned int tempListCountqualifiedNameList = 0;
31228 14 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
31229 14 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31230 : {
31231 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
31232 0 : tempListCountqualifiedNameList++;
31233 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
31234 : }
31235 14 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
31236 14 : tempListCountqualifiedNameList = 0;
31237 14 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31238 14 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31239 : {
31240 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
31241 0 : tempListCountqualifiedNameList++;
31242 : }
31243 14 : delete [] tempListqualifiedNameList;
31244 14 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
31245 14 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
31246 14 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
31247 14 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
31248 14 : storageOf_source_sequence_value = source->p_source_sequence_value ;
31249 14 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
31250 14 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
31251 14 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
31252 14 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
31253 14 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
31254 14 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
31255 14 : storageOf_isModified = source->p_isModified ;
31256 14 : storageOf_containsTransformation = source->p_containsTransformation ;
31257 14 : }
31258 :
31259 : void
31260 0 : SgStaticAssertionDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
31261 : {
31262 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
31263 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
31264 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
31265 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
31266 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
31267 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
31268 0 : }
31269 :
31270 : void
31271 2 : SgStaticAssertionDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
31272 : {
31273 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
31274 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
31275 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
31276 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
31277 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
31278 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
31279 2 : }
31280 :
31281 : void
31282 1 : SgStaticAssertionDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
31283 : {
31284 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
31285 1 : EasyStorage < std::string > :: writeToFile(out) ;
31286 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
31287 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
31288 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
31289 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
31290 1 : }
31291 :
31292 :
31293 : void
31294 1 : SgStaticAssertionDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
31295 : {
31296 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
31297 1 : EasyStorage < std::string > :: readFromFile(in) ;
31298 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
31299 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
31300 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
31301 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
31302 1 : }
31303 :
31304 :
31305 :
31306 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31307 :
31308 :
31309 : // ********************************************************
31310 :
31311 : /* #line 31312 "../../../src/frontend/SageIII//StorageClasses.C" */
31312 :
31313 :
31314 :
31315 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31316 :
31317 : // ****************************************************************
31318 : // member functions definition specific to each node in the grammar
31319 : // these are the SgOmpDeclareSimdStatementStorageClass parts !!!!
31320 : // ROSETTA generated code. Do not change by hand.
31321 : // ****************************************************************
31322 :
31323 :
31324 : /* #line 31325 "../../../src/frontend/SageIII//StorageClasses.C" */
31325 :
31326 :
31327 : void
31328 0 : SgOmpDeclareSimdStatementStorageClass::pickOutIRNodeData ( SgOmpDeclareSimdStatement* pointer )
31329 : {
31330 0 : SgOmpDeclareSimdStatement* source = (SgOmpDeclareSimdStatement*) (pointer);
31331 : #if FILE_IO_EXTRA_CHECK
31332 0 : assert ( source != NULL ) ;
31333 0 : assert ( source->p_freepointer != NULL) ;
31334 : #endif
31335 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
31336 0 : unsigned int tempListCountclauses = 0;
31337 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
31338 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
31339 : {
31340 0 : tempListclauses[tempListCountclauses] = *i_clauses;
31341 0 : tempListCountclauses++;
31342 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
31343 : }
31344 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
31345 0 : tempListCountclauses = 0;
31346 0 : i_clauses = source->p_clauses.begin() ;
31347 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
31348 : {
31349 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
31350 0 : tempListCountclauses++;
31351 : }
31352 0 : delete [] tempListclauses;
31353 0 : storageOf_decl_attributes = source->p_decl_attributes ;
31354 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
31355 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
31356 0 : storageOf_nameOnly = source->p_nameOnly ;
31357 0 : storageOf_forward = source->p_forward ;
31358 0 : storageOf_externBrace = source->p_externBrace ;
31359 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
31360 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
31361 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
31362 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31363 0 : unsigned int tempListCountqualifiedNameList = 0;
31364 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
31365 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31366 : {
31367 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
31368 0 : tempListCountqualifiedNameList++;
31369 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
31370 : }
31371 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
31372 0 : tempListCountqualifiedNameList = 0;
31373 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31374 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31375 : {
31376 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
31377 0 : tempListCountqualifiedNameList++;
31378 : }
31379 0 : delete [] tempListqualifiedNameList;
31380 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
31381 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
31382 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
31383 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
31384 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
31385 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
31386 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
31387 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
31388 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
31389 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
31390 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
31391 0 : storageOf_isModified = source->p_isModified ;
31392 0 : storageOf_containsTransformation = source->p_containsTransformation ;
31393 0 : }
31394 :
31395 : void
31396 0 : SgOmpDeclareSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
31397 : {
31398 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
31399 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
31400 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
31401 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
31402 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
31403 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
31404 0 : }
31405 :
31406 : void
31407 2 : SgOmpDeclareSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
31408 : {
31409 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
31410 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
31411 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
31412 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
31413 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
31414 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
31415 2 : }
31416 :
31417 : void
31418 0 : SgOmpDeclareSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
31419 : {
31420 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
31421 0 : EasyStorage < std::string > :: writeToFile(out) ;
31422 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
31423 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
31424 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
31425 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
31426 0 : }
31427 :
31428 :
31429 : void
31430 0 : SgOmpDeclareSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
31431 : {
31432 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
31433 0 : EasyStorage < std::string > :: readFromFile(in) ;
31434 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
31435 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
31436 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
31437 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
31438 0 : }
31439 :
31440 :
31441 :
31442 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31443 :
31444 :
31445 : // ********************************************************
31446 :
31447 : /* #line 31448 "../../../src/frontend/SageIII//StorageClasses.C" */
31448 :
31449 :
31450 :
31451 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31452 :
31453 : // ****************************************************************
31454 : // member functions definition specific to each node in the grammar
31455 : // these are the SgMicrosoftAttributeDeclarationStorageClass parts !!!!
31456 : // ROSETTA generated code. Do not change by hand.
31457 : // ****************************************************************
31458 :
31459 :
31460 : /* #line 31461 "../../../src/frontend/SageIII//StorageClasses.C" */
31461 :
31462 :
31463 : void
31464 0 : SgMicrosoftAttributeDeclarationStorageClass::pickOutIRNodeData ( SgMicrosoftAttributeDeclaration* pointer )
31465 : {
31466 0 : SgMicrosoftAttributeDeclaration* source = (SgMicrosoftAttributeDeclaration*) (pointer);
31467 : #if FILE_IO_EXTRA_CHECK
31468 0 : assert ( source != NULL ) ;
31469 0 : assert ( source->p_freepointer != NULL) ;
31470 : #endif
31471 0 : storageOf_attribute_string.pickOutIRNodeData( &(source->p_attribute_string) );
31472 0 : storageOf_decl_attributes = source->p_decl_attributes ;
31473 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
31474 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
31475 0 : storageOf_nameOnly = source->p_nameOnly ;
31476 0 : storageOf_forward = source->p_forward ;
31477 0 : storageOf_externBrace = source->p_externBrace ;
31478 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
31479 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
31480 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
31481 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31482 0 : unsigned int tempListCountqualifiedNameList = 0;
31483 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
31484 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31485 : {
31486 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
31487 0 : tempListCountqualifiedNameList++;
31488 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
31489 : }
31490 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
31491 0 : tempListCountqualifiedNameList = 0;
31492 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31493 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31494 : {
31495 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
31496 0 : tempListCountqualifiedNameList++;
31497 : }
31498 0 : delete [] tempListqualifiedNameList;
31499 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
31500 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
31501 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
31502 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
31503 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
31504 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
31505 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
31506 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
31507 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
31508 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
31509 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
31510 0 : storageOf_isModified = source->p_isModified ;
31511 0 : storageOf_containsTransformation = source->p_containsTransformation ;
31512 0 : }
31513 :
31514 : void
31515 0 : SgMicrosoftAttributeDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
31516 : {
31517 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
31518 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
31519 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
31520 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
31521 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
31522 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
31523 0 : }
31524 :
31525 : void
31526 2 : SgMicrosoftAttributeDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
31527 : {
31528 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
31529 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
31530 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
31531 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
31532 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
31533 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
31534 2 : }
31535 :
31536 : void
31537 0 : SgMicrosoftAttributeDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
31538 : {
31539 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
31540 0 : EasyStorage < std::string > :: writeToFile(out) ;
31541 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
31542 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
31543 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
31544 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
31545 0 : }
31546 :
31547 :
31548 : void
31549 0 : SgMicrosoftAttributeDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
31550 : {
31551 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
31552 0 : EasyStorage < std::string > :: readFromFile(in) ;
31553 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
31554 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
31555 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
31556 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
31557 0 : }
31558 :
31559 :
31560 :
31561 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31562 :
31563 :
31564 : // ********************************************************
31565 :
31566 : /* #line 31567 "../../../src/frontend/SageIII//StorageClasses.C" */
31567 :
31568 :
31569 :
31570 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31571 :
31572 : // ****************************************************************
31573 : // member functions definition specific to each node in the grammar
31574 : // these are the SgNonrealDeclStorageClass parts !!!!
31575 : // ROSETTA generated code. Do not change by hand.
31576 : // ****************************************************************
31577 :
31578 :
31579 : /* #line 31580 "../../../src/frontend/SageIII//StorageClasses.C" */
31580 :
31581 :
31582 : void
31583 5080 : SgNonrealDeclStorageClass::pickOutIRNodeData ( SgNonrealDecl* pointer )
31584 : {
31585 5080 : SgNonrealDecl* source = (SgNonrealDecl*) (pointer);
31586 : #if FILE_IO_EXTRA_CHECK
31587 5080 : assert ( source != NULL ) ;
31588 5080 : assert ( source->p_freepointer != NULL) ;
31589 : #endif
31590 5080 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
31591 5080 : storageOf_nonreal_decl_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_nonreal_decl_scope );
31592 5080 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
31593 5080 : storageOf_template_parameter_position = source->p_template_parameter_position ;
31594 5080 : storageOf_template_parameter_depth = source->p_template_parameter_depth ;
31595 5080 : storageOf_templateDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_templateDeclaration );
31596 5080 : SgTemplateArgumentPtrList::iterator i_tpl_args = source->p_tpl_args.begin() ;
31597 5080 : unsigned int tempListCounttpl_args = 0;
31598 5080 : SgTemplateArgumentPtrList::value_type * tempListtpl_args = new SgTemplateArgumentPtrList::value_type[ source->p_tpl_args.size() ];
31599 7999 : for ( ; i_tpl_args != source->p_tpl_args.end(); ++i_tpl_args )
31600 : {
31601 2919 : tempListtpl_args[tempListCounttpl_args] = *i_tpl_args;
31602 2919 : tempListCounttpl_args++;
31603 2919 : (*i_tpl_args) = (SgTemplateArgumentPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_tpl_args ) );
31604 : }
31605 5080 : storageOf_tpl_args.storeDataInEasyStorageClass(source->p_tpl_args);
31606 5080 : tempListCounttpl_args = 0;
31607 5080 : i_tpl_args = source->p_tpl_args.begin() ;
31608 7999 : for ( ; i_tpl_args != source->p_tpl_args.end(); ++i_tpl_args )
31609 : {
31610 2919 : *i_tpl_args = tempListtpl_args[tempListCounttpl_args] ;
31611 2919 : tempListCounttpl_args++;
31612 : }
31613 5080 : delete [] tempListtpl_args;
31614 5080 : SgTemplateParameterPtrList::iterator i_tpl_params = source->p_tpl_params.begin() ;
31615 5080 : unsigned int tempListCounttpl_params = 0;
31616 5080 : SgTemplateParameterPtrList::value_type * tempListtpl_params = new SgTemplateParameterPtrList::value_type[ source->p_tpl_params.size() ];
31617 5090 : for ( ; i_tpl_params != source->p_tpl_params.end(); ++i_tpl_params )
31618 : {
31619 10 : tempListtpl_params[tempListCounttpl_params] = *i_tpl_params;
31620 10 : tempListCounttpl_params++;
31621 10 : (*i_tpl_params) = (SgTemplateParameterPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_tpl_params ) );
31622 : }
31623 5080 : storageOf_tpl_params.storeDataInEasyStorageClass(source->p_tpl_params);
31624 5080 : tempListCounttpl_params = 0;
31625 5080 : i_tpl_params = source->p_tpl_params.begin() ;
31626 5090 : for ( ; i_tpl_params != source->p_tpl_params.end(); ++i_tpl_params )
31627 : {
31628 10 : *i_tpl_params = tempListtpl_params[tempListCounttpl_params] ;
31629 10 : tempListCounttpl_params++;
31630 : }
31631 5080 : delete [] tempListtpl_params;
31632 5080 : storageOf_is_class_member = source->p_is_class_member ;
31633 5080 : storageOf_is_template_param = source->p_is_template_param ;
31634 5080 : storageOf_is_template_template_param = source->p_is_template_template_param ;
31635 5080 : storageOf_is_nonreal_template = source->p_is_nonreal_template ;
31636 5080 : storageOf_is_nonreal_function = source->p_is_nonreal_function ;
31637 5080 : storageOf_decl_attributes = source->p_decl_attributes ;
31638 5080 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
31639 5080 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
31640 5080 : storageOf_nameOnly = source->p_nameOnly ;
31641 5080 : storageOf_forward = source->p_forward ;
31642 5080 : storageOf_externBrace = source->p_externBrace ;
31643 5080 : storageOf_skipElaborateType = source->p_skipElaborateType ;
31644 5080 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
31645 5080 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
31646 5080 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31647 5080 : unsigned int tempListCountqualifiedNameList = 0;
31648 5080 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
31649 5080 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31650 : {
31651 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
31652 0 : tempListCountqualifiedNameList++;
31653 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
31654 : }
31655 5080 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
31656 5080 : tempListCountqualifiedNameList = 0;
31657 5080 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31658 5080 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31659 : {
31660 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
31661 0 : tempListCountqualifiedNameList++;
31662 : }
31663 5080 : delete [] tempListqualifiedNameList;
31664 5080 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
31665 5080 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
31666 5080 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
31667 5080 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
31668 5080 : storageOf_source_sequence_value = source->p_source_sequence_value ;
31669 5080 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
31670 5080 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
31671 5080 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
31672 5080 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
31673 5080 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
31674 5080 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
31675 5080 : storageOf_isModified = source->p_isModified ;
31676 5080 : storageOf_containsTransformation = source->p_containsTransformation ;
31677 5080 : }
31678 :
31679 : void
31680 0 : SgNonrealDeclStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
31681 : {
31682 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
31683 0 : EasyStorage < SgTemplateArgumentPtrList > :: arrangeMemoryPoolInOneBlock() ;
31684 0 : EasyStorage < SgTemplateParameterPtrList > :: arrangeMemoryPoolInOneBlock() ;
31685 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
31686 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
31687 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
31688 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
31689 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
31690 0 : }
31691 :
31692 : void
31693 2 : SgNonrealDeclStorageClass::deleteStaticDataOfEasyStorageClasses ( )
31694 : {
31695 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
31696 2 : EasyStorage < SgTemplateArgumentPtrList > :: deleteMemoryPool() ;
31697 2 : EasyStorage < SgTemplateParameterPtrList > :: deleteMemoryPool() ;
31698 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
31699 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
31700 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
31701 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
31702 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
31703 2 : }
31704 :
31705 : void
31706 1 : SgNonrealDeclStorageClass::writeEasyStorageDataToFile (std::ostream& out)
31707 : {
31708 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
31709 1 : EasyStorage < SgTemplateArgumentPtrList > :: writeToFile(out) ;
31710 1 : EasyStorage < SgTemplateParameterPtrList > :: writeToFile(out) ;
31711 1 : EasyStorage < std::string > :: writeToFile(out) ;
31712 1 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
31713 1 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
31714 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
31715 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
31716 1 : }
31717 :
31718 :
31719 : void
31720 1 : SgNonrealDeclStorageClass::readEasyStorageDataFromFile (std::istream& in)
31721 : {
31722 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
31723 1 : EasyStorage < SgTemplateArgumentPtrList > :: readFromFile(in) ;
31724 1 : EasyStorage < SgTemplateParameterPtrList > :: readFromFile(in) ;
31725 1 : EasyStorage < std::string > :: readFromFile(in) ;
31726 1 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
31727 1 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
31728 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
31729 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
31730 1 : }
31731 :
31732 :
31733 :
31734 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31735 :
31736 :
31737 : // ********************************************************
31738 :
31739 : /* #line 31740 "../../../src/frontend/SageIII//StorageClasses.C" */
31740 :
31741 :
31742 :
31743 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31744 :
31745 : // ****************************************************************
31746 : // member functions definition specific to each node in the grammar
31747 : // these are the SgEmptyDeclarationStorageClass parts !!!!
31748 : // ROSETTA generated code. Do not change by hand.
31749 : // ****************************************************************
31750 :
31751 :
31752 : /* #line 31753 "../../../src/frontend/SageIII//StorageClasses.C" */
31753 :
31754 :
31755 : void
31756 0 : SgEmptyDeclarationStorageClass::pickOutIRNodeData ( SgEmptyDeclaration* pointer )
31757 : {
31758 0 : SgEmptyDeclaration* source = (SgEmptyDeclaration*) (pointer);
31759 : #if FILE_IO_EXTRA_CHECK
31760 0 : assert ( source != NULL ) ;
31761 0 : assert ( source->p_freepointer != NULL) ;
31762 : #endif
31763 0 : storageOf_decl_attributes = source->p_decl_attributes ;
31764 0 : storageOf_linkage.storeDataInEasyStorageClass(source->p_linkage);
31765 0 : storageOf_declarationModifier.pickOutIRNodeData( &(source->p_declarationModifier) );
31766 0 : storageOf_nameOnly = source->p_nameOnly ;
31767 0 : storageOf_forward = source->p_forward ;
31768 0 : storageOf_externBrace = source->p_externBrace ;
31769 0 : storageOf_skipElaborateType = source->p_skipElaborateType ;
31770 0 : storageOf_definingDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_definingDeclaration );
31771 0 : storageOf_firstNondefiningDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_firstNondefiningDeclaration );
31772 0 : SgQualifiedNamePtrList::iterator i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31773 0 : unsigned int tempListCountqualifiedNameList = 0;
31774 0 : SgQualifiedNamePtrList::value_type * tempListqualifiedNameList = new SgQualifiedNamePtrList::value_type[ source->p_qualifiedNameList.size() ];
31775 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31776 : {
31777 0 : tempListqualifiedNameList[tempListCountqualifiedNameList] = *i_qualifiedNameList;
31778 0 : tempListCountqualifiedNameList++;
31779 0 : (*i_qualifiedNameList) = (SgQualifiedNamePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_qualifiedNameList ) );
31780 : }
31781 0 : storageOf_qualifiedNameList.storeDataInEasyStorageClass(source->p_qualifiedNameList);
31782 0 : tempListCountqualifiedNameList = 0;
31783 0 : i_qualifiedNameList = source->p_qualifiedNameList.begin() ;
31784 0 : for ( ; i_qualifiedNameList != source->p_qualifiedNameList.end(); ++i_qualifiedNameList )
31785 : {
31786 0 : *i_qualifiedNameList = tempListqualifiedNameList[tempListCountqualifiedNameList] ;
31787 0 : tempListCountqualifiedNameList++;
31788 : }
31789 0 : delete [] tempListqualifiedNameList;
31790 0 : storageOf_binding_label.storeDataInEasyStorageClass(source->p_binding_label);
31791 0 : storageOf_declarationScope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declarationScope );
31792 0 : storageOf_unparse_template_ast = source->p_unparse_template_ast ;
31793 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
31794 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
31795 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
31796 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
31797 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
31798 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
31799 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
31800 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
31801 0 : storageOf_isModified = source->p_isModified ;
31802 0 : storageOf_containsTransformation = source->p_containsTransformation ;
31803 0 : }
31804 :
31805 : void
31806 0 : SgEmptyDeclarationStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
31807 : {
31808 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
31809 0 : SgDeclarationModifierStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
31810 0 : EasyStorage < SgQualifiedNamePtrList > :: arrangeMemoryPoolInOneBlock() ;
31811 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
31812 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
31813 0 : }
31814 :
31815 : void
31816 2 : SgEmptyDeclarationStorageClass::deleteStaticDataOfEasyStorageClasses ( )
31817 : {
31818 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
31819 2 : SgDeclarationModifierStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
31820 2 : EasyStorage < SgQualifiedNamePtrList > :: deleteMemoryPool() ;
31821 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
31822 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
31823 2 : }
31824 :
31825 : void
31826 0 : SgEmptyDeclarationStorageClass::writeEasyStorageDataToFile (std::ostream& out)
31827 : {
31828 0 : EasyStorage < std::string > :: writeToFile(out) ;
31829 0 : SgDeclarationModifierStorageClass :: writeEasyStorageDataToFile(out) ;
31830 0 : EasyStorage < SgQualifiedNamePtrList > :: writeToFile(out) ;
31831 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
31832 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
31833 0 : }
31834 :
31835 :
31836 : void
31837 0 : SgEmptyDeclarationStorageClass::readEasyStorageDataFromFile (std::istream& in)
31838 : {
31839 0 : EasyStorage < std::string > :: readFromFile(in) ;
31840 0 : SgDeclarationModifierStorageClass :: readEasyStorageDataFromFile(in) ;
31841 0 : EasyStorage < SgQualifiedNamePtrList > :: readFromFile(in) ;
31842 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
31843 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
31844 0 : }
31845 :
31846 :
31847 :
31848 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31849 :
31850 :
31851 : // ********************************************************
31852 :
31853 : /* #line 31854 "../../../src/frontend/SageIII//StorageClasses.C" */
31854 :
31855 :
31856 :
31857 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31858 :
31859 : // ****************************************************************
31860 : // member functions definition specific to each node in the grammar
31861 : // these are the SgExprStatementStorageClass parts !!!!
31862 : // ROSETTA generated code. Do not change by hand.
31863 : // ****************************************************************
31864 :
31865 :
31866 : /* #line 31867 "../../../src/frontend/SageIII//StorageClasses.C" */
31867 :
31868 :
31869 : void
31870 2208 : SgExprStatementStorageClass::pickOutIRNodeData ( SgExprStatement* pointer )
31871 : {
31872 2208 : SgExprStatement* source = (SgExprStatement*) (pointer);
31873 : #if FILE_IO_EXTRA_CHECK
31874 2208 : assert ( source != NULL ) ;
31875 2208 : assert ( source->p_freepointer != NULL) ;
31876 : #endif
31877 2208 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
31878 2208 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
31879 2208 : storageOf_source_sequence_value = source->p_source_sequence_value ;
31880 2208 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
31881 2208 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
31882 2208 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
31883 2208 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
31884 2208 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
31885 2208 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
31886 2208 : storageOf_isModified = source->p_isModified ;
31887 2208 : storageOf_containsTransformation = source->p_containsTransformation ;
31888 2208 : }
31889 :
31890 : void
31891 0 : SgExprStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
31892 : {
31893 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
31894 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
31895 0 : }
31896 :
31897 : void
31898 2 : SgExprStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
31899 : {
31900 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
31901 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
31902 2 : }
31903 :
31904 : void
31905 2 : SgExprStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
31906 : {
31907 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
31908 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
31909 2 : }
31910 :
31911 :
31912 : void
31913 2 : SgExprStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
31914 : {
31915 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
31916 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
31917 2 : }
31918 :
31919 :
31920 :
31921 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31922 :
31923 :
31924 : // ********************************************************
31925 :
31926 : /* #line 31927 "../../../src/frontend/SageIII//StorageClasses.C" */
31927 :
31928 :
31929 :
31930 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
31931 :
31932 : // ****************************************************************
31933 : // member functions definition specific to each node in the grammar
31934 : // these are the SgLabelStatementStorageClass parts !!!!
31935 : // ROSETTA generated code. Do not change by hand.
31936 : // ****************************************************************
31937 :
31938 :
31939 : /* #line 31940 "../../../src/frontend/SageIII//StorageClasses.C" */
31940 :
31941 :
31942 : void
31943 0 : SgLabelStatementStorageClass::pickOutIRNodeData ( SgLabelStatement* pointer )
31944 : {
31945 0 : SgLabelStatement* source = (SgLabelStatement*) (pointer);
31946 : #if FILE_IO_EXTRA_CHECK
31947 0 : assert ( source != NULL ) ;
31948 0 : assert ( source->p_freepointer != NULL) ;
31949 : #endif
31950 0 : storageOf_label.pickOutIRNodeData( &(source->p_label) );
31951 0 : storageOf_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_scope );
31952 0 : storageOf_statement = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_statement );
31953 0 : storageOf_gnu_extension_unused = source->p_gnu_extension_unused ;
31954 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
31955 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
31956 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
31957 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
31958 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
31959 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
31960 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
31961 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
31962 0 : storageOf_isModified = source->p_isModified ;
31963 0 : storageOf_containsTransformation = source->p_containsTransformation ;
31964 0 : }
31965 :
31966 : void
31967 0 : SgLabelStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
31968 : {
31969 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
31970 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
31971 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
31972 0 : }
31973 :
31974 : void
31975 2 : SgLabelStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
31976 : {
31977 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
31978 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
31979 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
31980 2 : }
31981 :
31982 : void
31983 0 : SgLabelStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
31984 : {
31985 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
31986 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
31987 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
31988 0 : }
31989 :
31990 :
31991 : void
31992 0 : SgLabelStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
31993 : {
31994 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
31995 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
31996 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
31997 0 : }
31998 :
31999 :
32000 :
32001 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32002 :
32003 :
32004 : // ********************************************************
32005 :
32006 : /* #line 32007 "../../../src/frontend/SageIII//StorageClasses.C" */
32007 :
32008 :
32009 :
32010 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32011 :
32012 : // ****************************************************************
32013 : // member functions definition specific to each node in the grammar
32014 : // these are the SgCaseOptionStmtStorageClass parts !!!!
32015 : // ROSETTA generated code. Do not change by hand.
32016 : // ****************************************************************
32017 :
32018 :
32019 : /* #line 32020 "../../../src/frontend/SageIII//StorageClasses.C" */
32020 :
32021 :
32022 : void
32023 0 : SgCaseOptionStmtStorageClass::pickOutIRNodeData ( SgCaseOptionStmt* pointer )
32024 : {
32025 0 : SgCaseOptionStmt* source = (SgCaseOptionStmt*) (pointer);
32026 : #if FILE_IO_EXTRA_CHECK
32027 0 : assert ( source != NULL ) ;
32028 0 : assert ( source->p_freepointer != NULL) ;
32029 : #endif
32030 0 : storageOf_key = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_key );
32031 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
32032 0 : storageOf_key_range_end = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_key_range_end );
32033 0 : storageOf_case_construct_name.storeDataInEasyStorageClass(source->p_case_construct_name);
32034 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32035 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32036 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32037 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32038 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32039 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32040 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32041 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32042 0 : storageOf_isModified = source->p_isModified ;
32043 0 : storageOf_containsTransformation = source->p_containsTransformation ;
32044 0 : }
32045 :
32046 : void
32047 0 : SgCaseOptionStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32048 : {
32049 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
32050 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32051 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32052 0 : }
32053 :
32054 : void
32055 2 : SgCaseOptionStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32056 : {
32057 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
32058 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32059 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32060 2 : }
32061 :
32062 : void
32063 0 : SgCaseOptionStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
32064 : {
32065 0 : EasyStorage < std::string > :: writeToFile(out) ;
32066 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
32067 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
32068 0 : }
32069 :
32070 :
32071 : void
32072 0 : SgCaseOptionStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
32073 : {
32074 0 : EasyStorage < std::string > :: readFromFile(in) ;
32075 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
32076 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
32077 0 : }
32078 :
32079 :
32080 :
32081 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32082 :
32083 :
32084 : // ********************************************************
32085 :
32086 : /* #line 32087 "../../../src/frontend/SageIII//StorageClasses.C" */
32087 :
32088 :
32089 :
32090 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32091 :
32092 : // ****************************************************************
32093 : // member functions definition specific to each node in the grammar
32094 : // these are the SgTryStmtStorageClass parts !!!!
32095 : // ROSETTA generated code. Do not change by hand.
32096 : // ****************************************************************
32097 :
32098 :
32099 : /* #line 32100 "../../../src/frontend/SageIII//StorageClasses.C" */
32100 :
32101 :
32102 : void
32103 54 : SgTryStmtStorageClass::pickOutIRNodeData ( SgTryStmt* pointer )
32104 : {
32105 54 : SgTryStmt* source = (SgTryStmt*) (pointer);
32106 : #if FILE_IO_EXTRA_CHECK
32107 54 : assert ( source != NULL ) ;
32108 54 : assert ( source->p_freepointer != NULL) ;
32109 : #endif
32110 54 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
32111 54 : storageOf_catch_statement_seq_root = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_catch_statement_seq_root );
32112 54 : storageOf_else_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_else_body );
32113 54 : storageOf_finally_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_finally_body );
32114 54 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32115 54 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32116 54 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32117 54 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32118 54 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32119 54 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32120 54 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32121 54 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32122 54 : storageOf_isModified = source->p_isModified ;
32123 54 : storageOf_containsTransformation = source->p_containsTransformation ;
32124 54 : }
32125 :
32126 : void
32127 0 : SgTryStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32128 : {
32129 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32130 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32131 0 : }
32132 :
32133 : void
32134 2 : SgTryStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32135 : {
32136 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32137 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32138 2 : }
32139 :
32140 : void
32141 1 : SgTryStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
32142 : {
32143 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
32144 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
32145 1 : }
32146 :
32147 :
32148 : void
32149 1 : SgTryStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
32150 : {
32151 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
32152 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
32153 1 : }
32154 :
32155 :
32156 :
32157 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32158 :
32159 :
32160 : // ********************************************************
32161 :
32162 : /* #line 32163 "../../../src/frontend/SageIII//StorageClasses.C" */
32163 :
32164 :
32165 :
32166 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32167 :
32168 : // ****************************************************************
32169 : // member functions definition specific to each node in the grammar
32170 : // these are the SgDefaultOptionStmtStorageClass parts !!!!
32171 : // ROSETTA generated code. Do not change by hand.
32172 : // ****************************************************************
32173 :
32174 :
32175 : /* #line 32176 "../../../src/frontend/SageIII//StorageClasses.C" */
32176 :
32177 :
32178 : void
32179 0 : SgDefaultOptionStmtStorageClass::pickOutIRNodeData ( SgDefaultOptionStmt* pointer )
32180 : {
32181 0 : SgDefaultOptionStmt* source = (SgDefaultOptionStmt*) (pointer);
32182 : #if FILE_IO_EXTRA_CHECK
32183 0 : assert ( source != NULL ) ;
32184 0 : assert ( source->p_freepointer != NULL) ;
32185 : #endif
32186 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
32187 0 : storageOf_default_construct_name.storeDataInEasyStorageClass(source->p_default_construct_name);
32188 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32189 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32190 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32191 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32192 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32193 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32194 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32195 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32196 0 : storageOf_isModified = source->p_isModified ;
32197 0 : storageOf_containsTransformation = source->p_containsTransformation ;
32198 0 : }
32199 :
32200 : void
32201 0 : SgDefaultOptionStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32202 : {
32203 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
32204 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32205 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32206 0 : }
32207 :
32208 : void
32209 2 : SgDefaultOptionStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32210 : {
32211 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
32212 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32213 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32214 2 : }
32215 :
32216 : void
32217 0 : SgDefaultOptionStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
32218 : {
32219 0 : EasyStorage < std::string > :: writeToFile(out) ;
32220 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
32221 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
32222 0 : }
32223 :
32224 :
32225 : void
32226 0 : SgDefaultOptionStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
32227 : {
32228 0 : EasyStorage < std::string > :: readFromFile(in) ;
32229 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
32230 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
32231 0 : }
32232 :
32233 :
32234 :
32235 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32236 :
32237 :
32238 : // ********************************************************
32239 :
32240 : /* #line 32241 "../../../src/frontend/SageIII//StorageClasses.C" */
32241 :
32242 :
32243 :
32244 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32245 :
32246 : // ****************************************************************
32247 : // member functions definition specific to each node in the grammar
32248 : // these are the SgBreakStmtStorageClass parts !!!!
32249 : // ROSETTA generated code. Do not change by hand.
32250 : // ****************************************************************
32251 :
32252 :
32253 : /* #line 32254 "../../../src/frontend/SageIII//StorageClasses.C" */
32254 :
32255 :
32256 : void
32257 30 : SgBreakStmtStorageClass::pickOutIRNodeData ( SgBreakStmt* pointer )
32258 : {
32259 30 : SgBreakStmt* source = (SgBreakStmt*) (pointer);
32260 : #if FILE_IO_EXTRA_CHECK
32261 30 : assert ( source != NULL ) ;
32262 30 : assert ( source->p_freepointer != NULL) ;
32263 : #endif
32264 30 : storageOf_do_string_label.storeDataInEasyStorageClass(source->p_do_string_label);
32265 30 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32266 30 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32267 30 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32268 30 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32269 30 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32270 30 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32271 30 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32272 30 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32273 30 : storageOf_isModified = source->p_isModified ;
32274 30 : storageOf_containsTransformation = source->p_containsTransformation ;
32275 30 : }
32276 :
32277 : void
32278 0 : SgBreakStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32279 : {
32280 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
32281 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32282 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32283 0 : }
32284 :
32285 : void
32286 2 : SgBreakStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32287 : {
32288 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
32289 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32290 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32291 2 : }
32292 :
32293 : void
32294 1 : SgBreakStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
32295 : {
32296 1 : EasyStorage < std::string > :: writeToFile(out) ;
32297 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
32298 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
32299 1 : }
32300 :
32301 :
32302 : void
32303 1 : SgBreakStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
32304 : {
32305 1 : EasyStorage < std::string > :: readFromFile(in) ;
32306 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
32307 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
32308 1 : }
32309 :
32310 :
32311 :
32312 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32313 :
32314 :
32315 : // ********************************************************
32316 :
32317 : /* #line 32318 "../../../src/frontend/SageIII//StorageClasses.C" */
32318 :
32319 :
32320 :
32321 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32322 :
32323 : // ****************************************************************
32324 : // member functions definition specific to each node in the grammar
32325 : // these are the SgContinueStmtStorageClass parts !!!!
32326 : // ROSETTA generated code. Do not change by hand.
32327 : // ****************************************************************
32328 :
32329 :
32330 : /* #line 32331 "../../../src/frontend/SageIII//StorageClasses.C" */
32331 :
32332 :
32333 : void
32334 2 : SgContinueStmtStorageClass::pickOutIRNodeData ( SgContinueStmt* pointer )
32335 : {
32336 2 : SgContinueStmt* source = (SgContinueStmt*) (pointer);
32337 : #if FILE_IO_EXTRA_CHECK
32338 2 : assert ( source != NULL ) ;
32339 2 : assert ( source->p_freepointer != NULL) ;
32340 : #endif
32341 2 : storageOf_do_string_label.storeDataInEasyStorageClass(source->p_do_string_label);
32342 2 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32343 2 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32344 2 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32345 2 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32346 2 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32347 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32348 2 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32349 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32350 2 : storageOf_isModified = source->p_isModified ;
32351 2 : storageOf_containsTransformation = source->p_containsTransformation ;
32352 2 : }
32353 :
32354 : void
32355 0 : SgContinueStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32356 : {
32357 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
32358 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32359 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32360 0 : }
32361 :
32362 : void
32363 2 : SgContinueStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32364 : {
32365 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
32366 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32367 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32368 2 : }
32369 :
32370 : void
32371 1 : SgContinueStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
32372 : {
32373 1 : EasyStorage < std::string > :: writeToFile(out) ;
32374 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
32375 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
32376 1 : }
32377 :
32378 :
32379 : void
32380 1 : SgContinueStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
32381 : {
32382 1 : EasyStorage < std::string > :: readFromFile(in) ;
32383 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
32384 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
32385 1 : }
32386 :
32387 :
32388 :
32389 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32390 :
32391 :
32392 : // ********************************************************
32393 :
32394 : /* #line 32395 "../../../src/frontend/SageIII//StorageClasses.C" */
32395 :
32396 :
32397 :
32398 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32399 :
32400 : // ****************************************************************
32401 : // member functions definition specific to each node in the grammar
32402 : // these are the SgReturnStmtStorageClass parts !!!!
32403 : // ROSETTA generated code. Do not change by hand.
32404 : // ****************************************************************
32405 :
32406 :
32407 : /* #line 32408 "../../../src/frontend/SageIII//StorageClasses.C" */
32408 :
32409 :
32410 : void
32411 1405 : SgReturnStmtStorageClass::pickOutIRNodeData ( SgReturnStmt* pointer )
32412 : {
32413 1405 : SgReturnStmt* source = (SgReturnStmt*) (pointer);
32414 : #if FILE_IO_EXTRA_CHECK
32415 1405 : assert ( source != NULL ) ;
32416 1405 : assert ( source->p_freepointer != NULL) ;
32417 : #endif
32418 1405 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
32419 1405 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32420 1405 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32421 1405 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32422 1405 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32423 1405 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32424 1405 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32425 1405 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32426 1405 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32427 1405 : storageOf_isModified = source->p_isModified ;
32428 1405 : storageOf_containsTransformation = source->p_containsTransformation ;
32429 1405 : }
32430 :
32431 : void
32432 0 : SgReturnStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32433 : {
32434 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32435 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32436 0 : }
32437 :
32438 : void
32439 2 : SgReturnStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32440 : {
32441 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32442 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32443 2 : }
32444 :
32445 : void
32446 2 : SgReturnStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
32447 : {
32448 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
32449 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
32450 2 : }
32451 :
32452 :
32453 : void
32454 2 : SgReturnStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
32455 : {
32456 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
32457 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
32458 2 : }
32459 :
32460 :
32461 :
32462 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32463 :
32464 :
32465 : // ********************************************************
32466 :
32467 : /* #line 32468 "../../../src/frontend/SageIII//StorageClasses.C" */
32468 :
32469 :
32470 :
32471 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32472 :
32473 : // ****************************************************************
32474 : // member functions definition specific to each node in the grammar
32475 : // these are the SgGotoStatementStorageClass parts !!!!
32476 : // ROSETTA generated code. Do not change by hand.
32477 : // ****************************************************************
32478 :
32479 :
32480 : /* #line 32481 "../../../src/frontend/SageIII//StorageClasses.C" */
32481 :
32482 :
32483 : void
32484 0 : SgGotoStatementStorageClass::pickOutIRNodeData ( SgGotoStatement* pointer )
32485 : {
32486 0 : SgGotoStatement* source = (SgGotoStatement*) (pointer);
32487 : #if FILE_IO_EXTRA_CHECK
32488 0 : assert ( source != NULL ) ;
32489 0 : assert ( source->p_freepointer != NULL) ;
32490 : #endif
32491 0 : storageOf_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_label );
32492 0 : storageOf_label_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_label_expression );
32493 0 : storageOf_selector_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_selector_expression );
32494 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32495 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32496 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32497 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32498 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32499 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32500 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32501 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32502 0 : storageOf_isModified = source->p_isModified ;
32503 0 : storageOf_containsTransformation = source->p_containsTransformation ;
32504 0 : }
32505 :
32506 : void
32507 0 : SgGotoStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32508 : {
32509 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32510 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32511 0 : }
32512 :
32513 : void
32514 2 : SgGotoStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32515 : {
32516 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32517 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32518 2 : }
32519 :
32520 : void
32521 0 : SgGotoStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
32522 : {
32523 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
32524 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
32525 0 : }
32526 :
32527 :
32528 : void
32529 0 : SgGotoStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
32530 : {
32531 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
32532 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
32533 0 : }
32534 :
32535 :
32536 :
32537 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32538 :
32539 :
32540 : // ********************************************************
32541 :
32542 : /* #line 32543 "../../../src/frontend/SageIII//StorageClasses.C" */
32543 :
32544 :
32545 :
32546 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32547 :
32548 : // ****************************************************************
32549 : // member functions definition specific to each node in the grammar
32550 : // these are the SgSpawnStmtStorageClass parts !!!!
32551 : // ROSETTA generated code. Do not change by hand.
32552 : // ****************************************************************
32553 :
32554 :
32555 : /* #line 32556 "../../../src/frontend/SageIII//StorageClasses.C" */
32556 :
32557 :
32558 : void
32559 0 : SgSpawnStmtStorageClass::pickOutIRNodeData ( SgSpawnStmt* pointer )
32560 : {
32561 0 : SgSpawnStmt* source = (SgSpawnStmt*) (pointer);
32562 : #if FILE_IO_EXTRA_CHECK
32563 0 : assert ( source != NULL ) ;
32564 0 : assert ( source->p_freepointer != NULL) ;
32565 : #endif
32566 0 : storageOf_the_func = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_the_func );
32567 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32568 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32569 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32570 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32571 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32572 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32573 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32574 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32575 0 : storageOf_isModified = source->p_isModified ;
32576 0 : storageOf_containsTransformation = source->p_containsTransformation ;
32577 0 : }
32578 :
32579 : void
32580 0 : SgSpawnStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32581 : {
32582 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32583 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32584 0 : }
32585 :
32586 : void
32587 2 : SgSpawnStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32588 : {
32589 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32590 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32591 2 : }
32592 :
32593 : void
32594 0 : SgSpawnStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
32595 : {
32596 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
32597 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
32598 0 : }
32599 :
32600 :
32601 : void
32602 0 : SgSpawnStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
32603 : {
32604 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
32605 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
32606 0 : }
32607 :
32608 :
32609 :
32610 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32611 :
32612 :
32613 : // ********************************************************
32614 :
32615 : /* #line 32616 "../../../src/frontend/SageIII//StorageClasses.C" */
32616 :
32617 :
32618 :
32619 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32620 :
32621 : // ****************************************************************
32622 : // member functions definition specific to each node in the grammar
32623 : // these are the SgNullStatementStorageClass parts !!!!
32624 : // ROSETTA generated code. Do not change by hand.
32625 : // ****************************************************************
32626 :
32627 :
32628 : /* #line 32629 "../../../src/frontend/SageIII//StorageClasses.C" */
32629 :
32630 :
32631 : void
32632 20 : SgNullStatementStorageClass::pickOutIRNodeData ( SgNullStatement* pointer )
32633 : {
32634 20 : SgNullStatement* source = (SgNullStatement*) (pointer);
32635 : #if FILE_IO_EXTRA_CHECK
32636 20 : assert ( source != NULL ) ;
32637 20 : assert ( source->p_freepointer != NULL) ;
32638 : #endif
32639 20 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32640 20 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32641 20 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32642 20 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32643 20 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32644 20 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32645 20 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32646 20 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32647 20 : storageOf_isModified = source->p_isModified ;
32648 20 : storageOf_containsTransformation = source->p_containsTransformation ;
32649 20 : }
32650 :
32651 : void
32652 0 : SgNullStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32653 : {
32654 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32655 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32656 0 : }
32657 :
32658 : void
32659 2 : SgNullStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32660 : {
32661 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32662 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32663 2 : }
32664 :
32665 : void
32666 1 : SgNullStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
32667 : {
32668 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
32669 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
32670 1 : }
32671 :
32672 :
32673 : void
32674 1 : SgNullStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
32675 : {
32676 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
32677 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
32678 1 : }
32679 :
32680 :
32681 :
32682 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32683 :
32684 :
32685 : // ********************************************************
32686 :
32687 : /* #line 32688 "../../../src/frontend/SageIII//StorageClasses.C" */
32688 :
32689 :
32690 :
32691 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32692 :
32693 : // ****************************************************************
32694 : // member functions definition specific to each node in the grammar
32695 : // these are the SgVariantStatementStorageClass parts !!!!
32696 : // ROSETTA generated code. Do not change by hand.
32697 : // ****************************************************************
32698 :
32699 :
32700 : /* #line 32701 "../../../src/frontend/SageIII//StorageClasses.C" */
32701 :
32702 :
32703 : void
32704 0 : SgVariantStatementStorageClass::pickOutIRNodeData ( SgVariantStatement* pointer )
32705 : {
32706 0 : SgVariantStatement* source = (SgVariantStatement*) (pointer);
32707 : #if FILE_IO_EXTRA_CHECK
32708 0 : assert ( source != NULL ) ;
32709 0 : assert ( source->p_freepointer != NULL) ;
32710 : #endif
32711 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32712 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32713 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32714 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32715 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32716 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32717 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32718 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32719 0 : storageOf_isModified = source->p_isModified ;
32720 0 : storageOf_containsTransformation = source->p_containsTransformation ;
32721 0 : }
32722 :
32723 : void
32724 0 : SgVariantStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32725 : {
32726 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32727 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32728 0 : }
32729 :
32730 : void
32731 2 : SgVariantStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32732 : {
32733 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32734 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32735 2 : }
32736 :
32737 : void
32738 0 : SgVariantStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
32739 : {
32740 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
32741 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
32742 0 : }
32743 :
32744 :
32745 : void
32746 0 : SgVariantStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
32747 : {
32748 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
32749 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
32750 0 : }
32751 :
32752 :
32753 :
32754 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32755 :
32756 :
32757 : // ********************************************************
32758 :
32759 : /* #line 32760 "../../../src/frontend/SageIII//StorageClasses.C" */
32760 :
32761 :
32762 :
32763 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32764 :
32765 : // ****************************************************************
32766 : // member functions definition specific to each node in the grammar
32767 : // these are the SgForInitStatementStorageClass parts !!!!
32768 : // ROSETTA generated code. Do not change by hand.
32769 : // ****************************************************************
32770 :
32771 :
32772 : /* #line 32773 "../../../src/frontend/SageIII//StorageClasses.C" */
32773 :
32774 :
32775 : void
32776 40 : SgForInitStatementStorageClass::pickOutIRNodeData ( SgForInitStatement* pointer )
32777 : {
32778 40 : SgForInitStatement* source = (SgForInitStatement*) (pointer);
32779 : #if FILE_IO_EXTRA_CHECK
32780 40 : assert ( source != NULL ) ;
32781 40 : assert ( source->p_freepointer != NULL) ;
32782 : #endif
32783 40 : SgStatementPtrList::iterator i_init_stmt = source->p_init_stmt.begin() ;
32784 40 : unsigned int tempListCountinit_stmt = 0;
32785 40 : SgStatementPtrList::value_type * tempListinit_stmt = new SgStatementPtrList::value_type[ source->p_init_stmt.size() ];
32786 80 : for ( ; i_init_stmt != source->p_init_stmt.end(); ++i_init_stmt )
32787 : {
32788 40 : tempListinit_stmt[tempListCountinit_stmt] = *i_init_stmt;
32789 40 : tempListCountinit_stmt++;
32790 40 : (*i_init_stmt) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_init_stmt ) );
32791 : }
32792 40 : storageOf_init_stmt.storeDataInEasyStorageClass(source->p_init_stmt);
32793 40 : tempListCountinit_stmt = 0;
32794 40 : i_init_stmt = source->p_init_stmt.begin() ;
32795 80 : for ( ; i_init_stmt != source->p_init_stmt.end(); ++i_init_stmt )
32796 : {
32797 40 : *i_init_stmt = tempListinit_stmt[tempListCountinit_stmt] ;
32798 40 : tempListCountinit_stmt++;
32799 : }
32800 40 : delete [] tempListinit_stmt;
32801 40 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32802 40 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32803 40 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32804 40 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32805 40 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32806 40 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32807 40 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32808 40 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32809 40 : storageOf_isModified = source->p_isModified ;
32810 40 : storageOf_containsTransformation = source->p_containsTransformation ;
32811 40 : }
32812 :
32813 : void
32814 0 : SgForInitStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32815 : {
32816 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
32817 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32818 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32819 0 : }
32820 :
32821 : void
32822 2 : SgForInitStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32823 : {
32824 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
32825 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32826 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32827 2 : }
32828 :
32829 : void
32830 1 : SgForInitStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
32831 : {
32832 1 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
32833 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
32834 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
32835 1 : }
32836 :
32837 :
32838 : void
32839 1 : SgForInitStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
32840 : {
32841 1 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
32842 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
32843 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
32844 1 : }
32845 :
32846 :
32847 :
32848 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32849 :
32850 :
32851 : // ********************************************************
32852 :
32853 : /* #line 32854 "../../../src/frontend/SageIII//StorageClasses.C" */
32854 :
32855 :
32856 :
32857 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32858 :
32859 : // ****************************************************************
32860 : // member functions definition specific to each node in the grammar
32861 : // these are the SgCatchStatementSeqStorageClass parts !!!!
32862 : // ROSETTA generated code. Do not change by hand.
32863 : // ****************************************************************
32864 :
32865 :
32866 : /* #line 32867 "../../../src/frontend/SageIII//StorageClasses.C" */
32867 :
32868 :
32869 : void
32870 54 : SgCatchStatementSeqStorageClass::pickOutIRNodeData ( SgCatchStatementSeq* pointer )
32871 : {
32872 54 : SgCatchStatementSeq* source = (SgCatchStatementSeq*) (pointer);
32873 : #if FILE_IO_EXTRA_CHECK
32874 54 : assert ( source != NULL ) ;
32875 54 : assert ( source->p_freepointer != NULL) ;
32876 : #endif
32877 54 : SgStatementPtrList::iterator i_catch_statement_seq = source->p_catch_statement_seq.begin() ;
32878 54 : unsigned int tempListCountcatch_statement_seq = 0;
32879 54 : SgStatementPtrList::value_type * tempListcatch_statement_seq = new SgStatementPtrList::value_type[ source->p_catch_statement_seq.size() ];
32880 144 : for ( ; i_catch_statement_seq != source->p_catch_statement_seq.end(); ++i_catch_statement_seq )
32881 : {
32882 90 : tempListcatch_statement_seq[tempListCountcatch_statement_seq] = *i_catch_statement_seq;
32883 90 : tempListCountcatch_statement_seq++;
32884 90 : (*i_catch_statement_seq) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_catch_statement_seq ) );
32885 : }
32886 54 : storageOf_catch_statement_seq.storeDataInEasyStorageClass(source->p_catch_statement_seq);
32887 54 : tempListCountcatch_statement_seq = 0;
32888 54 : i_catch_statement_seq = source->p_catch_statement_seq.begin() ;
32889 144 : for ( ; i_catch_statement_seq != source->p_catch_statement_seq.end(); ++i_catch_statement_seq )
32890 : {
32891 90 : *i_catch_statement_seq = tempListcatch_statement_seq[tempListCountcatch_statement_seq] ;
32892 90 : tempListCountcatch_statement_seq++;
32893 : }
32894 54 : delete [] tempListcatch_statement_seq;
32895 54 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32896 54 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32897 54 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32898 54 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32899 54 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32900 54 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32901 54 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32902 54 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32903 54 : storageOf_isModified = source->p_isModified ;
32904 54 : storageOf_containsTransformation = source->p_containsTransformation ;
32905 54 : }
32906 :
32907 : void
32908 0 : SgCatchStatementSeqStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32909 : {
32910 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
32911 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32912 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32913 0 : }
32914 :
32915 : void
32916 2 : SgCatchStatementSeqStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32917 : {
32918 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
32919 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32920 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32921 2 : }
32922 :
32923 : void
32924 1 : SgCatchStatementSeqStorageClass::writeEasyStorageDataToFile (std::ostream& out)
32925 : {
32926 1 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
32927 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
32928 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
32929 1 : }
32930 :
32931 :
32932 : void
32933 1 : SgCatchStatementSeqStorageClass::readEasyStorageDataFromFile (std::istream& in)
32934 : {
32935 1 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
32936 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
32937 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
32938 1 : }
32939 :
32940 :
32941 :
32942 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32943 :
32944 :
32945 : // ********************************************************
32946 :
32947 : /* #line 32948 "../../../src/frontend/SageIII//StorageClasses.C" */
32948 :
32949 :
32950 :
32951 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
32952 :
32953 : // ****************************************************************
32954 : // member functions definition specific to each node in the grammar
32955 : // these are the SgProcessControlStatementStorageClass parts !!!!
32956 : // ROSETTA generated code. Do not change by hand.
32957 : // ****************************************************************
32958 :
32959 :
32960 : /* #line 32961 "../../../src/frontend/SageIII//StorageClasses.C" */
32961 :
32962 :
32963 : void
32964 0 : SgProcessControlStatementStorageClass::pickOutIRNodeData ( SgProcessControlStatement* pointer )
32965 : {
32966 0 : SgProcessControlStatement* source = (SgProcessControlStatement*) (pointer);
32967 : #if FILE_IO_EXTRA_CHECK
32968 0 : assert ( source != NULL ) ;
32969 0 : assert ( source->p_freepointer != NULL) ;
32970 : #endif
32971 0 : storageOf_control_kind = source->p_control_kind ;
32972 0 : storageOf_code = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_code );
32973 0 : storageOf_quiet = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_quiet );
32974 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
32975 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
32976 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
32977 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
32978 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
32979 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
32980 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
32981 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
32982 0 : storageOf_isModified = source->p_isModified ;
32983 0 : storageOf_containsTransformation = source->p_containsTransformation ;
32984 0 : }
32985 :
32986 : void
32987 0 : SgProcessControlStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
32988 : {
32989 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
32990 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
32991 0 : }
32992 :
32993 : void
32994 2 : SgProcessControlStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
32995 : {
32996 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
32997 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
32998 2 : }
32999 :
33000 : void
33001 0 : SgProcessControlStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
33002 : {
33003 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
33004 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
33005 0 : }
33006 :
33007 :
33008 : void
33009 0 : SgProcessControlStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
33010 : {
33011 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
33012 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
33013 0 : }
33014 :
33015 :
33016 :
33017 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33018 :
33019 :
33020 : // ********************************************************
33021 :
33022 : /* #line 33023 "../../../src/frontend/SageIII//StorageClasses.C" */
33023 :
33024 :
33025 :
33026 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33027 :
33028 : // ****************************************************************
33029 : // member functions definition specific to each node in the grammar
33030 : // these are the SgIOStatementStorageClass parts !!!!
33031 : // ROSETTA generated code. Do not change by hand.
33032 : // ****************************************************************
33033 :
33034 :
33035 : /* #line 33036 "../../../src/frontend/SageIII//StorageClasses.C" */
33036 :
33037 :
33038 : void
33039 0 : SgIOStatementStorageClass::pickOutIRNodeData ( SgIOStatement* pointer )
33040 : {
33041 0 : SgIOStatement* source = (SgIOStatement*) (pointer);
33042 : #if FILE_IO_EXTRA_CHECK
33043 0 : assert ( source != NULL ) ;
33044 0 : assert ( source->p_freepointer != NULL) ;
33045 : #endif
33046 0 : storageOf_io_statement = source->p_io_statement ;
33047 0 : storageOf_io_stmt_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_stmt_list );
33048 0 : storageOf_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit );
33049 0 : storageOf_iostat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iostat );
33050 0 : storageOf_err = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err );
33051 0 : storageOf_iomsg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iomsg );
33052 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
33053 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
33054 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
33055 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
33056 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
33057 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
33058 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
33059 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
33060 0 : storageOf_isModified = source->p_isModified ;
33061 0 : storageOf_containsTransformation = source->p_containsTransformation ;
33062 0 : }
33063 :
33064 : void
33065 0 : SgIOStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
33066 : {
33067 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
33068 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
33069 0 : }
33070 :
33071 : void
33072 2 : SgIOStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
33073 : {
33074 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
33075 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
33076 2 : }
33077 :
33078 : void
33079 0 : SgIOStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
33080 : {
33081 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
33082 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
33083 0 : }
33084 :
33085 :
33086 : void
33087 0 : SgIOStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
33088 : {
33089 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
33090 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
33091 0 : }
33092 :
33093 :
33094 :
33095 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33096 :
33097 :
33098 : // ********************************************************
33099 :
33100 : /* #line 33101 "../../../src/frontend/SageIII//StorageClasses.C" */
33101 :
33102 :
33103 :
33104 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33105 :
33106 : // ****************************************************************
33107 : // member functions definition specific to each node in the grammar
33108 : // these are the SgPrintStatementStorageClass parts !!!!
33109 : // ROSETTA generated code. Do not change by hand.
33110 : // ****************************************************************
33111 :
33112 :
33113 : /* #line 33114 "../../../src/frontend/SageIII//StorageClasses.C" */
33114 :
33115 :
33116 : void
33117 1 : SgPrintStatementStorageClass::pickOutIRNodeData ( SgPrintStatement* pointer )
33118 : {
33119 1 : SgPrintStatement* source = (SgPrintStatement*) (pointer);
33120 : #if FILE_IO_EXTRA_CHECK
33121 1 : assert ( source != NULL ) ;
33122 1 : assert ( source->p_freepointer != NULL) ;
33123 : #endif
33124 1 : storageOf_format = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_format );
33125 1 : storageOf_io_statement = source->p_io_statement ;
33126 1 : storageOf_io_stmt_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_stmt_list );
33127 1 : storageOf_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit );
33128 1 : storageOf_iostat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iostat );
33129 1 : storageOf_err = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err );
33130 1 : storageOf_iomsg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iomsg );
33131 1 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
33132 1 : storageOf_source_sequence_value = source->p_source_sequence_value ;
33133 1 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
33134 1 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
33135 1 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
33136 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
33137 1 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
33138 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
33139 1 : storageOf_isModified = source->p_isModified ;
33140 1 : storageOf_containsTransformation = source->p_containsTransformation ;
33141 1 : }
33142 :
33143 : void
33144 0 : SgPrintStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
33145 : {
33146 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
33147 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
33148 0 : }
33149 :
33150 : void
33151 2 : SgPrintStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
33152 : {
33153 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
33154 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
33155 2 : }
33156 :
33157 : void
33158 1 : SgPrintStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
33159 : {
33160 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
33161 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
33162 1 : }
33163 :
33164 :
33165 : void
33166 0 : SgPrintStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
33167 : {
33168 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
33169 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
33170 0 : }
33171 :
33172 :
33173 :
33174 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33175 :
33176 :
33177 : // ********************************************************
33178 :
33179 : /* #line 33180 "../../../src/frontend/SageIII//StorageClasses.C" */
33180 :
33181 :
33182 :
33183 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33184 :
33185 : // ****************************************************************
33186 : // member functions definition specific to each node in the grammar
33187 : // these are the SgReadStatementStorageClass parts !!!!
33188 : // ROSETTA generated code. Do not change by hand.
33189 : // ****************************************************************
33190 :
33191 :
33192 : /* #line 33193 "../../../src/frontend/SageIII//StorageClasses.C" */
33193 :
33194 :
33195 : void
33196 0 : SgReadStatementStorageClass::pickOutIRNodeData ( SgReadStatement* pointer )
33197 : {
33198 0 : SgReadStatement* source = (SgReadStatement*) (pointer);
33199 : #if FILE_IO_EXTRA_CHECK
33200 0 : assert ( source != NULL ) ;
33201 0 : assert ( source->p_freepointer != NULL) ;
33202 : #endif
33203 0 : storageOf_format = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_format );
33204 0 : storageOf_namelist = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_namelist );
33205 0 : storageOf_advance = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_advance );
33206 0 : storageOf_asynchronous = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_asynchronous );
33207 0 : storageOf_blank = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_blank );
33208 0 : storageOf_decimal = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decimal );
33209 0 : storageOf_delim = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_delim );
33210 0 : storageOf_end = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end );
33211 0 : storageOf_eor = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_eor );
33212 0 : storageOf_id = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_id );
33213 0 : storageOf_pad = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pad );
33214 0 : storageOf_pos = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pos );
33215 0 : storageOf_rec = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rec );
33216 0 : storageOf_round = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_round );
33217 0 : storageOf_sign = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_sign );
33218 0 : storageOf_size = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_size );
33219 0 : storageOf_io_statement = source->p_io_statement ;
33220 0 : storageOf_io_stmt_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_stmt_list );
33221 0 : storageOf_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit );
33222 0 : storageOf_iostat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iostat );
33223 0 : storageOf_err = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err );
33224 0 : storageOf_iomsg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iomsg );
33225 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
33226 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
33227 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
33228 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
33229 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
33230 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
33231 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
33232 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
33233 0 : storageOf_isModified = source->p_isModified ;
33234 0 : storageOf_containsTransformation = source->p_containsTransformation ;
33235 0 : }
33236 :
33237 : void
33238 0 : SgReadStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
33239 : {
33240 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
33241 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
33242 0 : }
33243 :
33244 : void
33245 2 : SgReadStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
33246 : {
33247 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
33248 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
33249 2 : }
33250 :
33251 : void
33252 0 : SgReadStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
33253 : {
33254 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
33255 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
33256 0 : }
33257 :
33258 :
33259 : void
33260 0 : SgReadStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
33261 : {
33262 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
33263 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
33264 0 : }
33265 :
33266 :
33267 :
33268 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33269 :
33270 :
33271 : // ********************************************************
33272 :
33273 : /* #line 33274 "../../../src/frontend/SageIII//StorageClasses.C" */
33274 :
33275 :
33276 :
33277 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33278 :
33279 : // ****************************************************************
33280 : // member functions definition specific to each node in the grammar
33281 : // these are the SgWriteStatementStorageClass parts !!!!
33282 : // ROSETTA generated code. Do not change by hand.
33283 : // ****************************************************************
33284 :
33285 :
33286 : /* #line 33287 "../../../src/frontend/SageIII//StorageClasses.C" */
33287 :
33288 :
33289 : void
33290 0 : SgWriteStatementStorageClass::pickOutIRNodeData ( SgWriteStatement* pointer )
33291 : {
33292 0 : SgWriteStatement* source = (SgWriteStatement*) (pointer);
33293 : #if FILE_IO_EXTRA_CHECK
33294 0 : assert ( source != NULL ) ;
33295 0 : assert ( source->p_freepointer != NULL) ;
33296 : #endif
33297 0 : storageOf_format = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_format );
33298 0 : storageOf_namelist = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_namelist );
33299 0 : storageOf_advance = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_advance );
33300 0 : storageOf_asynchronous = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_asynchronous );
33301 0 : storageOf_blank = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_blank );
33302 0 : storageOf_decimal = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decimal );
33303 0 : storageOf_delim = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_delim );
33304 0 : storageOf_end = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end );
33305 0 : storageOf_eor = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_eor );
33306 0 : storageOf_id = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_id );
33307 0 : storageOf_pad = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pad );
33308 0 : storageOf_pos = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pos );
33309 0 : storageOf_rec = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rec );
33310 0 : storageOf_round = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_round );
33311 0 : storageOf_sign = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_sign );
33312 0 : storageOf_size = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_size );
33313 0 : storageOf_io_statement = source->p_io_statement ;
33314 0 : storageOf_io_stmt_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_stmt_list );
33315 0 : storageOf_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit );
33316 0 : storageOf_iostat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iostat );
33317 0 : storageOf_err = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err );
33318 0 : storageOf_iomsg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iomsg );
33319 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
33320 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
33321 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
33322 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
33323 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
33324 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
33325 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
33326 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
33327 0 : storageOf_isModified = source->p_isModified ;
33328 0 : storageOf_containsTransformation = source->p_containsTransformation ;
33329 0 : }
33330 :
33331 : void
33332 0 : SgWriteStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
33333 : {
33334 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
33335 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
33336 0 : }
33337 :
33338 : void
33339 2 : SgWriteStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
33340 : {
33341 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
33342 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
33343 2 : }
33344 :
33345 : void
33346 0 : SgWriteStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
33347 : {
33348 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
33349 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
33350 0 : }
33351 :
33352 :
33353 : void
33354 0 : SgWriteStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
33355 : {
33356 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
33357 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
33358 0 : }
33359 :
33360 :
33361 :
33362 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33363 :
33364 :
33365 : // ********************************************************
33366 :
33367 : /* #line 33368 "../../../src/frontend/SageIII//StorageClasses.C" */
33368 :
33369 :
33370 :
33371 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33372 :
33373 : // ****************************************************************
33374 : // member functions definition specific to each node in the grammar
33375 : // these are the SgOpenStatementStorageClass parts !!!!
33376 : // ROSETTA generated code. Do not change by hand.
33377 : // ****************************************************************
33378 :
33379 :
33380 : /* #line 33381 "../../../src/frontend/SageIII//StorageClasses.C" */
33381 :
33382 :
33383 : void
33384 0 : SgOpenStatementStorageClass::pickOutIRNodeData ( SgOpenStatement* pointer )
33385 : {
33386 0 : SgOpenStatement* source = (SgOpenStatement*) (pointer);
33387 : #if FILE_IO_EXTRA_CHECK
33388 0 : assert ( source != NULL ) ;
33389 0 : assert ( source->p_freepointer != NULL) ;
33390 : #endif
33391 0 : storageOf_file = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_file );
33392 0 : storageOf_status = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_status );
33393 0 : storageOf_access = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_access );
33394 0 : storageOf_form = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_form );
33395 0 : storageOf_recl = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_recl );
33396 0 : storageOf_blank = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_blank );
33397 0 : storageOf_position = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_position );
33398 0 : storageOf_action = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_action );
33399 0 : storageOf_delim = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_delim );
33400 0 : storageOf_pad = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pad );
33401 0 : storageOf_round = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_round );
33402 0 : storageOf_sign = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_sign );
33403 0 : storageOf_asynchronous = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_asynchronous );
33404 0 : storageOf_io_statement = source->p_io_statement ;
33405 0 : storageOf_io_stmt_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_stmt_list );
33406 0 : storageOf_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit );
33407 0 : storageOf_iostat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iostat );
33408 0 : storageOf_err = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err );
33409 0 : storageOf_iomsg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iomsg );
33410 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
33411 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
33412 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
33413 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
33414 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
33415 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
33416 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
33417 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
33418 0 : storageOf_isModified = source->p_isModified ;
33419 0 : storageOf_containsTransformation = source->p_containsTransformation ;
33420 0 : }
33421 :
33422 : void
33423 0 : SgOpenStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
33424 : {
33425 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
33426 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
33427 0 : }
33428 :
33429 : void
33430 2 : SgOpenStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
33431 : {
33432 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
33433 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
33434 2 : }
33435 :
33436 : void
33437 0 : SgOpenStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
33438 : {
33439 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
33440 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
33441 0 : }
33442 :
33443 :
33444 : void
33445 0 : SgOpenStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
33446 : {
33447 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
33448 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
33449 0 : }
33450 :
33451 :
33452 :
33453 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33454 :
33455 :
33456 : // ********************************************************
33457 :
33458 : /* #line 33459 "../../../src/frontend/SageIII//StorageClasses.C" */
33459 :
33460 :
33461 :
33462 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33463 :
33464 : // ****************************************************************
33465 : // member functions definition specific to each node in the grammar
33466 : // these are the SgCloseStatementStorageClass parts !!!!
33467 : // ROSETTA generated code. Do not change by hand.
33468 : // ****************************************************************
33469 :
33470 :
33471 : /* #line 33472 "../../../src/frontend/SageIII//StorageClasses.C" */
33472 :
33473 :
33474 : void
33475 0 : SgCloseStatementStorageClass::pickOutIRNodeData ( SgCloseStatement* pointer )
33476 : {
33477 0 : SgCloseStatement* source = (SgCloseStatement*) (pointer);
33478 : #if FILE_IO_EXTRA_CHECK
33479 0 : assert ( source != NULL ) ;
33480 0 : assert ( source->p_freepointer != NULL) ;
33481 : #endif
33482 0 : storageOf_status = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_status );
33483 0 : storageOf_io_statement = source->p_io_statement ;
33484 0 : storageOf_io_stmt_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_stmt_list );
33485 0 : storageOf_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit );
33486 0 : storageOf_iostat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iostat );
33487 0 : storageOf_err = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err );
33488 0 : storageOf_iomsg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iomsg );
33489 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
33490 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
33491 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
33492 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
33493 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
33494 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
33495 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
33496 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
33497 0 : storageOf_isModified = source->p_isModified ;
33498 0 : storageOf_containsTransformation = source->p_containsTransformation ;
33499 0 : }
33500 :
33501 : void
33502 0 : SgCloseStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
33503 : {
33504 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
33505 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
33506 0 : }
33507 :
33508 : void
33509 2 : SgCloseStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
33510 : {
33511 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
33512 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
33513 2 : }
33514 :
33515 : void
33516 0 : SgCloseStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
33517 : {
33518 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
33519 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
33520 0 : }
33521 :
33522 :
33523 : void
33524 0 : SgCloseStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
33525 : {
33526 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
33527 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
33528 0 : }
33529 :
33530 :
33531 :
33532 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33533 :
33534 :
33535 : // ********************************************************
33536 :
33537 : /* #line 33538 "../../../src/frontend/SageIII//StorageClasses.C" */
33538 :
33539 :
33540 :
33541 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33542 :
33543 : // ****************************************************************
33544 : // member functions definition specific to each node in the grammar
33545 : // these are the SgInquireStatementStorageClass parts !!!!
33546 : // ROSETTA generated code. Do not change by hand.
33547 : // ****************************************************************
33548 :
33549 :
33550 : /* #line 33551 "../../../src/frontend/SageIII//StorageClasses.C" */
33551 :
33552 :
33553 : void
33554 0 : SgInquireStatementStorageClass::pickOutIRNodeData ( SgInquireStatement* pointer )
33555 : {
33556 0 : SgInquireStatement* source = (SgInquireStatement*) (pointer);
33557 : #if FILE_IO_EXTRA_CHECK
33558 0 : assert ( source != NULL ) ;
33559 0 : assert ( source->p_freepointer != NULL) ;
33560 : #endif
33561 0 : storageOf_file = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_file );
33562 0 : storageOf_access = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_access );
33563 0 : storageOf_form = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_form );
33564 0 : storageOf_recl = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_recl );
33565 0 : storageOf_blank = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_blank );
33566 0 : storageOf_exist = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_exist );
33567 0 : storageOf_opened = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_opened );
33568 0 : storageOf_number = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_number );
33569 0 : storageOf_named = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_named );
33570 0 : storageOf_name = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_name );
33571 0 : storageOf_sequential = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_sequential );
33572 0 : storageOf_direct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_direct );
33573 0 : storageOf_formatted = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_formatted );
33574 0 : storageOf_unformatted = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unformatted );
33575 0 : storageOf_nextrec = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_nextrec );
33576 0 : storageOf_position = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_position );
33577 0 : storageOf_action = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_action );
33578 0 : storageOf_read = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_read );
33579 0 : storageOf_write = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_write );
33580 0 : storageOf_readwrite = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_readwrite );
33581 0 : storageOf_delim = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_delim );
33582 0 : storageOf_pad = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pad );
33583 0 : storageOf_asynchronous = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_asynchronous );
33584 0 : storageOf_decimal = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_decimal );
33585 0 : storageOf_stream = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stream );
33586 0 : storageOf_size = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_size );
33587 0 : storageOf_pending = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pending );
33588 0 : storageOf_iolengthExp = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iolengthExp );
33589 0 : storageOf_io_statement = source->p_io_statement ;
33590 0 : storageOf_io_stmt_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_stmt_list );
33591 0 : storageOf_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit );
33592 0 : storageOf_iostat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iostat );
33593 0 : storageOf_err = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err );
33594 0 : storageOf_iomsg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iomsg );
33595 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
33596 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
33597 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
33598 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
33599 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
33600 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
33601 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
33602 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
33603 0 : storageOf_isModified = source->p_isModified ;
33604 0 : storageOf_containsTransformation = source->p_containsTransformation ;
33605 0 : }
33606 :
33607 : void
33608 0 : SgInquireStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
33609 : {
33610 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
33611 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
33612 0 : }
33613 :
33614 : void
33615 2 : SgInquireStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
33616 : {
33617 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
33618 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
33619 2 : }
33620 :
33621 : void
33622 0 : SgInquireStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
33623 : {
33624 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
33625 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
33626 0 : }
33627 :
33628 :
33629 : void
33630 0 : SgInquireStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
33631 : {
33632 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
33633 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
33634 0 : }
33635 :
33636 :
33637 :
33638 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33639 :
33640 :
33641 : // ********************************************************
33642 :
33643 : /* #line 33644 "../../../src/frontend/SageIII//StorageClasses.C" */
33644 :
33645 :
33646 :
33647 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33648 :
33649 : // ****************************************************************
33650 : // member functions definition specific to each node in the grammar
33651 : // these are the SgFlushStatementStorageClass parts !!!!
33652 : // ROSETTA generated code. Do not change by hand.
33653 : // ****************************************************************
33654 :
33655 :
33656 : /* #line 33657 "../../../src/frontend/SageIII//StorageClasses.C" */
33657 :
33658 :
33659 : void
33660 0 : SgFlushStatementStorageClass::pickOutIRNodeData ( SgFlushStatement* pointer )
33661 : {
33662 0 : SgFlushStatement* source = (SgFlushStatement*) (pointer);
33663 : #if FILE_IO_EXTRA_CHECK
33664 0 : assert ( source != NULL ) ;
33665 0 : assert ( source->p_freepointer != NULL) ;
33666 : #endif
33667 0 : storageOf_io_statement = source->p_io_statement ;
33668 0 : storageOf_io_stmt_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_stmt_list );
33669 0 : storageOf_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit );
33670 0 : storageOf_iostat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iostat );
33671 0 : storageOf_err = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err );
33672 0 : storageOf_iomsg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iomsg );
33673 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
33674 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
33675 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
33676 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
33677 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
33678 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
33679 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
33680 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
33681 0 : storageOf_isModified = source->p_isModified ;
33682 0 : storageOf_containsTransformation = source->p_containsTransformation ;
33683 0 : }
33684 :
33685 : void
33686 0 : SgFlushStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
33687 : {
33688 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
33689 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
33690 0 : }
33691 :
33692 : void
33693 2 : SgFlushStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
33694 : {
33695 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
33696 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
33697 2 : }
33698 :
33699 : void
33700 0 : SgFlushStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
33701 : {
33702 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
33703 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
33704 0 : }
33705 :
33706 :
33707 : void
33708 0 : SgFlushStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
33709 : {
33710 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
33711 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
33712 0 : }
33713 :
33714 :
33715 :
33716 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33717 :
33718 :
33719 : // ********************************************************
33720 :
33721 : /* #line 33722 "../../../src/frontend/SageIII//StorageClasses.C" */
33722 :
33723 :
33724 :
33725 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33726 :
33727 : // ****************************************************************
33728 : // member functions definition specific to each node in the grammar
33729 : // these are the SgBackspaceStatementStorageClass parts !!!!
33730 : // ROSETTA generated code. Do not change by hand.
33731 : // ****************************************************************
33732 :
33733 :
33734 : /* #line 33735 "../../../src/frontend/SageIII//StorageClasses.C" */
33735 :
33736 :
33737 : void
33738 0 : SgBackspaceStatementStorageClass::pickOutIRNodeData ( SgBackspaceStatement* pointer )
33739 : {
33740 0 : SgBackspaceStatement* source = (SgBackspaceStatement*) (pointer);
33741 : #if FILE_IO_EXTRA_CHECK
33742 0 : assert ( source != NULL ) ;
33743 0 : assert ( source->p_freepointer != NULL) ;
33744 : #endif
33745 0 : storageOf_io_statement = source->p_io_statement ;
33746 0 : storageOf_io_stmt_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_stmt_list );
33747 0 : storageOf_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit );
33748 0 : storageOf_iostat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iostat );
33749 0 : storageOf_err = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err );
33750 0 : storageOf_iomsg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iomsg );
33751 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
33752 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
33753 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
33754 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
33755 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
33756 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
33757 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
33758 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
33759 0 : storageOf_isModified = source->p_isModified ;
33760 0 : storageOf_containsTransformation = source->p_containsTransformation ;
33761 0 : }
33762 :
33763 : void
33764 0 : SgBackspaceStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
33765 : {
33766 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
33767 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
33768 0 : }
33769 :
33770 : void
33771 2 : SgBackspaceStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
33772 : {
33773 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
33774 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
33775 2 : }
33776 :
33777 : void
33778 0 : SgBackspaceStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
33779 : {
33780 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
33781 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
33782 0 : }
33783 :
33784 :
33785 : void
33786 0 : SgBackspaceStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
33787 : {
33788 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
33789 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
33790 0 : }
33791 :
33792 :
33793 :
33794 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33795 :
33796 :
33797 : // ********************************************************
33798 :
33799 : /* #line 33800 "../../../src/frontend/SageIII//StorageClasses.C" */
33800 :
33801 :
33802 :
33803 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33804 :
33805 : // ****************************************************************
33806 : // member functions definition specific to each node in the grammar
33807 : // these are the SgRewindStatementStorageClass parts !!!!
33808 : // ROSETTA generated code. Do not change by hand.
33809 : // ****************************************************************
33810 :
33811 :
33812 : /* #line 33813 "../../../src/frontend/SageIII//StorageClasses.C" */
33813 :
33814 :
33815 : void
33816 0 : SgRewindStatementStorageClass::pickOutIRNodeData ( SgRewindStatement* pointer )
33817 : {
33818 0 : SgRewindStatement* source = (SgRewindStatement*) (pointer);
33819 : #if FILE_IO_EXTRA_CHECK
33820 0 : assert ( source != NULL ) ;
33821 0 : assert ( source->p_freepointer != NULL) ;
33822 : #endif
33823 0 : storageOf_io_statement = source->p_io_statement ;
33824 0 : storageOf_io_stmt_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_stmt_list );
33825 0 : storageOf_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit );
33826 0 : storageOf_iostat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iostat );
33827 0 : storageOf_err = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err );
33828 0 : storageOf_iomsg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iomsg );
33829 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
33830 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
33831 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
33832 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
33833 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
33834 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
33835 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
33836 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
33837 0 : storageOf_isModified = source->p_isModified ;
33838 0 : storageOf_containsTransformation = source->p_containsTransformation ;
33839 0 : }
33840 :
33841 : void
33842 0 : SgRewindStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
33843 : {
33844 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
33845 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
33846 0 : }
33847 :
33848 : void
33849 2 : SgRewindStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
33850 : {
33851 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
33852 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
33853 2 : }
33854 :
33855 : void
33856 0 : SgRewindStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
33857 : {
33858 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
33859 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
33860 0 : }
33861 :
33862 :
33863 : void
33864 0 : SgRewindStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
33865 : {
33866 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
33867 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
33868 0 : }
33869 :
33870 :
33871 :
33872 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33873 :
33874 :
33875 : // ********************************************************
33876 :
33877 : /* #line 33878 "../../../src/frontend/SageIII//StorageClasses.C" */
33878 :
33879 :
33880 :
33881 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33882 :
33883 : // ****************************************************************
33884 : // member functions definition specific to each node in the grammar
33885 : // these are the SgEndfileStatementStorageClass parts !!!!
33886 : // ROSETTA generated code. Do not change by hand.
33887 : // ****************************************************************
33888 :
33889 :
33890 : /* #line 33891 "../../../src/frontend/SageIII//StorageClasses.C" */
33891 :
33892 :
33893 : void
33894 0 : SgEndfileStatementStorageClass::pickOutIRNodeData ( SgEndfileStatement* pointer )
33895 : {
33896 0 : SgEndfileStatement* source = (SgEndfileStatement*) (pointer);
33897 : #if FILE_IO_EXTRA_CHECK
33898 0 : assert ( source != NULL ) ;
33899 0 : assert ( source->p_freepointer != NULL) ;
33900 : #endif
33901 0 : storageOf_io_statement = source->p_io_statement ;
33902 0 : storageOf_io_stmt_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_stmt_list );
33903 0 : storageOf_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit );
33904 0 : storageOf_iostat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iostat );
33905 0 : storageOf_err = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err );
33906 0 : storageOf_iomsg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iomsg );
33907 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
33908 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
33909 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
33910 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
33911 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
33912 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
33913 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
33914 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
33915 0 : storageOf_isModified = source->p_isModified ;
33916 0 : storageOf_containsTransformation = source->p_containsTransformation ;
33917 0 : }
33918 :
33919 : void
33920 0 : SgEndfileStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
33921 : {
33922 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
33923 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
33924 0 : }
33925 :
33926 : void
33927 2 : SgEndfileStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
33928 : {
33929 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
33930 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
33931 2 : }
33932 :
33933 : void
33934 0 : SgEndfileStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
33935 : {
33936 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
33937 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
33938 0 : }
33939 :
33940 :
33941 : void
33942 0 : SgEndfileStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
33943 : {
33944 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
33945 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
33946 0 : }
33947 :
33948 :
33949 :
33950 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33951 :
33952 :
33953 : // ********************************************************
33954 :
33955 : /* #line 33956 "../../../src/frontend/SageIII//StorageClasses.C" */
33956 :
33957 :
33958 :
33959 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
33960 :
33961 : // ****************************************************************
33962 : // member functions definition specific to each node in the grammar
33963 : // these are the SgWaitStatementStorageClass parts !!!!
33964 : // ROSETTA generated code. Do not change by hand.
33965 : // ****************************************************************
33966 :
33967 :
33968 : /* #line 33969 "../../../src/frontend/SageIII//StorageClasses.C" */
33969 :
33970 :
33971 : void
33972 0 : SgWaitStatementStorageClass::pickOutIRNodeData ( SgWaitStatement* pointer )
33973 : {
33974 0 : SgWaitStatement* source = (SgWaitStatement*) (pointer);
33975 : #if FILE_IO_EXTRA_CHECK
33976 0 : assert ( source != NULL ) ;
33977 0 : assert ( source->p_freepointer != NULL) ;
33978 : #endif
33979 0 : storageOf_io_statement = source->p_io_statement ;
33980 0 : storageOf_io_stmt_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_stmt_list );
33981 0 : storageOf_unit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_unit );
33982 0 : storageOf_iostat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iostat );
33983 0 : storageOf_err = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err );
33984 0 : storageOf_iomsg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iomsg );
33985 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
33986 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
33987 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
33988 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
33989 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
33990 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
33991 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
33992 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
33993 0 : storageOf_isModified = source->p_isModified ;
33994 0 : storageOf_containsTransformation = source->p_containsTransformation ;
33995 0 : }
33996 :
33997 : void
33998 0 : SgWaitStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
33999 : {
34000 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34001 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34002 0 : }
34003 :
34004 : void
34005 2 : SgWaitStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34006 : {
34007 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34008 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34009 2 : }
34010 :
34011 : void
34012 0 : SgWaitStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34013 : {
34014 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34015 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34016 0 : }
34017 :
34018 :
34019 : void
34020 0 : SgWaitStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34021 : {
34022 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34023 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34024 0 : }
34025 :
34026 :
34027 :
34028 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34029 :
34030 :
34031 : // ********************************************************
34032 :
34033 : /* #line 34034 "../../../src/frontend/SageIII//StorageClasses.C" */
34034 :
34035 :
34036 :
34037 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34038 :
34039 : // ****************************************************************
34040 : // member functions definition specific to each node in the grammar
34041 : // these are the SgWhereStatementStorageClass parts !!!!
34042 : // ROSETTA generated code. Do not change by hand.
34043 : // ****************************************************************
34044 :
34045 :
34046 : /* #line 34047 "../../../src/frontend/SageIII//StorageClasses.C" */
34047 :
34048 :
34049 : void
34050 0 : SgWhereStatementStorageClass::pickOutIRNodeData ( SgWhereStatement* pointer )
34051 : {
34052 0 : SgWhereStatement* source = (SgWhereStatement*) (pointer);
34053 : #if FILE_IO_EXTRA_CHECK
34054 0 : assert ( source != NULL ) ;
34055 0 : assert ( source->p_freepointer != NULL) ;
34056 : #endif
34057 0 : storageOf_condition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_condition );
34058 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
34059 0 : storageOf_elsewhere = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_elsewhere );
34060 0 : storageOf_end_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end_numeric_label );
34061 0 : storageOf_string_label.storeDataInEasyStorageClass(source->p_string_label);
34062 0 : storageOf_has_end_statement = source->p_has_end_statement ;
34063 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34064 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34065 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34066 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34067 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34068 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34069 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34070 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34071 0 : storageOf_isModified = source->p_isModified ;
34072 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34073 0 : }
34074 :
34075 : void
34076 0 : SgWhereStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34077 : {
34078 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
34079 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34080 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34081 0 : }
34082 :
34083 : void
34084 2 : SgWhereStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34085 : {
34086 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
34087 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34088 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34089 2 : }
34090 :
34091 : void
34092 0 : SgWhereStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34093 : {
34094 0 : EasyStorage < std::string > :: writeToFile(out) ;
34095 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34096 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34097 0 : }
34098 :
34099 :
34100 : void
34101 0 : SgWhereStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34102 : {
34103 0 : EasyStorage < std::string > :: readFromFile(in) ;
34104 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34105 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34106 0 : }
34107 :
34108 :
34109 :
34110 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34111 :
34112 :
34113 : // ********************************************************
34114 :
34115 : /* #line 34116 "../../../src/frontend/SageIII//StorageClasses.C" */
34116 :
34117 :
34118 :
34119 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34120 :
34121 : // ****************************************************************
34122 : // member functions definition specific to each node in the grammar
34123 : // these are the SgElseWhereStatementStorageClass parts !!!!
34124 : // ROSETTA generated code. Do not change by hand.
34125 : // ****************************************************************
34126 :
34127 :
34128 : /* #line 34129 "../../../src/frontend/SageIII//StorageClasses.C" */
34129 :
34130 :
34131 : void
34132 0 : SgElseWhereStatementStorageClass::pickOutIRNodeData ( SgElseWhereStatement* pointer )
34133 : {
34134 0 : SgElseWhereStatement* source = (SgElseWhereStatement*) (pointer);
34135 : #if FILE_IO_EXTRA_CHECK
34136 0 : assert ( source != NULL ) ;
34137 0 : assert ( source->p_freepointer != NULL) ;
34138 : #endif
34139 0 : storageOf_condition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_condition );
34140 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
34141 0 : storageOf_elsewhere = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_elsewhere );
34142 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34143 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34144 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34145 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34146 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34147 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34148 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34149 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34150 0 : storageOf_isModified = source->p_isModified ;
34151 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34152 0 : }
34153 :
34154 : void
34155 0 : SgElseWhereStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34156 : {
34157 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34158 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34159 0 : }
34160 :
34161 : void
34162 2 : SgElseWhereStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34163 : {
34164 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34165 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34166 2 : }
34167 :
34168 : void
34169 0 : SgElseWhereStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34170 : {
34171 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34172 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34173 0 : }
34174 :
34175 :
34176 : void
34177 0 : SgElseWhereStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34178 : {
34179 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34180 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34181 0 : }
34182 :
34183 :
34184 :
34185 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34186 :
34187 :
34188 : // ********************************************************
34189 :
34190 : /* #line 34191 "../../../src/frontend/SageIII//StorageClasses.C" */
34191 :
34192 :
34193 :
34194 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34195 :
34196 : // ****************************************************************
34197 : // member functions definition specific to each node in the grammar
34198 : // these are the SgNullifyStatementStorageClass parts !!!!
34199 : // ROSETTA generated code. Do not change by hand.
34200 : // ****************************************************************
34201 :
34202 :
34203 : /* #line 34204 "../../../src/frontend/SageIII//StorageClasses.C" */
34204 :
34205 :
34206 : void
34207 0 : SgNullifyStatementStorageClass::pickOutIRNodeData ( SgNullifyStatement* pointer )
34208 : {
34209 0 : SgNullifyStatement* source = (SgNullifyStatement*) (pointer);
34210 : #if FILE_IO_EXTRA_CHECK
34211 0 : assert ( source != NULL ) ;
34212 0 : assert ( source->p_freepointer != NULL) ;
34213 : #endif
34214 0 : storageOf_pointer_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_pointer_list );
34215 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34216 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34217 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34218 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34219 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34220 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34221 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34222 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34223 0 : storageOf_isModified = source->p_isModified ;
34224 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34225 0 : }
34226 :
34227 : void
34228 0 : SgNullifyStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34229 : {
34230 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34231 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34232 0 : }
34233 :
34234 : void
34235 2 : SgNullifyStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34236 : {
34237 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34238 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34239 2 : }
34240 :
34241 : void
34242 0 : SgNullifyStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34243 : {
34244 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34245 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34246 0 : }
34247 :
34248 :
34249 : void
34250 0 : SgNullifyStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34251 : {
34252 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34253 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34254 0 : }
34255 :
34256 :
34257 :
34258 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34259 :
34260 :
34261 : // ********************************************************
34262 :
34263 : /* #line 34264 "../../../src/frontend/SageIII//StorageClasses.C" */
34264 :
34265 :
34266 :
34267 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34268 :
34269 : // ****************************************************************
34270 : // member functions definition specific to each node in the grammar
34271 : // these are the SgArithmeticIfStatementStorageClass parts !!!!
34272 : // ROSETTA generated code. Do not change by hand.
34273 : // ****************************************************************
34274 :
34275 :
34276 : /* #line 34277 "../../../src/frontend/SageIII//StorageClasses.C" */
34277 :
34278 :
34279 : void
34280 0 : SgArithmeticIfStatementStorageClass::pickOutIRNodeData ( SgArithmeticIfStatement* pointer )
34281 : {
34282 0 : SgArithmeticIfStatement* source = (SgArithmeticIfStatement*) (pointer);
34283 : #if FILE_IO_EXTRA_CHECK
34284 0 : assert ( source != NULL ) ;
34285 0 : assert ( source->p_freepointer != NULL) ;
34286 : #endif
34287 0 : storageOf_conditional = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_conditional );
34288 0 : storageOf_less_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_less_label );
34289 0 : storageOf_equal_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_equal_label );
34290 0 : storageOf_greater_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_greater_label );
34291 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34292 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34293 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34294 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34295 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34296 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34297 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34298 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34299 0 : storageOf_isModified = source->p_isModified ;
34300 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34301 0 : }
34302 :
34303 : void
34304 0 : SgArithmeticIfStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34305 : {
34306 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34307 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34308 0 : }
34309 :
34310 : void
34311 2 : SgArithmeticIfStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34312 : {
34313 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34314 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34315 2 : }
34316 :
34317 : void
34318 0 : SgArithmeticIfStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34319 : {
34320 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34321 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34322 0 : }
34323 :
34324 :
34325 : void
34326 0 : SgArithmeticIfStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34327 : {
34328 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34329 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34330 0 : }
34331 :
34332 :
34333 :
34334 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34335 :
34336 :
34337 : // ********************************************************
34338 :
34339 : /* #line 34340 "../../../src/frontend/SageIII//StorageClasses.C" */
34340 :
34341 :
34342 :
34343 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34344 :
34345 : // ****************************************************************
34346 : // member functions definition specific to each node in the grammar
34347 : // these are the SgAssignStatementStorageClass parts !!!!
34348 : // ROSETTA generated code. Do not change by hand.
34349 : // ****************************************************************
34350 :
34351 :
34352 : /* #line 34353 "../../../src/frontend/SageIII//StorageClasses.C" */
34353 :
34354 :
34355 : void
34356 0 : SgAssignStatementStorageClass::pickOutIRNodeData ( SgAssignStatement* pointer )
34357 : {
34358 0 : SgAssignStatement* source = (SgAssignStatement*) (pointer);
34359 : #if FILE_IO_EXTRA_CHECK
34360 0 : assert ( source != NULL ) ;
34361 0 : assert ( source->p_freepointer != NULL) ;
34362 : #endif
34363 0 : storageOf_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_label );
34364 0 : storageOf_value = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_value );
34365 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34366 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34367 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34368 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34369 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34370 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34371 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34372 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34373 0 : storageOf_isModified = source->p_isModified ;
34374 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34375 0 : }
34376 :
34377 : void
34378 0 : SgAssignStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34379 : {
34380 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34381 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34382 0 : }
34383 :
34384 : void
34385 2 : SgAssignStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34386 : {
34387 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34388 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34389 2 : }
34390 :
34391 : void
34392 0 : SgAssignStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34393 : {
34394 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34395 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34396 0 : }
34397 :
34398 :
34399 : void
34400 0 : SgAssignStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34401 : {
34402 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34403 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34404 0 : }
34405 :
34406 :
34407 :
34408 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34409 :
34410 :
34411 : // ********************************************************
34412 :
34413 : /* #line 34414 "../../../src/frontend/SageIII//StorageClasses.C" */
34414 :
34415 :
34416 :
34417 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34418 :
34419 : // ****************************************************************
34420 : // member functions definition specific to each node in the grammar
34421 : // these are the SgComputedGotoStatementStorageClass parts !!!!
34422 : // ROSETTA generated code. Do not change by hand.
34423 : // ****************************************************************
34424 :
34425 :
34426 : /* #line 34427 "../../../src/frontend/SageIII//StorageClasses.C" */
34427 :
34428 :
34429 : void
34430 0 : SgComputedGotoStatementStorageClass::pickOutIRNodeData ( SgComputedGotoStatement* pointer )
34431 : {
34432 0 : SgComputedGotoStatement* source = (SgComputedGotoStatement*) (pointer);
34433 : #if FILE_IO_EXTRA_CHECK
34434 0 : assert ( source != NULL ) ;
34435 0 : assert ( source->p_freepointer != NULL) ;
34436 : #endif
34437 0 : storageOf_labelList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_labelList );
34438 0 : storageOf_label_index = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_label_index );
34439 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34440 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34441 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34442 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34443 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34444 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34445 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34446 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34447 0 : storageOf_isModified = source->p_isModified ;
34448 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34449 0 : }
34450 :
34451 : void
34452 0 : SgComputedGotoStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34453 : {
34454 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34455 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34456 0 : }
34457 :
34458 : void
34459 2 : SgComputedGotoStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34460 : {
34461 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34462 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34463 2 : }
34464 :
34465 : void
34466 0 : SgComputedGotoStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34467 : {
34468 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34469 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34470 0 : }
34471 :
34472 :
34473 : void
34474 0 : SgComputedGotoStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34475 : {
34476 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34477 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34478 0 : }
34479 :
34480 :
34481 :
34482 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34483 :
34484 :
34485 : // ********************************************************
34486 :
34487 : /* #line 34488 "../../../src/frontend/SageIII//StorageClasses.C" */
34488 :
34489 :
34490 :
34491 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34492 :
34493 : // ****************************************************************
34494 : // member functions definition specific to each node in the grammar
34495 : // these are the SgAssignedGotoStatementStorageClass parts !!!!
34496 : // ROSETTA generated code. Do not change by hand.
34497 : // ****************************************************************
34498 :
34499 :
34500 : /* #line 34501 "../../../src/frontend/SageIII//StorageClasses.C" */
34501 :
34502 :
34503 : void
34504 0 : SgAssignedGotoStatementStorageClass::pickOutIRNodeData ( SgAssignedGotoStatement* pointer )
34505 : {
34506 0 : SgAssignedGotoStatement* source = (SgAssignedGotoStatement*) (pointer);
34507 : #if FILE_IO_EXTRA_CHECK
34508 0 : assert ( source != NULL ) ;
34509 0 : assert ( source->p_freepointer != NULL) ;
34510 : #endif
34511 0 : storageOf_targets = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_targets );
34512 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34513 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34514 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34515 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34516 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34517 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34518 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34519 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34520 0 : storageOf_isModified = source->p_isModified ;
34521 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34522 0 : }
34523 :
34524 : void
34525 0 : SgAssignedGotoStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34526 : {
34527 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34528 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34529 0 : }
34530 :
34531 : void
34532 2 : SgAssignedGotoStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34533 : {
34534 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34535 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34536 2 : }
34537 :
34538 : void
34539 0 : SgAssignedGotoStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34540 : {
34541 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34542 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34543 0 : }
34544 :
34545 :
34546 : void
34547 0 : SgAssignedGotoStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34548 : {
34549 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34550 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34551 0 : }
34552 :
34553 :
34554 :
34555 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34556 :
34557 :
34558 : // ********************************************************
34559 :
34560 : /* #line 34561 "../../../src/frontend/SageIII//StorageClasses.C" */
34561 :
34562 :
34563 :
34564 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34565 :
34566 : // ****************************************************************
34567 : // member functions definition specific to each node in the grammar
34568 : // these are the SgAllocateStatementStorageClass parts !!!!
34569 : // ROSETTA generated code. Do not change by hand.
34570 : // ****************************************************************
34571 :
34572 :
34573 : /* #line 34574 "../../../src/frontend/SageIII//StorageClasses.C" */
34574 :
34575 :
34576 : void
34577 0 : SgAllocateStatementStorageClass::pickOutIRNodeData ( SgAllocateStatement* pointer )
34578 : {
34579 0 : SgAllocateStatement* source = (SgAllocateStatement*) (pointer);
34580 : #if FILE_IO_EXTRA_CHECK
34581 0 : assert ( source != NULL ) ;
34582 0 : assert ( source->p_freepointer != NULL) ;
34583 : #endif
34584 0 : storageOf_expr_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expr_list );
34585 0 : storageOf_stat_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stat_expression );
34586 0 : storageOf_errmsg_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_errmsg_expression );
34587 0 : storageOf_source_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_source_expression );
34588 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34589 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34590 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34591 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34592 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34593 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34594 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34595 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34596 0 : storageOf_isModified = source->p_isModified ;
34597 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34598 0 : }
34599 :
34600 : void
34601 0 : SgAllocateStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34602 : {
34603 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34604 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34605 0 : }
34606 :
34607 : void
34608 2 : SgAllocateStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34609 : {
34610 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34611 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34612 2 : }
34613 :
34614 : void
34615 0 : SgAllocateStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34616 : {
34617 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34618 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34619 0 : }
34620 :
34621 :
34622 : void
34623 0 : SgAllocateStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34624 : {
34625 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34626 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34627 0 : }
34628 :
34629 :
34630 :
34631 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34632 :
34633 :
34634 : // ********************************************************
34635 :
34636 : /* #line 34637 "../../../src/frontend/SageIII//StorageClasses.C" */
34637 :
34638 :
34639 :
34640 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34641 :
34642 : // ****************************************************************
34643 : // member functions definition specific to each node in the grammar
34644 : // these are the SgDeallocateStatementStorageClass parts !!!!
34645 : // ROSETTA generated code. Do not change by hand.
34646 : // ****************************************************************
34647 :
34648 :
34649 : /* #line 34650 "../../../src/frontend/SageIII//StorageClasses.C" */
34650 :
34651 :
34652 : void
34653 0 : SgDeallocateStatementStorageClass::pickOutIRNodeData ( SgDeallocateStatement* pointer )
34654 : {
34655 0 : SgDeallocateStatement* source = (SgDeallocateStatement*) (pointer);
34656 : #if FILE_IO_EXTRA_CHECK
34657 0 : assert ( source != NULL ) ;
34658 0 : assert ( source->p_freepointer != NULL) ;
34659 : #endif
34660 0 : storageOf_expr_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expr_list );
34661 0 : storageOf_stat_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stat_expression );
34662 0 : storageOf_errmsg_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_errmsg_expression );
34663 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34664 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34665 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34666 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34667 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34668 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34669 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34670 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34671 0 : storageOf_isModified = source->p_isModified ;
34672 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34673 0 : }
34674 :
34675 : void
34676 0 : SgDeallocateStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34677 : {
34678 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34679 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34680 0 : }
34681 :
34682 : void
34683 2 : SgDeallocateStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34684 : {
34685 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34686 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34687 2 : }
34688 :
34689 : void
34690 0 : SgDeallocateStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34691 : {
34692 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34693 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34694 0 : }
34695 :
34696 :
34697 : void
34698 0 : SgDeallocateStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34699 : {
34700 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34701 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34702 0 : }
34703 :
34704 :
34705 :
34706 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34707 :
34708 :
34709 : // ********************************************************
34710 :
34711 : /* #line 34712 "../../../src/frontend/SageIII//StorageClasses.C" */
34712 :
34713 :
34714 :
34715 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34716 :
34717 : // ****************************************************************
34718 : // member functions definition specific to each node in the grammar
34719 : // these are the SgUpcNotifyStatementStorageClass parts !!!!
34720 : // ROSETTA generated code. Do not change by hand.
34721 : // ****************************************************************
34722 :
34723 :
34724 : /* #line 34725 "../../../src/frontend/SageIII//StorageClasses.C" */
34725 :
34726 :
34727 : void
34728 0 : SgUpcNotifyStatementStorageClass::pickOutIRNodeData ( SgUpcNotifyStatement* pointer )
34729 : {
34730 0 : SgUpcNotifyStatement* source = (SgUpcNotifyStatement*) (pointer);
34731 : #if FILE_IO_EXTRA_CHECK
34732 0 : assert ( source != NULL ) ;
34733 0 : assert ( source->p_freepointer != NULL) ;
34734 : #endif
34735 0 : storageOf_notify_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_notify_expression );
34736 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34737 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34738 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34739 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34740 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34741 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34742 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34743 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34744 0 : storageOf_isModified = source->p_isModified ;
34745 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34746 0 : }
34747 :
34748 : void
34749 0 : SgUpcNotifyStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34750 : {
34751 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34752 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34753 0 : }
34754 :
34755 : void
34756 2 : SgUpcNotifyStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34757 : {
34758 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34759 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34760 2 : }
34761 :
34762 : void
34763 0 : SgUpcNotifyStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34764 : {
34765 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34766 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34767 0 : }
34768 :
34769 :
34770 : void
34771 0 : SgUpcNotifyStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34772 : {
34773 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34774 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34775 0 : }
34776 :
34777 :
34778 :
34779 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34780 :
34781 :
34782 : // ********************************************************
34783 :
34784 : /* #line 34785 "../../../src/frontend/SageIII//StorageClasses.C" */
34785 :
34786 :
34787 :
34788 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34789 :
34790 : // ****************************************************************
34791 : // member functions definition specific to each node in the grammar
34792 : // these are the SgUpcWaitStatementStorageClass parts !!!!
34793 : // ROSETTA generated code. Do not change by hand.
34794 : // ****************************************************************
34795 :
34796 :
34797 : /* #line 34798 "../../../src/frontend/SageIII//StorageClasses.C" */
34798 :
34799 :
34800 : void
34801 0 : SgUpcWaitStatementStorageClass::pickOutIRNodeData ( SgUpcWaitStatement* pointer )
34802 : {
34803 0 : SgUpcWaitStatement* source = (SgUpcWaitStatement*) (pointer);
34804 : #if FILE_IO_EXTRA_CHECK
34805 0 : assert ( source != NULL ) ;
34806 0 : assert ( source->p_freepointer != NULL) ;
34807 : #endif
34808 0 : storageOf_wait_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_wait_expression );
34809 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34810 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34811 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34812 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34813 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34814 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34815 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34816 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34817 0 : storageOf_isModified = source->p_isModified ;
34818 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34819 0 : }
34820 :
34821 : void
34822 0 : SgUpcWaitStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34823 : {
34824 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34825 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34826 0 : }
34827 :
34828 : void
34829 2 : SgUpcWaitStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34830 : {
34831 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34832 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34833 2 : }
34834 :
34835 : void
34836 0 : SgUpcWaitStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34837 : {
34838 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34839 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34840 0 : }
34841 :
34842 :
34843 : void
34844 0 : SgUpcWaitStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34845 : {
34846 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34847 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34848 0 : }
34849 :
34850 :
34851 :
34852 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34853 :
34854 :
34855 : // ********************************************************
34856 :
34857 : /* #line 34858 "../../../src/frontend/SageIII//StorageClasses.C" */
34858 :
34859 :
34860 :
34861 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34862 :
34863 : // ****************************************************************
34864 : // member functions definition specific to each node in the grammar
34865 : // these are the SgUpcBarrierStatementStorageClass parts !!!!
34866 : // ROSETTA generated code. Do not change by hand.
34867 : // ****************************************************************
34868 :
34869 :
34870 : /* #line 34871 "../../../src/frontend/SageIII//StorageClasses.C" */
34871 :
34872 :
34873 : void
34874 0 : SgUpcBarrierStatementStorageClass::pickOutIRNodeData ( SgUpcBarrierStatement* pointer )
34875 : {
34876 0 : SgUpcBarrierStatement* source = (SgUpcBarrierStatement*) (pointer);
34877 : #if FILE_IO_EXTRA_CHECK
34878 0 : assert ( source != NULL ) ;
34879 0 : assert ( source->p_freepointer != NULL) ;
34880 : #endif
34881 0 : storageOf_barrier_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_barrier_expression );
34882 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34883 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34884 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34885 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34886 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34887 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34888 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34889 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34890 0 : storageOf_isModified = source->p_isModified ;
34891 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34892 0 : }
34893 :
34894 : void
34895 0 : SgUpcBarrierStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34896 : {
34897 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34898 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34899 0 : }
34900 :
34901 : void
34902 2 : SgUpcBarrierStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34903 : {
34904 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34905 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34906 2 : }
34907 :
34908 : void
34909 0 : SgUpcBarrierStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34910 : {
34911 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34912 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34913 0 : }
34914 :
34915 :
34916 : void
34917 0 : SgUpcBarrierStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34918 : {
34919 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34920 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34921 0 : }
34922 :
34923 :
34924 :
34925 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34926 :
34927 :
34928 : // ********************************************************
34929 :
34930 : /* #line 34931 "../../../src/frontend/SageIII//StorageClasses.C" */
34931 :
34932 :
34933 :
34934 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34935 :
34936 : // ****************************************************************
34937 : // member functions definition specific to each node in the grammar
34938 : // these are the SgUpcFenceStatementStorageClass parts !!!!
34939 : // ROSETTA generated code. Do not change by hand.
34940 : // ****************************************************************
34941 :
34942 :
34943 : /* #line 34944 "../../../src/frontend/SageIII//StorageClasses.C" */
34944 :
34945 :
34946 : void
34947 0 : SgUpcFenceStatementStorageClass::pickOutIRNodeData ( SgUpcFenceStatement* pointer )
34948 : {
34949 0 : SgUpcFenceStatement* source = (SgUpcFenceStatement*) (pointer);
34950 : #if FILE_IO_EXTRA_CHECK
34951 0 : assert ( source != NULL ) ;
34952 0 : assert ( source->p_freepointer != NULL) ;
34953 : #endif
34954 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
34955 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
34956 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
34957 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
34958 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
34959 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
34960 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
34961 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
34962 0 : storageOf_isModified = source->p_isModified ;
34963 0 : storageOf_containsTransformation = source->p_containsTransformation ;
34964 0 : }
34965 :
34966 : void
34967 0 : SgUpcFenceStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
34968 : {
34969 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
34970 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
34971 0 : }
34972 :
34973 : void
34974 2 : SgUpcFenceStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
34975 : {
34976 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
34977 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
34978 2 : }
34979 :
34980 : void
34981 0 : SgUpcFenceStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
34982 : {
34983 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
34984 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
34985 0 : }
34986 :
34987 :
34988 : void
34989 0 : SgUpcFenceStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
34990 : {
34991 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
34992 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
34993 0 : }
34994 :
34995 :
34996 :
34997 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
34998 :
34999 :
35000 : // ********************************************************
35001 :
35002 : /* #line 35003 "../../../src/frontend/SageIII//StorageClasses.C" */
35003 :
35004 :
35005 :
35006 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35007 :
35008 : // ****************************************************************
35009 : // member functions definition specific to each node in the grammar
35010 : // these are the SgUpirBaseStatementStorageClass parts !!!!
35011 : // ROSETTA generated code. Do not change by hand.
35012 : // ****************************************************************
35013 :
35014 :
35015 : /* #line 35016 "../../../src/frontend/SageIII//StorageClasses.C" */
35016 :
35017 :
35018 : void
35019 0 : SgUpirBaseStatementStorageClass::pickOutIRNodeData ( SgUpirBaseStatement* pointer )
35020 : {
35021 0 : SgUpirBaseStatement* source = (SgUpirBaseStatement*) (pointer);
35022 : #if FILE_IO_EXTRA_CHECK
35023 0 : assert ( source != NULL ) ;
35024 0 : assert ( source->p_freepointer != NULL) ;
35025 : #endif
35026 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
35027 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
35028 0 : unsigned int tempListCountupir_children = 0;
35029 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
35030 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35031 : {
35032 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
35033 0 : tempListCountupir_children++;
35034 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
35035 : }
35036 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
35037 0 : tempListCountupir_children = 0;
35038 0 : i_upir_children = source->p_upir_children.begin() ;
35039 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35040 : {
35041 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
35042 0 : tempListCountupir_children++;
35043 : }
35044 0 : delete [] tempListupir_children;
35045 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
35046 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
35047 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
35048 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
35049 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
35050 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
35051 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
35052 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
35053 0 : storageOf_isModified = source->p_isModified ;
35054 0 : storageOf_containsTransformation = source->p_containsTransformation ;
35055 0 : }
35056 :
35057 : void
35058 0 : SgUpirBaseStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
35059 : {
35060 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
35061 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
35062 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
35063 0 : }
35064 :
35065 : void
35066 2 : SgUpirBaseStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
35067 : {
35068 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
35069 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
35070 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
35071 2 : }
35072 :
35073 : void
35074 0 : SgUpirBaseStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
35075 : {
35076 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
35077 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
35078 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
35079 0 : }
35080 :
35081 :
35082 : void
35083 0 : SgUpirBaseStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
35084 : {
35085 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
35086 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
35087 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
35088 0 : }
35089 :
35090 :
35091 :
35092 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35093 :
35094 :
35095 : // ********************************************************
35096 :
35097 : /* #line 35098 "../../../src/frontend/SageIII//StorageClasses.C" */
35098 :
35099 :
35100 :
35101 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35102 :
35103 : // ****************************************************************
35104 : // member functions definition specific to each node in the grammar
35105 : // these are the SgOmpTaskyieldStatementStorageClass parts !!!!
35106 : // ROSETTA generated code. Do not change by hand.
35107 : // ****************************************************************
35108 :
35109 :
35110 : /* #line 35111 "../../../src/frontend/SageIII//StorageClasses.C" */
35111 :
35112 :
35113 : void
35114 0 : SgOmpTaskyieldStatementStorageClass::pickOutIRNodeData ( SgOmpTaskyieldStatement* pointer )
35115 : {
35116 0 : SgOmpTaskyieldStatement* source = (SgOmpTaskyieldStatement*) (pointer);
35117 : #if FILE_IO_EXTRA_CHECK
35118 0 : assert ( source != NULL ) ;
35119 0 : assert ( source->p_freepointer != NULL) ;
35120 : #endif
35121 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
35122 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
35123 0 : unsigned int tempListCountupir_children = 0;
35124 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
35125 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35126 : {
35127 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
35128 0 : tempListCountupir_children++;
35129 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
35130 : }
35131 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
35132 0 : tempListCountupir_children = 0;
35133 0 : i_upir_children = source->p_upir_children.begin() ;
35134 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35135 : {
35136 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
35137 0 : tempListCountupir_children++;
35138 : }
35139 0 : delete [] tempListupir_children;
35140 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
35141 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
35142 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
35143 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
35144 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
35145 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
35146 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
35147 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
35148 0 : storageOf_isModified = source->p_isModified ;
35149 0 : storageOf_containsTransformation = source->p_containsTransformation ;
35150 0 : }
35151 :
35152 : void
35153 0 : SgOmpTaskyieldStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
35154 : {
35155 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
35156 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
35157 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
35158 0 : }
35159 :
35160 : void
35161 2 : SgOmpTaskyieldStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
35162 : {
35163 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
35164 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
35165 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
35166 2 : }
35167 :
35168 : void
35169 0 : SgOmpTaskyieldStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
35170 : {
35171 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
35172 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
35173 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
35174 0 : }
35175 :
35176 :
35177 : void
35178 0 : SgOmpTaskyieldStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
35179 : {
35180 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
35181 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
35182 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
35183 0 : }
35184 :
35185 :
35186 :
35187 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35188 :
35189 :
35190 : // ********************************************************
35191 :
35192 : /* #line 35193 "../../../src/frontend/SageIII//StorageClasses.C" */
35193 :
35194 :
35195 :
35196 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35197 :
35198 : // ****************************************************************
35199 : // member functions definition specific to each node in the grammar
35200 : // these are the SgOmpBarrierStatementStorageClass parts !!!!
35201 : // ROSETTA generated code. Do not change by hand.
35202 : // ****************************************************************
35203 :
35204 :
35205 : /* #line 35206 "../../../src/frontend/SageIII//StorageClasses.C" */
35206 :
35207 :
35208 : void
35209 0 : SgOmpBarrierStatementStorageClass::pickOutIRNodeData ( SgOmpBarrierStatement* pointer )
35210 : {
35211 0 : SgOmpBarrierStatement* source = (SgOmpBarrierStatement*) (pointer);
35212 : #if FILE_IO_EXTRA_CHECK
35213 0 : assert ( source != NULL ) ;
35214 0 : assert ( source->p_freepointer != NULL) ;
35215 : #endif
35216 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
35217 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
35218 0 : unsigned int tempListCountupir_children = 0;
35219 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
35220 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35221 : {
35222 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
35223 0 : tempListCountupir_children++;
35224 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
35225 : }
35226 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
35227 0 : tempListCountupir_children = 0;
35228 0 : i_upir_children = source->p_upir_children.begin() ;
35229 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35230 : {
35231 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
35232 0 : tempListCountupir_children++;
35233 : }
35234 0 : delete [] tempListupir_children;
35235 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
35236 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
35237 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
35238 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
35239 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
35240 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
35241 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
35242 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
35243 0 : storageOf_isModified = source->p_isModified ;
35244 0 : storageOf_containsTransformation = source->p_containsTransformation ;
35245 0 : }
35246 :
35247 : void
35248 0 : SgOmpBarrierStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
35249 : {
35250 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
35251 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
35252 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
35253 0 : }
35254 :
35255 : void
35256 2 : SgOmpBarrierStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
35257 : {
35258 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
35259 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
35260 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
35261 2 : }
35262 :
35263 : void
35264 0 : SgOmpBarrierStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
35265 : {
35266 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
35267 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
35268 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
35269 0 : }
35270 :
35271 :
35272 : void
35273 0 : SgOmpBarrierStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
35274 : {
35275 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
35276 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
35277 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
35278 0 : }
35279 :
35280 :
35281 :
35282 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35283 :
35284 :
35285 : // ********************************************************
35286 :
35287 : /* #line 35288 "../../../src/frontend/SageIII//StorageClasses.C" */
35288 :
35289 :
35290 :
35291 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35292 :
35293 : // ****************************************************************
35294 : // member functions definition specific to each node in the grammar
35295 : // these are the SgUpirBodyStatementStorageClass parts !!!!
35296 : // ROSETTA generated code. Do not change by hand.
35297 : // ****************************************************************
35298 :
35299 :
35300 : /* #line 35301 "../../../src/frontend/SageIII//StorageClasses.C" */
35301 :
35302 :
35303 : void
35304 0 : SgUpirBodyStatementStorageClass::pickOutIRNodeData ( SgUpirBodyStatement* pointer )
35305 : {
35306 0 : SgUpirBodyStatement* source = (SgUpirBodyStatement*) (pointer);
35307 : #if FILE_IO_EXTRA_CHECK
35308 0 : assert ( source != NULL ) ;
35309 0 : assert ( source->p_freepointer != NULL) ;
35310 : #endif
35311 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
35312 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
35313 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
35314 0 : unsigned int tempListCountupir_children = 0;
35315 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
35316 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35317 : {
35318 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
35319 0 : tempListCountupir_children++;
35320 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
35321 : }
35322 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
35323 0 : tempListCountupir_children = 0;
35324 0 : i_upir_children = source->p_upir_children.begin() ;
35325 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35326 : {
35327 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
35328 0 : tempListCountupir_children++;
35329 : }
35330 0 : delete [] tempListupir_children;
35331 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
35332 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
35333 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
35334 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
35335 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
35336 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
35337 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
35338 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
35339 0 : storageOf_isModified = source->p_isModified ;
35340 0 : storageOf_containsTransformation = source->p_containsTransformation ;
35341 0 : }
35342 :
35343 : void
35344 0 : SgUpirBodyStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
35345 : {
35346 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
35347 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
35348 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
35349 0 : }
35350 :
35351 : void
35352 2 : SgUpirBodyStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
35353 : {
35354 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
35355 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
35356 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
35357 2 : }
35358 :
35359 : void
35360 0 : SgUpirBodyStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
35361 : {
35362 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
35363 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
35364 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
35365 0 : }
35366 :
35367 :
35368 : void
35369 0 : SgUpirBodyStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
35370 : {
35371 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
35372 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
35373 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
35374 0 : }
35375 :
35376 :
35377 :
35378 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35379 :
35380 :
35381 : // ********************************************************
35382 :
35383 : /* #line 35384 "../../../src/frontend/SageIII//StorageClasses.C" */
35384 :
35385 :
35386 :
35387 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35388 :
35389 : // ****************************************************************
35390 : // member functions definition specific to each node in the grammar
35391 : // these are the SgOmpMasterStatementStorageClass parts !!!!
35392 : // ROSETTA generated code. Do not change by hand.
35393 : // ****************************************************************
35394 :
35395 :
35396 : /* #line 35397 "../../../src/frontend/SageIII//StorageClasses.C" */
35397 :
35398 :
35399 : void
35400 0 : SgOmpMasterStatementStorageClass::pickOutIRNodeData ( SgOmpMasterStatement* pointer )
35401 : {
35402 0 : SgOmpMasterStatement* source = (SgOmpMasterStatement*) (pointer);
35403 : #if FILE_IO_EXTRA_CHECK
35404 0 : assert ( source != NULL ) ;
35405 0 : assert ( source->p_freepointer != NULL) ;
35406 : #endif
35407 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
35408 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
35409 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
35410 0 : unsigned int tempListCountupir_children = 0;
35411 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
35412 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35413 : {
35414 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
35415 0 : tempListCountupir_children++;
35416 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
35417 : }
35418 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
35419 0 : tempListCountupir_children = 0;
35420 0 : i_upir_children = source->p_upir_children.begin() ;
35421 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35422 : {
35423 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
35424 0 : tempListCountupir_children++;
35425 : }
35426 0 : delete [] tempListupir_children;
35427 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
35428 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
35429 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
35430 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
35431 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
35432 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
35433 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
35434 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
35435 0 : storageOf_isModified = source->p_isModified ;
35436 0 : storageOf_containsTransformation = source->p_containsTransformation ;
35437 0 : }
35438 :
35439 : void
35440 0 : SgOmpMasterStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
35441 : {
35442 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
35443 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
35444 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
35445 0 : }
35446 :
35447 : void
35448 2 : SgOmpMasterStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
35449 : {
35450 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
35451 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
35452 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
35453 2 : }
35454 :
35455 : void
35456 0 : SgOmpMasterStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
35457 : {
35458 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
35459 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
35460 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
35461 0 : }
35462 :
35463 :
35464 : void
35465 0 : SgOmpMasterStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
35466 : {
35467 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
35468 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
35469 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
35470 0 : }
35471 :
35472 :
35473 :
35474 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35475 :
35476 :
35477 : // ********************************************************
35478 :
35479 : /* #line 35480 "../../../src/frontend/SageIII//StorageClasses.C" */
35480 :
35481 :
35482 :
35483 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35484 :
35485 : // ****************************************************************
35486 : // member functions definition specific to each node in the grammar
35487 : // these are the SgOmpSectionStatementStorageClass parts !!!!
35488 : // ROSETTA generated code. Do not change by hand.
35489 : // ****************************************************************
35490 :
35491 :
35492 : /* #line 35493 "../../../src/frontend/SageIII//StorageClasses.C" */
35493 :
35494 :
35495 : void
35496 0 : SgOmpSectionStatementStorageClass::pickOutIRNodeData ( SgOmpSectionStatement* pointer )
35497 : {
35498 0 : SgOmpSectionStatement* source = (SgOmpSectionStatement*) (pointer);
35499 : #if FILE_IO_EXTRA_CHECK
35500 0 : assert ( source != NULL ) ;
35501 0 : assert ( source->p_freepointer != NULL) ;
35502 : #endif
35503 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
35504 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
35505 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
35506 0 : unsigned int tempListCountupir_children = 0;
35507 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
35508 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35509 : {
35510 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
35511 0 : tempListCountupir_children++;
35512 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
35513 : }
35514 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
35515 0 : tempListCountupir_children = 0;
35516 0 : i_upir_children = source->p_upir_children.begin() ;
35517 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35518 : {
35519 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
35520 0 : tempListCountupir_children++;
35521 : }
35522 0 : delete [] tempListupir_children;
35523 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
35524 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
35525 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
35526 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
35527 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
35528 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
35529 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
35530 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
35531 0 : storageOf_isModified = source->p_isModified ;
35532 0 : storageOf_containsTransformation = source->p_containsTransformation ;
35533 0 : }
35534 :
35535 : void
35536 0 : SgOmpSectionStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
35537 : {
35538 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
35539 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
35540 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
35541 0 : }
35542 :
35543 : void
35544 2 : SgOmpSectionStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
35545 : {
35546 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
35547 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
35548 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
35549 2 : }
35550 :
35551 : void
35552 0 : SgOmpSectionStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
35553 : {
35554 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
35555 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
35556 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
35557 0 : }
35558 :
35559 :
35560 : void
35561 0 : SgOmpSectionStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
35562 : {
35563 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
35564 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
35565 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
35566 0 : }
35567 :
35568 :
35569 :
35570 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35571 :
35572 :
35573 : // ********************************************************
35574 :
35575 : /* #line 35576 "../../../src/frontend/SageIII//StorageClasses.C" */
35576 :
35577 :
35578 :
35579 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35580 :
35581 : // ****************************************************************
35582 : // member functions definition specific to each node in the grammar
35583 : // these are the SgOmpWorkshareStatementStorageClass parts !!!!
35584 : // ROSETTA generated code. Do not change by hand.
35585 : // ****************************************************************
35586 :
35587 :
35588 : /* #line 35589 "../../../src/frontend/SageIII//StorageClasses.C" */
35589 :
35590 :
35591 : void
35592 0 : SgOmpWorkshareStatementStorageClass::pickOutIRNodeData ( SgOmpWorkshareStatement* pointer )
35593 : {
35594 0 : SgOmpWorkshareStatement* source = (SgOmpWorkshareStatement*) (pointer);
35595 : #if FILE_IO_EXTRA_CHECK
35596 0 : assert ( source != NULL ) ;
35597 0 : assert ( source->p_freepointer != NULL) ;
35598 : #endif
35599 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
35600 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
35601 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
35602 0 : unsigned int tempListCountupir_children = 0;
35603 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
35604 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35605 : {
35606 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
35607 0 : tempListCountupir_children++;
35608 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
35609 : }
35610 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
35611 0 : tempListCountupir_children = 0;
35612 0 : i_upir_children = source->p_upir_children.begin() ;
35613 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35614 : {
35615 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
35616 0 : tempListCountupir_children++;
35617 : }
35618 0 : delete [] tempListupir_children;
35619 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
35620 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
35621 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
35622 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
35623 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
35624 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
35625 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
35626 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
35627 0 : storageOf_isModified = source->p_isModified ;
35628 0 : storageOf_containsTransformation = source->p_containsTransformation ;
35629 0 : }
35630 :
35631 : void
35632 0 : SgOmpWorkshareStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
35633 : {
35634 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
35635 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
35636 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
35637 0 : }
35638 :
35639 : void
35640 2 : SgOmpWorkshareStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
35641 : {
35642 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
35643 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
35644 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
35645 2 : }
35646 :
35647 : void
35648 0 : SgOmpWorkshareStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
35649 : {
35650 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
35651 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
35652 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
35653 0 : }
35654 :
35655 :
35656 : void
35657 0 : SgOmpWorkshareStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
35658 : {
35659 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
35660 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
35661 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
35662 0 : }
35663 :
35664 :
35665 :
35666 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35667 :
35668 :
35669 : // ********************************************************
35670 :
35671 : /* #line 35672 "../../../src/frontend/SageIII//StorageClasses.C" */
35672 :
35673 :
35674 :
35675 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35676 :
35677 : // ****************************************************************
35678 : // member functions definition specific to each node in the grammar
35679 : // these are the SgUpirFieldBodyStatementStorageClass parts !!!!
35680 : // ROSETTA generated code. Do not change by hand.
35681 : // ****************************************************************
35682 :
35683 :
35684 : /* #line 35685 "../../../src/frontend/SageIII//StorageClasses.C" */
35685 :
35686 :
35687 : void
35688 0 : SgUpirFieldBodyStatementStorageClass::pickOutIRNodeData ( SgUpirFieldBodyStatement* pointer )
35689 : {
35690 0 : SgUpirFieldBodyStatement* source = (SgUpirFieldBodyStatement*) (pointer);
35691 : #if FILE_IO_EXTRA_CHECK
35692 0 : assert ( source != NULL ) ;
35693 0 : assert ( source->p_freepointer != NULL) ;
35694 : #endif
35695 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
35696 0 : unsigned int tempListCountclauses = 0;
35697 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
35698 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
35699 : {
35700 0 : tempListclauses[tempListCountclauses] = *i_clauses;
35701 0 : tempListCountclauses++;
35702 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
35703 : }
35704 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
35705 0 : tempListCountclauses = 0;
35706 0 : i_clauses = source->p_clauses.begin() ;
35707 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
35708 : {
35709 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
35710 0 : tempListCountclauses++;
35711 : }
35712 0 : delete [] tempListclauses;
35713 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
35714 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
35715 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
35716 0 : unsigned int tempListCountupir_children = 0;
35717 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
35718 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35719 : {
35720 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
35721 0 : tempListCountupir_children++;
35722 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
35723 : }
35724 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
35725 0 : tempListCountupir_children = 0;
35726 0 : i_upir_children = source->p_upir_children.begin() ;
35727 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35728 : {
35729 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
35730 0 : tempListCountupir_children++;
35731 : }
35732 0 : delete [] tempListupir_children;
35733 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
35734 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
35735 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
35736 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
35737 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
35738 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
35739 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
35740 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
35741 0 : storageOf_isModified = source->p_isModified ;
35742 0 : storageOf_containsTransformation = source->p_containsTransformation ;
35743 0 : }
35744 :
35745 : void
35746 0 : SgUpirFieldBodyStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
35747 : {
35748 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
35749 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
35750 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
35751 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
35752 0 : }
35753 :
35754 : void
35755 2 : SgUpirFieldBodyStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
35756 : {
35757 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
35758 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
35759 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
35760 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
35761 2 : }
35762 :
35763 : void
35764 0 : SgUpirFieldBodyStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
35765 : {
35766 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
35767 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
35768 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
35769 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
35770 0 : }
35771 :
35772 :
35773 : void
35774 0 : SgUpirFieldBodyStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
35775 : {
35776 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
35777 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
35778 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
35779 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
35780 0 : }
35781 :
35782 :
35783 :
35784 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35785 :
35786 :
35787 : // ********************************************************
35788 :
35789 : /* #line 35790 "../../../src/frontend/SageIII//StorageClasses.C" */
35790 :
35791 :
35792 :
35793 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35794 :
35795 : // ****************************************************************
35796 : // member functions definition specific to each node in the grammar
35797 : // these are the SgUpirSpmdStatementStorageClass parts !!!!
35798 : // ROSETTA generated code. Do not change by hand.
35799 : // ****************************************************************
35800 :
35801 :
35802 : /* #line 35803 "../../../src/frontend/SageIII//StorageClasses.C" */
35803 :
35804 :
35805 : void
35806 0 : SgUpirSpmdStatementStorageClass::pickOutIRNodeData ( SgUpirSpmdStatement* pointer )
35807 : {
35808 0 : SgUpirSpmdStatement* source = (SgUpirSpmdStatement*) (pointer);
35809 : #if FILE_IO_EXTRA_CHECK
35810 0 : assert ( source != NULL ) ;
35811 0 : assert ( source->p_freepointer != NULL) ;
35812 : #endif
35813 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
35814 0 : unsigned int tempListCountclauses = 0;
35815 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
35816 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
35817 : {
35818 0 : tempListclauses[tempListCountclauses] = *i_clauses;
35819 0 : tempListCountclauses++;
35820 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
35821 : }
35822 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
35823 0 : tempListCountclauses = 0;
35824 0 : i_clauses = source->p_clauses.begin() ;
35825 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
35826 : {
35827 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
35828 0 : tempListCountclauses++;
35829 : }
35830 0 : delete [] tempListclauses;
35831 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
35832 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
35833 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
35834 0 : unsigned int tempListCountupir_children = 0;
35835 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
35836 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35837 : {
35838 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
35839 0 : tempListCountupir_children++;
35840 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
35841 : }
35842 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
35843 0 : tempListCountupir_children = 0;
35844 0 : i_upir_children = source->p_upir_children.begin() ;
35845 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35846 : {
35847 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
35848 0 : tempListCountupir_children++;
35849 : }
35850 0 : delete [] tempListupir_children;
35851 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
35852 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
35853 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
35854 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
35855 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
35856 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
35857 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
35858 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
35859 0 : storageOf_isModified = source->p_isModified ;
35860 0 : storageOf_containsTransformation = source->p_containsTransformation ;
35861 0 : }
35862 :
35863 : void
35864 0 : SgUpirSpmdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
35865 : {
35866 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
35867 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
35868 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
35869 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
35870 0 : }
35871 :
35872 : void
35873 2 : SgUpirSpmdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
35874 : {
35875 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
35876 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
35877 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
35878 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
35879 2 : }
35880 :
35881 : void
35882 0 : SgUpirSpmdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
35883 : {
35884 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
35885 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
35886 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
35887 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
35888 0 : }
35889 :
35890 :
35891 : void
35892 0 : SgUpirSpmdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
35893 : {
35894 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
35895 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
35896 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
35897 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
35898 0 : }
35899 :
35900 :
35901 :
35902 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35903 :
35904 :
35905 : // ********************************************************
35906 :
35907 : /* #line 35908 "../../../src/frontend/SageIII//StorageClasses.C" */
35908 :
35909 :
35910 :
35911 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
35912 :
35913 : // ****************************************************************
35914 : // member functions definition specific to each node in the grammar
35915 : // these are the SgOmpTeamsStatementStorageClass parts !!!!
35916 : // ROSETTA generated code. Do not change by hand.
35917 : // ****************************************************************
35918 :
35919 :
35920 : /* #line 35921 "../../../src/frontend/SageIII//StorageClasses.C" */
35921 :
35922 :
35923 : void
35924 0 : SgOmpTeamsStatementStorageClass::pickOutIRNodeData ( SgOmpTeamsStatement* pointer )
35925 : {
35926 0 : SgOmpTeamsStatement* source = (SgOmpTeamsStatement*) (pointer);
35927 : #if FILE_IO_EXTRA_CHECK
35928 0 : assert ( source != NULL ) ;
35929 0 : assert ( source->p_freepointer != NULL) ;
35930 : #endif
35931 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
35932 0 : unsigned int tempListCountclauses = 0;
35933 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
35934 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
35935 : {
35936 0 : tempListclauses[tempListCountclauses] = *i_clauses;
35937 0 : tempListCountclauses++;
35938 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
35939 : }
35940 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
35941 0 : tempListCountclauses = 0;
35942 0 : i_clauses = source->p_clauses.begin() ;
35943 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
35944 : {
35945 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
35946 0 : tempListCountclauses++;
35947 : }
35948 0 : delete [] tempListclauses;
35949 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
35950 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
35951 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
35952 0 : unsigned int tempListCountupir_children = 0;
35953 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
35954 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35955 : {
35956 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
35957 0 : tempListCountupir_children++;
35958 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
35959 : }
35960 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
35961 0 : tempListCountupir_children = 0;
35962 0 : i_upir_children = source->p_upir_children.begin() ;
35963 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
35964 : {
35965 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
35966 0 : tempListCountupir_children++;
35967 : }
35968 0 : delete [] tempListupir_children;
35969 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
35970 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
35971 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
35972 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
35973 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
35974 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
35975 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
35976 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
35977 0 : storageOf_isModified = source->p_isModified ;
35978 0 : storageOf_containsTransformation = source->p_containsTransformation ;
35979 0 : }
35980 :
35981 : void
35982 0 : SgOmpTeamsStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
35983 : {
35984 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
35985 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
35986 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
35987 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
35988 0 : }
35989 :
35990 : void
35991 2 : SgOmpTeamsStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
35992 : {
35993 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
35994 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
35995 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
35996 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
35997 2 : }
35998 :
35999 : void
36000 0 : SgOmpTeamsStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
36001 : {
36002 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
36003 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
36004 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
36005 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
36006 0 : }
36007 :
36008 :
36009 : void
36010 0 : SgOmpTeamsStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
36011 : {
36012 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
36013 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
36014 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
36015 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
36016 0 : }
36017 :
36018 :
36019 :
36020 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36021 :
36022 :
36023 : // ********************************************************
36024 :
36025 : /* #line 36026 "../../../src/frontend/SageIII//StorageClasses.C" */
36026 :
36027 :
36028 :
36029 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36030 :
36031 : // ****************************************************************
36032 : // member functions definition specific to each node in the grammar
36033 : // these are the SgOmpSingleStatementStorageClass parts !!!!
36034 : // ROSETTA generated code. Do not change by hand.
36035 : // ****************************************************************
36036 :
36037 :
36038 : /* #line 36039 "../../../src/frontend/SageIII//StorageClasses.C" */
36039 :
36040 :
36041 : void
36042 0 : SgOmpSingleStatementStorageClass::pickOutIRNodeData ( SgOmpSingleStatement* pointer )
36043 : {
36044 0 : SgOmpSingleStatement* source = (SgOmpSingleStatement*) (pointer);
36045 : #if FILE_IO_EXTRA_CHECK
36046 0 : assert ( source != NULL ) ;
36047 0 : assert ( source->p_freepointer != NULL) ;
36048 : #endif
36049 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
36050 0 : unsigned int tempListCountclauses = 0;
36051 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
36052 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36053 : {
36054 0 : tempListclauses[tempListCountclauses] = *i_clauses;
36055 0 : tempListCountclauses++;
36056 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
36057 : }
36058 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
36059 0 : tempListCountclauses = 0;
36060 0 : i_clauses = source->p_clauses.begin() ;
36061 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36062 : {
36063 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
36064 0 : tempListCountclauses++;
36065 : }
36066 0 : delete [] tempListclauses;
36067 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
36068 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
36069 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
36070 0 : unsigned int tempListCountupir_children = 0;
36071 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
36072 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36073 : {
36074 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
36075 0 : tempListCountupir_children++;
36076 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
36077 : }
36078 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
36079 0 : tempListCountupir_children = 0;
36080 0 : i_upir_children = source->p_upir_children.begin() ;
36081 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36082 : {
36083 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
36084 0 : tempListCountupir_children++;
36085 : }
36086 0 : delete [] tempListupir_children;
36087 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
36088 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
36089 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
36090 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
36091 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
36092 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
36093 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
36094 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
36095 0 : storageOf_isModified = source->p_isModified ;
36096 0 : storageOf_containsTransformation = source->p_containsTransformation ;
36097 0 : }
36098 :
36099 : void
36100 0 : SgOmpSingleStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
36101 : {
36102 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
36103 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
36104 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
36105 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
36106 0 : }
36107 :
36108 : void
36109 2 : SgOmpSingleStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
36110 : {
36111 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
36112 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
36113 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
36114 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
36115 2 : }
36116 :
36117 : void
36118 0 : SgOmpSingleStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
36119 : {
36120 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
36121 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
36122 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
36123 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
36124 0 : }
36125 :
36126 :
36127 : void
36128 0 : SgOmpSingleStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
36129 : {
36130 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
36131 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
36132 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
36133 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
36134 0 : }
36135 :
36136 :
36137 :
36138 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36139 :
36140 :
36141 : // ********************************************************
36142 :
36143 : /* #line 36144 "../../../src/frontend/SageIII//StorageClasses.C" */
36144 :
36145 :
36146 :
36147 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36148 :
36149 : // ****************************************************************
36150 : // member functions definition specific to each node in the grammar
36151 : // these are the SgOmpAtomicStatementStorageClass parts !!!!
36152 : // ROSETTA generated code. Do not change by hand.
36153 : // ****************************************************************
36154 :
36155 :
36156 : /* #line 36157 "../../../src/frontend/SageIII//StorageClasses.C" */
36157 :
36158 :
36159 : void
36160 0 : SgOmpAtomicStatementStorageClass::pickOutIRNodeData ( SgOmpAtomicStatement* pointer )
36161 : {
36162 0 : SgOmpAtomicStatement* source = (SgOmpAtomicStatement*) (pointer);
36163 : #if FILE_IO_EXTRA_CHECK
36164 0 : assert ( source != NULL ) ;
36165 0 : assert ( source->p_freepointer != NULL) ;
36166 : #endif
36167 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
36168 0 : unsigned int tempListCountclauses = 0;
36169 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
36170 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36171 : {
36172 0 : tempListclauses[tempListCountclauses] = *i_clauses;
36173 0 : tempListCountclauses++;
36174 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
36175 : }
36176 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
36177 0 : tempListCountclauses = 0;
36178 0 : i_clauses = source->p_clauses.begin() ;
36179 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36180 : {
36181 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
36182 0 : tempListCountclauses++;
36183 : }
36184 0 : delete [] tempListclauses;
36185 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
36186 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
36187 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
36188 0 : unsigned int tempListCountupir_children = 0;
36189 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
36190 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36191 : {
36192 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
36193 0 : tempListCountupir_children++;
36194 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
36195 : }
36196 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
36197 0 : tempListCountupir_children = 0;
36198 0 : i_upir_children = source->p_upir_children.begin() ;
36199 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36200 : {
36201 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
36202 0 : tempListCountupir_children++;
36203 : }
36204 0 : delete [] tempListupir_children;
36205 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
36206 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
36207 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
36208 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
36209 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
36210 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
36211 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
36212 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
36213 0 : storageOf_isModified = source->p_isModified ;
36214 0 : storageOf_containsTransformation = source->p_containsTransformation ;
36215 0 : }
36216 :
36217 : void
36218 0 : SgOmpAtomicStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
36219 : {
36220 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
36221 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
36222 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
36223 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
36224 0 : }
36225 :
36226 : void
36227 2 : SgOmpAtomicStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
36228 : {
36229 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
36230 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
36231 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
36232 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
36233 2 : }
36234 :
36235 : void
36236 0 : SgOmpAtomicStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
36237 : {
36238 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
36239 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
36240 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
36241 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
36242 0 : }
36243 :
36244 :
36245 : void
36246 0 : SgOmpAtomicStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
36247 : {
36248 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
36249 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
36250 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
36251 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
36252 0 : }
36253 :
36254 :
36255 :
36256 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36257 :
36258 :
36259 : // ********************************************************
36260 :
36261 : /* #line 36262 "../../../src/frontend/SageIII//StorageClasses.C" */
36262 :
36263 :
36264 :
36265 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36266 :
36267 : // ****************************************************************
36268 : // member functions definition specific to each node in the grammar
36269 : // these are the SgOmpScanStatementStorageClass parts !!!!
36270 : // ROSETTA generated code. Do not change by hand.
36271 : // ****************************************************************
36272 :
36273 :
36274 : /* #line 36275 "../../../src/frontend/SageIII//StorageClasses.C" */
36275 :
36276 :
36277 : void
36278 0 : SgOmpScanStatementStorageClass::pickOutIRNodeData ( SgOmpScanStatement* pointer )
36279 : {
36280 0 : SgOmpScanStatement* source = (SgOmpScanStatement*) (pointer);
36281 : #if FILE_IO_EXTRA_CHECK
36282 0 : assert ( source != NULL ) ;
36283 0 : assert ( source->p_freepointer != NULL) ;
36284 : #endif
36285 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
36286 0 : unsigned int tempListCountclauses = 0;
36287 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
36288 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36289 : {
36290 0 : tempListclauses[tempListCountclauses] = *i_clauses;
36291 0 : tempListCountclauses++;
36292 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
36293 : }
36294 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
36295 0 : tempListCountclauses = 0;
36296 0 : i_clauses = source->p_clauses.begin() ;
36297 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36298 : {
36299 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
36300 0 : tempListCountclauses++;
36301 : }
36302 0 : delete [] tempListclauses;
36303 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
36304 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
36305 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
36306 0 : unsigned int tempListCountupir_children = 0;
36307 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
36308 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36309 : {
36310 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
36311 0 : tempListCountupir_children++;
36312 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
36313 : }
36314 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
36315 0 : tempListCountupir_children = 0;
36316 0 : i_upir_children = source->p_upir_children.begin() ;
36317 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36318 : {
36319 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
36320 0 : tempListCountupir_children++;
36321 : }
36322 0 : delete [] tempListupir_children;
36323 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
36324 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
36325 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
36326 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
36327 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
36328 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
36329 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
36330 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
36331 0 : storageOf_isModified = source->p_isModified ;
36332 0 : storageOf_containsTransformation = source->p_containsTransformation ;
36333 0 : }
36334 :
36335 : void
36336 0 : SgOmpScanStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
36337 : {
36338 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
36339 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
36340 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
36341 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
36342 0 : }
36343 :
36344 : void
36345 2 : SgOmpScanStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
36346 : {
36347 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
36348 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
36349 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
36350 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
36351 2 : }
36352 :
36353 : void
36354 0 : SgOmpScanStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
36355 : {
36356 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
36357 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
36358 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
36359 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
36360 0 : }
36361 :
36362 :
36363 : void
36364 0 : SgOmpScanStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
36365 : {
36366 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
36367 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
36368 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
36369 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
36370 0 : }
36371 :
36372 :
36373 :
36374 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36375 :
36376 :
36377 : // ********************************************************
36378 :
36379 : /* #line 36380 "../../../src/frontend/SageIII//StorageClasses.C" */
36380 :
36381 :
36382 :
36383 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36384 :
36385 : // ****************************************************************
36386 : // member functions definition specific to each node in the grammar
36387 : // these are the SgOmpMetadirectiveStatementStorageClass parts !!!!
36388 : // ROSETTA generated code. Do not change by hand.
36389 : // ****************************************************************
36390 :
36391 :
36392 : /* #line 36393 "../../../src/frontend/SageIII//StorageClasses.C" */
36393 :
36394 :
36395 : void
36396 0 : SgOmpMetadirectiveStatementStorageClass::pickOutIRNodeData ( SgOmpMetadirectiveStatement* pointer )
36397 : {
36398 0 : SgOmpMetadirectiveStatement* source = (SgOmpMetadirectiveStatement*) (pointer);
36399 : #if FILE_IO_EXTRA_CHECK
36400 0 : assert ( source != NULL ) ;
36401 0 : assert ( source->p_freepointer != NULL) ;
36402 : #endif
36403 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
36404 0 : unsigned int tempListCountclauses = 0;
36405 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
36406 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36407 : {
36408 0 : tempListclauses[tempListCountclauses] = *i_clauses;
36409 0 : tempListCountclauses++;
36410 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
36411 : }
36412 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
36413 0 : tempListCountclauses = 0;
36414 0 : i_clauses = source->p_clauses.begin() ;
36415 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36416 : {
36417 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
36418 0 : tempListCountclauses++;
36419 : }
36420 0 : delete [] tempListclauses;
36421 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
36422 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
36423 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
36424 0 : unsigned int tempListCountupir_children = 0;
36425 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
36426 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36427 : {
36428 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
36429 0 : tempListCountupir_children++;
36430 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
36431 : }
36432 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
36433 0 : tempListCountupir_children = 0;
36434 0 : i_upir_children = source->p_upir_children.begin() ;
36435 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36436 : {
36437 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
36438 0 : tempListCountupir_children++;
36439 : }
36440 0 : delete [] tempListupir_children;
36441 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
36442 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
36443 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
36444 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
36445 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
36446 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
36447 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
36448 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
36449 0 : storageOf_isModified = source->p_isModified ;
36450 0 : storageOf_containsTransformation = source->p_containsTransformation ;
36451 0 : }
36452 :
36453 : void
36454 0 : SgOmpMetadirectiveStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
36455 : {
36456 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
36457 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
36458 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
36459 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
36460 0 : }
36461 :
36462 : void
36463 2 : SgOmpMetadirectiveStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
36464 : {
36465 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
36466 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
36467 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
36468 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
36469 2 : }
36470 :
36471 : void
36472 0 : SgOmpMetadirectiveStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
36473 : {
36474 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
36475 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
36476 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
36477 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
36478 0 : }
36479 :
36480 :
36481 : void
36482 0 : SgOmpMetadirectiveStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
36483 : {
36484 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
36485 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
36486 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
36487 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
36488 0 : }
36489 :
36490 :
36491 :
36492 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36493 :
36494 :
36495 : // ********************************************************
36496 :
36497 : /* #line 36498 "../../../src/frontend/SageIII//StorageClasses.C" */
36498 :
36499 :
36500 :
36501 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36502 :
36503 : // ****************************************************************
36504 : // member functions definition specific to each node in the grammar
36505 : // these are the SgOmpLoopStatementStorageClass parts !!!!
36506 : // ROSETTA generated code. Do not change by hand.
36507 : // ****************************************************************
36508 :
36509 :
36510 : /* #line 36511 "../../../src/frontend/SageIII//StorageClasses.C" */
36511 :
36512 :
36513 : void
36514 0 : SgOmpLoopStatementStorageClass::pickOutIRNodeData ( SgOmpLoopStatement* pointer )
36515 : {
36516 0 : SgOmpLoopStatement* source = (SgOmpLoopStatement*) (pointer);
36517 : #if FILE_IO_EXTRA_CHECK
36518 0 : assert ( source != NULL ) ;
36519 0 : assert ( source->p_freepointer != NULL) ;
36520 : #endif
36521 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
36522 0 : unsigned int tempListCountclauses = 0;
36523 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
36524 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36525 : {
36526 0 : tempListclauses[tempListCountclauses] = *i_clauses;
36527 0 : tempListCountclauses++;
36528 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
36529 : }
36530 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
36531 0 : tempListCountclauses = 0;
36532 0 : i_clauses = source->p_clauses.begin() ;
36533 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36534 : {
36535 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
36536 0 : tempListCountclauses++;
36537 : }
36538 0 : delete [] tempListclauses;
36539 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
36540 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
36541 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
36542 0 : unsigned int tempListCountupir_children = 0;
36543 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
36544 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36545 : {
36546 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
36547 0 : tempListCountupir_children++;
36548 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
36549 : }
36550 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
36551 0 : tempListCountupir_children = 0;
36552 0 : i_upir_children = source->p_upir_children.begin() ;
36553 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36554 : {
36555 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
36556 0 : tempListCountupir_children++;
36557 : }
36558 0 : delete [] tempListupir_children;
36559 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
36560 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
36561 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
36562 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
36563 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
36564 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
36565 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
36566 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
36567 0 : storageOf_isModified = source->p_isModified ;
36568 0 : storageOf_containsTransformation = source->p_containsTransformation ;
36569 0 : }
36570 :
36571 : void
36572 0 : SgOmpLoopStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
36573 : {
36574 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
36575 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
36576 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
36577 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
36578 0 : }
36579 :
36580 : void
36581 2 : SgOmpLoopStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
36582 : {
36583 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
36584 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
36585 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
36586 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
36587 2 : }
36588 :
36589 : void
36590 0 : SgOmpLoopStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
36591 : {
36592 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
36593 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
36594 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
36595 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
36596 0 : }
36597 :
36598 :
36599 : void
36600 0 : SgOmpLoopStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
36601 : {
36602 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
36603 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
36604 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
36605 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
36606 0 : }
36607 :
36608 :
36609 :
36610 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36611 :
36612 :
36613 : // ********************************************************
36614 :
36615 : /* #line 36616 "../../../src/frontend/SageIII//StorageClasses.C" */
36616 :
36617 :
36618 :
36619 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36620 :
36621 : // ****************************************************************
36622 : // member functions definition specific to each node in the grammar
36623 : // these are the SgOmpOrderedStatementStorageClass parts !!!!
36624 : // ROSETTA generated code. Do not change by hand.
36625 : // ****************************************************************
36626 :
36627 :
36628 : /* #line 36629 "../../../src/frontend/SageIII//StorageClasses.C" */
36629 :
36630 :
36631 : void
36632 0 : SgOmpOrderedStatementStorageClass::pickOutIRNodeData ( SgOmpOrderedStatement* pointer )
36633 : {
36634 0 : SgOmpOrderedStatement* source = (SgOmpOrderedStatement*) (pointer);
36635 : #if FILE_IO_EXTRA_CHECK
36636 0 : assert ( source != NULL ) ;
36637 0 : assert ( source->p_freepointer != NULL) ;
36638 : #endif
36639 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
36640 0 : unsigned int tempListCountclauses = 0;
36641 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
36642 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36643 : {
36644 0 : tempListclauses[tempListCountclauses] = *i_clauses;
36645 0 : tempListCountclauses++;
36646 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
36647 : }
36648 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
36649 0 : tempListCountclauses = 0;
36650 0 : i_clauses = source->p_clauses.begin() ;
36651 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36652 : {
36653 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
36654 0 : tempListCountclauses++;
36655 : }
36656 0 : delete [] tempListclauses;
36657 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
36658 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
36659 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
36660 0 : unsigned int tempListCountupir_children = 0;
36661 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
36662 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36663 : {
36664 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
36665 0 : tempListCountupir_children++;
36666 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
36667 : }
36668 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
36669 0 : tempListCountupir_children = 0;
36670 0 : i_upir_children = source->p_upir_children.begin() ;
36671 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36672 : {
36673 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
36674 0 : tempListCountupir_children++;
36675 : }
36676 0 : delete [] tempListupir_children;
36677 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
36678 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
36679 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
36680 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
36681 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
36682 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
36683 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
36684 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
36685 0 : storageOf_isModified = source->p_isModified ;
36686 0 : storageOf_containsTransformation = source->p_containsTransformation ;
36687 0 : }
36688 :
36689 : void
36690 0 : SgOmpOrderedStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
36691 : {
36692 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
36693 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
36694 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
36695 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
36696 0 : }
36697 :
36698 : void
36699 2 : SgOmpOrderedStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
36700 : {
36701 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
36702 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
36703 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
36704 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
36705 2 : }
36706 :
36707 : void
36708 0 : SgOmpOrderedStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
36709 : {
36710 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
36711 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
36712 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
36713 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
36714 0 : }
36715 :
36716 :
36717 : void
36718 0 : SgOmpOrderedStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
36719 : {
36720 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
36721 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
36722 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
36723 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
36724 0 : }
36725 :
36726 :
36727 :
36728 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36729 :
36730 :
36731 : // ********************************************************
36732 :
36733 : /* #line 36734 "../../../src/frontend/SageIII//StorageClasses.C" */
36734 :
36735 :
36736 :
36737 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36738 :
36739 : // ****************************************************************
36740 : // member functions definition specific to each node in the grammar
36741 : // these are the SgOmpTaskgroupStatementStorageClass parts !!!!
36742 : // ROSETTA generated code. Do not change by hand.
36743 : // ****************************************************************
36744 :
36745 :
36746 : /* #line 36747 "../../../src/frontend/SageIII//StorageClasses.C" */
36747 :
36748 :
36749 : void
36750 0 : SgOmpTaskgroupStatementStorageClass::pickOutIRNodeData ( SgOmpTaskgroupStatement* pointer )
36751 : {
36752 0 : SgOmpTaskgroupStatement* source = (SgOmpTaskgroupStatement*) (pointer);
36753 : #if FILE_IO_EXTRA_CHECK
36754 0 : assert ( source != NULL ) ;
36755 0 : assert ( source->p_freepointer != NULL) ;
36756 : #endif
36757 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
36758 0 : unsigned int tempListCountclauses = 0;
36759 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
36760 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36761 : {
36762 0 : tempListclauses[tempListCountclauses] = *i_clauses;
36763 0 : tempListCountclauses++;
36764 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
36765 : }
36766 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
36767 0 : tempListCountclauses = 0;
36768 0 : i_clauses = source->p_clauses.begin() ;
36769 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36770 : {
36771 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
36772 0 : tempListCountclauses++;
36773 : }
36774 0 : delete [] tempListclauses;
36775 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
36776 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
36777 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
36778 0 : unsigned int tempListCountupir_children = 0;
36779 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
36780 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36781 : {
36782 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
36783 0 : tempListCountupir_children++;
36784 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
36785 : }
36786 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
36787 0 : tempListCountupir_children = 0;
36788 0 : i_upir_children = source->p_upir_children.begin() ;
36789 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36790 : {
36791 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
36792 0 : tempListCountupir_children++;
36793 : }
36794 0 : delete [] tempListupir_children;
36795 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
36796 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
36797 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
36798 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
36799 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
36800 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
36801 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
36802 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
36803 0 : storageOf_isModified = source->p_isModified ;
36804 0 : storageOf_containsTransformation = source->p_containsTransformation ;
36805 0 : }
36806 :
36807 : void
36808 0 : SgOmpTaskgroupStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
36809 : {
36810 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
36811 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
36812 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
36813 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
36814 0 : }
36815 :
36816 : void
36817 2 : SgOmpTaskgroupStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
36818 : {
36819 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
36820 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
36821 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
36822 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
36823 2 : }
36824 :
36825 : void
36826 0 : SgOmpTaskgroupStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
36827 : {
36828 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
36829 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
36830 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
36831 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
36832 0 : }
36833 :
36834 :
36835 : void
36836 0 : SgOmpTaskgroupStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
36837 : {
36838 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
36839 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
36840 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
36841 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
36842 0 : }
36843 :
36844 :
36845 :
36846 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36847 :
36848 :
36849 : // ********************************************************
36850 :
36851 : /* #line 36852 "../../../src/frontend/SageIII//StorageClasses.C" */
36852 :
36853 :
36854 :
36855 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36856 :
36857 : // ****************************************************************
36858 : // member functions definition specific to each node in the grammar
36859 : // these are the SgOmpTaskloopStatementStorageClass parts !!!!
36860 : // ROSETTA generated code. Do not change by hand.
36861 : // ****************************************************************
36862 :
36863 :
36864 : /* #line 36865 "../../../src/frontend/SageIII//StorageClasses.C" */
36865 :
36866 :
36867 : void
36868 0 : SgOmpTaskloopStatementStorageClass::pickOutIRNodeData ( SgOmpTaskloopStatement* pointer )
36869 : {
36870 0 : SgOmpTaskloopStatement* source = (SgOmpTaskloopStatement*) (pointer);
36871 : #if FILE_IO_EXTRA_CHECK
36872 0 : assert ( source != NULL ) ;
36873 0 : assert ( source->p_freepointer != NULL) ;
36874 : #endif
36875 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
36876 0 : unsigned int tempListCountclauses = 0;
36877 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
36878 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36879 : {
36880 0 : tempListclauses[tempListCountclauses] = *i_clauses;
36881 0 : tempListCountclauses++;
36882 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
36883 : }
36884 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
36885 0 : tempListCountclauses = 0;
36886 0 : i_clauses = source->p_clauses.begin() ;
36887 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36888 : {
36889 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
36890 0 : tempListCountclauses++;
36891 : }
36892 0 : delete [] tempListclauses;
36893 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
36894 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
36895 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
36896 0 : unsigned int tempListCountupir_children = 0;
36897 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
36898 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36899 : {
36900 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
36901 0 : tempListCountupir_children++;
36902 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
36903 : }
36904 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
36905 0 : tempListCountupir_children = 0;
36906 0 : i_upir_children = source->p_upir_children.begin() ;
36907 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
36908 : {
36909 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
36910 0 : tempListCountupir_children++;
36911 : }
36912 0 : delete [] tempListupir_children;
36913 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
36914 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
36915 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
36916 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
36917 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
36918 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
36919 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
36920 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
36921 0 : storageOf_isModified = source->p_isModified ;
36922 0 : storageOf_containsTransformation = source->p_containsTransformation ;
36923 0 : }
36924 :
36925 : void
36926 0 : SgOmpTaskloopStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
36927 : {
36928 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
36929 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
36930 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
36931 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
36932 0 : }
36933 :
36934 : void
36935 2 : SgOmpTaskloopStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
36936 : {
36937 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
36938 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
36939 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
36940 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
36941 2 : }
36942 :
36943 : void
36944 0 : SgOmpTaskloopStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
36945 : {
36946 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
36947 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
36948 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
36949 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
36950 0 : }
36951 :
36952 :
36953 : void
36954 0 : SgOmpTaskloopStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
36955 : {
36956 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
36957 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
36958 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
36959 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
36960 0 : }
36961 :
36962 :
36963 :
36964 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36965 :
36966 :
36967 : // ********************************************************
36968 :
36969 : /* #line 36970 "../../../src/frontend/SageIII//StorageClasses.C" */
36970 :
36971 :
36972 :
36973 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
36974 :
36975 : // ****************************************************************
36976 : // member functions definition specific to each node in the grammar
36977 : // these are the SgOmpDepobjStatementStorageClass parts !!!!
36978 : // ROSETTA generated code. Do not change by hand.
36979 : // ****************************************************************
36980 :
36981 :
36982 : /* #line 36983 "../../../src/frontend/SageIII//StorageClasses.C" */
36983 :
36984 :
36985 : void
36986 0 : SgOmpDepobjStatementStorageClass::pickOutIRNodeData ( SgOmpDepobjStatement* pointer )
36987 : {
36988 0 : SgOmpDepobjStatement* source = (SgOmpDepobjStatement*) (pointer);
36989 : #if FILE_IO_EXTRA_CHECK
36990 0 : assert ( source != NULL ) ;
36991 0 : assert ( source->p_freepointer != NULL) ;
36992 : #endif
36993 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
36994 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
36995 0 : unsigned int tempListCountclauses = 0;
36996 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
36997 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
36998 : {
36999 0 : tempListclauses[tempListCountclauses] = *i_clauses;
37000 0 : tempListCountclauses++;
37001 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
37002 : }
37003 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
37004 0 : tempListCountclauses = 0;
37005 0 : i_clauses = source->p_clauses.begin() ;
37006 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37007 : {
37008 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
37009 0 : tempListCountclauses++;
37010 : }
37011 0 : delete [] tempListclauses;
37012 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
37013 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
37014 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
37015 0 : unsigned int tempListCountupir_children = 0;
37016 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
37017 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37018 : {
37019 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
37020 0 : tempListCountupir_children++;
37021 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
37022 : }
37023 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
37024 0 : tempListCountupir_children = 0;
37025 0 : i_upir_children = source->p_upir_children.begin() ;
37026 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37027 : {
37028 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
37029 0 : tempListCountupir_children++;
37030 : }
37031 0 : delete [] tempListupir_children;
37032 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
37033 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
37034 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
37035 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
37036 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
37037 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
37038 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
37039 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
37040 0 : storageOf_isModified = source->p_isModified ;
37041 0 : storageOf_containsTransformation = source->p_containsTransformation ;
37042 0 : }
37043 :
37044 : void
37045 0 : SgOmpDepobjStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
37046 : {
37047 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
37048 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
37049 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
37050 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
37051 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
37052 0 : }
37053 :
37054 : void
37055 2 : SgOmpDepobjStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
37056 : {
37057 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
37058 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
37059 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
37060 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
37061 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
37062 2 : }
37063 :
37064 : void
37065 0 : SgOmpDepobjStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
37066 : {
37067 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
37068 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
37069 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
37070 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
37071 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
37072 0 : }
37073 :
37074 :
37075 : void
37076 0 : SgOmpDepobjStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
37077 : {
37078 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
37079 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
37080 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
37081 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
37082 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
37083 0 : }
37084 :
37085 :
37086 :
37087 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37088 :
37089 :
37090 : // ********************************************************
37091 :
37092 : /* #line 37093 "../../../src/frontend/SageIII//StorageClasses.C" */
37093 :
37094 :
37095 :
37096 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37097 :
37098 : // ****************************************************************
37099 : // member functions definition specific to each node in the grammar
37100 : // these are the SgOmpTargetEnterDataStatementStorageClass parts !!!!
37101 : // ROSETTA generated code. Do not change by hand.
37102 : // ****************************************************************
37103 :
37104 :
37105 : /* #line 37106 "../../../src/frontend/SageIII//StorageClasses.C" */
37106 :
37107 :
37108 : void
37109 0 : SgOmpTargetEnterDataStatementStorageClass::pickOutIRNodeData ( SgOmpTargetEnterDataStatement* pointer )
37110 : {
37111 0 : SgOmpTargetEnterDataStatement* source = (SgOmpTargetEnterDataStatement*) (pointer);
37112 : #if FILE_IO_EXTRA_CHECK
37113 0 : assert ( source != NULL ) ;
37114 0 : assert ( source->p_freepointer != NULL) ;
37115 : #endif
37116 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
37117 0 : unsigned int tempListCountclauses = 0;
37118 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
37119 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37120 : {
37121 0 : tempListclauses[tempListCountclauses] = *i_clauses;
37122 0 : tempListCountclauses++;
37123 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
37124 : }
37125 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
37126 0 : tempListCountclauses = 0;
37127 0 : i_clauses = source->p_clauses.begin() ;
37128 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37129 : {
37130 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
37131 0 : tempListCountclauses++;
37132 : }
37133 0 : delete [] tempListclauses;
37134 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
37135 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
37136 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
37137 0 : unsigned int tempListCountupir_children = 0;
37138 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
37139 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37140 : {
37141 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
37142 0 : tempListCountupir_children++;
37143 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
37144 : }
37145 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
37146 0 : tempListCountupir_children = 0;
37147 0 : i_upir_children = source->p_upir_children.begin() ;
37148 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37149 : {
37150 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
37151 0 : tempListCountupir_children++;
37152 : }
37153 0 : delete [] tempListupir_children;
37154 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
37155 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
37156 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
37157 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
37158 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
37159 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
37160 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
37161 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
37162 0 : storageOf_isModified = source->p_isModified ;
37163 0 : storageOf_containsTransformation = source->p_containsTransformation ;
37164 0 : }
37165 :
37166 : void
37167 0 : SgOmpTargetEnterDataStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
37168 : {
37169 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
37170 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
37171 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
37172 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
37173 0 : }
37174 :
37175 : void
37176 2 : SgOmpTargetEnterDataStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
37177 : {
37178 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
37179 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
37180 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
37181 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
37182 2 : }
37183 :
37184 : void
37185 0 : SgOmpTargetEnterDataStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
37186 : {
37187 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
37188 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
37189 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
37190 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
37191 0 : }
37192 :
37193 :
37194 : void
37195 0 : SgOmpTargetEnterDataStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
37196 : {
37197 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
37198 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
37199 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
37200 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
37201 0 : }
37202 :
37203 :
37204 :
37205 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37206 :
37207 :
37208 : // ********************************************************
37209 :
37210 : /* #line 37211 "../../../src/frontend/SageIII//StorageClasses.C" */
37211 :
37212 :
37213 :
37214 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37215 :
37216 : // ****************************************************************
37217 : // member functions definition specific to each node in the grammar
37218 : // these are the SgOmpTargetExitDataStatementStorageClass parts !!!!
37219 : // ROSETTA generated code. Do not change by hand.
37220 : // ****************************************************************
37221 :
37222 :
37223 : /* #line 37224 "../../../src/frontend/SageIII//StorageClasses.C" */
37224 :
37225 :
37226 : void
37227 0 : SgOmpTargetExitDataStatementStorageClass::pickOutIRNodeData ( SgOmpTargetExitDataStatement* pointer )
37228 : {
37229 0 : SgOmpTargetExitDataStatement* source = (SgOmpTargetExitDataStatement*) (pointer);
37230 : #if FILE_IO_EXTRA_CHECK
37231 0 : assert ( source != NULL ) ;
37232 0 : assert ( source->p_freepointer != NULL) ;
37233 : #endif
37234 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
37235 0 : unsigned int tempListCountclauses = 0;
37236 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
37237 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37238 : {
37239 0 : tempListclauses[tempListCountclauses] = *i_clauses;
37240 0 : tempListCountclauses++;
37241 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
37242 : }
37243 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
37244 0 : tempListCountclauses = 0;
37245 0 : i_clauses = source->p_clauses.begin() ;
37246 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37247 : {
37248 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
37249 0 : tempListCountclauses++;
37250 : }
37251 0 : delete [] tempListclauses;
37252 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
37253 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
37254 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
37255 0 : unsigned int tempListCountupir_children = 0;
37256 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
37257 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37258 : {
37259 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
37260 0 : tempListCountupir_children++;
37261 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
37262 : }
37263 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
37264 0 : tempListCountupir_children = 0;
37265 0 : i_upir_children = source->p_upir_children.begin() ;
37266 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37267 : {
37268 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
37269 0 : tempListCountupir_children++;
37270 : }
37271 0 : delete [] tempListupir_children;
37272 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
37273 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
37274 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
37275 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
37276 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
37277 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
37278 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
37279 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
37280 0 : storageOf_isModified = source->p_isModified ;
37281 0 : storageOf_containsTransformation = source->p_containsTransformation ;
37282 0 : }
37283 :
37284 : void
37285 0 : SgOmpTargetExitDataStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
37286 : {
37287 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
37288 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
37289 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
37290 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
37291 0 : }
37292 :
37293 : void
37294 2 : SgOmpTargetExitDataStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
37295 : {
37296 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
37297 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
37298 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
37299 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
37300 2 : }
37301 :
37302 : void
37303 0 : SgOmpTargetExitDataStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
37304 : {
37305 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
37306 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
37307 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
37308 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
37309 0 : }
37310 :
37311 :
37312 : void
37313 0 : SgOmpTargetExitDataStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
37314 : {
37315 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
37316 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
37317 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
37318 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
37319 0 : }
37320 :
37321 :
37322 :
37323 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37324 :
37325 :
37326 : // ********************************************************
37327 :
37328 : /* #line 37329 "../../../src/frontend/SageIII//StorageClasses.C" */
37329 :
37330 :
37331 :
37332 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37333 :
37334 : // ****************************************************************
37335 : // member functions definition specific to each node in the grammar
37336 : // these are the SgOmpParallelMasterStatementStorageClass parts !!!!
37337 : // ROSETTA generated code. Do not change by hand.
37338 : // ****************************************************************
37339 :
37340 :
37341 : /* #line 37342 "../../../src/frontend/SageIII//StorageClasses.C" */
37342 :
37343 :
37344 : void
37345 0 : SgOmpParallelMasterStatementStorageClass::pickOutIRNodeData ( SgOmpParallelMasterStatement* pointer )
37346 : {
37347 0 : SgOmpParallelMasterStatement* source = (SgOmpParallelMasterStatement*) (pointer);
37348 : #if FILE_IO_EXTRA_CHECK
37349 0 : assert ( source != NULL ) ;
37350 0 : assert ( source->p_freepointer != NULL) ;
37351 : #endif
37352 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
37353 0 : unsigned int tempListCountclauses = 0;
37354 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
37355 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37356 : {
37357 0 : tempListclauses[tempListCountclauses] = *i_clauses;
37358 0 : tempListCountclauses++;
37359 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
37360 : }
37361 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
37362 0 : tempListCountclauses = 0;
37363 0 : i_clauses = source->p_clauses.begin() ;
37364 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37365 : {
37366 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
37367 0 : tempListCountclauses++;
37368 : }
37369 0 : delete [] tempListclauses;
37370 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
37371 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
37372 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
37373 0 : unsigned int tempListCountupir_children = 0;
37374 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
37375 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37376 : {
37377 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
37378 0 : tempListCountupir_children++;
37379 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
37380 : }
37381 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
37382 0 : tempListCountupir_children = 0;
37383 0 : i_upir_children = source->p_upir_children.begin() ;
37384 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37385 : {
37386 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
37387 0 : tempListCountupir_children++;
37388 : }
37389 0 : delete [] tempListupir_children;
37390 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
37391 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
37392 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
37393 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
37394 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
37395 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
37396 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
37397 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
37398 0 : storageOf_isModified = source->p_isModified ;
37399 0 : storageOf_containsTransformation = source->p_containsTransformation ;
37400 0 : }
37401 :
37402 : void
37403 0 : SgOmpParallelMasterStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
37404 : {
37405 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
37406 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
37407 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
37408 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
37409 0 : }
37410 :
37411 : void
37412 2 : SgOmpParallelMasterStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
37413 : {
37414 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
37415 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
37416 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
37417 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
37418 2 : }
37419 :
37420 : void
37421 0 : SgOmpParallelMasterStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
37422 : {
37423 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
37424 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
37425 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
37426 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
37427 0 : }
37428 :
37429 :
37430 : void
37431 0 : SgOmpParallelMasterStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
37432 : {
37433 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
37434 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
37435 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
37436 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
37437 0 : }
37438 :
37439 :
37440 :
37441 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37442 :
37443 :
37444 : // ********************************************************
37445 :
37446 : /* #line 37447 "../../../src/frontend/SageIII//StorageClasses.C" */
37447 :
37448 :
37449 :
37450 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37451 :
37452 : // ****************************************************************
37453 : // member functions definition specific to each node in the grammar
37454 : // these are the SgOmpMasterTaskloopStatementStorageClass parts !!!!
37455 : // ROSETTA generated code. Do not change by hand.
37456 : // ****************************************************************
37457 :
37458 :
37459 : /* #line 37460 "../../../src/frontend/SageIII//StorageClasses.C" */
37460 :
37461 :
37462 : void
37463 0 : SgOmpMasterTaskloopStatementStorageClass::pickOutIRNodeData ( SgOmpMasterTaskloopStatement* pointer )
37464 : {
37465 0 : SgOmpMasterTaskloopStatement* source = (SgOmpMasterTaskloopStatement*) (pointer);
37466 : #if FILE_IO_EXTRA_CHECK
37467 0 : assert ( source != NULL ) ;
37468 0 : assert ( source->p_freepointer != NULL) ;
37469 : #endif
37470 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
37471 0 : unsigned int tempListCountclauses = 0;
37472 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
37473 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37474 : {
37475 0 : tempListclauses[tempListCountclauses] = *i_clauses;
37476 0 : tempListCountclauses++;
37477 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
37478 : }
37479 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
37480 0 : tempListCountclauses = 0;
37481 0 : i_clauses = source->p_clauses.begin() ;
37482 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37483 : {
37484 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
37485 0 : tempListCountclauses++;
37486 : }
37487 0 : delete [] tempListclauses;
37488 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
37489 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
37490 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
37491 0 : unsigned int tempListCountupir_children = 0;
37492 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
37493 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37494 : {
37495 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
37496 0 : tempListCountupir_children++;
37497 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
37498 : }
37499 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
37500 0 : tempListCountupir_children = 0;
37501 0 : i_upir_children = source->p_upir_children.begin() ;
37502 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37503 : {
37504 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
37505 0 : tempListCountupir_children++;
37506 : }
37507 0 : delete [] tempListupir_children;
37508 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
37509 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
37510 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
37511 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
37512 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
37513 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
37514 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
37515 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
37516 0 : storageOf_isModified = source->p_isModified ;
37517 0 : storageOf_containsTransformation = source->p_containsTransformation ;
37518 0 : }
37519 :
37520 : void
37521 0 : SgOmpMasterTaskloopStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
37522 : {
37523 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
37524 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
37525 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
37526 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
37527 0 : }
37528 :
37529 : void
37530 2 : SgOmpMasterTaskloopStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
37531 : {
37532 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
37533 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
37534 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
37535 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
37536 2 : }
37537 :
37538 : void
37539 0 : SgOmpMasterTaskloopStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
37540 : {
37541 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
37542 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
37543 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
37544 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
37545 0 : }
37546 :
37547 :
37548 : void
37549 0 : SgOmpMasterTaskloopStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
37550 : {
37551 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
37552 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
37553 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
37554 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
37555 0 : }
37556 :
37557 :
37558 :
37559 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37560 :
37561 :
37562 : // ********************************************************
37563 :
37564 : /* #line 37565 "../../../src/frontend/SageIII//StorageClasses.C" */
37565 :
37566 :
37567 :
37568 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37569 :
37570 : // ****************************************************************
37571 : // member functions definition specific to each node in the grammar
37572 : // these are the SgOmpTaskStatementStorageClass parts !!!!
37573 : // ROSETTA generated code. Do not change by hand.
37574 : // ****************************************************************
37575 :
37576 :
37577 : /* #line 37578 "../../../src/frontend/SageIII//StorageClasses.C" */
37578 :
37579 :
37580 : void
37581 0 : SgOmpTaskStatementStorageClass::pickOutIRNodeData ( SgOmpTaskStatement* pointer )
37582 : {
37583 0 : SgOmpTaskStatement* source = (SgOmpTaskStatement*) (pointer);
37584 : #if FILE_IO_EXTRA_CHECK
37585 0 : assert ( source != NULL ) ;
37586 0 : assert ( source->p_freepointer != NULL) ;
37587 : #endif
37588 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
37589 0 : unsigned int tempListCountclauses = 0;
37590 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
37591 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37592 : {
37593 0 : tempListclauses[tempListCountclauses] = *i_clauses;
37594 0 : tempListCountclauses++;
37595 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
37596 : }
37597 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
37598 0 : tempListCountclauses = 0;
37599 0 : i_clauses = source->p_clauses.begin() ;
37600 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37601 : {
37602 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
37603 0 : tempListCountclauses++;
37604 : }
37605 0 : delete [] tempListclauses;
37606 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
37607 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
37608 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
37609 0 : unsigned int tempListCountupir_children = 0;
37610 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
37611 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37612 : {
37613 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
37614 0 : tempListCountupir_children++;
37615 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
37616 : }
37617 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
37618 0 : tempListCountupir_children = 0;
37619 0 : i_upir_children = source->p_upir_children.begin() ;
37620 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37621 : {
37622 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
37623 0 : tempListCountupir_children++;
37624 : }
37625 0 : delete [] tempListupir_children;
37626 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
37627 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
37628 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
37629 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
37630 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
37631 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
37632 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
37633 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
37634 0 : storageOf_isModified = source->p_isModified ;
37635 0 : storageOf_containsTransformation = source->p_containsTransformation ;
37636 0 : }
37637 :
37638 : void
37639 0 : SgOmpTaskStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
37640 : {
37641 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
37642 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
37643 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
37644 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
37645 0 : }
37646 :
37647 : void
37648 2 : SgOmpTaskStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
37649 : {
37650 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
37651 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
37652 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
37653 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
37654 2 : }
37655 :
37656 : void
37657 0 : SgOmpTaskStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
37658 : {
37659 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
37660 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
37661 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
37662 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
37663 0 : }
37664 :
37665 :
37666 : void
37667 0 : SgOmpTaskStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
37668 : {
37669 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
37670 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
37671 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
37672 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
37673 0 : }
37674 :
37675 :
37676 :
37677 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37678 :
37679 :
37680 : // ********************************************************
37681 :
37682 : /* #line 37683 "../../../src/frontend/SageIII//StorageClasses.C" */
37683 :
37684 :
37685 :
37686 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37687 :
37688 : // ****************************************************************
37689 : // member functions definition specific to each node in the grammar
37690 : // these are the SgOmpDoStatementStorageClass parts !!!!
37691 : // ROSETTA generated code. Do not change by hand.
37692 : // ****************************************************************
37693 :
37694 :
37695 : /* #line 37696 "../../../src/frontend/SageIII//StorageClasses.C" */
37696 :
37697 :
37698 : void
37699 0 : SgOmpDoStatementStorageClass::pickOutIRNodeData ( SgOmpDoStatement* pointer )
37700 : {
37701 0 : SgOmpDoStatement* source = (SgOmpDoStatement*) (pointer);
37702 : #if FILE_IO_EXTRA_CHECK
37703 0 : assert ( source != NULL ) ;
37704 0 : assert ( source->p_freepointer != NULL) ;
37705 : #endif
37706 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
37707 0 : unsigned int tempListCountclauses = 0;
37708 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
37709 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37710 : {
37711 0 : tempListclauses[tempListCountclauses] = *i_clauses;
37712 0 : tempListCountclauses++;
37713 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
37714 : }
37715 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
37716 0 : tempListCountclauses = 0;
37717 0 : i_clauses = source->p_clauses.begin() ;
37718 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37719 : {
37720 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
37721 0 : tempListCountclauses++;
37722 : }
37723 0 : delete [] tempListclauses;
37724 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
37725 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
37726 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
37727 0 : unsigned int tempListCountupir_children = 0;
37728 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
37729 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37730 : {
37731 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
37732 0 : tempListCountupir_children++;
37733 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
37734 : }
37735 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
37736 0 : tempListCountupir_children = 0;
37737 0 : i_upir_children = source->p_upir_children.begin() ;
37738 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37739 : {
37740 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
37741 0 : tempListCountupir_children++;
37742 : }
37743 0 : delete [] tempListupir_children;
37744 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
37745 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
37746 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
37747 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
37748 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
37749 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
37750 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
37751 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
37752 0 : storageOf_isModified = source->p_isModified ;
37753 0 : storageOf_containsTransformation = source->p_containsTransformation ;
37754 0 : }
37755 :
37756 : void
37757 0 : SgOmpDoStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
37758 : {
37759 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
37760 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
37761 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
37762 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
37763 0 : }
37764 :
37765 : void
37766 2 : SgOmpDoStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
37767 : {
37768 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
37769 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
37770 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
37771 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
37772 2 : }
37773 :
37774 : void
37775 0 : SgOmpDoStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
37776 : {
37777 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
37778 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
37779 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
37780 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
37781 0 : }
37782 :
37783 :
37784 : void
37785 0 : SgOmpDoStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
37786 : {
37787 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
37788 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
37789 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
37790 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
37791 0 : }
37792 :
37793 :
37794 :
37795 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37796 :
37797 :
37798 : // ********************************************************
37799 :
37800 : /* #line 37801 "../../../src/frontend/SageIII//StorageClasses.C" */
37801 :
37802 :
37803 :
37804 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37805 :
37806 : // ****************************************************************
37807 : // member functions definition specific to each node in the grammar
37808 : // these are the SgOmpSectionsStatementStorageClass parts !!!!
37809 : // ROSETTA generated code. Do not change by hand.
37810 : // ****************************************************************
37811 :
37812 :
37813 : /* #line 37814 "../../../src/frontend/SageIII//StorageClasses.C" */
37814 :
37815 :
37816 : void
37817 0 : SgOmpSectionsStatementStorageClass::pickOutIRNodeData ( SgOmpSectionsStatement* pointer )
37818 : {
37819 0 : SgOmpSectionsStatement* source = (SgOmpSectionsStatement*) (pointer);
37820 : #if FILE_IO_EXTRA_CHECK
37821 0 : assert ( source != NULL ) ;
37822 0 : assert ( source->p_freepointer != NULL) ;
37823 : #endif
37824 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
37825 0 : unsigned int tempListCountclauses = 0;
37826 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
37827 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37828 : {
37829 0 : tempListclauses[tempListCountclauses] = *i_clauses;
37830 0 : tempListCountclauses++;
37831 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
37832 : }
37833 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
37834 0 : tempListCountclauses = 0;
37835 0 : i_clauses = source->p_clauses.begin() ;
37836 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37837 : {
37838 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
37839 0 : tempListCountclauses++;
37840 : }
37841 0 : delete [] tempListclauses;
37842 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
37843 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
37844 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
37845 0 : unsigned int tempListCountupir_children = 0;
37846 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
37847 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37848 : {
37849 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
37850 0 : tempListCountupir_children++;
37851 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
37852 : }
37853 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
37854 0 : tempListCountupir_children = 0;
37855 0 : i_upir_children = source->p_upir_children.begin() ;
37856 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37857 : {
37858 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
37859 0 : tempListCountupir_children++;
37860 : }
37861 0 : delete [] tempListupir_children;
37862 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
37863 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
37864 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
37865 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
37866 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
37867 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
37868 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
37869 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
37870 0 : storageOf_isModified = source->p_isModified ;
37871 0 : storageOf_containsTransformation = source->p_containsTransformation ;
37872 0 : }
37873 :
37874 : void
37875 0 : SgOmpSectionsStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
37876 : {
37877 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
37878 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
37879 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
37880 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
37881 0 : }
37882 :
37883 : void
37884 2 : SgOmpSectionsStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
37885 : {
37886 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
37887 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
37888 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
37889 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
37890 2 : }
37891 :
37892 : void
37893 0 : SgOmpSectionsStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
37894 : {
37895 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
37896 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
37897 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
37898 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
37899 0 : }
37900 :
37901 :
37902 : void
37903 0 : SgOmpSectionsStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
37904 : {
37905 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
37906 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
37907 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
37908 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
37909 0 : }
37910 :
37911 :
37912 :
37913 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37914 :
37915 :
37916 : // ********************************************************
37917 :
37918 : /* #line 37919 "../../../src/frontend/SageIII//StorageClasses.C" */
37919 :
37920 :
37921 :
37922 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
37923 :
37924 : // ****************************************************************
37925 : // member functions definition specific to each node in the grammar
37926 : // these are the SgUpirTaskStatementStorageClass parts !!!!
37927 : // ROSETTA generated code. Do not change by hand.
37928 : // ****************************************************************
37929 :
37930 :
37931 : /* #line 37932 "../../../src/frontend/SageIII//StorageClasses.C" */
37932 :
37933 :
37934 : void
37935 0 : SgUpirTaskStatementStorageClass::pickOutIRNodeData ( SgUpirTaskStatement* pointer )
37936 : {
37937 0 : SgUpirTaskStatement* source = (SgUpirTaskStatement*) (pointer);
37938 : #if FILE_IO_EXTRA_CHECK
37939 0 : assert ( source != NULL ) ;
37940 0 : assert ( source->p_freepointer != NULL) ;
37941 : #endif
37942 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
37943 0 : unsigned int tempListCountclauses = 0;
37944 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
37945 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37946 : {
37947 0 : tempListclauses[tempListCountclauses] = *i_clauses;
37948 0 : tempListCountclauses++;
37949 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
37950 : }
37951 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
37952 0 : tempListCountclauses = 0;
37953 0 : i_clauses = source->p_clauses.begin() ;
37954 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
37955 : {
37956 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
37957 0 : tempListCountclauses++;
37958 : }
37959 0 : delete [] tempListclauses;
37960 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
37961 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
37962 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
37963 0 : unsigned int tempListCountupir_children = 0;
37964 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
37965 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37966 : {
37967 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
37968 0 : tempListCountupir_children++;
37969 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
37970 : }
37971 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
37972 0 : tempListCountupir_children = 0;
37973 0 : i_upir_children = source->p_upir_children.begin() ;
37974 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
37975 : {
37976 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
37977 0 : tempListCountupir_children++;
37978 : }
37979 0 : delete [] tempListupir_children;
37980 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
37981 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
37982 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
37983 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
37984 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
37985 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
37986 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
37987 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
37988 0 : storageOf_isModified = source->p_isModified ;
37989 0 : storageOf_containsTransformation = source->p_containsTransformation ;
37990 0 : }
37991 :
37992 : void
37993 0 : SgUpirTaskStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
37994 : {
37995 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
37996 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
37997 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
37998 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
37999 0 : }
38000 :
38001 : void
38002 2 : SgUpirTaskStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
38003 : {
38004 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
38005 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
38006 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
38007 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
38008 2 : }
38009 :
38010 : void
38011 0 : SgUpirTaskStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
38012 : {
38013 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
38014 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
38015 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
38016 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
38017 0 : }
38018 :
38019 :
38020 : void
38021 0 : SgUpirTaskStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
38022 : {
38023 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
38024 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
38025 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
38026 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
38027 0 : }
38028 :
38029 :
38030 :
38031 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38032 :
38033 :
38034 : // ********************************************************
38035 :
38036 : /* #line 38037 "../../../src/frontend/SageIII//StorageClasses.C" */
38037 :
38038 :
38039 :
38040 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38041 :
38042 : // ****************************************************************
38043 : // member functions definition specific to each node in the grammar
38044 : // these are the SgOmpTargetDataStatementStorageClass parts !!!!
38045 : // ROSETTA generated code. Do not change by hand.
38046 : // ****************************************************************
38047 :
38048 :
38049 : /* #line 38050 "../../../src/frontend/SageIII//StorageClasses.C" */
38050 :
38051 :
38052 : void
38053 0 : SgOmpTargetDataStatementStorageClass::pickOutIRNodeData ( SgOmpTargetDataStatement* pointer )
38054 : {
38055 0 : SgOmpTargetDataStatement* source = (SgOmpTargetDataStatement*) (pointer);
38056 : #if FILE_IO_EXTRA_CHECK
38057 0 : assert ( source != NULL ) ;
38058 0 : assert ( source->p_freepointer != NULL) ;
38059 : #endif
38060 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
38061 0 : unsigned int tempListCountclauses = 0;
38062 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
38063 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38064 : {
38065 0 : tempListclauses[tempListCountclauses] = *i_clauses;
38066 0 : tempListCountclauses++;
38067 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
38068 : }
38069 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
38070 0 : tempListCountclauses = 0;
38071 0 : i_clauses = source->p_clauses.begin() ;
38072 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38073 : {
38074 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
38075 0 : tempListCountclauses++;
38076 : }
38077 0 : delete [] tempListclauses;
38078 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
38079 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
38080 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
38081 0 : unsigned int tempListCountupir_children = 0;
38082 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
38083 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38084 : {
38085 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
38086 0 : tempListCountupir_children++;
38087 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
38088 : }
38089 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
38090 0 : tempListCountupir_children = 0;
38091 0 : i_upir_children = source->p_upir_children.begin() ;
38092 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38093 : {
38094 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
38095 0 : tempListCountupir_children++;
38096 : }
38097 0 : delete [] tempListupir_children;
38098 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
38099 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
38100 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
38101 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
38102 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
38103 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
38104 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
38105 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
38106 0 : storageOf_isModified = source->p_isModified ;
38107 0 : storageOf_containsTransformation = source->p_containsTransformation ;
38108 0 : }
38109 :
38110 : void
38111 0 : SgOmpTargetDataStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
38112 : {
38113 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
38114 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
38115 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
38116 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
38117 0 : }
38118 :
38119 : void
38120 2 : SgOmpTargetDataStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
38121 : {
38122 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
38123 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
38124 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
38125 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
38126 2 : }
38127 :
38128 : void
38129 0 : SgOmpTargetDataStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
38130 : {
38131 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
38132 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
38133 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
38134 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
38135 0 : }
38136 :
38137 :
38138 : void
38139 0 : SgOmpTargetDataStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
38140 : {
38141 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
38142 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
38143 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
38144 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
38145 0 : }
38146 :
38147 :
38148 :
38149 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38150 :
38151 :
38152 : // ********************************************************
38153 :
38154 : /* #line 38155 "../../../src/frontend/SageIII//StorageClasses.C" */
38155 :
38156 :
38157 :
38158 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38159 :
38160 : // ****************************************************************
38161 : // member functions definition specific to each node in the grammar
38162 : // these are the SgOmpTargetParallelForStatementStorageClass parts !!!!
38163 : // ROSETTA generated code. Do not change by hand.
38164 : // ****************************************************************
38165 :
38166 :
38167 : /* #line 38168 "../../../src/frontend/SageIII//StorageClasses.C" */
38168 :
38169 :
38170 : void
38171 0 : SgOmpTargetParallelForStatementStorageClass::pickOutIRNodeData ( SgOmpTargetParallelForStatement* pointer )
38172 : {
38173 0 : SgOmpTargetParallelForStatement* source = (SgOmpTargetParallelForStatement*) (pointer);
38174 : #if FILE_IO_EXTRA_CHECK
38175 0 : assert ( source != NULL ) ;
38176 0 : assert ( source->p_freepointer != NULL) ;
38177 : #endif
38178 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
38179 0 : unsigned int tempListCountclauses = 0;
38180 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
38181 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38182 : {
38183 0 : tempListclauses[tempListCountclauses] = *i_clauses;
38184 0 : tempListCountclauses++;
38185 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
38186 : }
38187 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
38188 0 : tempListCountclauses = 0;
38189 0 : i_clauses = source->p_clauses.begin() ;
38190 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38191 : {
38192 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
38193 0 : tempListCountclauses++;
38194 : }
38195 0 : delete [] tempListclauses;
38196 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
38197 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
38198 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
38199 0 : unsigned int tempListCountupir_children = 0;
38200 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
38201 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38202 : {
38203 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
38204 0 : tempListCountupir_children++;
38205 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
38206 : }
38207 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
38208 0 : tempListCountupir_children = 0;
38209 0 : i_upir_children = source->p_upir_children.begin() ;
38210 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38211 : {
38212 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
38213 0 : tempListCountupir_children++;
38214 : }
38215 0 : delete [] tempListupir_children;
38216 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
38217 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
38218 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
38219 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
38220 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
38221 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
38222 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
38223 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
38224 0 : storageOf_isModified = source->p_isModified ;
38225 0 : storageOf_containsTransformation = source->p_containsTransformation ;
38226 0 : }
38227 :
38228 : void
38229 0 : SgOmpTargetParallelForStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
38230 : {
38231 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
38232 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
38233 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
38234 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
38235 0 : }
38236 :
38237 : void
38238 2 : SgOmpTargetParallelForStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
38239 : {
38240 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
38241 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
38242 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
38243 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
38244 2 : }
38245 :
38246 : void
38247 0 : SgOmpTargetParallelForStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
38248 : {
38249 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
38250 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
38251 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
38252 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
38253 0 : }
38254 :
38255 :
38256 : void
38257 0 : SgOmpTargetParallelForStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
38258 : {
38259 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
38260 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
38261 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
38262 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
38263 0 : }
38264 :
38265 :
38266 :
38267 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38268 :
38269 :
38270 : // ********************************************************
38271 :
38272 : /* #line 38273 "../../../src/frontend/SageIII//StorageClasses.C" */
38273 :
38274 :
38275 :
38276 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38277 :
38278 : // ****************************************************************
38279 : // member functions definition specific to each node in the grammar
38280 : // these are the SgOmpParallelLoopStatementStorageClass parts !!!!
38281 : // ROSETTA generated code. Do not change by hand.
38282 : // ****************************************************************
38283 :
38284 :
38285 : /* #line 38286 "../../../src/frontend/SageIII//StorageClasses.C" */
38286 :
38287 :
38288 : void
38289 0 : SgOmpParallelLoopStatementStorageClass::pickOutIRNodeData ( SgOmpParallelLoopStatement* pointer )
38290 : {
38291 0 : SgOmpParallelLoopStatement* source = (SgOmpParallelLoopStatement*) (pointer);
38292 : #if FILE_IO_EXTRA_CHECK
38293 0 : assert ( source != NULL ) ;
38294 0 : assert ( source->p_freepointer != NULL) ;
38295 : #endif
38296 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
38297 0 : unsigned int tempListCountclauses = 0;
38298 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
38299 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38300 : {
38301 0 : tempListclauses[tempListCountclauses] = *i_clauses;
38302 0 : tempListCountclauses++;
38303 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
38304 : }
38305 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
38306 0 : tempListCountclauses = 0;
38307 0 : i_clauses = source->p_clauses.begin() ;
38308 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38309 : {
38310 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
38311 0 : tempListCountclauses++;
38312 : }
38313 0 : delete [] tempListclauses;
38314 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
38315 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
38316 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
38317 0 : unsigned int tempListCountupir_children = 0;
38318 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
38319 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38320 : {
38321 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
38322 0 : tempListCountupir_children++;
38323 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
38324 : }
38325 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
38326 0 : tempListCountupir_children = 0;
38327 0 : i_upir_children = source->p_upir_children.begin() ;
38328 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38329 : {
38330 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
38331 0 : tempListCountupir_children++;
38332 : }
38333 0 : delete [] tempListupir_children;
38334 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
38335 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
38336 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
38337 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
38338 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
38339 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
38340 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
38341 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
38342 0 : storageOf_isModified = source->p_isModified ;
38343 0 : storageOf_containsTransformation = source->p_containsTransformation ;
38344 0 : }
38345 :
38346 : void
38347 0 : SgOmpParallelLoopStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
38348 : {
38349 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
38350 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
38351 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
38352 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
38353 0 : }
38354 :
38355 : void
38356 2 : SgOmpParallelLoopStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
38357 : {
38358 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
38359 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
38360 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
38361 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
38362 2 : }
38363 :
38364 : void
38365 0 : SgOmpParallelLoopStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
38366 : {
38367 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
38368 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
38369 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
38370 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
38371 0 : }
38372 :
38373 :
38374 : void
38375 0 : SgOmpParallelLoopStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
38376 : {
38377 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
38378 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
38379 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
38380 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
38381 0 : }
38382 :
38383 :
38384 :
38385 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38386 :
38387 :
38388 : // ********************************************************
38389 :
38390 : /* #line 38391 "../../../src/frontend/SageIII//StorageClasses.C" */
38391 :
38392 :
38393 :
38394 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38395 :
38396 : // ****************************************************************
38397 : // member functions definition specific to each node in the grammar
38398 : // these are the SgOmpTargetParallelStatementStorageClass parts !!!!
38399 : // ROSETTA generated code. Do not change by hand.
38400 : // ****************************************************************
38401 :
38402 :
38403 : /* #line 38404 "../../../src/frontend/SageIII//StorageClasses.C" */
38404 :
38405 :
38406 : void
38407 0 : SgOmpTargetParallelStatementStorageClass::pickOutIRNodeData ( SgOmpTargetParallelStatement* pointer )
38408 : {
38409 0 : SgOmpTargetParallelStatement* source = (SgOmpTargetParallelStatement*) (pointer);
38410 : #if FILE_IO_EXTRA_CHECK
38411 0 : assert ( source != NULL ) ;
38412 0 : assert ( source->p_freepointer != NULL) ;
38413 : #endif
38414 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
38415 0 : unsigned int tempListCountclauses = 0;
38416 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
38417 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38418 : {
38419 0 : tempListclauses[tempListCountclauses] = *i_clauses;
38420 0 : tempListCountclauses++;
38421 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
38422 : }
38423 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
38424 0 : tempListCountclauses = 0;
38425 0 : i_clauses = source->p_clauses.begin() ;
38426 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38427 : {
38428 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
38429 0 : tempListCountclauses++;
38430 : }
38431 0 : delete [] tempListclauses;
38432 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
38433 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
38434 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
38435 0 : unsigned int tempListCountupir_children = 0;
38436 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
38437 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38438 : {
38439 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
38440 0 : tempListCountupir_children++;
38441 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
38442 : }
38443 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
38444 0 : tempListCountupir_children = 0;
38445 0 : i_upir_children = source->p_upir_children.begin() ;
38446 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38447 : {
38448 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
38449 0 : tempListCountupir_children++;
38450 : }
38451 0 : delete [] tempListupir_children;
38452 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
38453 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
38454 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
38455 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
38456 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
38457 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
38458 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
38459 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
38460 0 : storageOf_isModified = source->p_isModified ;
38461 0 : storageOf_containsTransformation = source->p_containsTransformation ;
38462 0 : }
38463 :
38464 : void
38465 0 : SgOmpTargetParallelStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
38466 : {
38467 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
38468 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
38469 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
38470 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
38471 0 : }
38472 :
38473 : void
38474 2 : SgOmpTargetParallelStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
38475 : {
38476 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
38477 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
38478 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
38479 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
38480 2 : }
38481 :
38482 : void
38483 0 : SgOmpTargetParallelStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
38484 : {
38485 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
38486 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
38487 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
38488 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
38489 0 : }
38490 :
38491 :
38492 : void
38493 0 : SgOmpTargetParallelStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
38494 : {
38495 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
38496 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
38497 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
38498 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
38499 0 : }
38500 :
38501 :
38502 :
38503 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38504 :
38505 :
38506 : // ********************************************************
38507 :
38508 : /* #line 38509 "../../../src/frontend/SageIII//StorageClasses.C" */
38509 :
38510 :
38511 :
38512 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38513 :
38514 : // ****************************************************************
38515 : // member functions definition specific to each node in the grammar
38516 : // these are the SgOmpTargetParallelForSimdStatementStorageClass parts !!!!
38517 : // ROSETTA generated code. Do not change by hand.
38518 : // ****************************************************************
38519 :
38520 :
38521 : /* #line 38522 "../../../src/frontend/SageIII//StorageClasses.C" */
38522 :
38523 :
38524 : void
38525 0 : SgOmpTargetParallelForSimdStatementStorageClass::pickOutIRNodeData ( SgOmpTargetParallelForSimdStatement* pointer )
38526 : {
38527 0 : SgOmpTargetParallelForSimdStatement* source = (SgOmpTargetParallelForSimdStatement*) (pointer);
38528 : #if FILE_IO_EXTRA_CHECK
38529 0 : assert ( source != NULL ) ;
38530 0 : assert ( source->p_freepointer != NULL) ;
38531 : #endif
38532 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
38533 0 : unsigned int tempListCountclauses = 0;
38534 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
38535 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38536 : {
38537 0 : tempListclauses[tempListCountclauses] = *i_clauses;
38538 0 : tempListCountclauses++;
38539 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
38540 : }
38541 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
38542 0 : tempListCountclauses = 0;
38543 0 : i_clauses = source->p_clauses.begin() ;
38544 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38545 : {
38546 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
38547 0 : tempListCountclauses++;
38548 : }
38549 0 : delete [] tempListclauses;
38550 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
38551 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
38552 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
38553 0 : unsigned int tempListCountupir_children = 0;
38554 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
38555 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38556 : {
38557 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
38558 0 : tempListCountupir_children++;
38559 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
38560 : }
38561 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
38562 0 : tempListCountupir_children = 0;
38563 0 : i_upir_children = source->p_upir_children.begin() ;
38564 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38565 : {
38566 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
38567 0 : tempListCountupir_children++;
38568 : }
38569 0 : delete [] tempListupir_children;
38570 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
38571 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
38572 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
38573 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
38574 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
38575 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
38576 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
38577 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
38578 0 : storageOf_isModified = source->p_isModified ;
38579 0 : storageOf_containsTransformation = source->p_containsTransformation ;
38580 0 : }
38581 :
38582 : void
38583 0 : SgOmpTargetParallelForSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
38584 : {
38585 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
38586 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
38587 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
38588 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
38589 0 : }
38590 :
38591 : void
38592 2 : SgOmpTargetParallelForSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
38593 : {
38594 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
38595 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
38596 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
38597 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
38598 2 : }
38599 :
38600 : void
38601 0 : SgOmpTargetParallelForSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
38602 : {
38603 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
38604 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
38605 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
38606 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
38607 0 : }
38608 :
38609 :
38610 : void
38611 0 : SgOmpTargetParallelForSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
38612 : {
38613 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
38614 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
38615 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
38616 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
38617 0 : }
38618 :
38619 :
38620 :
38621 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38622 :
38623 :
38624 : // ********************************************************
38625 :
38626 : /* #line 38627 "../../../src/frontend/SageIII//StorageClasses.C" */
38627 :
38628 :
38629 :
38630 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38631 :
38632 : // ****************************************************************
38633 : // member functions definition specific to each node in the grammar
38634 : // these are the SgOmpTargetParallelLoopStatementStorageClass parts !!!!
38635 : // ROSETTA generated code. Do not change by hand.
38636 : // ****************************************************************
38637 :
38638 :
38639 : /* #line 38640 "../../../src/frontend/SageIII//StorageClasses.C" */
38640 :
38641 :
38642 : void
38643 0 : SgOmpTargetParallelLoopStatementStorageClass::pickOutIRNodeData ( SgOmpTargetParallelLoopStatement* pointer )
38644 : {
38645 0 : SgOmpTargetParallelLoopStatement* source = (SgOmpTargetParallelLoopStatement*) (pointer);
38646 : #if FILE_IO_EXTRA_CHECK
38647 0 : assert ( source != NULL ) ;
38648 0 : assert ( source->p_freepointer != NULL) ;
38649 : #endif
38650 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
38651 0 : unsigned int tempListCountclauses = 0;
38652 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
38653 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38654 : {
38655 0 : tempListclauses[tempListCountclauses] = *i_clauses;
38656 0 : tempListCountclauses++;
38657 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
38658 : }
38659 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
38660 0 : tempListCountclauses = 0;
38661 0 : i_clauses = source->p_clauses.begin() ;
38662 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38663 : {
38664 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
38665 0 : tempListCountclauses++;
38666 : }
38667 0 : delete [] tempListclauses;
38668 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
38669 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
38670 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
38671 0 : unsigned int tempListCountupir_children = 0;
38672 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
38673 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38674 : {
38675 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
38676 0 : tempListCountupir_children++;
38677 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
38678 : }
38679 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
38680 0 : tempListCountupir_children = 0;
38681 0 : i_upir_children = source->p_upir_children.begin() ;
38682 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38683 : {
38684 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
38685 0 : tempListCountupir_children++;
38686 : }
38687 0 : delete [] tempListupir_children;
38688 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
38689 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
38690 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
38691 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
38692 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
38693 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
38694 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
38695 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
38696 0 : storageOf_isModified = source->p_isModified ;
38697 0 : storageOf_containsTransformation = source->p_containsTransformation ;
38698 0 : }
38699 :
38700 : void
38701 0 : SgOmpTargetParallelLoopStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
38702 : {
38703 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
38704 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
38705 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
38706 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
38707 0 : }
38708 :
38709 : void
38710 2 : SgOmpTargetParallelLoopStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
38711 : {
38712 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
38713 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
38714 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
38715 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
38716 2 : }
38717 :
38718 : void
38719 0 : SgOmpTargetParallelLoopStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
38720 : {
38721 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
38722 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
38723 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
38724 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
38725 0 : }
38726 :
38727 :
38728 : void
38729 0 : SgOmpTargetParallelLoopStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
38730 : {
38731 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
38732 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
38733 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
38734 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
38735 0 : }
38736 :
38737 :
38738 :
38739 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38740 :
38741 :
38742 : // ********************************************************
38743 :
38744 : /* #line 38745 "../../../src/frontend/SageIII//StorageClasses.C" */
38745 :
38746 :
38747 :
38748 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38749 :
38750 : // ****************************************************************
38751 : // member functions definition specific to each node in the grammar
38752 : // these are the SgOmpTargetSimdStatementStorageClass parts !!!!
38753 : // ROSETTA generated code. Do not change by hand.
38754 : // ****************************************************************
38755 :
38756 :
38757 : /* #line 38758 "../../../src/frontend/SageIII//StorageClasses.C" */
38758 :
38759 :
38760 : void
38761 0 : SgOmpTargetSimdStatementStorageClass::pickOutIRNodeData ( SgOmpTargetSimdStatement* pointer )
38762 : {
38763 0 : SgOmpTargetSimdStatement* source = (SgOmpTargetSimdStatement*) (pointer);
38764 : #if FILE_IO_EXTRA_CHECK
38765 0 : assert ( source != NULL ) ;
38766 0 : assert ( source->p_freepointer != NULL) ;
38767 : #endif
38768 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
38769 0 : unsigned int tempListCountclauses = 0;
38770 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
38771 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38772 : {
38773 0 : tempListclauses[tempListCountclauses] = *i_clauses;
38774 0 : tempListCountclauses++;
38775 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
38776 : }
38777 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
38778 0 : tempListCountclauses = 0;
38779 0 : i_clauses = source->p_clauses.begin() ;
38780 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38781 : {
38782 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
38783 0 : tempListCountclauses++;
38784 : }
38785 0 : delete [] tempListclauses;
38786 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
38787 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
38788 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
38789 0 : unsigned int tempListCountupir_children = 0;
38790 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
38791 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38792 : {
38793 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
38794 0 : tempListCountupir_children++;
38795 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
38796 : }
38797 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
38798 0 : tempListCountupir_children = 0;
38799 0 : i_upir_children = source->p_upir_children.begin() ;
38800 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38801 : {
38802 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
38803 0 : tempListCountupir_children++;
38804 : }
38805 0 : delete [] tempListupir_children;
38806 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
38807 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
38808 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
38809 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
38810 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
38811 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
38812 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
38813 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
38814 0 : storageOf_isModified = source->p_isModified ;
38815 0 : storageOf_containsTransformation = source->p_containsTransformation ;
38816 0 : }
38817 :
38818 : void
38819 0 : SgOmpTargetSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
38820 : {
38821 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
38822 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
38823 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
38824 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
38825 0 : }
38826 :
38827 : void
38828 2 : SgOmpTargetSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
38829 : {
38830 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
38831 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
38832 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
38833 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
38834 2 : }
38835 :
38836 : void
38837 0 : SgOmpTargetSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
38838 : {
38839 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
38840 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
38841 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
38842 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
38843 0 : }
38844 :
38845 :
38846 : void
38847 0 : SgOmpTargetSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
38848 : {
38849 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
38850 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
38851 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
38852 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
38853 0 : }
38854 :
38855 :
38856 :
38857 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38858 :
38859 :
38860 : // ********************************************************
38861 :
38862 : /* #line 38863 "../../../src/frontend/SageIII//StorageClasses.C" */
38863 :
38864 :
38865 :
38866 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38867 :
38868 : // ****************************************************************
38869 : // member functions definition specific to each node in the grammar
38870 : // these are the SgOmpTargetTeamsStatementStorageClass parts !!!!
38871 : // ROSETTA generated code. Do not change by hand.
38872 : // ****************************************************************
38873 :
38874 :
38875 : /* #line 38876 "../../../src/frontend/SageIII//StorageClasses.C" */
38876 :
38877 :
38878 : void
38879 0 : SgOmpTargetTeamsStatementStorageClass::pickOutIRNodeData ( SgOmpTargetTeamsStatement* pointer )
38880 : {
38881 0 : SgOmpTargetTeamsStatement* source = (SgOmpTargetTeamsStatement*) (pointer);
38882 : #if FILE_IO_EXTRA_CHECK
38883 0 : assert ( source != NULL ) ;
38884 0 : assert ( source->p_freepointer != NULL) ;
38885 : #endif
38886 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
38887 0 : unsigned int tempListCountclauses = 0;
38888 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
38889 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38890 : {
38891 0 : tempListclauses[tempListCountclauses] = *i_clauses;
38892 0 : tempListCountclauses++;
38893 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
38894 : }
38895 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
38896 0 : tempListCountclauses = 0;
38897 0 : i_clauses = source->p_clauses.begin() ;
38898 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
38899 : {
38900 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
38901 0 : tempListCountclauses++;
38902 : }
38903 0 : delete [] tempListclauses;
38904 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
38905 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
38906 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
38907 0 : unsigned int tempListCountupir_children = 0;
38908 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
38909 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38910 : {
38911 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
38912 0 : tempListCountupir_children++;
38913 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
38914 : }
38915 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
38916 0 : tempListCountupir_children = 0;
38917 0 : i_upir_children = source->p_upir_children.begin() ;
38918 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
38919 : {
38920 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
38921 0 : tempListCountupir_children++;
38922 : }
38923 0 : delete [] tempListupir_children;
38924 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
38925 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
38926 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
38927 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
38928 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
38929 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
38930 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
38931 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
38932 0 : storageOf_isModified = source->p_isModified ;
38933 0 : storageOf_containsTransformation = source->p_containsTransformation ;
38934 0 : }
38935 :
38936 : void
38937 0 : SgOmpTargetTeamsStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
38938 : {
38939 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
38940 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
38941 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
38942 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
38943 0 : }
38944 :
38945 : void
38946 2 : SgOmpTargetTeamsStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
38947 : {
38948 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
38949 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
38950 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
38951 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
38952 2 : }
38953 :
38954 : void
38955 0 : SgOmpTargetTeamsStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
38956 : {
38957 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
38958 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
38959 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
38960 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
38961 0 : }
38962 :
38963 :
38964 : void
38965 0 : SgOmpTargetTeamsStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
38966 : {
38967 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
38968 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
38969 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
38970 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
38971 0 : }
38972 :
38973 :
38974 :
38975 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38976 :
38977 :
38978 : // ********************************************************
38979 :
38980 : /* #line 38981 "../../../src/frontend/SageIII//StorageClasses.C" */
38981 :
38982 :
38983 :
38984 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
38985 :
38986 : // ****************************************************************
38987 : // member functions definition specific to each node in the grammar
38988 : // these are the SgOmpTargetTeamsDistributeStatementStorageClass parts !!!!
38989 : // ROSETTA generated code. Do not change by hand.
38990 : // ****************************************************************
38991 :
38992 :
38993 : /* #line 38994 "../../../src/frontend/SageIII//StorageClasses.C" */
38994 :
38995 :
38996 : void
38997 0 : SgOmpTargetTeamsDistributeStatementStorageClass::pickOutIRNodeData ( SgOmpTargetTeamsDistributeStatement* pointer )
38998 : {
38999 0 : SgOmpTargetTeamsDistributeStatement* source = (SgOmpTargetTeamsDistributeStatement*) (pointer);
39000 : #if FILE_IO_EXTRA_CHECK
39001 0 : assert ( source != NULL ) ;
39002 0 : assert ( source->p_freepointer != NULL) ;
39003 : #endif
39004 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
39005 0 : unsigned int tempListCountclauses = 0;
39006 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
39007 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39008 : {
39009 0 : tempListclauses[tempListCountclauses] = *i_clauses;
39010 0 : tempListCountclauses++;
39011 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
39012 : }
39013 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
39014 0 : tempListCountclauses = 0;
39015 0 : i_clauses = source->p_clauses.begin() ;
39016 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39017 : {
39018 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
39019 0 : tempListCountclauses++;
39020 : }
39021 0 : delete [] tempListclauses;
39022 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
39023 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
39024 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
39025 0 : unsigned int tempListCountupir_children = 0;
39026 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
39027 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39028 : {
39029 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
39030 0 : tempListCountupir_children++;
39031 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
39032 : }
39033 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
39034 0 : tempListCountupir_children = 0;
39035 0 : i_upir_children = source->p_upir_children.begin() ;
39036 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39037 : {
39038 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
39039 0 : tempListCountupir_children++;
39040 : }
39041 0 : delete [] tempListupir_children;
39042 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
39043 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
39044 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
39045 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
39046 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
39047 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
39048 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
39049 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
39050 0 : storageOf_isModified = source->p_isModified ;
39051 0 : storageOf_containsTransformation = source->p_containsTransformation ;
39052 0 : }
39053 :
39054 : void
39055 0 : SgOmpTargetTeamsDistributeStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
39056 : {
39057 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
39058 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
39059 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
39060 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
39061 0 : }
39062 :
39063 : void
39064 2 : SgOmpTargetTeamsDistributeStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
39065 : {
39066 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
39067 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
39068 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
39069 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
39070 2 : }
39071 :
39072 : void
39073 0 : SgOmpTargetTeamsDistributeStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
39074 : {
39075 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
39076 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
39077 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
39078 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
39079 0 : }
39080 :
39081 :
39082 : void
39083 0 : SgOmpTargetTeamsDistributeStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
39084 : {
39085 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
39086 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
39087 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
39088 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
39089 0 : }
39090 :
39091 :
39092 :
39093 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39094 :
39095 :
39096 : // ********************************************************
39097 :
39098 : /* #line 39099 "../../../src/frontend/SageIII//StorageClasses.C" */
39099 :
39100 :
39101 :
39102 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39103 :
39104 : // ****************************************************************
39105 : // member functions definition specific to each node in the grammar
39106 : // these are the SgOmpTargetTeamsDistributeSimdStatementStorageClass parts !!!!
39107 : // ROSETTA generated code. Do not change by hand.
39108 : // ****************************************************************
39109 :
39110 :
39111 : /* #line 39112 "../../../src/frontend/SageIII//StorageClasses.C" */
39112 :
39113 :
39114 : void
39115 0 : SgOmpTargetTeamsDistributeSimdStatementStorageClass::pickOutIRNodeData ( SgOmpTargetTeamsDistributeSimdStatement* pointer )
39116 : {
39117 0 : SgOmpTargetTeamsDistributeSimdStatement* source = (SgOmpTargetTeamsDistributeSimdStatement*) (pointer);
39118 : #if FILE_IO_EXTRA_CHECK
39119 0 : assert ( source != NULL ) ;
39120 0 : assert ( source->p_freepointer != NULL) ;
39121 : #endif
39122 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
39123 0 : unsigned int tempListCountclauses = 0;
39124 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
39125 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39126 : {
39127 0 : tempListclauses[tempListCountclauses] = *i_clauses;
39128 0 : tempListCountclauses++;
39129 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
39130 : }
39131 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
39132 0 : tempListCountclauses = 0;
39133 0 : i_clauses = source->p_clauses.begin() ;
39134 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39135 : {
39136 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
39137 0 : tempListCountclauses++;
39138 : }
39139 0 : delete [] tempListclauses;
39140 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
39141 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
39142 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
39143 0 : unsigned int tempListCountupir_children = 0;
39144 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
39145 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39146 : {
39147 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
39148 0 : tempListCountupir_children++;
39149 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
39150 : }
39151 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
39152 0 : tempListCountupir_children = 0;
39153 0 : i_upir_children = source->p_upir_children.begin() ;
39154 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39155 : {
39156 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
39157 0 : tempListCountupir_children++;
39158 : }
39159 0 : delete [] tempListupir_children;
39160 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
39161 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
39162 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
39163 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
39164 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
39165 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
39166 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
39167 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
39168 0 : storageOf_isModified = source->p_isModified ;
39169 0 : storageOf_containsTransformation = source->p_containsTransformation ;
39170 0 : }
39171 :
39172 : void
39173 0 : SgOmpTargetTeamsDistributeSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
39174 : {
39175 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
39176 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
39177 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
39178 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
39179 0 : }
39180 :
39181 : void
39182 2 : SgOmpTargetTeamsDistributeSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
39183 : {
39184 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
39185 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
39186 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
39187 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
39188 2 : }
39189 :
39190 : void
39191 0 : SgOmpTargetTeamsDistributeSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
39192 : {
39193 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
39194 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
39195 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
39196 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
39197 0 : }
39198 :
39199 :
39200 : void
39201 0 : SgOmpTargetTeamsDistributeSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
39202 : {
39203 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
39204 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
39205 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
39206 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
39207 0 : }
39208 :
39209 :
39210 :
39211 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39212 :
39213 :
39214 : // ********************************************************
39215 :
39216 : /* #line 39217 "../../../src/frontend/SageIII//StorageClasses.C" */
39217 :
39218 :
39219 :
39220 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39221 :
39222 : // ****************************************************************
39223 : // member functions definition specific to each node in the grammar
39224 : // these are the SgOmpTargetTeamsLoopStatementStorageClass parts !!!!
39225 : // ROSETTA generated code. Do not change by hand.
39226 : // ****************************************************************
39227 :
39228 :
39229 : /* #line 39230 "../../../src/frontend/SageIII//StorageClasses.C" */
39230 :
39231 :
39232 : void
39233 0 : SgOmpTargetTeamsLoopStatementStorageClass::pickOutIRNodeData ( SgOmpTargetTeamsLoopStatement* pointer )
39234 : {
39235 0 : SgOmpTargetTeamsLoopStatement* source = (SgOmpTargetTeamsLoopStatement*) (pointer);
39236 : #if FILE_IO_EXTRA_CHECK
39237 0 : assert ( source != NULL ) ;
39238 0 : assert ( source->p_freepointer != NULL) ;
39239 : #endif
39240 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
39241 0 : unsigned int tempListCountclauses = 0;
39242 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
39243 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39244 : {
39245 0 : tempListclauses[tempListCountclauses] = *i_clauses;
39246 0 : tempListCountclauses++;
39247 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
39248 : }
39249 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
39250 0 : tempListCountclauses = 0;
39251 0 : i_clauses = source->p_clauses.begin() ;
39252 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39253 : {
39254 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
39255 0 : tempListCountclauses++;
39256 : }
39257 0 : delete [] tempListclauses;
39258 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
39259 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
39260 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
39261 0 : unsigned int tempListCountupir_children = 0;
39262 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
39263 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39264 : {
39265 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
39266 0 : tempListCountupir_children++;
39267 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
39268 : }
39269 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
39270 0 : tempListCountupir_children = 0;
39271 0 : i_upir_children = source->p_upir_children.begin() ;
39272 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39273 : {
39274 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
39275 0 : tempListCountupir_children++;
39276 : }
39277 0 : delete [] tempListupir_children;
39278 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
39279 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
39280 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
39281 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
39282 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
39283 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
39284 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
39285 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
39286 0 : storageOf_isModified = source->p_isModified ;
39287 0 : storageOf_containsTransformation = source->p_containsTransformation ;
39288 0 : }
39289 :
39290 : void
39291 0 : SgOmpTargetTeamsLoopStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
39292 : {
39293 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
39294 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
39295 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
39296 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
39297 0 : }
39298 :
39299 : void
39300 2 : SgOmpTargetTeamsLoopStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
39301 : {
39302 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
39303 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
39304 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
39305 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
39306 2 : }
39307 :
39308 : void
39309 0 : SgOmpTargetTeamsLoopStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
39310 : {
39311 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
39312 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
39313 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
39314 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
39315 0 : }
39316 :
39317 :
39318 : void
39319 0 : SgOmpTargetTeamsLoopStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
39320 : {
39321 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
39322 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
39323 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
39324 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
39325 0 : }
39326 :
39327 :
39328 :
39329 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39330 :
39331 :
39332 : // ********************************************************
39333 :
39334 : /* #line 39335 "../../../src/frontend/SageIII//StorageClasses.C" */
39335 :
39336 :
39337 :
39338 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39339 :
39340 : // ****************************************************************
39341 : // member functions definition specific to each node in the grammar
39342 : // these are the SgOmpTargetTeamsDistributeParallelForStatementStorageClass parts !!!!
39343 : // ROSETTA generated code. Do not change by hand.
39344 : // ****************************************************************
39345 :
39346 :
39347 : /* #line 39348 "../../../src/frontend/SageIII//StorageClasses.C" */
39348 :
39349 :
39350 : void
39351 0 : SgOmpTargetTeamsDistributeParallelForStatementStorageClass::pickOutIRNodeData ( SgOmpTargetTeamsDistributeParallelForStatement* pointer )
39352 : {
39353 0 : SgOmpTargetTeamsDistributeParallelForStatement* source = (SgOmpTargetTeamsDistributeParallelForStatement*) (pointer);
39354 : #if FILE_IO_EXTRA_CHECK
39355 0 : assert ( source != NULL ) ;
39356 0 : assert ( source->p_freepointer != NULL) ;
39357 : #endif
39358 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
39359 0 : unsigned int tempListCountclauses = 0;
39360 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
39361 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39362 : {
39363 0 : tempListclauses[tempListCountclauses] = *i_clauses;
39364 0 : tempListCountclauses++;
39365 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
39366 : }
39367 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
39368 0 : tempListCountclauses = 0;
39369 0 : i_clauses = source->p_clauses.begin() ;
39370 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39371 : {
39372 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
39373 0 : tempListCountclauses++;
39374 : }
39375 0 : delete [] tempListclauses;
39376 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
39377 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
39378 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
39379 0 : unsigned int tempListCountupir_children = 0;
39380 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
39381 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39382 : {
39383 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
39384 0 : tempListCountupir_children++;
39385 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
39386 : }
39387 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
39388 0 : tempListCountupir_children = 0;
39389 0 : i_upir_children = source->p_upir_children.begin() ;
39390 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39391 : {
39392 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
39393 0 : tempListCountupir_children++;
39394 : }
39395 0 : delete [] tempListupir_children;
39396 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
39397 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
39398 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
39399 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
39400 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
39401 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
39402 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
39403 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
39404 0 : storageOf_isModified = source->p_isModified ;
39405 0 : storageOf_containsTransformation = source->p_containsTransformation ;
39406 0 : }
39407 :
39408 : void
39409 0 : SgOmpTargetTeamsDistributeParallelForStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
39410 : {
39411 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
39412 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
39413 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
39414 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
39415 0 : }
39416 :
39417 : void
39418 2 : SgOmpTargetTeamsDistributeParallelForStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
39419 : {
39420 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
39421 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
39422 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
39423 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
39424 2 : }
39425 :
39426 : void
39427 0 : SgOmpTargetTeamsDistributeParallelForStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
39428 : {
39429 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
39430 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
39431 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
39432 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
39433 0 : }
39434 :
39435 :
39436 : void
39437 0 : SgOmpTargetTeamsDistributeParallelForStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
39438 : {
39439 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
39440 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
39441 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
39442 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
39443 0 : }
39444 :
39445 :
39446 :
39447 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39448 :
39449 :
39450 : // ********************************************************
39451 :
39452 : /* #line 39453 "../../../src/frontend/SageIII//StorageClasses.C" */
39453 :
39454 :
39455 :
39456 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39457 :
39458 : // ****************************************************************
39459 : // member functions definition specific to each node in the grammar
39460 : // these are the SgOmpTargetTeamsDistributeParallelForSimdStatementStorageClass parts !!!!
39461 : // ROSETTA generated code. Do not change by hand.
39462 : // ****************************************************************
39463 :
39464 :
39465 : /* #line 39466 "../../../src/frontend/SageIII//StorageClasses.C" */
39466 :
39467 :
39468 : void
39469 0 : SgOmpTargetTeamsDistributeParallelForSimdStatementStorageClass::pickOutIRNodeData ( SgOmpTargetTeamsDistributeParallelForSimdStatement* pointer )
39470 : {
39471 0 : SgOmpTargetTeamsDistributeParallelForSimdStatement* source = (SgOmpTargetTeamsDistributeParallelForSimdStatement*) (pointer);
39472 : #if FILE_IO_EXTRA_CHECK
39473 0 : assert ( source != NULL ) ;
39474 0 : assert ( source->p_freepointer != NULL) ;
39475 : #endif
39476 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
39477 0 : unsigned int tempListCountclauses = 0;
39478 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
39479 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39480 : {
39481 0 : tempListclauses[tempListCountclauses] = *i_clauses;
39482 0 : tempListCountclauses++;
39483 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
39484 : }
39485 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
39486 0 : tempListCountclauses = 0;
39487 0 : i_clauses = source->p_clauses.begin() ;
39488 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39489 : {
39490 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
39491 0 : tempListCountclauses++;
39492 : }
39493 0 : delete [] tempListclauses;
39494 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
39495 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
39496 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
39497 0 : unsigned int tempListCountupir_children = 0;
39498 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
39499 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39500 : {
39501 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
39502 0 : tempListCountupir_children++;
39503 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
39504 : }
39505 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
39506 0 : tempListCountupir_children = 0;
39507 0 : i_upir_children = source->p_upir_children.begin() ;
39508 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39509 : {
39510 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
39511 0 : tempListCountupir_children++;
39512 : }
39513 0 : delete [] tempListupir_children;
39514 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
39515 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
39516 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
39517 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
39518 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
39519 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
39520 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
39521 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
39522 0 : storageOf_isModified = source->p_isModified ;
39523 0 : storageOf_containsTransformation = source->p_containsTransformation ;
39524 0 : }
39525 :
39526 : void
39527 0 : SgOmpTargetTeamsDistributeParallelForSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
39528 : {
39529 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
39530 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
39531 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
39532 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
39533 0 : }
39534 :
39535 : void
39536 2 : SgOmpTargetTeamsDistributeParallelForSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
39537 : {
39538 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
39539 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
39540 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
39541 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
39542 2 : }
39543 :
39544 : void
39545 0 : SgOmpTargetTeamsDistributeParallelForSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
39546 : {
39547 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
39548 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
39549 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
39550 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
39551 0 : }
39552 :
39553 :
39554 : void
39555 0 : SgOmpTargetTeamsDistributeParallelForSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
39556 : {
39557 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
39558 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
39559 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
39560 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
39561 0 : }
39562 :
39563 :
39564 :
39565 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39566 :
39567 :
39568 : // ********************************************************
39569 :
39570 : /* #line 39571 "../../../src/frontend/SageIII//StorageClasses.C" */
39571 :
39572 :
39573 :
39574 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39575 :
39576 : // ****************************************************************
39577 : // member functions definition specific to each node in the grammar
39578 : // these are the SgOmpDistributeSimdStatementStorageClass parts !!!!
39579 : // ROSETTA generated code. Do not change by hand.
39580 : // ****************************************************************
39581 :
39582 :
39583 : /* #line 39584 "../../../src/frontend/SageIII//StorageClasses.C" */
39584 :
39585 :
39586 : void
39587 0 : SgOmpDistributeSimdStatementStorageClass::pickOutIRNodeData ( SgOmpDistributeSimdStatement* pointer )
39588 : {
39589 0 : SgOmpDistributeSimdStatement* source = (SgOmpDistributeSimdStatement*) (pointer);
39590 : #if FILE_IO_EXTRA_CHECK
39591 0 : assert ( source != NULL ) ;
39592 0 : assert ( source->p_freepointer != NULL) ;
39593 : #endif
39594 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
39595 0 : unsigned int tempListCountclauses = 0;
39596 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
39597 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39598 : {
39599 0 : tempListclauses[tempListCountclauses] = *i_clauses;
39600 0 : tempListCountclauses++;
39601 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
39602 : }
39603 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
39604 0 : tempListCountclauses = 0;
39605 0 : i_clauses = source->p_clauses.begin() ;
39606 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39607 : {
39608 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
39609 0 : tempListCountclauses++;
39610 : }
39611 0 : delete [] tempListclauses;
39612 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
39613 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
39614 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
39615 0 : unsigned int tempListCountupir_children = 0;
39616 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
39617 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39618 : {
39619 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
39620 0 : tempListCountupir_children++;
39621 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
39622 : }
39623 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
39624 0 : tempListCountupir_children = 0;
39625 0 : i_upir_children = source->p_upir_children.begin() ;
39626 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39627 : {
39628 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
39629 0 : tempListCountupir_children++;
39630 : }
39631 0 : delete [] tempListupir_children;
39632 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
39633 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
39634 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
39635 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
39636 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
39637 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
39638 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
39639 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
39640 0 : storageOf_isModified = source->p_isModified ;
39641 0 : storageOf_containsTransformation = source->p_containsTransformation ;
39642 0 : }
39643 :
39644 : void
39645 0 : SgOmpDistributeSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
39646 : {
39647 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
39648 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
39649 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
39650 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
39651 0 : }
39652 :
39653 : void
39654 2 : SgOmpDistributeSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
39655 : {
39656 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
39657 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
39658 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
39659 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
39660 2 : }
39661 :
39662 : void
39663 0 : SgOmpDistributeSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
39664 : {
39665 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
39666 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
39667 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
39668 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
39669 0 : }
39670 :
39671 :
39672 : void
39673 0 : SgOmpDistributeSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
39674 : {
39675 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
39676 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
39677 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
39678 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
39679 0 : }
39680 :
39681 :
39682 :
39683 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39684 :
39685 :
39686 : // ********************************************************
39687 :
39688 : /* #line 39689 "../../../src/frontend/SageIII//StorageClasses.C" */
39689 :
39690 :
39691 :
39692 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39693 :
39694 : // ****************************************************************
39695 : // member functions definition specific to each node in the grammar
39696 : // these are the SgOmpDistributeParallelForStatementStorageClass parts !!!!
39697 : // ROSETTA generated code. Do not change by hand.
39698 : // ****************************************************************
39699 :
39700 :
39701 : /* #line 39702 "../../../src/frontend/SageIII//StorageClasses.C" */
39702 :
39703 :
39704 : void
39705 0 : SgOmpDistributeParallelForStatementStorageClass::pickOutIRNodeData ( SgOmpDistributeParallelForStatement* pointer )
39706 : {
39707 0 : SgOmpDistributeParallelForStatement* source = (SgOmpDistributeParallelForStatement*) (pointer);
39708 : #if FILE_IO_EXTRA_CHECK
39709 0 : assert ( source != NULL ) ;
39710 0 : assert ( source->p_freepointer != NULL) ;
39711 : #endif
39712 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
39713 0 : unsigned int tempListCountclauses = 0;
39714 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
39715 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39716 : {
39717 0 : tempListclauses[tempListCountclauses] = *i_clauses;
39718 0 : tempListCountclauses++;
39719 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
39720 : }
39721 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
39722 0 : tempListCountclauses = 0;
39723 0 : i_clauses = source->p_clauses.begin() ;
39724 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39725 : {
39726 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
39727 0 : tempListCountclauses++;
39728 : }
39729 0 : delete [] tempListclauses;
39730 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
39731 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
39732 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
39733 0 : unsigned int tempListCountupir_children = 0;
39734 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
39735 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39736 : {
39737 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
39738 0 : tempListCountupir_children++;
39739 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
39740 : }
39741 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
39742 0 : tempListCountupir_children = 0;
39743 0 : i_upir_children = source->p_upir_children.begin() ;
39744 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39745 : {
39746 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
39747 0 : tempListCountupir_children++;
39748 : }
39749 0 : delete [] tempListupir_children;
39750 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
39751 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
39752 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
39753 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
39754 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
39755 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
39756 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
39757 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
39758 0 : storageOf_isModified = source->p_isModified ;
39759 0 : storageOf_containsTransformation = source->p_containsTransformation ;
39760 0 : }
39761 :
39762 : void
39763 0 : SgOmpDistributeParallelForStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
39764 : {
39765 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
39766 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
39767 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
39768 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
39769 0 : }
39770 :
39771 : void
39772 2 : SgOmpDistributeParallelForStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
39773 : {
39774 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
39775 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
39776 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
39777 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
39778 2 : }
39779 :
39780 : void
39781 0 : SgOmpDistributeParallelForStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
39782 : {
39783 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
39784 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
39785 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
39786 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
39787 0 : }
39788 :
39789 :
39790 : void
39791 0 : SgOmpDistributeParallelForStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
39792 : {
39793 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
39794 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
39795 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
39796 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
39797 0 : }
39798 :
39799 :
39800 :
39801 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39802 :
39803 :
39804 : // ********************************************************
39805 :
39806 : /* #line 39807 "../../../src/frontend/SageIII//StorageClasses.C" */
39807 :
39808 :
39809 :
39810 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39811 :
39812 : // ****************************************************************
39813 : // member functions definition specific to each node in the grammar
39814 : // these are the SgOmpDistributeParallelForSimdStatementStorageClass parts !!!!
39815 : // ROSETTA generated code. Do not change by hand.
39816 : // ****************************************************************
39817 :
39818 :
39819 : /* #line 39820 "../../../src/frontend/SageIII//StorageClasses.C" */
39820 :
39821 :
39822 : void
39823 0 : SgOmpDistributeParallelForSimdStatementStorageClass::pickOutIRNodeData ( SgOmpDistributeParallelForSimdStatement* pointer )
39824 : {
39825 0 : SgOmpDistributeParallelForSimdStatement* source = (SgOmpDistributeParallelForSimdStatement*) (pointer);
39826 : #if FILE_IO_EXTRA_CHECK
39827 0 : assert ( source != NULL ) ;
39828 0 : assert ( source->p_freepointer != NULL) ;
39829 : #endif
39830 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
39831 0 : unsigned int tempListCountclauses = 0;
39832 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
39833 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39834 : {
39835 0 : tempListclauses[tempListCountclauses] = *i_clauses;
39836 0 : tempListCountclauses++;
39837 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
39838 : }
39839 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
39840 0 : tempListCountclauses = 0;
39841 0 : i_clauses = source->p_clauses.begin() ;
39842 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39843 : {
39844 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
39845 0 : tempListCountclauses++;
39846 : }
39847 0 : delete [] tempListclauses;
39848 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
39849 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
39850 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
39851 0 : unsigned int tempListCountupir_children = 0;
39852 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
39853 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39854 : {
39855 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
39856 0 : tempListCountupir_children++;
39857 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
39858 : }
39859 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
39860 0 : tempListCountupir_children = 0;
39861 0 : i_upir_children = source->p_upir_children.begin() ;
39862 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39863 : {
39864 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
39865 0 : tempListCountupir_children++;
39866 : }
39867 0 : delete [] tempListupir_children;
39868 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
39869 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
39870 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
39871 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
39872 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
39873 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
39874 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
39875 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
39876 0 : storageOf_isModified = source->p_isModified ;
39877 0 : storageOf_containsTransformation = source->p_containsTransformation ;
39878 0 : }
39879 :
39880 : void
39881 0 : SgOmpDistributeParallelForSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
39882 : {
39883 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
39884 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
39885 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
39886 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
39887 0 : }
39888 :
39889 : void
39890 2 : SgOmpDistributeParallelForSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
39891 : {
39892 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
39893 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
39894 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
39895 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
39896 2 : }
39897 :
39898 : void
39899 0 : SgOmpDistributeParallelForSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
39900 : {
39901 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
39902 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
39903 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
39904 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
39905 0 : }
39906 :
39907 :
39908 : void
39909 0 : SgOmpDistributeParallelForSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
39910 : {
39911 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
39912 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
39913 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
39914 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
39915 0 : }
39916 :
39917 :
39918 :
39919 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39920 :
39921 :
39922 : // ********************************************************
39923 :
39924 : /* #line 39925 "../../../src/frontend/SageIII//StorageClasses.C" */
39925 :
39926 :
39927 :
39928 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
39929 :
39930 : // ****************************************************************
39931 : // member functions definition specific to each node in the grammar
39932 : // these are the SgOmpTaskloopSimdStatementStorageClass parts !!!!
39933 : // ROSETTA generated code. Do not change by hand.
39934 : // ****************************************************************
39935 :
39936 :
39937 : /* #line 39938 "../../../src/frontend/SageIII//StorageClasses.C" */
39938 :
39939 :
39940 : void
39941 0 : SgOmpTaskloopSimdStatementStorageClass::pickOutIRNodeData ( SgOmpTaskloopSimdStatement* pointer )
39942 : {
39943 0 : SgOmpTaskloopSimdStatement* source = (SgOmpTaskloopSimdStatement*) (pointer);
39944 : #if FILE_IO_EXTRA_CHECK
39945 0 : assert ( source != NULL ) ;
39946 0 : assert ( source->p_freepointer != NULL) ;
39947 : #endif
39948 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
39949 0 : unsigned int tempListCountclauses = 0;
39950 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
39951 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39952 : {
39953 0 : tempListclauses[tempListCountclauses] = *i_clauses;
39954 0 : tempListCountclauses++;
39955 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
39956 : }
39957 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
39958 0 : tempListCountclauses = 0;
39959 0 : i_clauses = source->p_clauses.begin() ;
39960 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
39961 : {
39962 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
39963 0 : tempListCountclauses++;
39964 : }
39965 0 : delete [] tempListclauses;
39966 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
39967 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
39968 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
39969 0 : unsigned int tempListCountupir_children = 0;
39970 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
39971 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39972 : {
39973 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
39974 0 : tempListCountupir_children++;
39975 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
39976 : }
39977 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
39978 0 : tempListCountupir_children = 0;
39979 0 : i_upir_children = source->p_upir_children.begin() ;
39980 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
39981 : {
39982 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
39983 0 : tempListCountupir_children++;
39984 : }
39985 0 : delete [] tempListupir_children;
39986 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
39987 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
39988 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
39989 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
39990 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
39991 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
39992 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
39993 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
39994 0 : storageOf_isModified = source->p_isModified ;
39995 0 : storageOf_containsTransformation = source->p_containsTransformation ;
39996 0 : }
39997 :
39998 : void
39999 0 : SgOmpTaskloopSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
40000 : {
40001 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
40002 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
40003 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
40004 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
40005 0 : }
40006 :
40007 : void
40008 2 : SgOmpTaskloopSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
40009 : {
40010 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
40011 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
40012 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
40013 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
40014 2 : }
40015 :
40016 : void
40017 0 : SgOmpTaskloopSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
40018 : {
40019 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
40020 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
40021 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
40022 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
40023 0 : }
40024 :
40025 :
40026 : void
40027 0 : SgOmpTaskloopSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
40028 : {
40029 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
40030 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
40031 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
40032 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
40033 0 : }
40034 :
40035 :
40036 :
40037 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40038 :
40039 :
40040 : // ********************************************************
40041 :
40042 : /* #line 40043 "../../../src/frontend/SageIII//StorageClasses.C" */
40043 :
40044 :
40045 :
40046 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40047 :
40048 : // ****************************************************************
40049 : // member functions definition specific to each node in the grammar
40050 : // these are the SgOmpMasterTaskloopSimdStatementStorageClass parts !!!!
40051 : // ROSETTA generated code. Do not change by hand.
40052 : // ****************************************************************
40053 :
40054 :
40055 : /* #line 40056 "../../../src/frontend/SageIII//StorageClasses.C" */
40056 :
40057 :
40058 : void
40059 0 : SgOmpMasterTaskloopSimdStatementStorageClass::pickOutIRNodeData ( SgOmpMasterTaskloopSimdStatement* pointer )
40060 : {
40061 0 : SgOmpMasterTaskloopSimdStatement* source = (SgOmpMasterTaskloopSimdStatement*) (pointer);
40062 : #if FILE_IO_EXTRA_CHECK
40063 0 : assert ( source != NULL ) ;
40064 0 : assert ( source->p_freepointer != NULL) ;
40065 : #endif
40066 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
40067 0 : unsigned int tempListCountclauses = 0;
40068 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
40069 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40070 : {
40071 0 : tempListclauses[tempListCountclauses] = *i_clauses;
40072 0 : tempListCountclauses++;
40073 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
40074 : }
40075 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
40076 0 : tempListCountclauses = 0;
40077 0 : i_clauses = source->p_clauses.begin() ;
40078 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40079 : {
40080 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
40081 0 : tempListCountclauses++;
40082 : }
40083 0 : delete [] tempListclauses;
40084 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
40085 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
40086 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
40087 0 : unsigned int tempListCountupir_children = 0;
40088 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
40089 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40090 : {
40091 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
40092 0 : tempListCountupir_children++;
40093 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
40094 : }
40095 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
40096 0 : tempListCountupir_children = 0;
40097 0 : i_upir_children = source->p_upir_children.begin() ;
40098 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40099 : {
40100 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
40101 0 : tempListCountupir_children++;
40102 : }
40103 0 : delete [] tempListupir_children;
40104 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
40105 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
40106 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
40107 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
40108 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
40109 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
40110 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
40111 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
40112 0 : storageOf_isModified = source->p_isModified ;
40113 0 : storageOf_containsTransformation = source->p_containsTransformation ;
40114 0 : }
40115 :
40116 : void
40117 0 : SgOmpMasterTaskloopSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
40118 : {
40119 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
40120 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
40121 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
40122 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
40123 0 : }
40124 :
40125 : void
40126 2 : SgOmpMasterTaskloopSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
40127 : {
40128 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
40129 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
40130 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
40131 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
40132 2 : }
40133 :
40134 : void
40135 0 : SgOmpMasterTaskloopSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
40136 : {
40137 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
40138 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
40139 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
40140 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
40141 0 : }
40142 :
40143 :
40144 : void
40145 0 : SgOmpMasterTaskloopSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
40146 : {
40147 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
40148 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
40149 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
40150 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
40151 0 : }
40152 :
40153 :
40154 :
40155 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40156 :
40157 :
40158 : // ********************************************************
40159 :
40160 : /* #line 40161 "../../../src/frontend/SageIII//StorageClasses.C" */
40161 :
40162 :
40163 :
40164 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40165 :
40166 : // ****************************************************************
40167 : // member functions definition specific to each node in the grammar
40168 : // these are the SgOmpParallelMasterTaskloopStatementStorageClass parts !!!!
40169 : // ROSETTA generated code. Do not change by hand.
40170 : // ****************************************************************
40171 :
40172 :
40173 : /* #line 40174 "../../../src/frontend/SageIII//StorageClasses.C" */
40174 :
40175 :
40176 : void
40177 0 : SgOmpParallelMasterTaskloopStatementStorageClass::pickOutIRNodeData ( SgOmpParallelMasterTaskloopStatement* pointer )
40178 : {
40179 0 : SgOmpParallelMasterTaskloopStatement* source = (SgOmpParallelMasterTaskloopStatement*) (pointer);
40180 : #if FILE_IO_EXTRA_CHECK
40181 0 : assert ( source != NULL ) ;
40182 0 : assert ( source->p_freepointer != NULL) ;
40183 : #endif
40184 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
40185 0 : unsigned int tempListCountclauses = 0;
40186 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
40187 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40188 : {
40189 0 : tempListclauses[tempListCountclauses] = *i_clauses;
40190 0 : tempListCountclauses++;
40191 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
40192 : }
40193 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
40194 0 : tempListCountclauses = 0;
40195 0 : i_clauses = source->p_clauses.begin() ;
40196 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40197 : {
40198 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
40199 0 : tempListCountclauses++;
40200 : }
40201 0 : delete [] tempListclauses;
40202 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
40203 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
40204 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
40205 0 : unsigned int tempListCountupir_children = 0;
40206 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
40207 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40208 : {
40209 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
40210 0 : tempListCountupir_children++;
40211 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
40212 : }
40213 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
40214 0 : tempListCountupir_children = 0;
40215 0 : i_upir_children = source->p_upir_children.begin() ;
40216 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40217 : {
40218 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
40219 0 : tempListCountupir_children++;
40220 : }
40221 0 : delete [] tempListupir_children;
40222 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
40223 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
40224 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
40225 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
40226 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
40227 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
40228 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
40229 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
40230 0 : storageOf_isModified = source->p_isModified ;
40231 0 : storageOf_containsTransformation = source->p_containsTransformation ;
40232 0 : }
40233 :
40234 : void
40235 0 : SgOmpParallelMasterTaskloopStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
40236 : {
40237 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
40238 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
40239 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
40240 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
40241 0 : }
40242 :
40243 : void
40244 2 : SgOmpParallelMasterTaskloopStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
40245 : {
40246 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
40247 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
40248 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
40249 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
40250 2 : }
40251 :
40252 : void
40253 0 : SgOmpParallelMasterTaskloopStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
40254 : {
40255 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
40256 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
40257 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
40258 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
40259 0 : }
40260 :
40261 :
40262 : void
40263 0 : SgOmpParallelMasterTaskloopStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
40264 : {
40265 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
40266 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
40267 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
40268 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
40269 0 : }
40270 :
40271 :
40272 :
40273 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40274 :
40275 :
40276 : // ********************************************************
40277 :
40278 : /* #line 40279 "../../../src/frontend/SageIII//StorageClasses.C" */
40279 :
40280 :
40281 :
40282 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40283 :
40284 : // ****************************************************************
40285 : // member functions definition specific to each node in the grammar
40286 : // these are the SgOmpParallelMasterTaskloopSimdStatementStorageClass parts !!!!
40287 : // ROSETTA generated code. Do not change by hand.
40288 : // ****************************************************************
40289 :
40290 :
40291 : /* #line 40292 "../../../src/frontend/SageIII//StorageClasses.C" */
40292 :
40293 :
40294 : void
40295 0 : SgOmpParallelMasterTaskloopSimdStatementStorageClass::pickOutIRNodeData ( SgOmpParallelMasterTaskloopSimdStatement* pointer )
40296 : {
40297 0 : SgOmpParallelMasterTaskloopSimdStatement* source = (SgOmpParallelMasterTaskloopSimdStatement*) (pointer);
40298 : #if FILE_IO_EXTRA_CHECK
40299 0 : assert ( source != NULL ) ;
40300 0 : assert ( source->p_freepointer != NULL) ;
40301 : #endif
40302 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
40303 0 : unsigned int tempListCountclauses = 0;
40304 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
40305 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40306 : {
40307 0 : tempListclauses[tempListCountclauses] = *i_clauses;
40308 0 : tempListCountclauses++;
40309 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
40310 : }
40311 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
40312 0 : tempListCountclauses = 0;
40313 0 : i_clauses = source->p_clauses.begin() ;
40314 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40315 : {
40316 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
40317 0 : tempListCountclauses++;
40318 : }
40319 0 : delete [] tempListclauses;
40320 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
40321 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
40322 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
40323 0 : unsigned int tempListCountupir_children = 0;
40324 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
40325 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40326 : {
40327 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
40328 0 : tempListCountupir_children++;
40329 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
40330 : }
40331 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
40332 0 : tempListCountupir_children = 0;
40333 0 : i_upir_children = source->p_upir_children.begin() ;
40334 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40335 : {
40336 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
40337 0 : tempListCountupir_children++;
40338 : }
40339 0 : delete [] tempListupir_children;
40340 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
40341 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
40342 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
40343 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
40344 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
40345 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
40346 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
40347 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
40348 0 : storageOf_isModified = source->p_isModified ;
40349 0 : storageOf_containsTransformation = source->p_containsTransformation ;
40350 0 : }
40351 :
40352 : void
40353 0 : SgOmpParallelMasterTaskloopSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
40354 : {
40355 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
40356 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
40357 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
40358 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
40359 0 : }
40360 :
40361 : void
40362 2 : SgOmpParallelMasterTaskloopSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
40363 : {
40364 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
40365 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
40366 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
40367 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
40368 2 : }
40369 :
40370 : void
40371 0 : SgOmpParallelMasterTaskloopSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
40372 : {
40373 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
40374 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
40375 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
40376 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
40377 0 : }
40378 :
40379 :
40380 : void
40381 0 : SgOmpParallelMasterTaskloopSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
40382 : {
40383 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
40384 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
40385 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
40386 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
40387 0 : }
40388 :
40389 :
40390 :
40391 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40392 :
40393 :
40394 : // ********************************************************
40395 :
40396 : /* #line 40397 "../../../src/frontend/SageIII//StorageClasses.C" */
40397 :
40398 :
40399 :
40400 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40401 :
40402 : // ****************************************************************
40403 : // member functions definition specific to each node in the grammar
40404 : // these are the SgOmpTeamsDistributeStatementStorageClass parts !!!!
40405 : // ROSETTA generated code. Do not change by hand.
40406 : // ****************************************************************
40407 :
40408 :
40409 : /* #line 40410 "../../../src/frontend/SageIII//StorageClasses.C" */
40410 :
40411 :
40412 : void
40413 0 : SgOmpTeamsDistributeStatementStorageClass::pickOutIRNodeData ( SgOmpTeamsDistributeStatement* pointer )
40414 : {
40415 0 : SgOmpTeamsDistributeStatement* source = (SgOmpTeamsDistributeStatement*) (pointer);
40416 : #if FILE_IO_EXTRA_CHECK
40417 0 : assert ( source != NULL ) ;
40418 0 : assert ( source->p_freepointer != NULL) ;
40419 : #endif
40420 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
40421 0 : unsigned int tempListCountclauses = 0;
40422 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
40423 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40424 : {
40425 0 : tempListclauses[tempListCountclauses] = *i_clauses;
40426 0 : tempListCountclauses++;
40427 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
40428 : }
40429 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
40430 0 : tempListCountclauses = 0;
40431 0 : i_clauses = source->p_clauses.begin() ;
40432 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40433 : {
40434 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
40435 0 : tempListCountclauses++;
40436 : }
40437 0 : delete [] tempListclauses;
40438 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
40439 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
40440 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
40441 0 : unsigned int tempListCountupir_children = 0;
40442 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
40443 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40444 : {
40445 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
40446 0 : tempListCountupir_children++;
40447 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
40448 : }
40449 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
40450 0 : tempListCountupir_children = 0;
40451 0 : i_upir_children = source->p_upir_children.begin() ;
40452 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40453 : {
40454 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
40455 0 : tempListCountupir_children++;
40456 : }
40457 0 : delete [] tempListupir_children;
40458 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
40459 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
40460 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
40461 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
40462 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
40463 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
40464 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
40465 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
40466 0 : storageOf_isModified = source->p_isModified ;
40467 0 : storageOf_containsTransformation = source->p_containsTransformation ;
40468 0 : }
40469 :
40470 : void
40471 0 : SgOmpTeamsDistributeStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
40472 : {
40473 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
40474 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
40475 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
40476 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
40477 0 : }
40478 :
40479 : void
40480 2 : SgOmpTeamsDistributeStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
40481 : {
40482 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
40483 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
40484 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
40485 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
40486 2 : }
40487 :
40488 : void
40489 0 : SgOmpTeamsDistributeStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
40490 : {
40491 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
40492 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
40493 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
40494 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
40495 0 : }
40496 :
40497 :
40498 : void
40499 0 : SgOmpTeamsDistributeStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
40500 : {
40501 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
40502 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
40503 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
40504 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
40505 0 : }
40506 :
40507 :
40508 :
40509 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40510 :
40511 :
40512 : // ********************************************************
40513 :
40514 : /* #line 40515 "../../../src/frontend/SageIII//StorageClasses.C" */
40515 :
40516 :
40517 :
40518 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40519 :
40520 : // ****************************************************************
40521 : // member functions definition specific to each node in the grammar
40522 : // these are the SgOmpTeamsDistributeSimdStatementStorageClass parts !!!!
40523 : // ROSETTA generated code. Do not change by hand.
40524 : // ****************************************************************
40525 :
40526 :
40527 : /* #line 40528 "../../../src/frontend/SageIII//StorageClasses.C" */
40528 :
40529 :
40530 : void
40531 0 : SgOmpTeamsDistributeSimdStatementStorageClass::pickOutIRNodeData ( SgOmpTeamsDistributeSimdStatement* pointer )
40532 : {
40533 0 : SgOmpTeamsDistributeSimdStatement* source = (SgOmpTeamsDistributeSimdStatement*) (pointer);
40534 : #if FILE_IO_EXTRA_CHECK
40535 0 : assert ( source != NULL ) ;
40536 0 : assert ( source->p_freepointer != NULL) ;
40537 : #endif
40538 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
40539 0 : unsigned int tempListCountclauses = 0;
40540 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
40541 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40542 : {
40543 0 : tempListclauses[tempListCountclauses] = *i_clauses;
40544 0 : tempListCountclauses++;
40545 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
40546 : }
40547 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
40548 0 : tempListCountclauses = 0;
40549 0 : i_clauses = source->p_clauses.begin() ;
40550 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40551 : {
40552 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
40553 0 : tempListCountclauses++;
40554 : }
40555 0 : delete [] tempListclauses;
40556 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
40557 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
40558 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
40559 0 : unsigned int tempListCountupir_children = 0;
40560 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
40561 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40562 : {
40563 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
40564 0 : tempListCountupir_children++;
40565 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
40566 : }
40567 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
40568 0 : tempListCountupir_children = 0;
40569 0 : i_upir_children = source->p_upir_children.begin() ;
40570 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40571 : {
40572 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
40573 0 : tempListCountupir_children++;
40574 : }
40575 0 : delete [] tempListupir_children;
40576 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
40577 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
40578 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
40579 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
40580 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
40581 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
40582 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
40583 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
40584 0 : storageOf_isModified = source->p_isModified ;
40585 0 : storageOf_containsTransformation = source->p_containsTransformation ;
40586 0 : }
40587 :
40588 : void
40589 0 : SgOmpTeamsDistributeSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
40590 : {
40591 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
40592 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
40593 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
40594 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
40595 0 : }
40596 :
40597 : void
40598 2 : SgOmpTeamsDistributeSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
40599 : {
40600 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
40601 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
40602 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
40603 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
40604 2 : }
40605 :
40606 : void
40607 0 : SgOmpTeamsDistributeSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
40608 : {
40609 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
40610 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
40611 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
40612 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
40613 0 : }
40614 :
40615 :
40616 : void
40617 0 : SgOmpTeamsDistributeSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
40618 : {
40619 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
40620 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
40621 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
40622 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
40623 0 : }
40624 :
40625 :
40626 :
40627 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40628 :
40629 :
40630 : // ********************************************************
40631 :
40632 : /* #line 40633 "../../../src/frontend/SageIII//StorageClasses.C" */
40633 :
40634 :
40635 :
40636 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40637 :
40638 : // ****************************************************************
40639 : // member functions definition specific to each node in the grammar
40640 : // these are the SgOmpTeamsDistributeParallelForStatementStorageClass parts !!!!
40641 : // ROSETTA generated code. Do not change by hand.
40642 : // ****************************************************************
40643 :
40644 :
40645 : /* #line 40646 "../../../src/frontend/SageIII//StorageClasses.C" */
40646 :
40647 :
40648 : void
40649 0 : SgOmpTeamsDistributeParallelForStatementStorageClass::pickOutIRNodeData ( SgOmpTeamsDistributeParallelForStatement* pointer )
40650 : {
40651 0 : SgOmpTeamsDistributeParallelForStatement* source = (SgOmpTeamsDistributeParallelForStatement*) (pointer);
40652 : #if FILE_IO_EXTRA_CHECK
40653 0 : assert ( source != NULL ) ;
40654 0 : assert ( source->p_freepointer != NULL) ;
40655 : #endif
40656 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
40657 0 : unsigned int tempListCountclauses = 0;
40658 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
40659 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40660 : {
40661 0 : tempListclauses[tempListCountclauses] = *i_clauses;
40662 0 : tempListCountclauses++;
40663 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
40664 : }
40665 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
40666 0 : tempListCountclauses = 0;
40667 0 : i_clauses = source->p_clauses.begin() ;
40668 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40669 : {
40670 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
40671 0 : tempListCountclauses++;
40672 : }
40673 0 : delete [] tempListclauses;
40674 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
40675 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
40676 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
40677 0 : unsigned int tempListCountupir_children = 0;
40678 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
40679 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40680 : {
40681 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
40682 0 : tempListCountupir_children++;
40683 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
40684 : }
40685 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
40686 0 : tempListCountupir_children = 0;
40687 0 : i_upir_children = source->p_upir_children.begin() ;
40688 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40689 : {
40690 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
40691 0 : tempListCountupir_children++;
40692 : }
40693 0 : delete [] tempListupir_children;
40694 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
40695 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
40696 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
40697 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
40698 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
40699 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
40700 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
40701 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
40702 0 : storageOf_isModified = source->p_isModified ;
40703 0 : storageOf_containsTransformation = source->p_containsTransformation ;
40704 0 : }
40705 :
40706 : void
40707 0 : SgOmpTeamsDistributeParallelForStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
40708 : {
40709 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
40710 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
40711 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
40712 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
40713 0 : }
40714 :
40715 : void
40716 2 : SgOmpTeamsDistributeParallelForStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
40717 : {
40718 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
40719 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
40720 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
40721 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
40722 2 : }
40723 :
40724 : void
40725 0 : SgOmpTeamsDistributeParallelForStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
40726 : {
40727 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
40728 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
40729 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
40730 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
40731 0 : }
40732 :
40733 :
40734 : void
40735 0 : SgOmpTeamsDistributeParallelForStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
40736 : {
40737 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
40738 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
40739 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
40740 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
40741 0 : }
40742 :
40743 :
40744 :
40745 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40746 :
40747 :
40748 : // ********************************************************
40749 :
40750 : /* #line 40751 "../../../src/frontend/SageIII//StorageClasses.C" */
40751 :
40752 :
40753 :
40754 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40755 :
40756 : // ****************************************************************
40757 : // member functions definition specific to each node in the grammar
40758 : // these are the SgOmpTeamsDistributeParallelForSimdStatementStorageClass parts !!!!
40759 : // ROSETTA generated code. Do not change by hand.
40760 : // ****************************************************************
40761 :
40762 :
40763 : /* #line 40764 "../../../src/frontend/SageIII//StorageClasses.C" */
40764 :
40765 :
40766 : void
40767 0 : SgOmpTeamsDistributeParallelForSimdStatementStorageClass::pickOutIRNodeData ( SgOmpTeamsDistributeParallelForSimdStatement* pointer )
40768 : {
40769 0 : SgOmpTeamsDistributeParallelForSimdStatement* source = (SgOmpTeamsDistributeParallelForSimdStatement*) (pointer);
40770 : #if FILE_IO_EXTRA_CHECK
40771 0 : assert ( source != NULL ) ;
40772 0 : assert ( source->p_freepointer != NULL) ;
40773 : #endif
40774 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
40775 0 : unsigned int tempListCountclauses = 0;
40776 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
40777 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40778 : {
40779 0 : tempListclauses[tempListCountclauses] = *i_clauses;
40780 0 : tempListCountclauses++;
40781 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
40782 : }
40783 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
40784 0 : tempListCountclauses = 0;
40785 0 : i_clauses = source->p_clauses.begin() ;
40786 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40787 : {
40788 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
40789 0 : tempListCountclauses++;
40790 : }
40791 0 : delete [] tempListclauses;
40792 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
40793 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
40794 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
40795 0 : unsigned int tempListCountupir_children = 0;
40796 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
40797 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40798 : {
40799 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
40800 0 : tempListCountupir_children++;
40801 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
40802 : }
40803 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
40804 0 : tempListCountupir_children = 0;
40805 0 : i_upir_children = source->p_upir_children.begin() ;
40806 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40807 : {
40808 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
40809 0 : tempListCountupir_children++;
40810 : }
40811 0 : delete [] tempListupir_children;
40812 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
40813 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
40814 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
40815 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
40816 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
40817 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
40818 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
40819 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
40820 0 : storageOf_isModified = source->p_isModified ;
40821 0 : storageOf_containsTransformation = source->p_containsTransformation ;
40822 0 : }
40823 :
40824 : void
40825 0 : SgOmpTeamsDistributeParallelForSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
40826 : {
40827 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
40828 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
40829 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
40830 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
40831 0 : }
40832 :
40833 : void
40834 2 : SgOmpTeamsDistributeParallelForSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
40835 : {
40836 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
40837 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
40838 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
40839 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
40840 2 : }
40841 :
40842 : void
40843 0 : SgOmpTeamsDistributeParallelForSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
40844 : {
40845 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
40846 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
40847 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
40848 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
40849 0 : }
40850 :
40851 :
40852 : void
40853 0 : SgOmpTeamsDistributeParallelForSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
40854 : {
40855 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
40856 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
40857 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
40858 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
40859 0 : }
40860 :
40861 :
40862 :
40863 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40864 :
40865 :
40866 : // ********************************************************
40867 :
40868 : /* #line 40869 "../../../src/frontend/SageIII//StorageClasses.C" */
40869 :
40870 :
40871 :
40872 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40873 :
40874 : // ****************************************************************
40875 : // member functions definition specific to each node in the grammar
40876 : // these are the SgOmpTeamsLoopStatementStorageClass parts !!!!
40877 : // ROSETTA generated code. Do not change by hand.
40878 : // ****************************************************************
40879 :
40880 :
40881 : /* #line 40882 "../../../src/frontend/SageIII//StorageClasses.C" */
40882 :
40883 :
40884 : void
40885 0 : SgOmpTeamsLoopStatementStorageClass::pickOutIRNodeData ( SgOmpTeamsLoopStatement* pointer )
40886 : {
40887 0 : SgOmpTeamsLoopStatement* source = (SgOmpTeamsLoopStatement*) (pointer);
40888 : #if FILE_IO_EXTRA_CHECK
40889 0 : assert ( source != NULL ) ;
40890 0 : assert ( source->p_freepointer != NULL) ;
40891 : #endif
40892 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
40893 0 : unsigned int tempListCountclauses = 0;
40894 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
40895 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40896 : {
40897 0 : tempListclauses[tempListCountclauses] = *i_clauses;
40898 0 : tempListCountclauses++;
40899 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
40900 : }
40901 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
40902 0 : tempListCountclauses = 0;
40903 0 : i_clauses = source->p_clauses.begin() ;
40904 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
40905 : {
40906 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
40907 0 : tempListCountclauses++;
40908 : }
40909 0 : delete [] tempListclauses;
40910 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
40911 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
40912 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
40913 0 : unsigned int tempListCountupir_children = 0;
40914 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
40915 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40916 : {
40917 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
40918 0 : tempListCountupir_children++;
40919 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
40920 : }
40921 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
40922 0 : tempListCountupir_children = 0;
40923 0 : i_upir_children = source->p_upir_children.begin() ;
40924 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
40925 : {
40926 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
40927 0 : tempListCountupir_children++;
40928 : }
40929 0 : delete [] tempListupir_children;
40930 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
40931 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
40932 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
40933 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
40934 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
40935 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
40936 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
40937 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
40938 0 : storageOf_isModified = source->p_isModified ;
40939 0 : storageOf_containsTransformation = source->p_containsTransformation ;
40940 0 : }
40941 :
40942 : void
40943 0 : SgOmpTeamsLoopStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
40944 : {
40945 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
40946 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
40947 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
40948 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
40949 0 : }
40950 :
40951 : void
40952 2 : SgOmpTeamsLoopStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
40953 : {
40954 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
40955 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
40956 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
40957 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
40958 2 : }
40959 :
40960 : void
40961 0 : SgOmpTeamsLoopStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
40962 : {
40963 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
40964 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
40965 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
40966 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
40967 0 : }
40968 :
40969 :
40970 : void
40971 0 : SgOmpTeamsLoopStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
40972 : {
40973 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
40974 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
40975 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
40976 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
40977 0 : }
40978 :
40979 :
40980 :
40981 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40982 :
40983 :
40984 : // ********************************************************
40985 :
40986 : /* #line 40987 "../../../src/frontend/SageIII//StorageClasses.C" */
40987 :
40988 :
40989 :
40990 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
40991 :
40992 : // ****************************************************************
40993 : // member functions definition specific to each node in the grammar
40994 : // these are the SgOmpForSimdStatementStorageClass parts !!!!
40995 : // ROSETTA generated code. Do not change by hand.
40996 : // ****************************************************************
40997 :
40998 :
40999 : /* #line 41000 "../../../src/frontend/SageIII//StorageClasses.C" */
41000 :
41001 :
41002 : void
41003 0 : SgOmpForSimdStatementStorageClass::pickOutIRNodeData ( SgOmpForSimdStatement* pointer )
41004 : {
41005 0 : SgOmpForSimdStatement* source = (SgOmpForSimdStatement*) (pointer);
41006 : #if FILE_IO_EXTRA_CHECK
41007 0 : assert ( source != NULL ) ;
41008 0 : assert ( source->p_freepointer != NULL) ;
41009 : #endif
41010 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
41011 0 : unsigned int tempListCountclauses = 0;
41012 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
41013 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41014 : {
41015 0 : tempListclauses[tempListCountclauses] = *i_clauses;
41016 0 : tempListCountclauses++;
41017 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
41018 : }
41019 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
41020 0 : tempListCountclauses = 0;
41021 0 : i_clauses = source->p_clauses.begin() ;
41022 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41023 : {
41024 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
41025 0 : tempListCountclauses++;
41026 : }
41027 0 : delete [] tempListclauses;
41028 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
41029 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
41030 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
41031 0 : unsigned int tempListCountupir_children = 0;
41032 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
41033 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41034 : {
41035 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
41036 0 : tempListCountupir_children++;
41037 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
41038 : }
41039 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
41040 0 : tempListCountupir_children = 0;
41041 0 : i_upir_children = source->p_upir_children.begin() ;
41042 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41043 : {
41044 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
41045 0 : tempListCountupir_children++;
41046 : }
41047 0 : delete [] tempListupir_children;
41048 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
41049 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
41050 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
41051 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
41052 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
41053 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
41054 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
41055 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
41056 0 : storageOf_isModified = source->p_isModified ;
41057 0 : storageOf_containsTransformation = source->p_containsTransformation ;
41058 0 : }
41059 :
41060 : void
41061 0 : SgOmpForSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
41062 : {
41063 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
41064 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
41065 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
41066 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
41067 0 : }
41068 :
41069 : void
41070 2 : SgOmpForSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
41071 : {
41072 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
41073 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
41074 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
41075 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
41076 2 : }
41077 :
41078 : void
41079 0 : SgOmpForSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
41080 : {
41081 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
41082 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
41083 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
41084 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
41085 0 : }
41086 :
41087 :
41088 : void
41089 0 : SgOmpForSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
41090 : {
41091 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
41092 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
41093 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
41094 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
41095 0 : }
41096 :
41097 :
41098 :
41099 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41100 :
41101 :
41102 : // ********************************************************
41103 :
41104 : /* #line 41105 "../../../src/frontend/SageIII//StorageClasses.C" */
41105 :
41106 :
41107 :
41108 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41109 :
41110 : // ****************************************************************
41111 : // member functions definition specific to each node in the grammar
41112 : // these are the SgOmpCriticalStatementStorageClass parts !!!!
41113 : // ROSETTA generated code. Do not change by hand.
41114 : // ****************************************************************
41115 :
41116 :
41117 : /* #line 41118 "../../../src/frontend/SageIII//StorageClasses.C" */
41118 :
41119 :
41120 : void
41121 0 : SgOmpCriticalStatementStorageClass::pickOutIRNodeData ( SgOmpCriticalStatement* pointer )
41122 : {
41123 0 : SgOmpCriticalStatement* source = (SgOmpCriticalStatement*) (pointer);
41124 : #if FILE_IO_EXTRA_CHECK
41125 0 : assert ( source != NULL ) ;
41126 0 : assert ( source->p_freepointer != NULL) ;
41127 : #endif
41128 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
41129 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
41130 0 : unsigned int tempListCountclauses = 0;
41131 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
41132 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41133 : {
41134 0 : tempListclauses[tempListCountclauses] = *i_clauses;
41135 0 : tempListCountclauses++;
41136 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
41137 : }
41138 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
41139 0 : tempListCountclauses = 0;
41140 0 : i_clauses = source->p_clauses.begin() ;
41141 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41142 : {
41143 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
41144 0 : tempListCountclauses++;
41145 : }
41146 0 : delete [] tempListclauses;
41147 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
41148 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
41149 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
41150 0 : unsigned int tempListCountupir_children = 0;
41151 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
41152 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41153 : {
41154 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
41155 0 : tempListCountupir_children++;
41156 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
41157 : }
41158 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
41159 0 : tempListCountupir_children = 0;
41160 0 : i_upir_children = source->p_upir_children.begin() ;
41161 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41162 : {
41163 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
41164 0 : tempListCountupir_children++;
41165 : }
41166 0 : delete [] tempListupir_children;
41167 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
41168 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
41169 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
41170 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
41171 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
41172 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
41173 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
41174 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
41175 0 : storageOf_isModified = source->p_isModified ;
41176 0 : storageOf_containsTransformation = source->p_containsTransformation ;
41177 0 : }
41178 :
41179 : void
41180 0 : SgOmpCriticalStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
41181 : {
41182 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
41183 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
41184 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
41185 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
41186 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
41187 0 : }
41188 :
41189 : void
41190 2 : SgOmpCriticalStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
41191 : {
41192 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
41193 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
41194 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
41195 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
41196 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
41197 2 : }
41198 :
41199 : void
41200 0 : SgOmpCriticalStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
41201 : {
41202 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
41203 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
41204 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
41205 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
41206 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
41207 0 : }
41208 :
41209 :
41210 : void
41211 0 : SgOmpCriticalStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
41212 : {
41213 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
41214 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
41215 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
41216 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
41217 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
41218 0 : }
41219 :
41220 :
41221 :
41222 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41223 :
41224 :
41225 : // ********************************************************
41226 :
41227 : /* #line 41228 "../../../src/frontend/SageIII//StorageClasses.C" */
41228 :
41229 :
41230 :
41231 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41232 :
41233 : // ****************************************************************
41234 : // member functions definition specific to each node in the grammar
41235 : // these are the SgOmpDistributeStatementStorageClass parts !!!!
41236 : // ROSETTA generated code. Do not change by hand.
41237 : // ****************************************************************
41238 :
41239 :
41240 : /* #line 41241 "../../../src/frontend/SageIII//StorageClasses.C" */
41241 :
41242 :
41243 : void
41244 0 : SgOmpDistributeStatementStorageClass::pickOutIRNodeData ( SgOmpDistributeStatement* pointer )
41245 : {
41246 0 : SgOmpDistributeStatement* source = (SgOmpDistributeStatement*) (pointer);
41247 : #if FILE_IO_EXTRA_CHECK
41248 0 : assert ( source != NULL ) ;
41249 0 : assert ( source->p_freepointer != NULL) ;
41250 : #endif
41251 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
41252 0 : unsigned int tempListCountclauses = 0;
41253 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
41254 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41255 : {
41256 0 : tempListclauses[tempListCountclauses] = *i_clauses;
41257 0 : tempListCountclauses++;
41258 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
41259 : }
41260 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
41261 0 : tempListCountclauses = 0;
41262 0 : i_clauses = source->p_clauses.begin() ;
41263 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41264 : {
41265 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
41266 0 : tempListCountclauses++;
41267 : }
41268 0 : delete [] tempListclauses;
41269 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
41270 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
41271 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
41272 0 : unsigned int tempListCountupir_children = 0;
41273 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
41274 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41275 : {
41276 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
41277 0 : tempListCountupir_children++;
41278 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
41279 : }
41280 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
41281 0 : tempListCountupir_children = 0;
41282 0 : i_upir_children = source->p_upir_children.begin() ;
41283 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41284 : {
41285 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
41286 0 : tempListCountupir_children++;
41287 : }
41288 0 : delete [] tempListupir_children;
41289 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
41290 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
41291 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
41292 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
41293 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
41294 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
41295 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
41296 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
41297 0 : storageOf_isModified = source->p_isModified ;
41298 0 : storageOf_containsTransformation = source->p_containsTransformation ;
41299 0 : }
41300 :
41301 : void
41302 0 : SgOmpDistributeStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
41303 : {
41304 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
41305 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
41306 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
41307 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
41308 0 : }
41309 :
41310 : void
41311 2 : SgOmpDistributeStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
41312 : {
41313 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
41314 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
41315 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
41316 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
41317 2 : }
41318 :
41319 : void
41320 0 : SgOmpDistributeStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
41321 : {
41322 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
41323 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
41324 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
41325 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
41326 0 : }
41327 :
41328 :
41329 : void
41330 0 : SgOmpDistributeStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
41331 : {
41332 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
41333 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
41334 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
41335 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
41336 0 : }
41337 :
41338 :
41339 :
41340 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41341 :
41342 :
41343 : // ********************************************************
41344 :
41345 : /* #line 41346 "../../../src/frontend/SageIII//StorageClasses.C" */
41346 :
41347 :
41348 :
41349 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41350 :
41351 : // ****************************************************************
41352 : // member functions definition specific to each node in the grammar
41353 : // these are the SgOmpUnrollStatementStorageClass parts !!!!
41354 : // ROSETTA generated code. Do not change by hand.
41355 : // ****************************************************************
41356 :
41357 :
41358 : /* #line 41359 "../../../src/frontend/SageIII//StorageClasses.C" */
41359 :
41360 :
41361 : void
41362 0 : SgOmpUnrollStatementStorageClass::pickOutIRNodeData ( SgOmpUnrollStatement* pointer )
41363 : {
41364 0 : SgOmpUnrollStatement* source = (SgOmpUnrollStatement*) (pointer);
41365 : #if FILE_IO_EXTRA_CHECK
41366 0 : assert ( source != NULL ) ;
41367 0 : assert ( source->p_freepointer != NULL) ;
41368 : #endif
41369 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
41370 0 : unsigned int tempListCountclauses = 0;
41371 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
41372 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41373 : {
41374 0 : tempListclauses[tempListCountclauses] = *i_clauses;
41375 0 : tempListCountclauses++;
41376 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
41377 : }
41378 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
41379 0 : tempListCountclauses = 0;
41380 0 : i_clauses = source->p_clauses.begin() ;
41381 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41382 : {
41383 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
41384 0 : tempListCountclauses++;
41385 : }
41386 0 : delete [] tempListclauses;
41387 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
41388 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
41389 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
41390 0 : unsigned int tempListCountupir_children = 0;
41391 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
41392 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41393 : {
41394 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
41395 0 : tempListCountupir_children++;
41396 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
41397 : }
41398 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
41399 0 : tempListCountupir_children = 0;
41400 0 : i_upir_children = source->p_upir_children.begin() ;
41401 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41402 : {
41403 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
41404 0 : tempListCountupir_children++;
41405 : }
41406 0 : delete [] tempListupir_children;
41407 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
41408 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
41409 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
41410 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
41411 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
41412 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
41413 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
41414 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
41415 0 : storageOf_isModified = source->p_isModified ;
41416 0 : storageOf_containsTransformation = source->p_containsTransformation ;
41417 0 : }
41418 :
41419 : void
41420 0 : SgOmpUnrollStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
41421 : {
41422 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
41423 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
41424 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
41425 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
41426 0 : }
41427 :
41428 : void
41429 2 : SgOmpUnrollStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
41430 : {
41431 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
41432 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
41433 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
41434 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
41435 2 : }
41436 :
41437 : void
41438 0 : SgOmpUnrollStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
41439 : {
41440 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
41441 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
41442 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
41443 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
41444 0 : }
41445 :
41446 :
41447 : void
41448 0 : SgOmpUnrollStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
41449 : {
41450 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
41451 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
41452 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
41453 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
41454 0 : }
41455 :
41456 :
41457 :
41458 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41459 :
41460 :
41461 : // ********************************************************
41462 :
41463 : /* #line 41464 "../../../src/frontend/SageIII//StorageClasses.C" */
41464 :
41465 :
41466 :
41467 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41468 :
41469 : // ****************************************************************
41470 : // member functions definition specific to each node in the grammar
41471 : // these are the SgOmpTileStatementStorageClass parts !!!!
41472 : // ROSETTA generated code. Do not change by hand.
41473 : // ****************************************************************
41474 :
41475 :
41476 : /* #line 41477 "../../../src/frontend/SageIII//StorageClasses.C" */
41477 :
41478 :
41479 : void
41480 0 : SgOmpTileStatementStorageClass::pickOutIRNodeData ( SgOmpTileStatement* pointer )
41481 : {
41482 0 : SgOmpTileStatement* source = (SgOmpTileStatement*) (pointer);
41483 : #if FILE_IO_EXTRA_CHECK
41484 0 : assert ( source != NULL ) ;
41485 0 : assert ( source->p_freepointer != NULL) ;
41486 : #endif
41487 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
41488 0 : unsigned int tempListCountclauses = 0;
41489 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
41490 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41491 : {
41492 0 : tempListclauses[tempListCountclauses] = *i_clauses;
41493 0 : tempListCountclauses++;
41494 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
41495 : }
41496 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
41497 0 : tempListCountclauses = 0;
41498 0 : i_clauses = source->p_clauses.begin() ;
41499 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41500 : {
41501 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
41502 0 : tempListCountclauses++;
41503 : }
41504 0 : delete [] tempListclauses;
41505 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
41506 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
41507 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
41508 0 : unsigned int tempListCountupir_children = 0;
41509 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
41510 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41511 : {
41512 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
41513 0 : tempListCountupir_children++;
41514 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
41515 : }
41516 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
41517 0 : tempListCountupir_children = 0;
41518 0 : i_upir_children = source->p_upir_children.begin() ;
41519 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41520 : {
41521 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
41522 0 : tempListCountupir_children++;
41523 : }
41524 0 : delete [] tempListupir_children;
41525 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
41526 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
41527 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
41528 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
41529 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
41530 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
41531 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
41532 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
41533 0 : storageOf_isModified = source->p_isModified ;
41534 0 : storageOf_containsTransformation = source->p_containsTransformation ;
41535 0 : }
41536 :
41537 : void
41538 0 : SgOmpTileStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
41539 : {
41540 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
41541 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
41542 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
41543 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
41544 0 : }
41545 :
41546 : void
41547 2 : SgOmpTileStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
41548 : {
41549 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
41550 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
41551 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
41552 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
41553 2 : }
41554 :
41555 : void
41556 0 : SgOmpTileStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
41557 : {
41558 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
41559 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
41560 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
41561 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
41562 0 : }
41563 :
41564 :
41565 : void
41566 0 : SgOmpTileStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
41567 : {
41568 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
41569 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
41570 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
41571 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
41572 0 : }
41573 :
41574 :
41575 :
41576 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41577 :
41578 :
41579 : // ********************************************************
41580 :
41581 : /* #line 41582 "../../../src/frontend/SageIII//StorageClasses.C" */
41582 :
41583 :
41584 :
41585 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41586 :
41587 : // ****************************************************************
41588 : // member functions definition specific to each node in the grammar
41589 : // these are the SgUpirLoopStatementStorageClass parts !!!!
41590 : // ROSETTA generated code. Do not change by hand.
41591 : // ****************************************************************
41592 :
41593 :
41594 : /* #line 41595 "../../../src/frontend/SageIII//StorageClasses.C" */
41595 :
41596 :
41597 : void
41598 0 : SgUpirLoopStatementStorageClass::pickOutIRNodeData ( SgUpirLoopStatement* pointer )
41599 : {
41600 0 : SgUpirLoopStatement* source = (SgUpirLoopStatement*) (pointer);
41601 : #if FILE_IO_EXTRA_CHECK
41602 0 : assert ( source != NULL ) ;
41603 0 : assert ( source->p_freepointer != NULL) ;
41604 : #endif
41605 0 : storageOf_induction = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_induction );
41606 0 : storageOf_lower_bound = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lower_bound );
41607 0 : storageOf_upper_bound = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upper_bound );
41608 0 : storageOf_step = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_step );
41609 0 : storageOf_incremental = source->p_incremental ;
41610 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
41611 0 : unsigned int tempListCountclauses = 0;
41612 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
41613 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41614 : {
41615 0 : tempListclauses[tempListCountclauses] = *i_clauses;
41616 0 : tempListCountclauses++;
41617 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
41618 : }
41619 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
41620 0 : tempListCountclauses = 0;
41621 0 : i_clauses = source->p_clauses.begin() ;
41622 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41623 : {
41624 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
41625 0 : tempListCountclauses++;
41626 : }
41627 0 : delete [] tempListclauses;
41628 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
41629 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
41630 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
41631 0 : unsigned int tempListCountupir_children = 0;
41632 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
41633 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41634 : {
41635 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
41636 0 : tempListCountupir_children++;
41637 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
41638 : }
41639 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
41640 0 : tempListCountupir_children = 0;
41641 0 : i_upir_children = source->p_upir_children.begin() ;
41642 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41643 : {
41644 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
41645 0 : tempListCountupir_children++;
41646 : }
41647 0 : delete [] tempListupir_children;
41648 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
41649 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
41650 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
41651 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
41652 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
41653 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
41654 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
41655 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
41656 0 : storageOf_isModified = source->p_isModified ;
41657 0 : storageOf_containsTransformation = source->p_containsTransformation ;
41658 0 : }
41659 :
41660 : void
41661 0 : SgUpirLoopStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
41662 : {
41663 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
41664 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
41665 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
41666 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
41667 0 : }
41668 :
41669 : void
41670 2 : SgUpirLoopStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
41671 : {
41672 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
41673 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
41674 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
41675 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
41676 2 : }
41677 :
41678 : void
41679 0 : SgUpirLoopStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
41680 : {
41681 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
41682 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
41683 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
41684 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
41685 0 : }
41686 :
41687 :
41688 : void
41689 0 : SgUpirLoopStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
41690 : {
41691 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
41692 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
41693 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
41694 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
41695 0 : }
41696 :
41697 :
41698 :
41699 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41700 :
41701 :
41702 : // ********************************************************
41703 :
41704 : /* #line 41705 "../../../src/frontend/SageIII//StorageClasses.C" */
41705 :
41706 :
41707 :
41708 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41709 :
41710 : // ****************************************************************
41711 : // member functions definition specific to each node in the grammar
41712 : // these are the SgUpirFieldStatementStorageClass parts !!!!
41713 : // ROSETTA generated code. Do not change by hand.
41714 : // ****************************************************************
41715 :
41716 :
41717 : /* #line 41718 "../../../src/frontend/SageIII//StorageClasses.C" */
41718 :
41719 :
41720 : void
41721 0 : SgUpirFieldStatementStorageClass::pickOutIRNodeData ( SgUpirFieldStatement* pointer )
41722 : {
41723 0 : SgUpirFieldStatement* source = (SgUpirFieldStatement*) (pointer);
41724 : #if FILE_IO_EXTRA_CHECK
41725 0 : assert ( source != NULL ) ;
41726 0 : assert ( source->p_freepointer != NULL) ;
41727 : #endif
41728 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
41729 0 : unsigned int tempListCountclauses = 0;
41730 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
41731 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41732 : {
41733 0 : tempListclauses[tempListCountclauses] = *i_clauses;
41734 0 : tempListCountclauses++;
41735 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
41736 : }
41737 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
41738 0 : tempListCountclauses = 0;
41739 0 : i_clauses = source->p_clauses.begin() ;
41740 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41741 : {
41742 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
41743 0 : tempListCountclauses++;
41744 : }
41745 0 : delete [] tempListclauses;
41746 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
41747 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
41748 0 : unsigned int tempListCountupir_children = 0;
41749 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
41750 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41751 : {
41752 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
41753 0 : tempListCountupir_children++;
41754 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
41755 : }
41756 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
41757 0 : tempListCountupir_children = 0;
41758 0 : i_upir_children = source->p_upir_children.begin() ;
41759 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41760 : {
41761 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
41762 0 : tempListCountupir_children++;
41763 : }
41764 0 : delete [] tempListupir_children;
41765 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
41766 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
41767 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
41768 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
41769 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
41770 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
41771 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
41772 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
41773 0 : storageOf_isModified = source->p_isModified ;
41774 0 : storageOf_containsTransformation = source->p_containsTransformation ;
41775 0 : }
41776 :
41777 : void
41778 0 : SgUpirFieldStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
41779 : {
41780 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
41781 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
41782 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
41783 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
41784 0 : }
41785 :
41786 : void
41787 2 : SgUpirFieldStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
41788 : {
41789 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
41790 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
41791 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
41792 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
41793 2 : }
41794 :
41795 : void
41796 0 : SgUpirFieldStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
41797 : {
41798 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
41799 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
41800 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
41801 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
41802 0 : }
41803 :
41804 :
41805 : void
41806 0 : SgUpirFieldStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
41807 : {
41808 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
41809 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
41810 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
41811 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
41812 0 : }
41813 :
41814 :
41815 :
41816 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41817 :
41818 :
41819 : // ********************************************************
41820 :
41821 : /* #line 41822 "../../../src/frontend/SageIII//StorageClasses.C" */
41822 :
41823 :
41824 :
41825 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41826 :
41827 : // ****************************************************************
41828 : // member functions definition specific to each node in the grammar
41829 : // these are the SgOmpCancelStatementStorageClass parts !!!!
41830 : // ROSETTA generated code. Do not change by hand.
41831 : // ****************************************************************
41832 :
41833 :
41834 : /* #line 41835 "../../../src/frontend/SageIII//StorageClasses.C" */
41835 :
41836 :
41837 : void
41838 0 : SgOmpCancelStatementStorageClass::pickOutIRNodeData ( SgOmpCancelStatement* pointer )
41839 : {
41840 0 : SgOmpCancelStatement* source = (SgOmpCancelStatement*) (pointer);
41841 : #if FILE_IO_EXTRA_CHECK
41842 0 : assert ( source != NULL ) ;
41843 0 : assert ( source->p_freepointer != NULL) ;
41844 : #endif
41845 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
41846 0 : unsigned int tempListCountclauses = 0;
41847 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
41848 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41849 : {
41850 0 : tempListclauses[tempListCountclauses] = *i_clauses;
41851 0 : tempListCountclauses++;
41852 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
41853 : }
41854 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
41855 0 : tempListCountclauses = 0;
41856 0 : i_clauses = source->p_clauses.begin() ;
41857 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41858 : {
41859 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
41860 0 : tempListCountclauses++;
41861 : }
41862 0 : delete [] tempListclauses;
41863 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
41864 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
41865 0 : unsigned int tempListCountupir_children = 0;
41866 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
41867 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41868 : {
41869 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
41870 0 : tempListCountupir_children++;
41871 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
41872 : }
41873 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
41874 0 : tempListCountupir_children = 0;
41875 0 : i_upir_children = source->p_upir_children.begin() ;
41876 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41877 : {
41878 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
41879 0 : tempListCountupir_children++;
41880 : }
41881 0 : delete [] tempListupir_children;
41882 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
41883 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
41884 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
41885 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
41886 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
41887 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
41888 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
41889 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
41890 0 : storageOf_isModified = source->p_isModified ;
41891 0 : storageOf_containsTransformation = source->p_containsTransformation ;
41892 0 : }
41893 :
41894 : void
41895 0 : SgOmpCancelStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
41896 : {
41897 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
41898 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
41899 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
41900 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
41901 0 : }
41902 :
41903 : void
41904 2 : SgOmpCancelStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
41905 : {
41906 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
41907 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
41908 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
41909 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
41910 2 : }
41911 :
41912 : void
41913 0 : SgOmpCancelStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
41914 : {
41915 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
41916 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
41917 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
41918 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
41919 0 : }
41920 :
41921 :
41922 : void
41923 0 : SgOmpCancelStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
41924 : {
41925 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
41926 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
41927 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
41928 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
41929 0 : }
41930 :
41931 :
41932 :
41933 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41934 :
41935 :
41936 : // ********************************************************
41937 :
41938 : /* #line 41939 "../../../src/frontend/SageIII//StorageClasses.C" */
41939 :
41940 :
41941 :
41942 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
41943 :
41944 : // ****************************************************************
41945 : // member functions definition specific to each node in the grammar
41946 : // these are the SgOmpCancellationPointStatementStorageClass parts !!!!
41947 : // ROSETTA generated code. Do not change by hand.
41948 : // ****************************************************************
41949 :
41950 :
41951 : /* #line 41952 "../../../src/frontend/SageIII//StorageClasses.C" */
41952 :
41953 :
41954 : void
41955 0 : SgOmpCancellationPointStatementStorageClass::pickOutIRNodeData ( SgOmpCancellationPointStatement* pointer )
41956 : {
41957 0 : SgOmpCancellationPointStatement* source = (SgOmpCancellationPointStatement*) (pointer);
41958 : #if FILE_IO_EXTRA_CHECK
41959 0 : assert ( source != NULL ) ;
41960 0 : assert ( source->p_freepointer != NULL) ;
41961 : #endif
41962 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
41963 0 : unsigned int tempListCountclauses = 0;
41964 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
41965 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41966 : {
41967 0 : tempListclauses[tempListCountclauses] = *i_clauses;
41968 0 : tempListCountclauses++;
41969 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
41970 : }
41971 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
41972 0 : tempListCountclauses = 0;
41973 0 : i_clauses = source->p_clauses.begin() ;
41974 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
41975 : {
41976 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
41977 0 : tempListCountclauses++;
41978 : }
41979 0 : delete [] tempListclauses;
41980 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
41981 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
41982 0 : unsigned int tempListCountupir_children = 0;
41983 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
41984 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41985 : {
41986 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
41987 0 : tempListCountupir_children++;
41988 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
41989 : }
41990 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
41991 0 : tempListCountupir_children = 0;
41992 0 : i_upir_children = source->p_upir_children.begin() ;
41993 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
41994 : {
41995 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
41996 0 : tempListCountupir_children++;
41997 : }
41998 0 : delete [] tempListupir_children;
41999 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
42000 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
42001 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
42002 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
42003 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
42004 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
42005 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
42006 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
42007 0 : storageOf_isModified = source->p_isModified ;
42008 0 : storageOf_containsTransformation = source->p_containsTransformation ;
42009 0 : }
42010 :
42011 : void
42012 0 : SgOmpCancellationPointStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
42013 : {
42014 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
42015 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
42016 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
42017 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
42018 0 : }
42019 :
42020 : void
42021 2 : SgOmpCancellationPointStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
42022 : {
42023 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
42024 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
42025 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
42026 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
42027 2 : }
42028 :
42029 : void
42030 0 : SgOmpCancellationPointStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
42031 : {
42032 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
42033 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
42034 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
42035 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
42036 0 : }
42037 :
42038 :
42039 : void
42040 0 : SgOmpCancellationPointStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
42041 : {
42042 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
42043 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
42044 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
42045 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
42046 0 : }
42047 :
42048 :
42049 :
42050 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42051 :
42052 :
42053 : // ********************************************************
42054 :
42055 : /* #line 42056 "../../../src/frontend/SageIII//StorageClasses.C" */
42056 :
42057 :
42058 :
42059 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42060 :
42061 : // ****************************************************************
42062 : // member functions definition specific to each node in the grammar
42063 : // these are the SgOmpTargetUpdateStatementStorageClass parts !!!!
42064 : // ROSETTA generated code. Do not change by hand.
42065 : // ****************************************************************
42066 :
42067 :
42068 : /* #line 42069 "../../../src/frontend/SageIII//StorageClasses.C" */
42069 :
42070 :
42071 : void
42072 0 : SgOmpTargetUpdateStatementStorageClass::pickOutIRNodeData ( SgOmpTargetUpdateStatement* pointer )
42073 : {
42074 0 : SgOmpTargetUpdateStatement* source = (SgOmpTargetUpdateStatement*) (pointer);
42075 : #if FILE_IO_EXTRA_CHECK
42076 0 : assert ( source != NULL ) ;
42077 0 : assert ( source->p_freepointer != NULL) ;
42078 : #endif
42079 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
42080 0 : unsigned int tempListCountclauses = 0;
42081 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
42082 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42083 : {
42084 0 : tempListclauses[tempListCountclauses] = *i_clauses;
42085 0 : tempListCountclauses++;
42086 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
42087 : }
42088 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
42089 0 : tempListCountclauses = 0;
42090 0 : i_clauses = source->p_clauses.begin() ;
42091 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42092 : {
42093 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
42094 0 : tempListCountclauses++;
42095 : }
42096 0 : delete [] tempListclauses;
42097 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
42098 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
42099 0 : unsigned int tempListCountupir_children = 0;
42100 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
42101 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42102 : {
42103 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
42104 0 : tempListCountupir_children++;
42105 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
42106 : }
42107 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
42108 0 : tempListCountupir_children = 0;
42109 0 : i_upir_children = source->p_upir_children.begin() ;
42110 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42111 : {
42112 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
42113 0 : tempListCountupir_children++;
42114 : }
42115 0 : delete [] tempListupir_children;
42116 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
42117 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
42118 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
42119 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
42120 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
42121 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
42122 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
42123 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
42124 0 : storageOf_isModified = source->p_isModified ;
42125 0 : storageOf_containsTransformation = source->p_containsTransformation ;
42126 0 : }
42127 :
42128 : void
42129 0 : SgOmpTargetUpdateStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
42130 : {
42131 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
42132 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
42133 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
42134 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
42135 0 : }
42136 :
42137 : void
42138 2 : SgOmpTargetUpdateStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
42139 : {
42140 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
42141 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
42142 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
42143 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
42144 2 : }
42145 :
42146 : void
42147 0 : SgOmpTargetUpdateStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
42148 : {
42149 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
42150 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
42151 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
42152 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
42153 0 : }
42154 :
42155 :
42156 : void
42157 0 : SgOmpTargetUpdateStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
42158 : {
42159 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
42160 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
42161 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
42162 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
42163 0 : }
42164 :
42165 :
42166 :
42167 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42168 :
42169 :
42170 : // ********************************************************
42171 :
42172 : /* #line 42173 "../../../src/frontend/SageIII//StorageClasses.C" */
42173 :
42174 :
42175 :
42176 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42177 :
42178 : // ****************************************************************
42179 : // member functions definition specific to each node in the grammar
42180 : // these are the SgOmpFlushStatementStorageClass parts !!!!
42181 : // ROSETTA generated code. Do not change by hand.
42182 : // ****************************************************************
42183 :
42184 :
42185 : /* #line 42186 "../../../src/frontend/SageIII//StorageClasses.C" */
42186 :
42187 :
42188 : void
42189 0 : SgOmpFlushStatementStorageClass::pickOutIRNodeData ( SgOmpFlushStatement* pointer )
42190 : {
42191 0 : SgOmpFlushStatement* source = (SgOmpFlushStatement*) (pointer);
42192 : #if FILE_IO_EXTRA_CHECK
42193 0 : assert ( source != NULL ) ;
42194 0 : assert ( source->p_freepointer != NULL) ;
42195 : #endif
42196 0 : SgVarRefExpPtrList::iterator i_variables = source->p_variables.begin() ;
42197 0 : unsigned int tempListCountvariables = 0;
42198 0 : SgVarRefExpPtrList::value_type * tempListvariables = new SgVarRefExpPtrList::value_type[ source->p_variables.size() ];
42199 0 : for ( ; i_variables != source->p_variables.end(); ++i_variables )
42200 : {
42201 0 : tempListvariables[tempListCountvariables] = *i_variables;
42202 0 : tempListCountvariables++;
42203 0 : (*i_variables) = (SgVarRefExpPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_variables ) );
42204 : }
42205 0 : storageOf_variables.storeDataInEasyStorageClass(source->p_variables);
42206 0 : tempListCountvariables = 0;
42207 0 : i_variables = source->p_variables.begin() ;
42208 0 : for ( ; i_variables != source->p_variables.end(); ++i_variables )
42209 : {
42210 0 : *i_variables = tempListvariables[tempListCountvariables] ;
42211 0 : tempListCountvariables++;
42212 : }
42213 0 : delete [] tempListvariables;
42214 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
42215 0 : unsigned int tempListCountclauses = 0;
42216 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
42217 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42218 : {
42219 0 : tempListclauses[tempListCountclauses] = *i_clauses;
42220 0 : tempListCountclauses++;
42221 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
42222 : }
42223 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
42224 0 : tempListCountclauses = 0;
42225 0 : i_clauses = source->p_clauses.begin() ;
42226 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42227 : {
42228 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
42229 0 : tempListCountclauses++;
42230 : }
42231 0 : delete [] tempListclauses;
42232 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
42233 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
42234 0 : unsigned int tempListCountupir_children = 0;
42235 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
42236 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42237 : {
42238 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
42239 0 : tempListCountupir_children++;
42240 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
42241 : }
42242 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
42243 0 : tempListCountupir_children = 0;
42244 0 : i_upir_children = source->p_upir_children.begin() ;
42245 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42246 : {
42247 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
42248 0 : tempListCountupir_children++;
42249 : }
42250 0 : delete [] tempListupir_children;
42251 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
42252 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
42253 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
42254 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
42255 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
42256 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
42257 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
42258 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
42259 0 : storageOf_isModified = source->p_isModified ;
42260 0 : storageOf_containsTransformation = source->p_containsTransformation ;
42261 0 : }
42262 :
42263 : void
42264 0 : SgOmpFlushStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
42265 : {
42266 0 : EasyStorage < SgVarRefExpPtrList > :: arrangeMemoryPoolInOneBlock() ;
42267 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
42268 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
42269 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
42270 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
42271 0 : }
42272 :
42273 : void
42274 2 : SgOmpFlushStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
42275 : {
42276 2 : EasyStorage < SgVarRefExpPtrList > :: deleteMemoryPool() ;
42277 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
42278 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
42279 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
42280 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
42281 2 : }
42282 :
42283 : void
42284 0 : SgOmpFlushStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
42285 : {
42286 0 : EasyStorage < SgVarRefExpPtrList > :: writeToFile(out) ;
42287 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
42288 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
42289 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
42290 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
42291 0 : }
42292 :
42293 :
42294 : void
42295 0 : SgOmpFlushStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
42296 : {
42297 0 : EasyStorage < SgVarRefExpPtrList > :: readFromFile(in) ;
42298 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
42299 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
42300 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
42301 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
42302 0 : }
42303 :
42304 :
42305 :
42306 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42307 :
42308 :
42309 : // ********************************************************
42310 :
42311 : /* #line 42312 "../../../src/frontend/SageIII//StorageClasses.C" */
42312 :
42313 :
42314 :
42315 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42316 :
42317 : // ****************************************************************
42318 : // member functions definition specific to each node in the grammar
42319 : // these are the SgOmpAllocateStatementStorageClass parts !!!!
42320 : // ROSETTA generated code. Do not change by hand.
42321 : // ****************************************************************
42322 :
42323 :
42324 : /* #line 42325 "../../../src/frontend/SageIII//StorageClasses.C" */
42325 :
42326 :
42327 : void
42328 0 : SgOmpAllocateStatementStorageClass::pickOutIRNodeData ( SgOmpAllocateStatement* pointer )
42329 : {
42330 0 : SgOmpAllocateStatement* source = (SgOmpAllocateStatement*) (pointer);
42331 : #if FILE_IO_EXTRA_CHECK
42332 0 : assert ( source != NULL ) ;
42333 0 : assert ( source->p_freepointer != NULL) ;
42334 : #endif
42335 0 : SgVarRefExpPtrList::iterator i_variables = source->p_variables.begin() ;
42336 0 : unsigned int tempListCountvariables = 0;
42337 0 : SgVarRefExpPtrList::value_type * tempListvariables = new SgVarRefExpPtrList::value_type[ source->p_variables.size() ];
42338 0 : for ( ; i_variables != source->p_variables.end(); ++i_variables )
42339 : {
42340 0 : tempListvariables[tempListCountvariables] = *i_variables;
42341 0 : tempListCountvariables++;
42342 0 : (*i_variables) = (SgVarRefExpPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_variables ) );
42343 : }
42344 0 : storageOf_variables.storeDataInEasyStorageClass(source->p_variables);
42345 0 : tempListCountvariables = 0;
42346 0 : i_variables = source->p_variables.begin() ;
42347 0 : for ( ; i_variables != source->p_variables.end(); ++i_variables )
42348 : {
42349 0 : *i_variables = tempListvariables[tempListCountvariables] ;
42350 0 : tempListCountvariables++;
42351 : }
42352 0 : delete [] tempListvariables;
42353 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
42354 0 : unsigned int tempListCountclauses = 0;
42355 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
42356 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42357 : {
42358 0 : tempListclauses[tempListCountclauses] = *i_clauses;
42359 0 : tempListCountclauses++;
42360 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
42361 : }
42362 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
42363 0 : tempListCountclauses = 0;
42364 0 : i_clauses = source->p_clauses.begin() ;
42365 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42366 : {
42367 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
42368 0 : tempListCountclauses++;
42369 : }
42370 0 : delete [] tempListclauses;
42371 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
42372 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
42373 0 : unsigned int tempListCountupir_children = 0;
42374 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
42375 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42376 : {
42377 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
42378 0 : tempListCountupir_children++;
42379 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
42380 : }
42381 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
42382 0 : tempListCountupir_children = 0;
42383 0 : i_upir_children = source->p_upir_children.begin() ;
42384 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42385 : {
42386 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
42387 0 : tempListCountupir_children++;
42388 : }
42389 0 : delete [] tempListupir_children;
42390 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
42391 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
42392 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
42393 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
42394 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
42395 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
42396 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
42397 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
42398 0 : storageOf_isModified = source->p_isModified ;
42399 0 : storageOf_containsTransformation = source->p_containsTransformation ;
42400 0 : }
42401 :
42402 : void
42403 0 : SgOmpAllocateStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
42404 : {
42405 0 : EasyStorage < SgVarRefExpPtrList > :: arrangeMemoryPoolInOneBlock() ;
42406 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
42407 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
42408 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
42409 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
42410 0 : }
42411 :
42412 : void
42413 2 : SgOmpAllocateStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
42414 : {
42415 2 : EasyStorage < SgVarRefExpPtrList > :: deleteMemoryPool() ;
42416 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
42417 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
42418 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
42419 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
42420 2 : }
42421 :
42422 : void
42423 0 : SgOmpAllocateStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
42424 : {
42425 0 : EasyStorage < SgVarRefExpPtrList > :: writeToFile(out) ;
42426 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
42427 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
42428 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
42429 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
42430 0 : }
42431 :
42432 :
42433 : void
42434 0 : SgOmpAllocateStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
42435 : {
42436 0 : EasyStorage < SgVarRefExpPtrList > :: readFromFile(in) ;
42437 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
42438 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
42439 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
42440 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
42441 0 : }
42442 :
42443 :
42444 :
42445 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42446 :
42447 :
42448 : // ********************************************************
42449 :
42450 : /* #line 42451 "../../../src/frontend/SageIII//StorageClasses.C" */
42451 :
42452 :
42453 :
42454 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42455 :
42456 : // ****************************************************************
42457 : // member functions definition specific to each node in the grammar
42458 : // these are the SgOmpOrderedDependStatementStorageClass parts !!!!
42459 : // ROSETTA generated code. Do not change by hand.
42460 : // ****************************************************************
42461 :
42462 :
42463 : /* #line 42464 "../../../src/frontend/SageIII//StorageClasses.C" */
42464 :
42465 :
42466 : void
42467 0 : SgOmpOrderedDependStatementStorageClass::pickOutIRNodeData ( SgOmpOrderedDependStatement* pointer )
42468 : {
42469 0 : SgOmpOrderedDependStatement* source = (SgOmpOrderedDependStatement*) (pointer);
42470 : #if FILE_IO_EXTRA_CHECK
42471 0 : assert ( source != NULL ) ;
42472 0 : assert ( source->p_freepointer != NULL) ;
42473 : #endif
42474 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
42475 0 : unsigned int tempListCountclauses = 0;
42476 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
42477 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42478 : {
42479 0 : tempListclauses[tempListCountclauses] = *i_clauses;
42480 0 : tempListCountclauses++;
42481 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
42482 : }
42483 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
42484 0 : tempListCountclauses = 0;
42485 0 : i_clauses = source->p_clauses.begin() ;
42486 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42487 : {
42488 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
42489 0 : tempListCountclauses++;
42490 : }
42491 0 : delete [] tempListclauses;
42492 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
42493 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
42494 0 : unsigned int tempListCountupir_children = 0;
42495 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
42496 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42497 : {
42498 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
42499 0 : tempListCountupir_children++;
42500 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
42501 : }
42502 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
42503 0 : tempListCountupir_children = 0;
42504 0 : i_upir_children = source->p_upir_children.begin() ;
42505 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42506 : {
42507 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
42508 0 : tempListCountupir_children++;
42509 : }
42510 0 : delete [] tempListupir_children;
42511 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
42512 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
42513 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
42514 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
42515 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
42516 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
42517 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
42518 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
42519 0 : storageOf_isModified = source->p_isModified ;
42520 0 : storageOf_containsTransformation = source->p_containsTransformation ;
42521 0 : }
42522 :
42523 : void
42524 0 : SgOmpOrderedDependStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
42525 : {
42526 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
42527 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
42528 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
42529 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
42530 0 : }
42531 :
42532 : void
42533 2 : SgOmpOrderedDependStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
42534 : {
42535 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
42536 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
42537 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
42538 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
42539 2 : }
42540 :
42541 : void
42542 0 : SgOmpOrderedDependStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
42543 : {
42544 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
42545 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
42546 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
42547 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
42548 0 : }
42549 :
42550 :
42551 : void
42552 0 : SgOmpOrderedDependStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
42553 : {
42554 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
42555 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
42556 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
42557 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
42558 0 : }
42559 :
42560 :
42561 :
42562 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42563 :
42564 :
42565 : // ********************************************************
42566 :
42567 : /* #line 42568 "../../../src/frontend/SageIII//StorageClasses.C" */
42568 :
42569 :
42570 :
42571 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42572 :
42573 : // ****************************************************************
42574 : // member functions definition specific to each node in the grammar
42575 : // these are the SgUpirSyncStatementStorageClass parts !!!!
42576 : // ROSETTA generated code. Do not change by hand.
42577 : // ****************************************************************
42578 :
42579 :
42580 : /* #line 42581 "../../../src/frontend/SageIII//StorageClasses.C" */
42581 :
42582 :
42583 : void
42584 0 : SgUpirSyncStatementStorageClass::pickOutIRNodeData ( SgUpirSyncStatement* pointer )
42585 : {
42586 0 : SgUpirSyncStatement* source = (SgUpirSyncStatement*) (pointer);
42587 : #if FILE_IO_EXTRA_CHECK
42588 0 : assert ( source != NULL ) ;
42589 0 : assert ( source->p_freepointer != NULL) ;
42590 : #endif
42591 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
42592 0 : unsigned int tempListCountclauses = 0;
42593 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
42594 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42595 : {
42596 0 : tempListclauses[tempListCountclauses] = *i_clauses;
42597 0 : tempListCountclauses++;
42598 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
42599 : }
42600 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
42601 0 : tempListCountclauses = 0;
42602 0 : i_clauses = source->p_clauses.begin() ;
42603 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42604 : {
42605 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
42606 0 : tempListCountclauses++;
42607 : }
42608 0 : delete [] tempListclauses;
42609 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
42610 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
42611 0 : unsigned int tempListCountupir_children = 0;
42612 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
42613 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42614 : {
42615 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
42616 0 : tempListCountupir_children++;
42617 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
42618 : }
42619 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
42620 0 : tempListCountupir_children = 0;
42621 0 : i_upir_children = source->p_upir_children.begin() ;
42622 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42623 : {
42624 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
42625 0 : tempListCountupir_children++;
42626 : }
42627 0 : delete [] tempListupir_children;
42628 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
42629 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
42630 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
42631 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
42632 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
42633 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
42634 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
42635 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
42636 0 : storageOf_isModified = source->p_isModified ;
42637 0 : storageOf_containsTransformation = source->p_containsTransformation ;
42638 0 : }
42639 :
42640 : void
42641 0 : SgUpirSyncStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
42642 : {
42643 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
42644 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
42645 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
42646 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
42647 0 : }
42648 :
42649 : void
42650 2 : SgUpirSyncStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
42651 : {
42652 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
42653 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
42654 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
42655 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
42656 2 : }
42657 :
42658 : void
42659 0 : SgUpirSyncStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
42660 : {
42661 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
42662 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
42663 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
42664 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
42665 0 : }
42666 :
42667 :
42668 : void
42669 0 : SgUpirSyncStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
42670 : {
42671 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
42672 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
42673 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
42674 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
42675 0 : }
42676 :
42677 :
42678 :
42679 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42680 :
42681 :
42682 : // ********************************************************
42683 :
42684 : /* #line 42685 "../../../src/frontend/SageIII//StorageClasses.C" */
42685 :
42686 :
42687 :
42688 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42689 :
42690 : // ****************************************************************
42691 : // member functions definition specific to each node in the grammar
42692 : // these are the SgUpirLoopParallelStatementStorageClass parts !!!!
42693 : // ROSETTA generated code. Do not change by hand.
42694 : // ****************************************************************
42695 :
42696 :
42697 : /* #line 42698 "../../../src/frontend/SageIII//StorageClasses.C" */
42698 :
42699 :
42700 : void
42701 0 : SgUpirLoopParallelStatementStorageClass::pickOutIRNodeData ( SgUpirLoopParallelStatement* pointer )
42702 : {
42703 0 : SgUpirLoopParallelStatement* source = (SgUpirLoopParallelStatement*) (pointer);
42704 : #if FILE_IO_EXTRA_CHECK
42705 0 : assert ( source != NULL ) ;
42706 0 : assert ( source->p_freepointer != NULL) ;
42707 : #endif
42708 0 : storageOf_worksharing = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_worksharing );
42709 0 : storageOf_simd = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_simd );
42710 0 : storageOf_taskloop = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_taskloop );
42711 0 : storageOf_loop = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_loop );
42712 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
42713 0 : unsigned int tempListCountclauses = 0;
42714 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
42715 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42716 : {
42717 0 : tempListclauses[tempListCountclauses] = *i_clauses;
42718 0 : tempListCountclauses++;
42719 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
42720 : }
42721 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
42722 0 : tempListCountclauses = 0;
42723 0 : i_clauses = source->p_clauses.begin() ;
42724 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42725 : {
42726 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
42727 0 : tempListCountclauses++;
42728 : }
42729 0 : delete [] tempListclauses;
42730 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
42731 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
42732 0 : unsigned int tempListCountupir_children = 0;
42733 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
42734 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42735 : {
42736 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
42737 0 : tempListCountupir_children++;
42738 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
42739 : }
42740 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
42741 0 : tempListCountupir_children = 0;
42742 0 : i_upir_children = source->p_upir_children.begin() ;
42743 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42744 : {
42745 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
42746 0 : tempListCountupir_children++;
42747 : }
42748 0 : delete [] tempListupir_children;
42749 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
42750 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
42751 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
42752 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
42753 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
42754 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
42755 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
42756 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
42757 0 : storageOf_isModified = source->p_isModified ;
42758 0 : storageOf_containsTransformation = source->p_containsTransformation ;
42759 0 : }
42760 :
42761 : void
42762 0 : SgUpirLoopParallelStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
42763 : {
42764 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
42765 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
42766 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
42767 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
42768 0 : }
42769 :
42770 : void
42771 2 : SgUpirLoopParallelStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
42772 : {
42773 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
42774 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
42775 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
42776 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
42777 2 : }
42778 :
42779 : void
42780 0 : SgUpirLoopParallelStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
42781 : {
42782 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
42783 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
42784 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
42785 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
42786 0 : }
42787 :
42788 :
42789 : void
42790 0 : SgUpirLoopParallelStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
42791 : {
42792 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
42793 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
42794 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
42795 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
42796 0 : }
42797 :
42798 :
42799 :
42800 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42801 :
42802 :
42803 : // ********************************************************
42804 :
42805 : /* #line 42806 "../../../src/frontend/SageIII//StorageClasses.C" */
42806 :
42807 :
42808 :
42809 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42810 :
42811 : // ****************************************************************
42812 : // member functions definition specific to each node in the grammar
42813 : // these are the SgUpirWorksharingStatementStorageClass parts !!!!
42814 : // ROSETTA generated code. Do not change by hand.
42815 : // ****************************************************************
42816 :
42817 :
42818 : /* #line 42819 "../../../src/frontend/SageIII//StorageClasses.C" */
42819 :
42820 :
42821 : void
42822 0 : SgUpirWorksharingStatementStorageClass::pickOutIRNodeData ( SgUpirWorksharingStatement* pointer )
42823 : {
42824 0 : SgUpirWorksharingStatement* source = (SgUpirWorksharingStatement*) (pointer);
42825 : #if FILE_IO_EXTRA_CHECK
42826 0 : assert ( source != NULL ) ;
42827 0 : assert ( source->p_freepointer != NULL) ;
42828 : #endif
42829 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
42830 0 : unsigned int tempListCountclauses = 0;
42831 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
42832 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42833 : {
42834 0 : tempListclauses[tempListCountclauses] = *i_clauses;
42835 0 : tempListCountclauses++;
42836 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
42837 : }
42838 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
42839 0 : tempListCountclauses = 0;
42840 0 : i_clauses = source->p_clauses.begin() ;
42841 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42842 : {
42843 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
42844 0 : tempListCountclauses++;
42845 : }
42846 0 : delete [] tempListclauses;
42847 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
42848 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
42849 0 : unsigned int tempListCountupir_children = 0;
42850 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
42851 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42852 : {
42853 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
42854 0 : tempListCountupir_children++;
42855 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
42856 : }
42857 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
42858 0 : tempListCountupir_children = 0;
42859 0 : i_upir_children = source->p_upir_children.begin() ;
42860 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42861 : {
42862 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
42863 0 : tempListCountupir_children++;
42864 : }
42865 0 : delete [] tempListupir_children;
42866 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
42867 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
42868 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
42869 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
42870 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
42871 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
42872 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
42873 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
42874 0 : storageOf_isModified = source->p_isModified ;
42875 0 : storageOf_containsTransformation = source->p_containsTransformation ;
42876 0 : }
42877 :
42878 : void
42879 0 : SgUpirWorksharingStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
42880 : {
42881 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
42882 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
42883 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
42884 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
42885 0 : }
42886 :
42887 : void
42888 2 : SgUpirWorksharingStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
42889 : {
42890 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
42891 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
42892 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
42893 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
42894 2 : }
42895 :
42896 : void
42897 0 : SgUpirWorksharingStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
42898 : {
42899 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
42900 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
42901 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
42902 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
42903 0 : }
42904 :
42905 :
42906 : void
42907 0 : SgUpirWorksharingStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
42908 : {
42909 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
42910 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
42911 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
42912 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
42913 0 : }
42914 :
42915 :
42916 :
42917 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42918 :
42919 :
42920 : // ********************************************************
42921 :
42922 : /* #line 42923 "../../../src/frontend/SageIII//StorageClasses.C" */
42923 :
42924 :
42925 :
42926 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
42927 :
42928 : // ****************************************************************
42929 : // member functions definition specific to each node in the grammar
42930 : // these are the SgUpirSimdStatementStorageClass parts !!!!
42931 : // ROSETTA generated code. Do not change by hand.
42932 : // ****************************************************************
42933 :
42934 :
42935 : /* #line 42936 "../../../src/frontend/SageIII//StorageClasses.C" */
42936 :
42937 :
42938 : void
42939 0 : SgUpirSimdStatementStorageClass::pickOutIRNodeData ( SgUpirSimdStatement* pointer )
42940 : {
42941 0 : SgUpirSimdStatement* source = (SgUpirSimdStatement*) (pointer);
42942 : #if FILE_IO_EXTRA_CHECK
42943 0 : assert ( source != NULL ) ;
42944 0 : assert ( source->p_freepointer != NULL) ;
42945 : #endif
42946 0 : SgOmpClausePtrList::iterator i_clauses = source->p_clauses.begin() ;
42947 0 : unsigned int tempListCountclauses = 0;
42948 0 : SgOmpClausePtrList::value_type * tempListclauses = new SgOmpClausePtrList::value_type[ source->p_clauses.size() ];
42949 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42950 : {
42951 0 : tempListclauses[tempListCountclauses] = *i_clauses;
42952 0 : tempListCountclauses++;
42953 0 : (*i_clauses) = (SgOmpClausePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_clauses ) );
42954 : }
42955 0 : storageOf_clauses.storeDataInEasyStorageClass(source->p_clauses);
42956 0 : tempListCountclauses = 0;
42957 0 : i_clauses = source->p_clauses.begin() ;
42958 0 : for ( ; i_clauses != source->p_clauses.end(); ++i_clauses )
42959 : {
42960 0 : *i_clauses = tempListclauses[tempListCountclauses] ;
42961 0 : tempListCountclauses++;
42962 : }
42963 0 : delete [] tempListclauses;
42964 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
42965 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
42966 0 : unsigned int tempListCountupir_children = 0;
42967 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
42968 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42969 : {
42970 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
42971 0 : tempListCountupir_children++;
42972 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
42973 : }
42974 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
42975 0 : tempListCountupir_children = 0;
42976 0 : i_upir_children = source->p_upir_children.begin() ;
42977 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
42978 : {
42979 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
42980 0 : tempListCountupir_children++;
42981 : }
42982 0 : delete [] tempListupir_children;
42983 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
42984 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
42985 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
42986 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
42987 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
42988 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
42989 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
42990 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
42991 0 : storageOf_isModified = source->p_isModified ;
42992 0 : storageOf_containsTransformation = source->p_containsTransformation ;
42993 0 : }
42994 :
42995 : void
42996 0 : SgUpirSimdStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
42997 : {
42998 0 : EasyStorage < SgOmpClausePtrList > :: arrangeMemoryPoolInOneBlock() ;
42999 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
43000 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43001 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43002 0 : }
43003 :
43004 : void
43005 2 : SgUpirSimdStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43006 : {
43007 2 : EasyStorage < SgOmpClausePtrList > :: deleteMemoryPool() ;
43008 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
43009 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43010 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43011 2 : }
43012 :
43013 : void
43014 0 : SgUpirSimdStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43015 : {
43016 0 : EasyStorage < SgOmpClausePtrList > :: writeToFile(out) ;
43017 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
43018 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43019 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43020 0 : }
43021 :
43022 :
43023 : void
43024 0 : SgUpirSimdStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
43025 : {
43026 0 : EasyStorage < SgOmpClausePtrList > :: readFromFile(in) ;
43027 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
43028 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43029 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43030 0 : }
43031 :
43032 :
43033 :
43034 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43035 :
43036 :
43037 : // ********************************************************
43038 :
43039 : /* #line 43040 "../../../src/frontend/SageIII//StorageClasses.C" */
43040 :
43041 :
43042 :
43043 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43044 :
43045 : // ****************************************************************
43046 : // member functions definition specific to each node in the grammar
43047 : // these are the SgOmpDeclareMapperStatementStorageClass parts !!!!
43048 : // ROSETTA generated code. Do not change by hand.
43049 : // ****************************************************************
43050 :
43051 :
43052 : /* #line 43053 "../../../src/frontend/SageIII//StorageClasses.C" */
43053 :
43054 :
43055 : void
43056 0 : SgOmpDeclareMapperStatementStorageClass::pickOutIRNodeData ( SgOmpDeclareMapperStatement* pointer )
43057 : {
43058 0 : SgOmpDeclareMapperStatement* source = (SgOmpDeclareMapperStatement*) (pointer);
43059 : #if FILE_IO_EXTRA_CHECK
43060 0 : assert ( source != NULL ) ;
43061 0 : assert ( source->p_freepointer != NULL) ;
43062 : #endif
43063 0 : storageOf_upir_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upir_parent );
43064 0 : SgStatementPtrList::iterator i_upir_children = source->p_upir_children.begin() ;
43065 0 : unsigned int tempListCountupir_children = 0;
43066 0 : SgStatementPtrList::value_type * tempListupir_children = new SgStatementPtrList::value_type[ source->p_upir_children.size() ];
43067 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
43068 : {
43069 0 : tempListupir_children[tempListCountupir_children] = *i_upir_children;
43070 0 : tempListCountupir_children++;
43071 0 : (*i_upir_children) = (SgStatementPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_upir_children ) );
43072 : }
43073 0 : storageOf_upir_children.storeDataInEasyStorageClass(source->p_upir_children);
43074 0 : tempListCountupir_children = 0;
43075 0 : i_upir_children = source->p_upir_children.begin() ;
43076 0 : for ( ; i_upir_children != source->p_upir_children.end(); ++i_upir_children )
43077 : {
43078 0 : *i_upir_children = tempListupir_children[tempListCountupir_children] ;
43079 0 : tempListCountupir_children++;
43080 : }
43081 0 : delete [] tempListupir_children;
43082 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43083 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43084 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43085 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43086 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43087 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43088 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43089 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43090 0 : storageOf_isModified = source->p_isModified ;
43091 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43092 0 : }
43093 :
43094 : void
43095 0 : SgOmpDeclareMapperStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
43096 : {
43097 0 : EasyStorage < SgStatementPtrList > :: arrangeMemoryPoolInOneBlock() ;
43098 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43099 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43100 0 : }
43101 :
43102 : void
43103 2 : SgOmpDeclareMapperStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43104 : {
43105 2 : EasyStorage < SgStatementPtrList > :: deleteMemoryPool() ;
43106 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43107 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43108 2 : }
43109 :
43110 : void
43111 0 : SgOmpDeclareMapperStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43112 : {
43113 0 : EasyStorage < SgStatementPtrList > :: writeToFile(out) ;
43114 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43115 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43116 0 : }
43117 :
43118 :
43119 : void
43120 0 : SgOmpDeclareMapperStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
43121 : {
43122 0 : EasyStorage < SgStatementPtrList > :: readFromFile(in) ;
43123 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43124 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43125 0 : }
43126 :
43127 :
43128 :
43129 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43130 :
43131 :
43132 : // ********************************************************
43133 :
43134 : /* #line 43135 "../../../src/frontend/SageIII//StorageClasses.C" */
43135 :
43136 :
43137 :
43138 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43139 :
43140 : // ****************************************************************
43141 : // member functions definition specific to each node in the grammar
43142 : // these are the SgSequenceStatementStorageClass parts !!!!
43143 : // ROSETTA generated code. Do not change by hand.
43144 : // ****************************************************************
43145 :
43146 :
43147 : /* #line 43148 "../../../src/frontend/SageIII//StorageClasses.C" */
43148 :
43149 :
43150 : void
43151 0 : SgSequenceStatementStorageClass::pickOutIRNodeData ( SgSequenceStatement* pointer )
43152 : {
43153 0 : SgSequenceStatement* source = (SgSequenceStatement*) (pointer);
43154 : #if FILE_IO_EXTRA_CHECK
43155 0 : assert ( source != NULL ) ;
43156 0 : assert ( source->p_freepointer != NULL) ;
43157 : #endif
43158 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43159 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43160 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43161 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43162 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43163 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43164 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43165 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43166 0 : storageOf_isModified = source->p_isModified ;
43167 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43168 0 : }
43169 :
43170 : void
43171 0 : SgSequenceStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
43172 : {
43173 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43174 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43175 0 : }
43176 :
43177 : void
43178 2 : SgSequenceStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43179 : {
43180 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43181 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43182 2 : }
43183 :
43184 : void
43185 0 : SgSequenceStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43186 : {
43187 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43188 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43189 0 : }
43190 :
43191 :
43192 : void
43193 0 : SgSequenceStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
43194 : {
43195 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43196 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43197 0 : }
43198 :
43199 :
43200 :
43201 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43202 :
43203 :
43204 : // ********************************************************
43205 :
43206 : /* #line 43207 "../../../src/frontend/SageIII//StorageClasses.C" */
43207 :
43208 :
43209 :
43210 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43211 :
43212 : // ****************************************************************
43213 : // member functions definition specific to each node in the grammar
43214 : // these are the SgWithStatementStorageClass parts !!!!
43215 : // ROSETTA generated code. Do not change by hand.
43216 : // ****************************************************************
43217 :
43218 :
43219 : /* #line 43220 "../../../src/frontend/SageIII//StorageClasses.C" */
43220 :
43221 :
43222 : void
43223 0 : SgWithStatementStorageClass::pickOutIRNodeData ( SgWithStatement* pointer )
43224 : {
43225 0 : SgWithStatement* source = (SgWithStatement*) (pointer);
43226 : #if FILE_IO_EXTRA_CHECK
43227 0 : assert ( source != NULL ) ;
43228 0 : assert ( source->p_freepointer != NULL) ;
43229 : #endif
43230 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
43231 0 : storageOf_body = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_body );
43232 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43233 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43234 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43235 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43236 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43237 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43238 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43239 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43240 0 : storageOf_isModified = source->p_isModified ;
43241 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43242 0 : }
43243 :
43244 : void
43245 0 : SgWithStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
43246 : {
43247 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43248 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43249 0 : }
43250 :
43251 : void
43252 2 : SgWithStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43253 : {
43254 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43255 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43256 2 : }
43257 :
43258 : void
43259 0 : SgWithStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43260 : {
43261 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43262 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43263 0 : }
43264 :
43265 :
43266 : void
43267 0 : SgWithStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
43268 : {
43269 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43270 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43271 0 : }
43272 :
43273 :
43274 :
43275 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43276 :
43277 :
43278 : // ********************************************************
43279 :
43280 : /* #line 43281 "../../../src/frontend/SageIII//StorageClasses.C" */
43281 :
43282 :
43283 :
43284 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43285 :
43286 : // ****************************************************************
43287 : // member functions definition specific to each node in the grammar
43288 : // these are the SgPassStatementStorageClass parts !!!!
43289 : // ROSETTA generated code. Do not change by hand.
43290 : // ****************************************************************
43291 :
43292 :
43293 : /* #line 43294 "../../../src/frontend/SageIII//StorageClasses.C" */
43294 :
43295 :
43296 : void
43297 0 : SgPassStatementStorageClass::pickOutIRNodeData ( SgPassStatement* pointer )
43298 : {
43299 0 : SgPassStatement* source = (SgPassStatement*) (pointer);
43300 : #if FILE_IO_EXTRA_CHECK
43301 0 : assert ( source != NULL ) ;
43302 0 : assert ( source->p_freepointer != NULL) ;
43303 : #endif
43304 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43305 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43306 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43307 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43308 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43309 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43310 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43311 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43312 0 : storageOf_isModified = source->p_isModified ;
43313 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43314 0 : }
43315 :
43316 : void
43317 0 : SgPassStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
43318 : {
43319 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43320 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43321 0 : }
43322 :
43323 : void
43324 2 : SgPassStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43325 : {
43326 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43327 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43328 2 : }
43329 :
43330 : void
43331 0 : SgPassStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43332 : {
43333 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43334 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43335 0 : }
43336 :
43337 :
43338 : void
43339 0 : SgPassStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
43340 : {
43341 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43342 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43343 0 : }
43344 :
43345 :
43346 :
43347 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43348 :
43349 :
43350 : // ********************************************************
43351 :
43352 : /* #line 43353 "../../../src/frontend/SageIII//StorageClasses.C" */
43353 :
43354 :
43355 :
43356 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43357 :
43358 : // ****************************************************************
43359 : // member functions definition specific to each node in the grammar
43360 : // these are the SgAssertStmtStorageClass parts !!!!
43361 : // ROSETTA generated code. Do not change by hand.
43362 : // ****************************************************************
43363 :
43364 :
43365 : /* #line 43366 "../../../src/frontend/SageIII//StorageClasses.C" */
43366 :
43367 :
43368 : void
43369 0 : SgAssertStmtStorageClass::pickOutIRNodeData ( SgAssertStmt* pointer )
43370 : {
43371 0 : SgAssertStmt* source = (SgAssertStmt*) (pointer);
43372 : #if FILE_IO_EXTRA_CHECK
43373 0 : assert ( source != NULL ) ;
43374 0 : assert ( source->p_freepointer != NULL) ;
43375 : #endif
43376 0 : storageOf_test = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_test );
43377 0 : storageOf_exception_argument = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_exception_argument );
43378 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43379 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43380 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43381 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43382 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43383 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43384 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43385 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43386 0 : storageOf_isModified = source->p_isModified ;
43387 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43388 0 : }
43389 :
43390 : void
43391 0 : SgAssertStmtStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
43392 : {
43393 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43394 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43395 0 : }
43396 :
43397 : void
43398 2 : SgAssertStmtStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43399 : {
43400 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43401 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43402 2 : }
43403 :
43404 : void
43405 0 : SgAssertStmtStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43406 : {
43407 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43408 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43409 0 : }
43410 :
43411 :
43412 : void
43413 0 : SgAssertStmtStorageClass::readEasyStorageDataFromFile (std::istream& in)
43414 : {
43415 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43416 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43417 0 : }
43418 :
43419 :
43420 :
43421 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43422 :
43423 :
43424 : // ********************************************************
43425 :
43426 : /* #line 43427 "../../../src/frontend/SageIII//StorageClasses.C" */
43427 :
43428 :
43429 :
43430 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43431 :
43432 : // ****************************************************************
43433 : // member functions definition specific to each node in the grammar
43434 : // these are the SgExecStatementStorageClass parts !!!!
43435 : // ROSETTA generated code. Do not change by hand.
43436 : // ****************************************************************
43437 :
43438 :
43439 : /* #line 43440 "../../../src/frontend/SageIII//StorageClasses.C" */
43440 :
43441 :
43442 : void
43443 0 : SgExecStatementStorageClass::pickOutIRNodeData ( SgExecStatement* pointer )
43444 : {
43445 0 : SgExecStatement* source = (SgExecStatement*) (pointer);
43446 : #if FILE_IO_EXTRA_CHECK
43447 0 : assert ( source != NULL ) ;
43448 0 : assert ( source->p_freepointer != NULL) ;
43449 : #endif
43450 0 : storageOf_executable = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_executable );
43451 0 : storageOf_globals = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_globals );
43452 0 : storageOf_locals = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_locals );
43453 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43454 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43455 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43456 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43457 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43458 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43459 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43460 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43461 0 : storageOf_isModified = source->p_isModified ;
43462 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43463 0 : }
43464 :
43465 : void
43466 0 : SgExecStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
43467 : {
43468 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43469 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43470 0 : }
43471 :
43472 : void
43473 2 : SgExecStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43474 : {
43475 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43476 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43477 2 : }
43478 :
43479 : void
43480 0 : SgExecStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43481 : {
43482 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43483 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43484 0 : }
43485 :
43486 :
43487 : void
43488 0 : SgExecStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
43489 : {
43490 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43491 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43492 0 : }
43493 :
43494 :
43495 :
43496 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43497 :
43498 :
43499 : // ********************************************************
43500 :
43501 : /* #line 43502 "../../../src/frontend/SageIII//StorageClasses.C" */
43502 :
43503 :
43504 :
43505 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43506 :
43507 : // ****************************************************************
43508 : // member functions definition specific to each node in the grammar
43509 : // these are the SgImageControlStatementStorageClass parts !!!!
43510 : // ROSETTA generated code. Do not change by hand.
43511 : // ****************************************************************
43512 :
43513 :
43514 : /* #line 43515 "../../../src/frontend/SageIII//StorageClasses.C" */
43515 :
43516 :
43517 : void
43518 0 : SgImageControlStatementStorageClass::pickOutIRNodeData ( SgImageControlStatement* pointer )
43519 : {
43520 0 : SgImageControlStatement* source = (SgImageControlStatement*) (pointer);
43521 : #if FILE_IO_EXTRA_CHECK
43522 0 : assert ( source != NULL ) ;
43523 0 : assert ( source->p_freepointer != NULL) ;
43524 : #endif
43525 0 : storageOf_image_control_statement = source->p_image_control_statement ;
43526 0 : storageOf_stat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stat );
43527 0 : storageOf_err_msg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err_msg );
43528 0 : storageOf_acquired_lock = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_acquired_lock );
43529 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43530 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43531 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43532 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43533 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43534 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43535 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43536 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43537 0 : storageOf_isModified = source->p_isModified ;
43538 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43539 0 : }
43540 :
43541 : void
43542 0 : SgImageControlStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
43543 : {
43544 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43545 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43546 0 : }
43547 :
43548 : void
43549 2 : SgImageControlStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43550 : {
43551 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43552 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43553 2 : }
43554 :
43555 : void
43556 0 : SgImageControlStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43557 : {
43558 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43559 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43560 0 : }
43561 :
43562 :
43563 : void
43564 0 : SgImageControlStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
43565 : {
43566 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43567 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43568 0 : }
43569 :
43570 :
43571 :
43572 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43573 :
43574 :
43575 : // ********************************************************
43576 :
43577 : /* #line 43578 "../../../src/frontend/SageIII//StorageClasses.C" */
43578 :
43579 :
43580 :
43581 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43582 :
43583 : // ****************************************************************
43584 : // member functions definition specific to each node in the grammar
43585 : // these are the SgSyncAllStatementStorageClass parts !!!!
43586 : // ROSETTA generated code. Do not change by hand.
43587 : // ****************************************************************
43588 :
43589 :
43590 : /* #line 43591 "../../../src/frontend/SageIII//StorageClasses.C" */
43591 :
43592 :
43593 : void
43594 0 : SgSyncAllStatementStorageClass::pickOutIRNodeData ( SgSyncAllStatement* pointer )
43595 : {
43596 0 : SgSyncAllStatement* source = (SgSyncAllStatement*) (pointer);
43597 : #if FILE_IO_EXTRA_CHECK
43598 0 : assert ( source != NULL ) ;
43599 0 : assert ( source->p_freepointer != NULL) ;
43600 : #endif
43601 0 : storageOf_image_control_statement = source->p_image_control_statement ;
43602 0 : storageOf_stat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stat );
43603 0 : storageOf_err_msg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err_msg );
43604 0 : storageOf_acquired_lock = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_acquired_lock );
43605 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43606 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43607 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43608 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43609 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43610 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43611 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43612 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43613 0 : storageOf_isModified = source->p_isModified ;
43614 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43615 0 : }
43616 :
43617 : void
43618 0 : SgSyncAllStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
43619 : {
43620 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43621 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43622 0 : }
43623 :
43624 : void
43625 2 : SgSyncAllStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43626 : {
43627 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43628 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43629 2 : }
43630 :
43631 : void
43632 0 : SgSyncAllStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43633 : {
43634 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43635 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43636 0 : }
43637 :
43638 :
43639 : void
43640 0 : SgSyncAllStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
43641 : {
43642 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43643 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43644 0 : }
43645 :
43646 :
43647 :
43648 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43649 :
43650 :
43651 : // ********************************************************
43652 :
43653 : /* #line 43654 "../../../src/frontend/SageIII//StorageClasses.C" */
43654 :
43655 :
43656 :
43657 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43658 :
43659 : // ****************************************************************
43660 : // member functions definition specific to each node in the grammar
43661 : // these are the SgSyncImagesStatementStorageClass parts !!!!
43662 : // ROSETTA generated code. Do not change by hand.
43663 : // ****************************************************************
43664 :
43665 :
43666 : /* #line 43667 "../../../src/frontend/SageIII//StorageClasses.C" */
43667 :
43668 :
43669 : void
43670 0 : SgSyncImagesStatementStorageClass::pickOutIRNodeData ( SgSyncImagesStatement* pointer )
43671 : {
43672 0 : SgSyncImagesStatement* source = (SgSyncImagesStatement*) (pointer);
43673 : #if FILE_IO_EXTRA_CHECK
43674 0 : assert ( source != NULL ) ;
43675 0 : assert ( source->p_freepointer != NULL) ;
43676 : #endif
43677 0 : storageOf_image_set = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_image_set );
43678 0 : storageOf_image_control_statement = source->p_image_control_statement ;
43679 0 : storageOf_stat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stat );
43680 0 : storageOf_err_msg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err_msg );
43681 0 : storageOf_acquired_lock = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_acquired_lock );
43682 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43683 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43684 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43685 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43686 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43687 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43688 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43689 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43690 0 : storageOf_isModified = source->p_isModified ;
43691 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43692 0 : }
43693 :
43694 : void
43695 0 : SgSyncImagesStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
43696 : {
43697 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43698 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43699 0 : }
43700 :
43701 : void
43702 2 : SgSyncImagesStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43703 : {
43704 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43705 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43706 2 : }
43707 :
43708 : void
43709 0 : SgSyncImagesStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43710 : {
43711 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43712 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43713 0 : }
43714 :
43715 :
43716 : void
43717 0 : SgSyncImagesStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
43718 : {
43719 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43720 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43721 0 : }
43722 :
43723 :
43724 :
43725 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43726 :
43727 :
43728 : // ********************************************************
43729 :
43730 : /* #line 43731 "../../../src/frontend/SageIII//StorageClasses.C" */
43731 :
43732 :
43733 :
43734 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43735 :
43736 : // ****************************************************************
43737 : // member functions definition specific to each node in the grammar
43738 : // these are the SgSyncMemoryStatementStorageClass parts !!!!
43739 : // ROSETTA generated code. Do not change by hand.
43740 : // ****************************************************************
43741 :
43742 :
43743 : /* #line 43744 "../../../src/frontend/SageIII//StorageClasses.C" */
43744 :
43745 :
43746 : void
43747 0 : SgSyncMemoryStatementStorageClass::pickOutIRNodeData ( SgSyncMemoryStatement* pointer )
43748 : {
43749 0 : SgSyncMemoryStatement* source = (SgSyncMemoryStatement*) (pointer);
43750 : #if FILE_IO_EXTRA_CHECK
43751 0 : assert ( source != NULL ) ;
43752 0 : assert ( source->p_freepointer != NULL) ;
43753 : #endif
43754 0 : storageOf_image_control_statement = source->p_image_control_statement ;
43755 0 : storageOf_stat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stat );
43756 0 : storageOf_err_msg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err_msg );
43757 0 : storageOf_acquired_lock = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_acquired_lock );
43758 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43759 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43760 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43761 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43762 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43763 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43764 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43765 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43766 0 : storageOf_isModified = source->p_isModified ;
43767 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43768 0 : }
43769 :
43770 : void
43771 0 : SgSyncMemoryStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
43772 : {
43773 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43774 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43775 0 : }
43776 :
43777 : void
43778 2 : SgSyncMemoryStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43779 : {
43780 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43781 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43782 2 : }
43783 :
43784 : void
43785 0 : SgSyncMemoryStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43786 : {
43787 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43788 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43789 0 : }
43790 :
43791 :
43792 : void
43793 0 : SgSyncMemoryStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
43794 : {
43795 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43796 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43797 0 : }
43798 :
43799 :
43800 :
43801 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43802 :
43803 :
43804 : // ********************************************************
43805 :
43806 : /* #line 43807 "../../../src/frontend/SageIII//StorageClasses.C" */
43807 :
43808 :
43809 :
43810 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43811 :
43812 : // ****************************************************************
43813 : // member functions definition specific to each node in the grammar
43814 : // these are the SgSyncTeamStatementStorageClass parts !!!!
43815 : // ROSETTA generated code. Do not change by hand.
43816 : // ****************************************************************
43817 :
43818 :
43819 : /* #line 43820 "../../../src/frontend/SageIII//StorageClasses.C" */
43820 :
43821 :
43822 : void
43823 0 : SgSyncTeamStatementStorageClass::pickOutIRNodeData ( SgSyncTeamStatement* pointer )
43824 : {
43825 0 : SgSyncTeamStatement* source = (SgSyncTeamStatement*) (pointer);
43826 : #if FILE_IO_EXTRA_CHECK
43827 0 : assert ( source != NULL ) ;
43828 0 : assert ( source->p_freepointer != NULL) ;
43829 : #endif
43830 0 : storageOf_team_value = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_team_value );
43831 0 : storageOf_image_control_statement = source->p_image_control_statement ;
43832 0 : storageOf_stat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stat );
43833 0 : storageOf_err_msg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err_msg );
43834 0 : storageOf_acquired_lock = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_acquired_lock );
43835 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43836 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43837 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43838 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43839 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43840 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43841 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43842 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43843 0 : storageOf_isModified = source->p_isModified ;
43844 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43845 0 : }
43846 :
43847 : void
43848 0 : SgSyncTeamStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
43849 : {
43850 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43851 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43852 0 : }
43853 :
43854 : void
43855 2 : SgSyncTeamStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43856 : {
43857 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43858 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43859 2 : }
43860 :
43861 : void
43862 0 : SgSyncTeamStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43863 : {
43864 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43865 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43866 0 : }
43867 :
43868 :
43869 : void
43870 0 : SgSyncTeamStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
43871 : {
43872 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43873 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43874 0 : }
43875 :
43876 :
43877 :
43878 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43879 :
43880 :
43881 : // ********************************************************
43882 :
43883 : /* #line 43884 "../../../src/frontend/SageIII//StorageClasses.C" */
43884 :
43885 :
43886 :
43887 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43888 :
43889 : // ****************************************************************
43890 : // member functions definition specific to each node in the grammar
43891 : // these are the SgLockStatementStorageClass parts !!!!
43892 : // ROSETTA generated code. Do not change by hand.
43893 : // ****************************************************************
43894 :
43895 :
43896 : /* #line 43897 "../../../src/frontend/SageIII//StorageClasses.C" */
43897 :
43898 :
43899 : void
43900 0 : SgLockStatementStorageClass::pickOutIRNodeData ( SgLockStatement* pointer )
43901 : {
43902 0 : SgLockStatement* source = (SgLockStatement*) (pointer);
43903 : #if FILE_IO_EXTRA_CHECK
43904 0 : assert ( source != NULL ) ;
43905 0 : assert ( source->p_freepointer != NULL) ;
43906 : #endif
43907 0 : storageOf_lock_variable = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lock_variable );
43908 0 : storageOf_image_control_statement = source->p_image_control_statement ;
43909 0 : storageOf_stat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stat );
43910 0 : storageOf_err_msg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err_msg );
43911 0 : storageOf_acquired_lock = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_acquired_lock );
43912 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43913 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43914 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43915 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43916 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43917 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43918 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43919 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43920 0 : storageOf_isModified = source->p_isModified ;
43921 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43922 0 : }
43923 :
43924 : void
43925 0 : SgLockStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
43926 : {
43927 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
43928 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
43929 0 : }
43930 :
43931 : void
43932 2 : SgLockStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
43933 : {
43934 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
43935 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
43936 2 : }
43937 :
43938 : void
43939 0 : SgLockStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
43940 : {
43941 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
43942 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
43943 0 : }
43944 :
43945 :
43946 : void
43947 0 : SgLockStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
43948 : {
43949 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
43950 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
43951 0 : }
43952 :
43953 :
43954 :
43955 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43956 :
43957 :
43958 : // ********************************************************
43959 :
43960 : /* #line 43961 "../../../src/frontend/SageIII//StorageClasses.C" */
43961 :
43962 :
43963 :
43964 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
43965 :
43966 : // ****************************************************************
43967 : // member functions definition specific to each node in the grammar
43968 : // these are the SgUnlockStatementStorageClass parts !!!!
43969 : // ROSETTA generated code. Do not change by hand.
43970 : // ****************************************************************
43971 :
43972 :
43973 : /* #line 43974 "../../../src/frontend/SageIII//StorageClasses.C" */
43974 :
43975 :
43976 : void
43977 0 : SgUnlockStatementStorageClass::pickOutIRNodeData ( SgUnlockStatement* pointer )
43978 : {
43979 0 : SgUnlockStatement* source = (SgUnlockStatement*) (pointer);
43980 : #if FILE_IO_EXTRA_CHECK
43981 0 : assert ( source != NULL ) ;
43982 0 : assert ( source->p_freepointer != NULL) ;
43983 : #endif
43984 0 : storageOf_lock_variable = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lock_variable );
43985 0 : storageOf_image_control_statement = source->p_image_control_statement ;
43986 0 : storageOf_stat = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stat );
43987 0 : storageOf_err_msg = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_err_msg );
43988 0 : storageOf_acquired_lock = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_acquired_lock );
43989 0 : storageOf_numeric_label = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_numeric_label );
43990 0 : storageOf_source_sequence_value = source->p_source_sequence_value ;
43991 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
43992 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
43993 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
43994 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
43995 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
43996 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
43997 0 : storageOf_isModified = source->p_isModified ;
43998 0 : storageOf_containsTransformation = source->p_containsTransformation ;
43999 0 : }
44000 :
44001 : void
44002 0 : SgUnlockStatementStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44003 : {
44004 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44005 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44006 0 : }
44007 :
44008 : void
44009 2 : SgUnlockStatementStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44010 : {
44011 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44012 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44013 2 : }
44014 :
44015 : void
44016 0 : SgUnlockStatementStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44017 : {
44018 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44019 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44020 0 : }
44021 :
44022 :
44023 : void
44024 0 : SgUnlockStatementStorageClass::readEasyStorageDataFromFile (std::istream& in)
44025 : {
44026 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44027 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44028 0 : }
44029 :
44030 :
44031 :
44032 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44033 :
44034 :
44035 : // ********************************************************
44036 :
44037 : /* #line 44038 "../../../src/frontend/SageIII//StorageClasses.C" */
44038 :
44039 :
44040 :
44041 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44042 :
44043 : // ****************************************************************
44044 : // member functions definition specific to each node in the grammar
44045 : // these are the SgExpressionStorageClass parts !!!!
44046 : // ROSETTA generated code. Do not change by hand.
44047 : // ****************************************************************
44048 :
44049 :
44050 : /* #line 44051 "../../../src/frontend/SageIII//StorageClasses.C" */
44051 :
44052 :
44053 : void
44054 0 : SgExpressionStorageClass::pickOutIRNodeData ( SgExpression* pointer )
44055 : {
44056 0 : SgExpression* source = (SgExpression*) (pointer);
44057 : #if FILE_IO_EXTRA_CHECK
44058 0 : assert ( source != NULL ) ;
44059 0 : assert ( source->p_freepointer != NULL) ;
44060 : #endif
44061 0 : storageOf_need_paren = source->p_need_paren ;
44062 0 : storageOf_lvalue = source->p_lvalue ;
44063 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44064 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
44065 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
44066 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
44067 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
44068 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
44069 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
44070 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
44071 0 : storageOf_isModified = source->p_isModified ;
44072 0 : storageOf_containsTransformation = source->p_containsTransformation ;
44073 0 : }
44074 :
44075 : void
44076 0 : SgExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44077 : {
44078 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44079 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44080 0 : }
44081 :
44082 : void
44083 2 : SgExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44084 : {
44085 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44086 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44087 2 : }
44088 :
44089 : void
44090 0 : SgExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44091 : {
44092 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44093 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44094 0 : }
44095 :
44096 :
44097 : void
44098 0 : SgExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
44099 : {
44100 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44101 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44102 0 : }
44103 :
44104 :
44105 :
44106 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44107 :
44108 :
44109 : // ********************************************************
44110 :
44111 : /* #line 44112 "../../../src/frontend/SageIII//StorageClasses.C" */
44112 :
44113 :
44114 :
44115 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44116 :
44117 : // ****************************************************************
44118 : // member functions definition specific to each node in the grammar
44119 : // these are the SgUnaryOpStorageClass parts !!!!
44120 : // ROSETTA generated code. Do not change by hand.
44121 : // ****************************************************************
44122 :
44123 :
44124 : /* #line 44125 "../../../src/frontend/SageIII//StorageClasses.C" */
44125 :
44126 :
44127 : void
44128 0 : SgUnaryOpStorageClass::pickOutIRNodeData ( SgUnaryOp* pointer )
44129 : {
44130 0 : SgUnaryOp* source = (SgUnaryOp*) (pointer);
44131 : #if FILE_IO_EXTRA_CHECK
44132 0 : assert ( source != NULL ) ;
44133 0 : assert ( source->p_freepointer != NULL) ;
44134 : #endif
44135 0 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
44136 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
44137 0 : storageOf_mode = source->p_mode ;
44138 0 : storageOf_need_paren = source->p_need_paren ;
44139 0 : storageOf_lvalue = source->p_lvalue ;
44140 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44141 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
44142 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
44143 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
44144 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
44145 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
44146 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
44147 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
44148 0 : storageOf_isModified = source->p_isModified ;
44149 0 : storageOf_containsTransformation = source->p_containsTransformation ;
44150 0 : }
44151 :
44152 : void
44153 0 : SgUnaryOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44154 : {
44155 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44156 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44157 0 : }
44158 :
44159 : void
44160 2 : SgUnaryOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44161 : {
44162 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44163 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44164 2 : }
44165 :
44166 : void
44167 0 : SgUnaryOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44168 : {
44169 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44170 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44171 0 : }
44172 :
44173 :
44174 : void
44175 0 : SgUnaryOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
44176 : {
44177 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44178 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44179 0 : }
44180 :
44181 :
44182 :
44183 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44184 :
44185 :
44186 : // ********************************************************
44187 :
44188 : /* #line 44189 "../../../src/frontend/SageIII//StorageClasses.C" */
44189 :
44190 :
44191 :
44192 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44193 :
44194 : // ****************************************************************
44195 : // member functions definition specific to each node in the grammar
44196 : // these are the SgExpressionRootStorageClass parts !!!!
44197 : // ROSETTA generated code. Do not change by hand.
44198 : // ****************************************************************
44199 :
44200 :
44201 : /* #line 44202 "../../../src/frontend/SageIII//StorageClasses.C" */
44202 :
44203 :
44204 : void
44205 0 : SgExpressionRootStorageClass::pickOutIRNodeData ( SgExpressionRoot* pointer )
44206 : {
44207 0 : SgExpressionRoot* source = (SgExpressionRoot*) (pointer);
44208 : #if FILE_IO_EXTRA_CHECK
44209 0 : assert ( source != NULL ) ;
44210 0 : assert ( source->p_freepointer != NULL) ;
44211 : #endif
44212 0 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
44213 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
44214 0 : storageOf_mode = source->p_mode ;
44215 0 : storageOf_need_paren = source->p_need_paren ;
44216 0 : storageOf_lvalue = source->p_lvalue ;
44217 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44218 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
44219 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
44220 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
44221 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
44222 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
44223 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
44224 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
44225 0 : storageOf_isModified = source->p_isModified ;
44226 0 : storageOf_containsTransformation = source->p_containsTransformation ;
44227 0 : }
44228 :
44229 : void
44230 0 : SgExpressionRootStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44231 : {
44232 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44233 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44234 0 : }
44235 :
44236 : void
44237 2 : SgExpressionRootStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44238 : {
44239 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44240 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44241 2 : }
44242 :
44243 : void
44244 0 : SgExpressionRootStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44245 : {
44246 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44247 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44248 0 : }
44249 :
44250 :
44251 : void
44252 0 : SgExpressionRootStorageClass::readEasyStorageDataFromFile (std::istream& in)
44253 : {
44254 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44255 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44256 0 : }
44257 :
44258 :
44259 :
44260 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44261 :
44262 :
44263 : // ********************************************************
44264 :
44265 : /* #line 44266 "../../../src/frontend/SageIII//StorageClasses.C" */
44266 :
44267 :
44268 :
44269 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44270 :
44271 : // ****************************************************************
44272 : // member functions definition specific to each node in the grammar
44273 : // these are the SgMinusOpStorageClass parts !!!!
44274 : // ROSETTA generated code. Do not change by hand.
44275 : // ****************************************************************
44276 :
44277 :
44278 : /* #line 44279 "../../../src/frontend/SageIII//StorageClasses.C" */
44279 :
44280 :
44281 : void
44282 57 : SgMinusOpStorageClass::pickOutIRNodeData ( SgMinusOp* pointer )
44283 : {
44284 57 : SgMinusOp* source = (SgMinusOp*) (pointer);
44285 : #if FILE_IO_EXTRA_CHECK
44286 57 : assert ( source != NULL ) ;
44287 57 : assert ( source->p_freepointer != NULL) ;
44288 : #endif
44289 57 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
44290 57 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
44291 57 : storageOf_mode = source->p_mode ;
44292 57 : storageOf_need_paren = source->p_need_paren ;
44293 57 : storageOf_lvalue = source->p_lvalue ;
44294 57 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44295 57 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
44296 57 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
44297 57 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
44298 57 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
44299 57 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
44300 57 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
44301 57 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
44302 57 : storageOf_isModified = source->p_isModified ;
44303 57 : storageOf_containsTransformation = source->p_containsTransformation ;
44304 57 : }
44305 :
44306 : void
44307 0 : SgMinusOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44308 : {
44309 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44310 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44311 0 : }
44312 :
44313 : void
44314 2 : SgMinusOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44315 : {
44316 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44317 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44318 2 : }
44319 :
44320 : void
44321 1 : SgMinusOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44322 : {
44323 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44324 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44325 1 : }
44326 :
44327 :
44328 : void
44329 1 : SgMinusOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
44330 : {
44331 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44332 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44333 1 : }
44334 :
44335 :
44336 :
44337 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44338 :
44339 :
44340 : // ********************************************************
44341 :
44342 : /* #line 44343 "../../../src/frontend/SageIII//StorageClasses.C" */
44343 :
44344 :
44345 :
44346 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44347 :
44348 : // ****************************************************************
44349 : // member functions definition specific to each node in the grammar
44350 : // these are the SgUnaryAddOpStorageClass parts !!!!
44351 : // ROSETTA generated code. Do not change by hand.
44352 : // ****************************************************************
44353 :
44354 :
44355 : /* #line 44356 "../../../src/frontend/SageIII//StorageClasses.C" */
44356 :
44357 :
44358 : void
44359 0 : SgUnaryAddOpStorageClass::pickOutIRNodeData ( SgUnaryAddOp* pointer )
44360 : {
44361 0 : SgUnaryAddOp* source = (SgUnaryAddOp*) (pointer);
44362 : #if FILE_IO_EXTRA_CHECK
44363 0 : assert ( source != NULL ) ;
44364 0 : assert ( source->p_freepointer != NULL) ;
44365 : #endif
44366 0 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
44367 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
44368 0 : storageOf_mode = source->p_mode ;
44369 0 : storageOf_need_paren = source->p_need_paren ;
44370 0 : storageOf_lvalue = source->p_lvalue ;
44371 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44372 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
44373 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
44374 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
44375 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
44376 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
44377 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
44378 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
44379 0 : storageOf_isModified = source->p_isModified ;
44380 0 : storageOf_containsTransformation = source->p_containsTransformation ;
44381 0 : }
44382 :
44383 : void
44384 0 : SgUnaryAddOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44385 : {
44386 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44387 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44388 0 : }
44389 :
44390 : void
44391 2 : SgUnaryAddOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44392 : {
44393 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44394 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44395 2 : }
44396 :
44397 : void
44398 0 : SgUnaryAddOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44399 : {
44400 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44401 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44402 0 : }
44403 :
44404 :
44405 : void
44406 0 : SgUnaryAddOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
44407 : {
44408 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44409 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44410 0 : }
44411 :
44412 :
44413 :
44414 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44415 :
44416 :
44417 : // ********************************************************
44418 :
44419 : /* #line 44420 "../../../src/frontend/SageIII//StorageClasses.C" */
44420 :
44421 :
44422 :
44423 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44424 :
44425 : // ****************************************************************
44426 : // member functions definition specific to each node in the grammar
44427 : // these are the SgNotOpStorageClass parts !!!!
44428 : // ROSETTA generated code. Do not change by hand.
44429 : // ****************************************************************
44430 :
44431 :
44432 : /* #line 44433 "../../../src/frontend/SageIII//StorageClasses.C" */
44433 :
44434 :
44435 : void
44436 220 : SgNotOpStorageClass::pickOutIRNodeData ( SgNotOp* pointer )
44437 : {
44438 220 : SgNotOp* source = (SgNotOp*) (pointer);
44439 : #if FILE_IO_EXTRA_CHECK
44440 220 : assert ( source != NULL ) ;
44441 220 : assert ( source->p_freepointer != NULL) ;
44442 : #endif
44443 220 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
44444 220 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
44445 220 : storageOf_mode = source->p_mode ;
44446 220 : storageOf_need_paren = source->p_need_paren ;
44447 220 : storageOf_lvalue = source->p_lvalue ;
44448 220 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44449 220 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
44450 220 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
44451 220 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
44452 220 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
44453 220 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
44454 220 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
44455 220 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
44456 220 : storageOf_isModified = source->p_isModified ;
44457 220 : storageOf_containsTransformation = source->p_containsTransformation ;
44458 220 : }
44459 :
44460 : void
44461 0 : SgNotOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44462 : {
44463 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44464 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44465 0 : }
44466 :
44467 : void
44468 2 : SgNotOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44469 : {
44470 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44471 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44472 2 : }
44473 :
44474 : void
44475 1 : SgNotOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44476 : {
44477 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44478 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44479 1 : }
44480 :
44481 :
44482 : void
44483 1 : SgNotOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
44484 : {
44485 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44486 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44487 1 : }
44488 :
44489 :
44490 :
44491 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44492 :
44493 :
44494 : // ********************************************************
44495 :
44496 : /* #line 44497 "../../../src/frontend/SageIII//StorageClasses.C" */
44497 :
44498 :
44499 :
44500 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44501 :
44502 : // ****************************************************************
44503 : // member functions definition specific to each node in the grammar
44504 : // these are the SgPointerDerefExpStorageClass parts !!!!
44505 : // ROSETTA generated code. Do not change by hand.
44506 : // ****************************************************************
44507 :
44508 :
44509 : /* #line 44510 "../../../src/frontend/SageIII//StorageClasses.C" */
44510 :
44511 :
44512 : void
44513 384 : SgPointerDerefExpStorageClass::pickOutIRNodeData ( SgPointerDerefExp* pointer )
44514 : {
44515 384 : SgPointerDerefExp* source = (SgPointerDerefExp*) (pointer);
44516 : #if FILE_IO_EXTRA_CHECK
44517 384 : assert ( source != NULL ) ;
44518 384 : assert ( source->p_freepointer != NULL) ;
44519 : #endif
44520 384 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
44521 384 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
44522 384 : storageOf_mode = source->p_mode ;
44523 384 : storageOf_need_paren = source->p_need_paren ;
44524 384 : storageOf_lvalue = source->p_lvalue ;
44525 384 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44526 384 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
44527 384 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
44528 384 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
44529 384 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
44530 384 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
44531 384 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
44532 384 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
44533 384 : storageOf_isModified = source->p_isModified ;
44534 384 : storageOf_containsTransformation = source->p_containsTransformation ;
44535 384 : }
44536 :
44537 : void
44538 0 : SgPointerDerefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44539 : {
44540 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44541 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44542 0 : }
44543 :
44544 : void
44545 2 : SgPointerDerefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44546 : {
44547 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44548 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44549 2 : }
44550 :
44551 : void
44552 1 : SgPointerDerefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44553 : {
44554 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44555 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44556 1 : }
44557 :
44558 :
44559 : void
44560 1 : SgPointerDerefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
44561 : {
44562 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44563 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44564 1 : }
44565 :
44566 :
44567 :
44568 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44569 :
44570 :
44571 : // ********************************************************
44572 :
44573 : /* #line 44574 "../../../src/frontend/SageIII//StorageClasses.C" */
44574 :
44575 :
44576 :
44577 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44578 :
44579 : // ****************************************************************
44580 : // member functions definition specific to each node in the grammar
44581 : // these are the SgAddressOfOpStorageClass parts !!!!
44582 : // ROSETTA generated code. Do not change by hand.
44583 : // ****************************************************************
44584 :
44585 :
44586 : /* #line 44587 "../../../src/frontend/SageIII//StorageClasses.C" */
44587 :
44588 :
44589 : void
44590 84 : SgAddressOfOpStorageClass::pickOutIRNodeData ( SgAddressOfOp* pointer )
44591 : {
44592 84 : SgAddressOfOp* source = (SgAddressOfOp*) (pointer);
44593 : #if FILE_IO_EXTRA_CHECK
44594 84 : assert ( source != NULL ) ;
44595 84 : assert ( source->p_freepointer != NULL) ;
44596 : #endif
44597 84 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
44598 84 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
44599 84 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
44600 84 : storageOf_mode = source->p_mode ;
44601 84 : storageOf_need_paren = source->p_need_paren ;
44602 84 : storageOf_lvalue = source->p_lvalue ;
44603 84 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44604 84 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
44605 84 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
44606 84 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
44607 84 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
44608 84 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
44609 84 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
44610 84 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
44611 84 : storageOf_isModified = source->p_isModified ;
44612 84 : storageOf_containsTransformation = source->p_containsTransformation ;
44613 84 : }
44614 :
44615 : void
44616 0 : SgAddressOfOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44617 : {
44618 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44619 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44620 0 : }
44621 :
44622 : void
44623 2 : SgAddressOfOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44624 : {
44625 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44626 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44627 2 : }
44628 :
44629 : void
44630 1 : SgAddressOfOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44631 : {
44632 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44633 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44634 1 : }
44635 :
44636 :
44637 : void
44638 1 : SgAddressOfOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
44639 : {
44640 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44641 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44642 1 : }
44643 :
44644 :
44645 :
44646 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44647 :
44648 :
44649 : // ********************************************************
44650 :
44651 : /* #line 44652 "../../../src/frontend/SageIII//StorageClasses.C" */
44652 :
44653 :
44654 :
44655 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44656 :
44657 : // ****************************************************************
44658 : // member functions definition specific to each node in the grammar
44659 : // these are the SgMinusMinusOpStorageClass parts !!!!
44660 : // ROSETTA generated code. Do not change by hand.
44661 : // ****************************************************************
44662 :
44663 :
44664 : /* #line 44665 "../../../src/frontend/SageIII//StorageClasses.C" */
44665 :
44666 :
44667 : void
44668 48 : SgMinusMinusOpStorageClass::pickOutIRNodeData ( SgMinusMinusOp* pointer )
44669 : {
44670 48 : SgMinusMinusOp* source = (SgMinusMinusOp*) (pointer);
44671 : #if FILE_IO_EXTRA_CHECK
44672 48 : assert ( source != NULL ) ;
44673 48 : assert ( source->p_freepointer != NULL) ;
44674 : #endif
44675 48 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
44676 48 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
44677 48 : storageOf_mode = source->p_mode ;
44678 48 : storageOf_need_paren = source->p_need_paren ;
44679 48 : storageOf_lvalue = source->p_lvalue ;
44680 48 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44681 48 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
44682 48 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
44683 48 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
44684 48 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
44685 48 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
44686 48 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
44687 48 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
44688 48 : storageOf_isModified = source->p_isModified ;
44689 48 : storageOf_containsTransformation = source->p_containsTransformation ;
44690 48 : }
44691 :
44692 : void
44693 0 : SgMinusMinusOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44694 : {
44695 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44696 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44697 0 : }
44698 :
44699 : void
44700 2 : SgMinusMinusOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44701 : {
44702 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44703 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44704 2 : }
44705 :
44706 : void
44707 1 : SgMinusMinusOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44708 : {
44709 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44710 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44711 1 : }
44712 :
44713 :
44714 : void
44715 1 : SgMinusMinusOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
44716 : {
44717 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44718 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44719 1 : }
44720 :
44721 :
44722 :
44723 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44724 :
44725 :
44726 : // ********************************************************
44727 :
44728 : /* #line 44729 "../../../src/frontend/SageIII//StorageClasses.C" */
44729 :
44730 :
44731 :
44732 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44733 :
44734 : // ****************************************************************
44735 : // member functions definition specific to each node in the grammar
44736 : // these are the SgPlusPlusOpStorageClass parts !!!!
44737 : // ROSETTA generated code. Do not change by hand.
44738 : // ****************************************************************
44739 :
44740 :
44741 : /* #line 44742 "../../../src/frontend/SageIII//StorageClasses.C" */
44742 :
44743 :
44744 : void
44745 131 : SgPlusPlusOpStorageClass::pickOutIRNodeData ( SgPlusPlusOp* pointer )
44746 : {
44747 131 : SgPlusPlusOp* source = (SgPlusPlusOp*) (pointer);
44748 : #if FILE_IO_EXTRA_CHECK
44749 131 : assert ( source != NULL ) ;
44750 131 : assert ( source->p_freepointer != NULL) ;
44751 : #endif
44752 131 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
44753 131 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
44754 131 : storageOf_mode = source->p_mode ;
44755 131 : storageOf_need_paren = source->p_need_paren ;
44756 131 : storageOf_lvalue = source->p_lvalue ;
44757 131 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44758 131 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
44759 131 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
44760 131 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
44761 131 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
44762 131 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
44763 131 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
44764 131 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
44765 131 : storageOf_isModified = source->p_isModified ;
44766 131 : storageOf_containsTransformation = source->p_containsTransformation ;
44767 131 : }
44768 :
44769 : void
44770 0 : SgPlusPlusOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44771 : {
44772 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44773 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44774 0 : }
44775 :
44776 : void
44777 2 : SgPlusPlusOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44778 : {
44779 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44780 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44781 2 : }
44782 :
44783 : void
44784 1 : SgPlusPlusOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44785 : {
44786 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44787 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44788 1 : }
44789 :
44790 :
44791 : void
44792 1 : SgPlusPlusOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
44793 : {
44794 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44795 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44796 1 : }
44797 :
44798 :
44799 :
44800 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44801 :
44802 :
44803 : // ********************************************************
44804 :
44805 : /* #line 44806 "../../../src/frontend/SageIII//StorageClasses.C" */
44806 :
44807 :
44808 :
44809 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44810 :
44811 : // ****************************************************************
44812 : // member functions definition specific to each node in the grammar
44813 : // these are the SgBitComplementOpStorageClass parts !!!!
44814 : // ROSETTA generated code. Do not change by hand.
44815 : // ****************************************************************
44816 :
44817 :
44818 : /* #line 44819 "../../../src/frontend/SageIII//StorageClasses.C" */
44819 :
44820 :
44821 : void
44822 11 : SgBitComplementOpStorageClass::pickOutIRNodeData ( SgBitComplementOp* pointer )
44823 : {
44824 11 : SgBitComplementOp* source = (SgBitComplementOp*) (pointer);
44825 : #if FILE_IO_EXTRA_CHECK
44826 11 : assert ( source != NULL ) ;
44827 11 : assert ( source->p_freepointer != NULL) ;
44828 : #endif
44829 11 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
44830 11 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
44831 11 : storageOf_mode = source->p_mode ;
44832 11 : storageOf_need_paren = source->p_need_paren ;
44833 11 : storageOf_lvalue = source->p_lvalue ;
44834 11 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44835 11 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
44836 11 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
44837 11 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
44838 11 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
44839 11 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
44840 11 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
44841 11 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
44842 11 : storageOf_isModified = source->p_isModified ;
44843 11 : storageOf_containsTransformation = source->p_containsTransformation ;
44844 11 : }
44845 :
44846 : void
44847 0 : SgBitComplementOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44848 : {
44849 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44850 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44851 0 : }
44852 :
44853 : void
44854 2 : SgBitComplementOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44855 : {
44856 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44857 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44858 2 : }
44859 :
44860 : void
44861 1 : SgBitComplementOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44862 : {
44863 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44864 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44865 1 : }
44866 :
44867 :
44868 : void
44869 1 : SgBitComplementOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
44870 : {
44871 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44872 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44873 1 : }
44874 :
44875 :
44876 :
44877 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44878 :
44879 :
44880 : // ********************************************************
44881 :
44882 : /* #line 44883 "../../../src/frontend/SageIII//StorageClasses.C" */
44883 :
44884 :
44885 :
44886 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44887 :
44888 : // ****************************************************************
44889 : // member functions definition specific to each node in the grammar
44890 : // these are the SgCastExpStorageClass parts !!!!
44891 : // ROSETTA generated code. Do not change by hand.
44892 : // ****************************************************************
44893 :
44894 :
44895 : /* #line 44896 "../../../src/frontend/SageIII//StorageClasses.C" */
44896 :
44897 :
44898 : void
44899 2261 : SgCastExpStorageClass::pickOutIRNodeData ( SgCastExp* pointer )
44900 : {
44901 2261 : SgCastExp* source = (SgCastExp*) (pointer);
44902 : #if FILE_IO_EXTRA_CHECK
44903 2261 : assert ( source != NULL ) ;
44904 2261 : assert ( source->p_freepointer != NULL) ;
44905 : #endif
44906 2261 : storageOf_cast_type = source->p_cast_type ;
44907 2261 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
44908 2261 : storageOf_name_qualification_length = source->p_name_qualification_length ;
44909 2261 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
44910 2261 : storageOf_global_qualification_required = source->p_global_qualification_required ;
44911 2261 : storageOf_castContainsBaseTypeDefiningDeclaration = source->p_castContainsBaseTypeDefiningDeclaration ;
44912 2261 : storageOf_name_qualification_for_pointer_to_member_class_length = source->p_name_qualification_for_pointer_to_member_class_length ;
44913 2261 : storageOf_type_elaboration_for_pointer_to_member_class_required = source->p_type_elaboration_for_pointer_to_member_class_required ;
44914 2261 : storageOf_global_qualification_for_pointer_to_member_class_required = source->p_global_qualification_for_pointer_to_member_class_required ;
44915 2261 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
44916 2261 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
44917 2261 : storageOf_mode = source->p_mode ;
44918 2261 : storageOf_need_paren = source->p_need_paren ;
44919 2261 : storageOf_lvalue = source->p_lvalue ;
44920 2261 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44921 2261 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
44922 2261 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
44923 2261 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
44924 2261 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
44925 2261 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
44926 2261 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
44927 2261 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
44928 2261 : storageOf_isModified = source->p_isModified ;
44929 2261 : storageOf_containsTransformation = source->p_containsTransformation ;
44930 2261 : }
44931 :
44932 : void
44933 0 : SgCastExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
44934 : {
44935 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
44936 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
44937 0 : }
44938 :
44939 : void
44940 2 : SgCastExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
44941 : {
44942 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
44943 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
44944 2 : }
44945 :
44946 : void
44947 2 : SgCastExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
44948 : {
44949 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
44950 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
44951 2 : }
44952 :
44953 :
44954 : void
44955 2 : SgCastExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
44956 : {
44957 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
44958 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
44959 2 : }
44960 :
44961 :
44962 :
44963 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44964 :
44965 :
44966 : // ********************************************************
44967 :
44968 : /* #line 44969 "../../../src/frontend/SageIII//StorageClasses.C" */
44969 :
44970 :
44971 :
44972 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
44973 :
44974 : // ****************************************************************
44975 : // member functions definition specific to each node in the grammar
44976 : // these are the SgThrowOpStorageClass parts !!!!
44977 : // ROSETTA generated code. Do not change by hand.
44978 : // ****************************************************************
44979 :
44980 :
44981 : /* #line 44982 "../../../src/frontend/SageIII//StorageClasses.C" */
44982 :
44983 :
44984 : void
44985 52 : SgThrowOpStorageClass::pickOutIRNodeData ( SgThrowOp* pointer )
44986 : {
44987 52 : SgThrowOp* source = (SgThrowOp*) (pointer);
44988 : #if FILE_IO_EXTRA_CHECK
44989 52 : assert ( source != NULL ) ;
44990 52 : assert ( source->p_freepointer != NULL) ;
44991 : #endif
44992 52 : storageOf_throwKind = source->p_throwKind ;
44993 52 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
44994 52 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
44995 52 : storageOf_mode = source->p_mode ;
44996 52 : storageOf_need_paren = source->p_need_paren ;
44997 52 : storageOf_lvalue = source->p_lvalue ;
44998 52 : storageOf_global_qualified_name = source->p_global_qualified_name ;
44999 52 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45000 52 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45001 52 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45002 52 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45003 52 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45004 52 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45005 52 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45006 52 : storageOf_isModified = source->p_isModified ;
45007 52 : storageOf_containsTransformation = source->p_containsTransformation ;
45008 52 : }
45009 :
45010 : void
45011 0 : SgThrowOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45012 : {
45013 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45014 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45015 0 : }
45016 :
45017 : void
45018 2 : SgThrowOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45019 : {
45020 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45021 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45022 2 : }
45023 :
45024 : void
45025 1 : SgThrowOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45026 : {
45027 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45028 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45029 1 : }
45030 :
45031 :
45032 : void
45033 1 : SgThrowOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45034 : {
45035 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45036 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45037 1 : }
45038 :
45039 :
45040 :
45041 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45042 :
45043 :
45044 : // ********************************************************
45045 :
45046 : /* #line 45047 "../../../src/frontend/SageIII//StorageClasses.C" */
45047 :
45048 :
45049 :
45050 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45051 :
45052 : // ****************************************************************
45053 : // member functions definition specific to each node in the grammar
45054 : // these are the SgRealPartOpStorageClass parts !!!!
45055 : // ROSETTA generated code. Do not change by hand.
45056 : // ****************************************************************
45057 :
45058 :
45059 : /* #line 45060 "../../../src/frontend/SageIII//StorageClasses.C" */
45060 :
45061 :
45062 : void
45063 0 : SgRealPartOpStorageClass::pickOutIRNodeData ( SgRealPartOp* pointer )
45064 : {
45065 0 : SgRealPartOp* source = (SgRealPartOp*) (pointer);
45066 : #if FILE_IO_EXTRA_CHECK
45067 0 : assert ( source != NULL ) ;
45068 0 : assert ( source->p_freepointer != NULL) ;
45069 : #endif
45070 0 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
45071 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
45072 0 : storageOf_mode = source->p_mode ;
45073 0 : storageOf_need_paren = source->p_need_paren ;
45074 0 : storageOf_lvalue = source->p_lvalue ;
45075 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
45076 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45077 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45078 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45079 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45080 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45081 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45082 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45083 0 : storageOf_isModified = source->p_isModified ;
45084 0 : storageOf_containsTransformation = source->p_containsTransformation ;
45085 0 : }
45086 :
45087 : void
45088 0 : SgRealPartOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45089 : {
45090 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45091 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45092 0 : }
45093 :
45094 : void
45095 2 : SgRealPartOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45096 : {
45097 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45098 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45099 2 : }
45100 :
45101 : void
45102 0 : SgRealPartOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45103 : {
45104 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45105 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45106 0 : }
45107 :
45108 :
45109 : void
45110 0 : SgRealPartOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45111 : {
45112 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45113 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45114 0 : }
45115 :
45116 :
45117 :
45118 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45119 :
45120 :
45121 : // ********************************************************
45122 :
45123 : /* #line 45124 "../../../src/frontend/SageIII//StorageClasses.C" */
45124 :
45125 :
45126 :
45127 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45128 :
45129 : // ****************************************************************
45130 : // member functions definition specific to each node in the grammar
45131 : // these are the SgImagPartOpStorageClass parts !!!!
45132 : // ROSETTA generated code. Do not change by hand.
45133 : // ****************************************************************
45134 :
45135 :
45136 : /* #line 45137 "../../../src/frontend/SageIII//StorageClasses.C" */
45137 :
45138 :
45139 : void
45140 0 : SgImagPartOpStorageClass::pickOutIRNodeData ( SgImagPartOp* pointer )
45141 : {
45142 0 : SgImagPartOp* source = (SgImagPartOp*) (pointer);
45143 : #if FILE_IO_EXTRA_CHECK
45144 0 : assert ( source != NULL ) ;
45145 0 : assert ( source->p_freepointer != NULL) ;
45146 : #endif
45147 0 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
45148 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
45149 0 : storageOf_mode = source->p_mode ;
45150 0 : storageOf_need_paren = source->p_need_paren ;
45151 0 : storageOf_lvalue = source->p_lvalue ;
45152 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
45153 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45154 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45155 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45156 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45157 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45158 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45159 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45160 0 : storageOf_isModified = source->p_isModified ;
45161 0 : storageOf_containsTransformation = source->p_containsTransformation ;
45162 0 : }
45163 :
45164 : void
45165 0 : SgImagPartOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45166 : {
45167 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45168 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45169 0 : }
45170 :
45171 : void
45172 2 : SgImagPartOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45173 : {
45174 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45175 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45176 2 : }
45177 :
45178 : void
45179 0 : SgImagPartOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45180 : {
45181 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45182 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45183 0 : }
45184 :
45185 :
45186 : void
45187 0 : SgImagPartOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45188 : {
45189 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45190 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45191 0 : }
45192 :
45193 :
45194 :
45195 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45196 :
45197 :
45198 : // ********************************************************
45199 :
45200 : /* #line 45201 "../../../src/frontend/SageIII//StorageClasses.C" */
45201 :
45202 :
45203 :
45204 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45205 :
45206 : // ****************************************************************
45207 : // member functions definition specific to each node in the grammar
45208 : // these are the SgConjugateOpStorageClass parts !!!!
45209 : // ROSETTA generated code. Do not change by hand.
45210 : // ****************************************************************
45211 :
45212 :
45213 : /* #line 45214 "../../../src/frontend/SageIII//StorageClasses.C" */
45214 :
45215 :
45216 : void
45217 0 : SgConjugateOpStorageClass::pickOutIRNodeData ( SgConjugateOp* pointer )
45218 : {
45219 0 : SgConjugateOp* source = (SgConjugateOp*) (pointer);
45220 : #if FILE_IO_EXTRA_CHECK
45221 0 : assert ( source != NULL ) ;
45222 0 : assert ( source->p_freepointer != NULL) ;
45223 : #endif
45224 0 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
45225 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
45226 0 : storageOf_mode = source->p_mode ;
45227 0 : storageOf_need_paren = source->p_need_paren ;
45228 0 : storageOf_lvalue = source->p_lvalue ;
45229 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
45230 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45231 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45232 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45233 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45234 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45235 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45236 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45237 0 : storageOf_isModified = source->p_isModified ;
45238 0 : storageOf_containsTransformation = source->p_containsTransformation ;
45239 0 : }
45240 :
45241 : void
45242 0 : SgConjugateOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45243 : {
45244 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45245 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45246 0 : }
45247 :
45248 : void
45249 2 : SgConjugateOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45250 : {
45251 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45252 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45253 2 : }
45254 :
45255 : void
45256 0 : SgConjugateOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45257 : {
45258 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45259 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45260 0 : }
45261 :
45262 :
45263 : void
45264 0 : SgConjugateOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45265 : {
45266 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45267 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45268 0 : }
45269 :
45270 :
45271 :
45272 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45273 :
45274 :
45275 : // ********************************************************
45276 :
45277 : /* #line 45278 "../../../src/frontend/SageIII//StorageClasses.C" */
45278 :
45279 :
45280 :
45281 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45282 :
45283 : // ****************************************************************
45284 : // member functions definition specific to each node in the grammar
45285 : // these are the SgUserDefinedUnaryOpStorageClass parts !!!!
45286 : // ROSETTA generated code. Do not change by hand.
45287 : // ****************************************************************
45288 :
45289 :
45290 : /* #line 45291 "../../../src/frontend/SageIII//StorageClasses.C" */
45291 :
45292 :
45293 : void
45294 0 : SgUserDefinedUnaryOpStorageClass::pickOutIRNodeData ( SgUserDefinedUnaryOp* pointer )
45295 : {
45296 0 : SgUserDefinedUnaryOp* source = (SgUserDefinedUnaryOp*) (pointer);
45297 : #if FILE_IO_EXTRA_CHECK
45298 0 : assert ( source != NULL ) ;
45299 0 : assert ( source->p_freepointer != NULL) ;
45300 : #endif
45301 0 : storageOf_operator_name.pickOutIRNodeData( &(source->p_operator_name) );
45302 0 : storageOf_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol );
45303 0 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
45304 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
45305 0 : storageOf_mode = source->p_mode ;
45306 0 : storageOf_need_paren = source->p_need_paren ;
45307 0 : storageOf_lvalue = source->p_lvalue ;
45308 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
45309 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45310 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45311 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45312 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45313 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45314 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45315 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45316 0 : storageOf_isModified = source->p_isModified ;
45317 0 : storageOf_containsTransformation = source->p_containsTransformation ;
45318 0 : }
45319 :
45320 : void
45321 0 : SgUserDefinedUnaryOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45322 : {
45323 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
45324 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45325 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45326 0 : }
45327 :
45328 : void
45329 2 : SgUserDefinedUnaryOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45330 : {
45331 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
45332 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45333 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45334 2 : }
45335 :
45336 : void
45337 0 : SgUserDefinedUnaryOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45338 : {
45339 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
45340 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45341 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45342 0 : }
45343 :
45344 :
45345 : void
45346 0 : SgUserDefinedUnaryOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45347 : {
45348 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
45349 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45350 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45351 0 : }
45352 :
45353 :
45354 :
45355 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45356 :
45357 :
45358 : // ********************************************************
45359 :
45360 : /* #line 45361 "../../../src/frontend/SageIII//StorageClasses.C" */
45361 :
45362 :
45363 :
45364 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45365 :
45366 : // ****************************************************************
45367 : // member functions definition specific to each node in the grammar
45368 : // these are the SgMatrixTransposeOpStorageClass parts !!!!
45369 : // ROSETTA generated code. Do not change by hand.
45370 : // ****************************************************************
45371 :
45372 :
45373 : /* #line 45374 "../../../src/frontend/SageIII//StorageClasses.C" */
45374 :
45375 :
45376 : void
45377 0 : SgMatrixTransposeOpStorageClass::pickOutIRNodeData ( SgMatrixTransposeOp* pointer )
45378 : {
45379 0 : SgMatrixTransposeOp* source = (SgMatrixTransposeOp*) (pointer);
45380 : #if FILE_IO_EXTRA_CHECK
45381 0 : assert ( source != NULL ) ;
45382 0 : assert ( source->p_freepointer != NULL) ;
45383 : #endif
45384 0 : storageOf_is_conjugate = source->p_is_conjugate ;
45385 0 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
45386 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
45387 0 : storageOf_mode = source->p_mode ;
45388 0 : storageOf_need_paren = source->p_need_paren ;
45389 0 : storageOf_lvalue = source->p_lvalue ;
45390 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
45391 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45392 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45393 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45394 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45395 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45396 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45397 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45398 0 : storageOf_isModified = source->p_isModified ;
45399 0 : storageOf_containsTransformation = source->p_containsTransformation ;
45400 0 : }
45401 :
45402 : void
45403 0 : SgMatrixTransposeOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45404 : {
45405 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45406 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45407 0 : }
45408 :
45409 : void
45410 2 : SgMatrixTransposeOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45411 : {
45412 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45413 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45414 2 : }
45415 :
45416 : void
45417 0 : SgMatrixTransposeOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45418 : {
45419 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45420 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45421 0 : }
45422 :
45423 :
45424 : void
45425 0 : SgMatrixTransposeOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45426 : {
45427 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45428 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45429 0 : }
45430 :
45431 :
45432 :
45433 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45434 :
45435 :
45436 : // ********************************************************
45437 :
45438 : /* #line 45439 "../../../src/frontend/SageIII//StorageClasses.C" */
45439 :
45440 :
45441 :
45442 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45443 :
45444 : // ****************************************************************
45445 : // member functions definition specific to each node in the grammar
45446 : // these are the SgBinaryOpStorageClass parts !!!!
45447 : // ROSETTA generated code. Do not change by hand.
45448 : // ****************************************************************
45449 :
45450 :
45451 : /* #line 45452 "../../../src/frontend/SageIII//StorageClasses.C" */
45452 :
45453 :
45454 : void
45455 0 : SgBinaryOpStorageClass::pickOutIRNodeData ( SgBinaryOp* pointer )
45456 : {
45457 0 : SgBinaryOp* source = (SgBinaryOp*) (pointer);
45458 : #if FILE_IO_EXTRA_CHECK
45459 0 : assert ( source != NULL ) ;
45460 0 : assert ( source->p_freepointer != NULL) ;
45461 : #endif
45462 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
45463 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
45464 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
45465 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
45466 0 : storageOf_need_paren = source->p_need_paren ;
45467 0 : storageOf_lvalue = source->p_lvalue ;
45468 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
45469 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45470 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45471 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45472 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45473 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45474 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45475 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45476 0 : storageOf_isModified = source->p_isModified ;
45477 0 : storageOf_containsTransformation = source->p_containsTransformation ;
45478 0 : }
45479 :
45480 : void
45481 0 : SgBinaryOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45482 : {
45483 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45484 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45485 0 : }
45486 :
45487 : void
45488 2 : SgBinaryOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45489 : {
45490 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45491 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45492 2 : }
45493 :
45494 : void
45495 0 : SgBinaryOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45496 : {
45497 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45498 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45499 0 : }
45500 :
45501 :
45502 : void
45503 0 : SgBinaryOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45504 : {
45505 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45506 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45507 0 : }
45508 :
45509 :
45510 :
45511 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45512 :
45513 :
45514 : // ********************************************************
45515 :
45516 : /* #line 45517 "../../../src/frontend/SageIII//StorageClasses.C" */
45517 :
45518 :
45519 :
45520 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45521 :
45522 : // ****************************************************************
45523 : // member functions definition specific to each node in the grammar
45524 : // these are the SgArrowExpStorageClass parts !!!!
45525 : // ROSETTA generated code. Do not change by hand.
45526 : // ****************************************************************
45527 :
45528 :
45529 : /* #line 45530 "../../../src/frontend/SageIII//StorageClasses.C" */
45530 :
45531 :
45532 : void
45533 1254 : SgArrowExpStorageClass::pickOutIRNodeData ( SgArrowExp* pointer )
45534 : {
45535 1254 : SgArrowExp* source = (SgArrowExp*) (pointer);
45536 : #if FILE_IO_EXTRA_CHECK
45537 1254 : assert ( source != NULL ) ;
45538 1254 : assert ( source->p_freepointer != NULL) ;
45539 : #endif
45540 1254 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
45541 1254 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
45542 1254 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
45543 1254 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
45544 1254 : storageOf_need_paren = source->p_need_paren ;
45545 1254 : storageOf_lvalue = source->p_lvalue ;
45546 1254 : storageOf_global_qualified_name = source->p_global_qualified_name ;
45547 1254 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45548 1254 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45549 1254 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45550 1254 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45551 1254 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45552 1254 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45553 1254 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45554 1254 : storageOf_isModified = source->p_isModified ;
45555 1254 : storageOf_containsTransformation = source->p_containsTransformation ;
45556 1254 : }
45557 :
45558 : void
45559 0 : SgArrowExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45560 : {
45561 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45562 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45563 0 : }
45564 :
45565 : void
45566 2 : SgArrowExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45567 : {
45568 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45569 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45570 2 : }
45571 :
45572 : void
45573 1 : SgArrowExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45574 : {
45575 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45576 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45577 1 : }
45578 :
45579 :
45580 : void
45581 1 : SgArrowExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45582 : {
45583 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45584 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45585 1 : }
45586 :
45587 :
45588 :
45589 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45590 :
45591 :
45592 : // ********************************************************
45593 :
45594 : /* #line 45595 "../../../src/frontend/SageIII//StorageClasses.C" */
45595 :
45596 :
45597 :
45598 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45599 :
45600 : // ****************************************************************
45601 : // member functions definition specific to each node in the grammar
45602 : // these are the SgDotExpStorageClass parts !!!!
45603 : // ROSETTA generated code. Do not change by hand.
45604 : // ****************************************************************
45605 :
45606 :
45607 : /* #line 45608 "../../../src/frontend/SageIII//StorageClasses.C" */
45608 :
45609 :
45610 : void
45611 816 : SgDotExpStorageClass::pickOutIRNodeData ( SgDotExp* pointer )
45612 : {
45613 816 : SgDotExp* source = (SgDotExp*) (pointer);
45614 : #if FILE_IO_EXTRA_CHECK
45615 816 : assert ( source != NULL ) ;
45616 816 : assert ( source->p_freepointer != NULL) ;
45617 : #endif
45618 816 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
45619 816 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
45620 816 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
45621 816 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
45622 816 : storageOf_need_paren = source->p_need_paren ;
45623 816 : storageOf_lvalue = source->p_lvalue ;
45624 816 : storageOf_global_qualified_name = source->p_global_qualified_name ;
45625 816 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45626 816 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45627 816 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45628 816 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45629 816 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45630 816 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45631 816 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45632 816 : storageOf_isModified = source->p_isModified ;
45633 816 : storageOf_containsTransformation = source->p_containsTransformation ;
45634 816 : }
45635 :
45636 : void
45637 0 : SgDotExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45638 : {
45639 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45640 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45641 0 : }
45642 :
45643 : void
45644 2 : SgDotExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45645 : {
45646 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45647 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45648 2 : }
45649 :
45650 : void
45651 1 : SgDotExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45652 : {
45653 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45654 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45655 1 : }
45656 :
45657 :
45658 : void
45659 1 : SgDotExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45660 : {
45661 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45662 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45663 1 : }
45664 :
45665 :
45666 :
45667 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45668 :
45669 :
45670 : // ********************************************************
45671 :
45672 : /* #line 45673 "../../../src/frontend/SageIII//StorageClasses.C" */
45673 :
45674 :
45675 :
45676 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45677 :
45678 : // ****************************************************************
45679 : // member functions definition specific to each node in the grammar
45680 : // these are the SgDotStarOpStorageClass parts !!!!
45681 : // ROSETTA generated code. Do not change by hand.
45682 : // ****************************************************************
45683 :
45684 :
45685 : /* #line 45686 "../../../src/frontend/SageIII//StorageClasses.C" */
45686 :
45687 :
45688 : void
45689 12 : SgDotStarOpStorageClass::pickOutIRNodeData ( SgDotStarOp* pointer )
45690 : {
45691 12 : SgDotStarOp* source = (SgDotStarOp*) (pointer);
45692 : #if FILE_IO_EXTRA_CHECK
45693 12 : assert ( source != NULL ) ;
45694 12 : assert ( source->p_freepointer != NULL) ;
45695 : #endif
45696 12 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
45697 12 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
45698 12 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
45699 12 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
45700 12 : storageOf_need_paren = source->p_need_paren ;
45701 12 : storageOf_lvalue = source->p_lvalue ;
45702 12 : storageOf_global_qualified_name = source->p_global_qualified_name ;
45703 12 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45704 12 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45705 12 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45706 12 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45707 12 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45708 12 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45709 12 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45710 12 : storageOf_isModified = source->p_isModified ;
45711 12 : storageOf_containsTransformation = source->p_containsTransformation ;
45712 12 : }
45713 :
45714 : void
45715 0 : SgDotStarOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45716 : {
45717 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45718 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45719 0 : }
45720 :
45721 : void
45722 2 : SgDotStarOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45723 : {
45724 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45725 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45726 2 : }
45727 :
45728 : void
45729 1 : SgDotStarOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45730 : {
45731 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45732 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45733 1 : }
45734 :
45735 :
45736 : void
45737 1 : SgDotStarOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45738 : {
45739 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45740 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45741 1 : }
45742 :
45743 :
45744 :
45745 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45746 :
45747 :
45748 : // ********************************************************
45749 :
45750 : /* #line 45751 "../../../src/frontend/SageIII//StorageClasses.C" */
45751 :
45752 :
45753 :
45754 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45755 :
45756 : // ****************************************************************
45757 : // member functions definition specific to each node in the grammar
45758 : // these are the SgArrowStarOpStorageClass parts !!!!
45759 : // ROSETTA generated code. Do not change by hand.
45760 : // ****************************************************************
45761 :
45762 :
45763 : /* #line 45764 "../../../src/frontend/SageIII//StorageClasses.C" */
45764 :
45765 :
45766 : void
45767 4 : SgArrowStarOpStorageClass::pickOutIRNodeData ( SgArrowStarOp* pointer )
45768 : {
45769 4 : SgArrowStarOp* source = (SgArrowStarOp*) (pointer);
45770 : #if FILE_IO_EXTRA_CHECK
45771 4 : assert ( source != NULL ) ;
45772 4 : assert ( source->p_freepointer != NULL) ;
45773 : #endif
45774 4 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
45775 4 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
45776 4 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
45777 4 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
45778 4 : storageOf_need_paren = source->p_need_paren ;
45779 4 : storageOf_lvalue = source->p_lvalue ;
45780 4 : storageOf_global_qualified_name = source->p_global_qualified_name ;
45781 4 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45782 4 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45783 4 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45784 4 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45785 4 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45786 4 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45787 4 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45788 4 : storageOf_isModified = source->p_isModified ;
45789 4 : storageOf_containsTransformation = source->p_containsTransformation ;
45790 4 : }
45791 :
45792 : void
45793 0 : SgArrowStarOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45794 : {
45795 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45796 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45797 0 : }
45798 :
45799 : void
45800 2 : SgArrowStarOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45801 : {
45802 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45803 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45804 2 : }
45805 :
45806 : void
45807 1 : SgArrowStarOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45808 : {
45809 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45810 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45811 1 : }
45812 :
45813 :
45814 : void
45815 1 : SgArrowStarOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45816 : {
45817 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45818 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45819 1 : }
45820 :
45821 :
45822 :
45823 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45824 :
45825 :
45826 : // ********************************************************
45827 :
45828 : /* #line 45829 "../../../src/frontend/SageIII//StorageClasses.C" */
45829 :
45830 :
45831 :
45832 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45833 :
45834 : // ****************************************************************
45835 : // member functions definition specific to each node in the grammar
45836 : // these are the SgEqualityOpStorageClass parts !!!!
45837 : // ROSETTA generated code. Do not change by hand.
45838 : // ****************************************************************
45839 :
45840 :
45841 : /* #line 45842 "../../../src/frontend/SageIII//StorageClasses.C" */
45842 :
45843 :
45844 : void
45845 250 : SgEqualityOpStorageClass::pickOutIRNodeData ( SgEqualityOp* pointer )
45846 : {
45847 250 : SgEqualityOp* source = (SgEqualityOp*) (pointer);
45848 : #if FILE_IO_EXTRA_CHECK
45849 250 : assert ( source != NULL ) ;
45850 250 : assert ( source->p_freepointer != NULL) ;
45851 : #endif
45852 250 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
45853 250 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
45854 250 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
45855 250 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
45856 250 : storageOf_need_paren = source->p_need_paren ;
45857 250 : storageOf_lvalue = source->p_lvalue ;
45858 250 : storageOf_global_qualified_name = source->p_global_qualified_name ;
45859 250 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45860 250 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45861 250 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45862 250 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45863 250 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45864 250 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45865 250 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45866 250 : storageOf_isModified = source->p_isModified ;
45867 250 : storageOf_containsTransformation = source->p_containsTransformation ;
45868 250 : }
45869 :
45870 : void
45871 0 : SgEqualityOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45872 : {
45873 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45874 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45875 0 : }
45876 :
45877 : void
45878 2 : SgEqualityOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45879 : {
45880 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45881 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45882 2 : }
45883 :
45884 : void
45885 1 : SgEqualityOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45886 : {
45887 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45888 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45889 1 : }
45890 :
45891 :
45892 : void
45893 1 : SgEqualityOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45894 : {
45895 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45896 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45897 1 : }
45898 :
45899 :
45900 :
45901 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45902 :
45903 :
45904 : // ********************************************************
45905 :
45906 : /* #line 45907 "../../../src/frontend/SageIII//StorageClasses.C" */
45907 :
45908 :
45909 :
45910 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45911 :
45912 : // ****************************************************************
45913 : // member functions definition specific to each node in the grammar
45914 : // these are the SgLessThanOpStorageClass parts !!!!
45915 : // ROSETTA generated code. Do not change by hand.
45916 : // ****************************************************************
45917 :
45918 :
45919 : /* #line 45920 "../../../src/frontend/SageIII//StorageClasses.C" */
45920 :
45921 :
45922 : void
45923 136 : SgLessThanOpStorageClass::pickOutIRNodeData ( SgLessThanOp* pointer )
45924 : {
45925 136 : SgLessThanOp* source = (SgLessThanOp*) (pointer);
45926 : #if FILE_IO_EXTRA_CHECK
45927 136 : assert ( source != NULL ) ;
45928 136 : assert ( source->p_freepointer != NULL) ;
45929 : #endif
45930 136 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
45931 136 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
45932 136 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
45933 136 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
45934 136 : storageOf_need_paren = source->p_need_paren ;
45935 136 : storageOf_lvalue = source->p_lvalue ;
45936 136 : storageOf_global_qualified_name = source->p_global_qualified_name ;
45937 136 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
45938 136 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
45939 136 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
45940 136 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
45941 136 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
45942 136 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
45943 136 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
45944 136 : storageOf_isModified = source->p_isModified ;
45945 136 : storageOf_containsTransformation = source->p_containsTransformation ;
45946 136 : }
45947 :
45948 : void
45949 0 : SgLessThanOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
45950 : {
45951 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
45952 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
45953 0 : }
45954 :
45955 : void
45956 2 : SgLessThanOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
45957 : {
45958 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
45959 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
45960 2 : }
45961 :
45962 : void
45963 1 : SgLessThanOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
45964 : {
45965 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
45966 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
45967 1 : }
45968 :
45969 :
45970 : void
45971 1 : SgLessThanOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
45972 : {
45973 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
45974 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
45975 1 : }
45976 :
45977 :
45978 :
45979 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45980 :
45981 :
45982 : // ********************************************************
45983 :
45984 : /* #line 45985 "../../../src/frontend/SageIII//StorageClasses.C" */
45985 :
45986 :
45987 :
45988 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
45989 :
45990 : // ****************************************************************
45991 : // member functions definition specific to each node in the grammar
45992 : // these are the SgGreaterThanOpStorageClass parts !!!!
45993 : // ROSETTA generated code. Do not change by hand.
45994 : // ****************************************************************
45995 :
45996 :
45997 : /* #line 45998 "../../../src/frontend/SageIII//StorageClasses.C" */
45998 :
45999 :
46000 : void
46001 108 : SgGreaterThanOpStorageClass::pickOutIRNodeData ( SgGreaterThanOp* pointer )
46002 : {
46003 108 : SgGreaterThanOp* source = (SgGreaterThanOp*) (pointer);
46004 : #if FILE_IO_EXTRA_CHECK
46005 108 : assert ( source != NULL ) ;
46006 108 : assert ( source->p_freepointer != NULL) ;
46007 : #endif
46008 108 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46009 108 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46010 108 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46011 108 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46012 108 : storageOf_need_paren = source->p_need_paren ;
46013 108 : storageOf_lvalue = source->p_lvalue ;
46014 108 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46015 108 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46016 108 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46017 108 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46018 108 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46019 108 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46020 108 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46021 108 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46022 108 : storageOf_isModified = source->p_isModified ;
46023 108 : storageOf_containsTransformation = source->p_containsTransformation ;
46024 108 : }
46025 :
46026 : void
46027 0 : SgGreaterThanOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46028 : {
46029 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46030 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46031 0 : }
46032 :
46033 : void
46034 2 : SgGreaterThanOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46035 : {
46036 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46037 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46038 2 : }
46039 :
46040 : void
46041 1 : SgGreaterThanOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46042 : {
46043 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46044 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46045 1 : }
46046 :
46047 :
46048 : void
46049 1 : SgGreaterThanOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46050 : {
46051 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46052 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46053 1 : }
46054 :
46055 :
46056 :
46057 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46058 :
46059 :
46060 : // ********************************************************
46061 :
46062 : /* #line 46063 "../../../src/frontend/SageIII//StorageClasses.C" */
46063 :
46064 :
46065 :
46066 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46067 :
46068 : // ****************************************************************
46069 : // member functions definition specific to each node in the grammar
46070 : // these are the SgNotEqualOpStorageClass parts !!!!
46071 : // ROSETTA generated code. Do not change by hand.
46072 : // ****************************************************************
46073 :
46074 :
46075 : /* #line 46076 "../../../src/frontend/SageIII//StorageClasses.C" */
46076 :
46077 :
46078 : void
46079 95 : SgNotEqualOpStorageClass::pickOutIRNodeData ( SgNotEqualOp* pointer )
46080 : {
46081 95 : SgNotEqualOp* source = (SgNotEqualOp*) (pointer);
46082 : #if FILE_IO_EXTRA_CHECK
46083 95 : assert ( source != NULL ) ;
46084 95 : assert ( source->p_freepointer != NULL) ;
46085 : #endif
46086 95 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46087 95 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46088 95 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46089 95 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46090 95 : storageOf_need_paren = source->p_need_paren ;
46091 95 : storageOf_lvalue = source->p_lvalue ;
46092 95 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46093 95 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46094 95 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46095 95 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46096 95 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46097 95 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46098 95 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46099 95 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46100 95 : storageOf_isModified = source->p_isModified ;
46101 95 : storageOf_containsTransformation = source->p_containsTransformation ;
46102 95 : }
46103 :
46104 : void
46105 0 : SgNotEqualOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46106 : {
46107 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46108 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46109 0 : }
46110 :
46111 : void
46112 2 : SgNotEqualOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46113 : {
46114 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46115 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46116 2 : }
46117 :
46118 : void
46119 1 : SgNotEqualOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46120 : {
46121 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46122 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46123 1 : }
46124 :
46125 :
46126 : void
46127 1 : SgNotEqualOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46128 : {
46129 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46130 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46131 1 : }
46132 :
46133 :
46134 :
46135 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46136 :
46137 :
46138 : // ********************************************************
46139 :
46140 : /* #line 46141 "../../../src/frontend/SageIII//StorageClasses.C" */
46141 :
46142 :
46143 :
46144 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46145 :
46146 : // ****************************************************************
46147 : // member functions definition specific to each node in the grammar
46148 : // these are the SgLessOrEqualOpStorageClass parts !!!!
46149 : // ROSETTA generated code. Do not change by hand.
46150 : // ****************************************************************
46151 :
46152 :
46153 : /* #line 46154 "../../../src/frontend/SageIII//StorageClasses.C" */
46154 :
46155 :
46156 : void
46157 31 : SgLessOrEqualOpStorageClass::pickOutIRNodeData ( SgLessOrEqualOp* pointer )
46158 : {
46159 31 : SgLessOrEqualOp* source = (SgLessOrEqualOp*) (pointer);
46160 : #if FILE_IO_EXTRA_CHECK
46161 31 : assert ( source != NULL ) ;
46162 31 : assert ( source->p_freepointer != NULL) ;
46163 : #endif
46164 31 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46165 31 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46166 31 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46167 31 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46168 31 : storageOf_need_paren = source->p_need_paren ;
46169 31 : storageOf_lvalue = source->p_lvalue ;
46170 31 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46171 31 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46172 31 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46173 31 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46174 31 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46175 31 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46176 31 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46177 31 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46178 31 : storageOf_isModified = source->p_isModified ;
46179 31 : storageOf_containsTransformation = source->p_containsTransformation ;
46180 31 : }
46181 :
46182 : void
46183 0 : SgLessOrEqualOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46184 : {
46185 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46186 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46187 0 : }
46188 :
46189 : void
46190 2 : SgLessOrEqualOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46191 : {
46192 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46193 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46194 2 : }
46195 :
46196 : void
46197 1 : SgLessOrEqualOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46198 : {
46199 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46200 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46201 1 : }
46202 :
46203 :
46204 : void
46205 1 : SgLessOrEqualOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46206 : {
46207 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46208 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46209 1 : }
46210 :
46211 :
46212 :
46213 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46214 :
46215 :
46216 : // ********************************************************
46217 :
46218 : /* #line 46219 "../../../src/frontend/SageIII//StorageClasses.C" */
46219 :
46220 :
46221 :
46222 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46223 :
46224 : // ****************************************************************
46225 : // member functions definition specific to each node in the grammar
46226 : // these are the SgGreaterOrEqualOpStorageClass parts !!!!
46227 : // ROSETTA generated code. Do not change by hand.
46228 : // ****************************************************************
46229 :
46230 :
46231 : /* #line 46232 "../../../src/frontend/SageIII//StorageClasses.C" */
46232 :
46233 :
46234 : void
46235 28 : SgGreaterOrEqualOpStorageClass::pickOutIRNodeData ( SgGreaterOrEqualOp* pointer )
46236 : {
46237 28 : SgGreaterOrEqualOp* source = (SgGreaterOrEqualOp*) (pointer);
46238 : #if FILE_IO_EXTRA_CHECK
46239 28 : assert ( source != NULL ) ;
46240 28 : assert ( source->p_freepointer != NULL) ;
46241 : #endif
46242 28 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46243 28 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46244 28 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46245 28 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46246 28 : storageOf_need_paren = source->p_need_paren ;
46247 28 : storageOf_lvalue = source->p_lvalue ;
46248 28 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46249 28 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46250 28 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46251 28 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46252 28 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46253 28 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46254 28 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46255 28 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46256 28 : storageOf_isModified = source->p_isModified ;
46257 28 : storageOf_containsTransformation = source->p_containsTransformation ;
46258 28 : }
46259 :
46260 : void
46261 0 : SgGreaterOrEqualOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46262 : {
46263 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46264 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46265 0 : }
46266 :
46267 : void
46268 2 : SgGreaterOrEqualOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46269 : {
46270 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46271 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46272 2 : }
46273 :
46274 : void
46275 1 : SgGreaterOrEqualOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46276 : {
46277 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46278 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46279 1 : }
46280 :
46281 :
46282 : void
46283 1 : SgGreaterOrEqualOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46284 : {
46285 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46286 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46287 1 : }
46288 :
46289 :
46290 :
46291 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46292 :
46293 :
46294 : // ********************************************************
46295 :
46296 : /* #line 46297 "../../../src/frontend/SageIII//StorageClasses.C" */
46297 :
46298 :
46299 :
46300 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46301 :
46302 : // ****************************************************************
46303 : // member functions definition specific to each node in the grammar
46304 : // these are the SgAddOpStorageClass parts !!!!
46305 : // ROSETTA generated code. Do not change by hand.
46306 : // ****************************************************************
46307 :
46308 :
46309 : /* #line 46310 "../../../src/frontend/SageIII//StorageClasses.C" */
46310 :
46311 :
46312 : void
46313 190 : SgAddOpStorageClass::pickOutIRNodeData ( SgAddOp* pointer )
46314 : {
46315 190 : SgAddOp* source = (SgAddOp*) (pointer);
46316 : #if FILE_IO_EXTRA_CHECK
46317 190 : assert ( source != NULL ) ;
46318 190 : assert ( source->p_freepointer != NULL) ;
46319 : #endif
46320 190 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46321 190 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46322 190 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46323 190 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46324 190 : storageOf_need_paren = source->p_need_paren ;
46325 190 : storageOf_lvalue = source->p_lvalue ;
46326 190 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46327 190 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46328 190 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46329 190 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46330 190 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46331 190 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46332 190 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46333 190 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46334 190 : storageOf_isModified = source->p_isModified ;
46335 190 : storageOf_containsTransformation = source->p_containsTransformation ;
46336 190 : }
46337 :
46338 : void
46339 0 : SgAddOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46340 : {
46341 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46342 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46343 0 : }
46344 :
46345 : void
46346 2 : SgAddOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46347 : {
46348 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46349 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46350 2 : }
46351 :
46352 : void
46353 1 : SgAddOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46354 : {
46355 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46356 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46357 1 : }
46358 :
46359 :
46360 : void
46361 1 : SgAddOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46362 : {
46363 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46364 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46365 1 : }
46366 :
46367 :
46368 :
46369 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46370 :
46371 :
46372 : // ********************************************************
46373 :
46374 : /* #line 46375 "../../../src/frontend/SageIII//StorageClasses.C" */
46375 :
46376 :
46377 :
46378 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46379 :
46380 : // ****************************************************************
46381 : // member functions definition specific to each node in the grammar
46382 : // these are the SgSubtractOpStorageClass parts !!!!
46383 : // ROSETTA generated code. Do not change by hand.
46384 : // ****************************************************************
46385 :
46386 :
46387 : /* #line 46388 "../../../src/frontend/SageIII//StorageClasses.C" */
46388 :
46389 :
46390 : void
46391 211 : SgSubtractOpStorageClass::pickOutIRNodeData ( SgSubtractOp* pointer )
46392 : {
46393 211 : SgSubtractOp* source = (SgSubtractOp*) (pointer);
46394 : #if FILE_IO_EXTRA_CHECK
46395 211 : assert ( source != NULL ) ;
46396 211 : assert ( source->p_freepointer != NULL) ;
46397 : #endif
46398 211 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46399 211 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46400 211 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46401 211 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46402 211 : storageOf_need_paren = source->p_need_paren ;
46403 211 : storageOf_lvalue = source->p_lvalue ;
46404 211 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46405 211 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46406 211 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46407 211 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46408 211 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46409 211 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46410 211 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46411 211 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46412 211 : storageOf_isModified = source->p_isModified ;
46413 211 : storageOf_containsTransformation = source->p_containsTransformation ;
46414 211 : }
46415 :
46416 : void
46417 0 : SgSubtractOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46418 : {
46419 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46420 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46421 0 : }
46422 :
46423 : void
46424 2 : SgSubtractOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46425 : {
46426 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46427 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46428 2 : }
46429 :
46430 : void
46431 2 : SgSubtractOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46432 : {
46433 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46434 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46435 2 : }
46436 :
46437 :
46438 : void
46439 2 : SgSubtractOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46440 : {
46441 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46442 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46443 2 : }
46444 :
46445 :
46446 :
46447 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46448 :
46449 :
46450 : // ********************************************************
46451 :
46452 : /* #line 46453 "../../../src/frontend/SageIII//StorageClasses.C" */
46453 :
46454 :
46455 :
46456 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46457 :
46458 : // ****************************************************************
46459 : // member functions definition specific to each node in the grammar
46460 : // these are the SgMultiplyOpStorageClass parts !!!!
46461 : // ROSETTA generated code. Do not change by hand.
46462 : // ****************************************************************
46463 :
46464 :
46465 : /* #line 46466 "../../../src/frontend/SageIII//StorageClasses.C" */
46466 :
46467 :
46468 : void
46469 65 : SgMultiplyOpStorageClass::pickOutIRNodeData ( SgMultiplyOp* pointer )
46470 : {
46471 65 : SgMultiplyOp* source = (SgMultiplyOp*) (pointer);
46472 : #if FILE_IO_EXTRA_CHECK
46473 65 : assert ( source != NULL ) ;
46474 65 : assert ( source->p_freepointer != NULL) ;
46475 : #endif
46476 65 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46477 65 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46478 65 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46479 65 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46480 65 : storageOf_need_paren = source->p_need_paren ;
46481 65 : storageOf_lvalue = source->p_lvalue ;
46482 65 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46483 65 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46484 65 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46485 65 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46486 65 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46487 65 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46488 65 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46489 65 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46490 65 : storageOf_isModified = source->p_isModified ;
46491 65 : storageOf_containsTransformation = source->p_containsTransformation ;
46492 65 : }
46493 :
46494 : void
46495 0 : SgMultiplyOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46496 : {
46497 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46498 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46499 0 : }
46500 :
46501 : void
46502 2 : SgMultiplyOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46503 : {
46504 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46505 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46506 2 : }
46507 :
46508 : void
46509 2 : SgMultiplyOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46510 : {
46511 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46512 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46513 2 : }
46514 :
46515 :
46516 : void
46517 2 : SgMultiplyOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46518 : {
46519 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46520 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46521 2 : }
46522 :
46523 :
46524 :
46525 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46526 :
46527 :
46528 : // ********************************************************
46529 :
46530 : /* #line 46531 "../../../src/frontend/SageIII//StorageClasses.C" */
46531 :
46532 :
46533 :
46534 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46535 :
46536 : // ****************************************************************
46537 : // member functions definition specific to each node in the grammar
46538 : // these are the SgDivideOpStorageClass parts !!!!
46539 : // ROSETTA generated code. Do not change by hand.
46540 : // ****************************************************************
46541 :
46542 :
46543 : /* #line 46544 "../../../src/frontend/SageIII//StorageClasses.C" */
46544 :
46545 :
46546 : void
46547 37 : SgDivideOpStorageClass::pickOutIRNodeData ( SgDivideOp* pointer )
46548 : {
46549 37 : SgDivideOp* source = (SgDivideOp*) (pointer);
46550 : #if FILE_IO_EXTRA_CHECK
46551 37 : assert ( source != NULL ) ;
46552 37 : assert ( source->p_freepointer != NULL) ;
46553 : #endif
46554 37 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46555 37 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46556 37 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46557 37 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46558 37 : storageOf_need_paren = source->p_need_paren ;
46559 37 : storageOf_lvalue = source->p_lvalue ;
46560 37 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46561 37 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46562 37 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46563 37 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46564 37 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46565 37 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46566 37 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46567 37 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46568 37 : storageOf_isModified = source->p_isModified ;
46569 37 : storageOf_containsTransformation = source->p_containsTransformation ;
46570 37 : }
46571 :
46572 : void
46573 0 : SgDivideOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46574 : {
46575 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46576 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46577 0 : }
46578 :
46579 : void
46580 2 : SgDivideOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46581 : {
46582 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46583 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46584 2 : }
46585 :
46586 : void
46587 1 : SgDivideOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46588 : {
46589 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46590 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46591 1 : }
46592 :
46593 :
46594 : void
46595 1 : SgDivideOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46596 : {
46597 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46598 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46599 1 : }
46600 :
46601 :
46602 :
46603 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46604 :
46605 :
46606 : // ********************************************************
46607 :
46608 : /* #line 46609 "../../../src/frontend/SageIII//StorageClasses.C" */
46609 :
46610 :
46611 :
46612 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46613 :
46614 : // ****************************************************************
46615 : // member functions definition specific to each node in the grammar
46616 : // these are the SgIntegerDivideOpStorageClass parts !!!!
46617 : // ROSETTA generated code. Do not change by hand.
46618 : // ****************************************************************
46619 :
46620 :
46621 : /* #line 46622 "../../../src/frontend/SageIII//StorageClasses.C" */
46622 :
46623 :
46624 : void
46625 0 : SgIntegerDivideOpStorageClass::pickOutIRNodeData ( SgIntegerDivideOp* pointer )
46626 : {
46627 0 : SgIntegerDivideOp* source = (SgIntegerDivideOp*) (pointer);
46628 : #if FILE_IO_EXTRA_CHECK
46629 0 : assert ( source != NULL ) ;
46630 0 : assert ( source->p_freepointer != NULL) ;
46631 : #endif
46632 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46633 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46634 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46635 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46636 0 : storageOf_need_paren = source->p_need_paren ;
46637 0 : storageOf_lvalue = source->p_lvalue ;
46638 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46639 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46640 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46641 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46642 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46643 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46644 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46645 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46646 0 : storageOf_isModified = source->p_isModified ;
46647 0 : storageOf_containsTransformation = source->p_containsTransformation ;
46648 0 : }
46649 :
46650 : void
46651 0 : SgIntegerDivideOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46652 : {
46653 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46654 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46655 0 : }
46656 :
46657 : void
46658 2 : SgIntegerDivideOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46659 : {
46660 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46661 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46662 2 : }
46663 :
46664 : void
46665 0 : SgIntegerDivideOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46666 : {
46667 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46668 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46669 0 : }
46670 :
46671 :
46672 : void
46673 0 : SgIntegerDivideOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46674 : {
46675 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46676 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46677 0 : }
46678 :
46679 :
46680 :
46681 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46682 :
46683 :
46684 : // ********************************************************
46685 :
46686 : /* #line 46687 "../../../src/frontend/SageIII//StorageClasses.C" */
46687 :
46688 :
46689 :
46690 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46691 :
46692 : // ****************************************************************
46693 : // member functions definition specific to each node in the grammar
46694 : // these are the SgModOpStorageClass parts !!!!
46695 : // ROSETTA generated code. Do not change by hand.
46696 : // ****************************************************************
46697 :
46698 :
46699 : /* #line 46700 "../../../src/frontend/SageIII//StorageClasses.C" */
46700 :
46701 :
46702 : void
46703 5 : SgModOpStorageClass::pickOutIRNodeData ( SgModOp* pointer )
46704 : {
46705 5 : SgModOp* source = (SgModOp*) (pointer);
46706 : #if FILE_IO_EXTRA_CHECK
46707 5 : assert ( source != NULL ) ;
46708 5 : assert ( source->p_freepointer != NULL) ;
46709 : #endif
46710 5 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46711 5 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46712 5 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46713 5 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46714 5 : storageOf_need_paren = source->p_need_paren ;
46715 5 : storageOf_lvalue = source->p_lvalue ;
46716 5 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46717 5 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46718 5 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46719 5 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46720 5 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46721 5 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46722 5 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46723 5 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46724 5 : storageOf_isModified = source->p_isModified ;
46725 5 : storageOf_containsTransformation = source->p_containsTransformation ;
46726 5 : }
46727 :
46728 : void
46729 0 : SgModOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46730 : {
46731 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46732 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46733 0 : }
46734 :
46735 : void
46736 2 : SgModOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46737 : {
46738 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46739 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46740 2 : }
46741 :
46742 : void
46743 1 : SgModOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46744 : {
46745 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46746 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46747 1 : }
46748 :
46749 :
46750 : void
46751 1 : SgModOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46752 : {
46753 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46754 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46755 1 : }
46756 :
46757 :
46758 :
46759 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46760 :
46761 :
46762 : // ********************************************************
46763 :
46764 : /* #line 46765 "../../../src/frontend/SageIII//StorageClasses.C" */
46765 :
46766 :
46767 :
46768 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46769 :
46770 : // ****************************************************************
46771 : // member functions definition specific to each node in the grammar
46772 : // these are the SgAndOpStorageClass parts !!!!
46773 : // ROSETTA generated code. Do not change by hand.
46774 : // ****************************************************************
46775 :
46776 :
46777 : /* #line 46778 "../../../src/frontend/SageIII//StorageClasses.C" */
46778 :
46779 :
46780 : void
46781 173 : SgAndOpStorageClass::pickOutIRNodeData ( SgAndOp* pointer )
46782 : {
46783 173 : SgAndOp* source = (SgAndOp*) (pointer);
46784 : #if FILE_IO_EXTRA_CHECK
46785 173 : assert ( source != NULL ) ;
46786 173 : assert ( source->p_freepointer != NULL) ;
46787 : #endif
46788 173 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46789 173 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46790 173 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46791 173 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46792 173 : storageOf_need_paren = source->p_need_paren ;
46793 173 : storageOf_lvalue = source->p_lvalue ;
46794 173 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46795 173 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46796 173 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46797 173 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46798 173 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46799 173 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46800 173 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46801 173 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46802 173 : storageOf_isModified = source->p_isModified ;
46803 173 : storageOf_containsTransformation = source->p_containsTransformation ;
46804 173 : }
46805 :
46806 : void
46807 0 : SgAndOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46808 : {
46809 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46810 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46811 0 : }
46812 :
46813 : void
46814 2 : SgAndOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46815 : {
46816 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46817 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46818 2 : }
46819 :
46820 : void
46821 1 : SgAndOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46822 : {
46823 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46824 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46825 1 : }
46826 :
46827 :
46828 : void
46829 1 : SgAndOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46830 : {
46831 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46832 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46833 1 : }
46834 :
46835 :
46836 :
46837 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46838 :
46839 :
46840 : // ********************************************************
46841 :
46842 : /* #line 46843 "../../../src/frontend/SageIII//StorageClasses.C" */
46843 :
46844 :
46845 :
46846 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46847 :
46848 : // ****************************************************************
46849 : // member functions definition specific to each node in the grammar
46850 : // these are the SgOrOpStorageClass parts !!!!
46851 : // ROSETTA generated code. Do not change by hand.
46852 : // ****************************************************************
46853 :
46854 :
46855 : /* #line 46856 "../../../src/frontend/SageIII//StorageClasses.C" */
46856 :
46857 :
46858 : void
46859 83 : SgOrOpStorageClass::pickOutIRNodeData ( SgOrOp* pointer )
46860 : {
46861 83 : SgOrOp* source = (SgOrOp*) (pointer);
46862 : #if FILE_IO_EXTRA_CHECK
46863 83 : assert ( source != NULL ) ;
46864 83 : assert ( source->p_freepointer != NULL) ;
46865 : #endif
46866 83 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46867 83 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46868 83 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46869 83 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46870 83 : storageOf_need_paren = source->p_need_paren ;
46871 83 : storageOf_lvalue = source->p_lvalue ;
46872 83 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46873 83 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46874 83 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46875 83 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46876 83 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46877 83 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46878 83 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46879 83 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46880 83 : storageOf_isModified = source->p_isModified ;
46881 83 : storageOf_containsTransformation = source->p_containsTransformation ;
46882 83 : }
46883 :
46884 : void
46885 0 : SgOrOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46886 : {
46887 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46888 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46889 0 : }
46890 :
46891 : void
46892 2 : SgOrOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46893 : {
46894 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46895 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46896 2 : }
46897 :
46898 : void
46899 1 : SgOrOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46900 : {
46901 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46902 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46903 1 : }
46904 :
46905 :
46906 : void
46907 1 : SgOrOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46908 : {
46909 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46910 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46911 1 : }
46912 :
46913 :
46914 :
46915 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46916 :
46917 :
46918 : // ********************************************************
46919 :
46920 : /* #line 46921 "../../../src/frontend/SageIII//StorageClasses.C" */
46921 :
46922 :
46923 :
46924 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46925 :
46926 : // ****************************************************************
46927 : // member functions definition specific to each node in the grammar
46928 : // these are the SgBitXorOpStorageClass parts !!!!
46929 : // ROSETTA generated code. Do not change by hand.
46930 : // ****************************************************************
46931 :
46932 :
46933 : /* #line 46934 "../../../src/frontend/SageIII//StorageClasses.C" */
46934 :
46935 :
46936 : void
46937 6 : SgBitXorOpStorageClass::pickOutIRNodeData ( SgBitXorOp* pointer )
46938 : {
46939 6 : SgBitXorOp* source = (SgBitXorOp*) (pointer);
46940 : #if FILE_IO_EXTRA_CHECK
46941 6 : assert ( source != NULL ) ;
46942 6 : assert ( source->p_freepointer != NULL) ;
46943 : #endif
46944 6 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
46945 6 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
46946 6 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
46947 6 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
46948 6 : storageOf_need_paren = source->p_need_paren ;
46949 6 : storageOf_lvalue = source->p_lvalue ;
46950 6 : storageOf_global_qualified_name = source->p_global_qualified_name ;
46951 6 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
46952 6 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
46953 6 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
46954 6 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
46955 6 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
46956 6 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
46957 6 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
46958 6 : storageOf_isModified = source->p_isModified ;
46959 6 : storageOf_containsTransformation = source->p_containsTransformation ;
46960 6 : }
46961 :
46962 : void
46963 0 : SgBitXorOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
46964 : {
46965 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
46966 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
46967 0 : }
46968 :
46969 : void
46970 2 : SgBitXorOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
46971 : {
46972 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
46973 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
46974 2 : }
46975 :
46976 : void
46977 1 : SgBitXorOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
46978 : {
46979 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
46980 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
46981 1 : }
46982 :
46983 :
46984 : void
46985 1 : SgBitXorOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
46986 : {
46987 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
46988 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
46989 1 : }
46990 :
46991 :
46992 :
46993 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
46994 :
46995 :
46996 : // ********************************************************
46997 :
46998 : /* #line 46999 "../../../src/frontend/SageIII//StorageClasses.C" */
46999 :
47000 :
47001 :
47002 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47003 :
47004 : // ****************************************************************
47005 : // member functions definition specific to each node in the grammar
47006 : // these are the SgBitAndOpStorageClass parts !!!!
47007 : // ROSETTA generated code. Do not change by hand.
47008 : // ****************************************************************
47009 :
47010 :
47011 : /* #line 47012 "../../../src/frontend/SageIII//StorageClasses.C" */
47012 :
47013 :
47014 : void
47015 20 : SgBitAndOpStorageClass::pickOutIRNodeData ( SgBitAndOp* pointer )
47016 : {
47017 20 : SgBitAndOp* source = (SgBitAndOp*) (pointer);
47018 : #if FILE_IO_EXTRA_CHECK
47019 20 : assert ( source != NULL ) ;
47020 20 : assert ( source->p_freepointer != NULL) ;
47021 : #endif
47022 20 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47023 20 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47024 20 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47025 20 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47026 20 : storageOf_need_paren = source->p_need_paren ;
47027 20 : storageOf_lvalue = source->p_lvalue ;
47028 20 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47029 20 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47030 20 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47031 20 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47032 20 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47033 20 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47034 20 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47035 20 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47036 20 : storageOf_isModified = source->p_isModified ;
47037 20 : storageOf_containsTransformation = source->p_containsTransformation ;
47038 20 : }
47039 :
47040 : void
47041 0 : SgBitAndOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47042 : {
47043 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47044 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47045 0 : }
47046 :
47047 : void
47048 2 : SgBitAndOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47049 : {
47050 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47051 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47052 2 : }
47053 :
47054 : void
47055 1 : SgBitAndOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47056 : {
47057 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47058 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
47059 1 : }
47060 :
47061 :
47062 : void
47063 1 : SgBitAndOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
47064 : {
47065 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
47066 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
47067 1 : }
47068 :
47069 :
47070 :
47071 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47072 :
47073 :
47074 : // ********************************************************
47075 :
47076 : /* #line 47077 "../../../src/frontend/SageIII//StorageClasses.C" */
47077 :
47078 :
47079 :
47080 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47081 :
47082 : // ****************************************************************
47083 : // member functions definition specific to each node in the grammar
47084 : // these are the SgBitOrOpStorageClass parts !!!!
47085 : // ROSETTA generated code. Do not change by hand.
47086 : // ****************************************************************
47087 :
47088 :
47089 : /* #line 47090 "../../../src/frontend/SageIII//StorageClasses.C" */
47090 :
47091 :
47092 : void
47093 15 : SgBitOrOpStorageClass::pickOutIRNodeData ( SgBitOrOp* pointer )
47094 : {
47095 15 : SgBitOrOp* source = (SgBitOrOp*) (pointer);
47096 : #if FILE_IO_EXTRA_CHECK
47097 15 : assert ( source != NULL ) ;
47098 15 : assert ( source->p_freepointer != NULL) ;
47099 : #endif
47100 15 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47101 15 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47102 15 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47103 15 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47104 15 : storageOf_need_paren = source->p_need_paren ;
47105 15 : storageOf_lvalue = source->p_lvalue ;
47106 15 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47107 15 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47108 15 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47109 15 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47110 15 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47111 15 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47112 15 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47113 15 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47114 15 : storageOf_isModified = source->p_isModified ;
47115 15 : storageOf_containsTransformation = source->p_containsTransformation ;
47116 15 : }
47117 :
47118 : void
47119 0 : SgBitOrOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47120 : {
47121 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47122 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47123 0 : }
47124 :
47125 : void
47126 2 : SgBitOrOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47127 : {
47128 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47129 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47130 2 : }
47131 :
47132 : void
47133 1 : SgBitOrOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47134 : {
47135 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47136 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
47137 1 : }
47138 :
47139 :
47140 : void
47141 1 : SgBitOrOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
47142 : {
47143 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
47144 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
47145 1 : }
47146 :
47147 :
47148 :
47149 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47150 :
47151 :
47152 : // ********************************************************
47153 :
47154 : /* #line 47155 "../../../src/frontend/SageIII//StorageClasses.C" */
47155 :
47156 :
47157 :
47158 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47159 :
47160 : // ****************************************************************
47161 : // member functions definition specific to each node in the grammar
47162 : // these are the SgBitEqvOpStorageClass parts !!!!
47163 : // ROSETTA generated code. Do not change by hand.
47164 : // ****************************************************************
47165 :
47166 :
47167 : /* #line 47168 "../../../src/frontend/SageIII//StorageClasses.C" */
47168 :
47169 :
47170 : void
47171 0 : SgBitEqvOpStorageClass::pickOutIRNodeData ( SgBitEqvOp* pointer )
47172 : {
47173 0 : SgBitEqvOp* source = (SgBitEqvOp*) (pointer);
47174 : #if FILE_IO_EXTRA_CHECK
47175 0 : assert ( source != NULL ) ;
47176 0 : assert ( source->p_freepointer != NULL) ;
47177 : #endif
47178 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47179 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47180 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47181 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47182 0 : storageOf_need_paren = source->p_need_paren ;
47183 0 : storageOf_lvalue = source->p_lvalue ;
47184 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47185 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47186 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47187 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47188 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47189 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47190 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47191 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47192 0 : storageOf_isModified = source->p_isModified ;
47193 0 : storageOf_containsTransformation = source->p_containsTransformation ;
47194 0 : }
47195 :
47196 : void
47197 0 : SgBitEqvOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47198 : {
47199 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47200 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47201 0 : }
47202 :
47203 : void
47204 2 : SgBitEqvOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47205 : {
47206 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47207 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47208 2 : }
47209 :
47210 : void
47211 0 : SgBitEqvOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47212 : {
47213 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47214 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
47215 0 : }
47216 :
47217 :
47218 : void
47219 0 : SgBitEqvOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
47220 : {
47221 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
47222 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
47223 0 : }
47224 :
47225 :
47226 :
47227 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47228 :
47229 :
47230 : // ********************************************************
47231 :
47232 : /* #line 47233 "../../../src/frontend/SageIII//StorageClasses.C" */
47233 :
47234 :
47235 :
47236 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47237 :
47238 : // ****************************************************************
47239 : // member functions definition specific to each node in the grammar
47240 : // these are the SgCommaOpExpStorageClass parts !!!!
47241 : // ROSETTA generated code. Do not change by hand.
47242 : // ****************************************************************
47243 :
47244 :
47245 : /* #line 47246 "../../../src/frontend/SageIII//StorageClasses.C" */
47246 :
47247 :
47248 : void
47249 16 : SgCommaOpExpStorageClass::pickOutIRNodeData ( SgCommaOpExp* pointer )
47250 : {
47251 16 : SgCommaOpExp* source = (SgCommaOpExp*) (pointer);
47252 : #if FILE_IO_EXTRA_CHECK
47253 16 : assert ( source != NULL ) ;
47254 16 : assert ( source->p_freepointer != NULL) ;
47255 : #endif
47256 16 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47257 16 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47258 16 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47259 16 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47260 16 : storageOf_need_paren = source->p_need_paren ;
47261 16 : storageOf_lvalue = source->p_lvalue ;
47262 16 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47263 16 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47264 16 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47265 16 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47266 16 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47267 16 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47268 16 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47269 16 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47270 16 : storageOf_isModified = source->p_isModified ;
47271 16 : storageOf_containsTransformation = source->p_containsTransformation ;
47272 16 : }
47273 :
47274 : void
47275 0 : SgCommaOpExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47276 : {
47277 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47278 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47279 0 : }
47280 :
47281 : void
47282 2 : SgCommaOpExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47283 : {
47284 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47285 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47286 2 : }
47287 :
47288 : void
47289 1 : SgCommaOpExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47290 : {
47291 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47292 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
47293 1 : }
47294 :
47295 :
47296 : void
47297 1 : SgCommaOpExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
47298 : {
47299 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
47300 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
47301 1 : }
47302 :
47303 :
47304 :
47305 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47306 :
47307 :
47308 : // ********************************************************
47309 :
47310 : /* #line 47311 "../../../src/frontend/SageIII//StorageClasses.C" */
47311 :
47312 :
47313 :
47314 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47315 :
47316 : // ****************************************************************
47317 : // member functions definition specific to each node in the grammar
47318 : // these are the SgLshiftOpStorageClass parts !!!!
47319 : // ROSETTA generated code. Do not change by hand.
47320 : // ****************************************************************
47321 :
47322 :
47323 : /* #line 47324 "../../../src/frontend/SageIII//StorageClasses.C" */
47324 :
47325 :
47326 : void
47327 27 : SgLshiftOpStorageClass::pickOutIRNodeData ( SgLshiftOp* pointer )
47328 : {
47329 27 : SgLshiftOp* source = (SgLshiftOp*) (pointer);
47330 : #if FILE_IO_EXTRA_CHECK
47331 27 : assert ( source != NULL ) ;
47332 27 : assert ( source->p_freepointer != NULL) ;
47333 : #endif
47334 27 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47335 27 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47336 27 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47337 27 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47338 27 : storageOf_need_paren = source->p_need_paren ;
47339 27 : storageOf_lvalue = source->p_lvalue ;
47340 27 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47341 27 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47342 27 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47343 27 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47344 27 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47345 27 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47346 27 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47347 27 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47348 27 : storageOf_isModified = source->p_isModified ;
47349 27 : storageOf_containsTransformation = source->p_containsTransformation ;
47350 27 : }
47351 :
47352 : void
47353 0 : SgLshiftOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47354 : {
47355 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47356 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47357 0 : }
47358 :
47359 : void
47360 2 : SgLshiftOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47361 : {
47362 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47363 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47364 2 : }
47365 :
47366 : void
47367 1 : SgLshiftOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47368 : {
47369 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47370 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
47371 1 : }
47372 :
47373 :
47374 : void
47375 1 : SgLshiftOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
47376 : {
47377 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
47378 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
47379 1 : }
47380 :
47381 :
47382 :
47383 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47384 :
47385 :
47386 : // ********************************************************
47387 :
47388 : /* #line 47389 "../../../src/frontend/SageIII//StorageClasses.C" */
47389 :
47390 :
47391 :
47392 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47393 :
47394 : // ****************************************************************
47395 : // member functions definition specific to each node in the grammar
47396 : // these are the SgRshiftOpStorageClass parts !!!!
47397 : // ROSETTA generated code. Do not change by hand.
47398 : // ****************************************************************
47399 :
47400 :
47401 : /* #line 47402 "../../../src/frontend/SageIII//StorageClasses.C" */
47402 :
47403 :
47404 : void
47405 8 : SgRshiftOpStorageClass::pickOutIRNodeData ( SgRshiftOp* pointer )
47406 : {
47407 8 : SgRshiftOp* source = (SgRshiftOp*) (pointer);
47408 : #if FILE_IO_EXTRA_CHECK
47409 8 : assert ( source != NULL ) ;
47410 8 : assert ( source->p_freepointer != NULL) ;
47411 : #endif
47412 8 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47413 8 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47414 8 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47415 8 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47416 8 : storageOf_need_paren = source->p_need_paren ;
47417 8 : storageOf_lvalue = source->p_lvalue ;
47418 8 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47419 8 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47420 8 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47421 8 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47422 8 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47423 8 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47424 8 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47425 8 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47426 8 : storageOf_isModified = source->p_isModified ;
47427 8 : storageOf_containsTransformation = source->p_containsTransformation ;
47428 8 : }
47429 :
47430 : void
47431 0 : SgRshiftOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47432 : {
47433 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47434 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47435 0 : }
47436 :
47437 : void
47438 2 : SgRshiftOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47439 : {
47440 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47441 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47442 2 : }
47443 :
47444 : void
47445 1 : SgRshiftOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47446 : {
47447 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47448 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
47449 1 : }
47450 :
47451 :
47452 : void
47453 1 : SgRshiftOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
47454 : {
47455 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
47456 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
47457 1 : }
47458 :
47459 :
47460 :
47461 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47462 :
47463 :
47464 : // ********************************************************
47465 :
47466 : /* #line 47467 "../../../src/frontend/SageIII//StorageClasses.C" */
47467 :
47468 :
47469 :
47470 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47471 :
47472 : // ****************************************************************
47473 : // member functions definition specific to each node in the grammar
47474 : // these are the SgPntrArrRefExpStorageClass parts !!!!
47475 : // ROSETTA generated code. Do not change by hand.
47476 : // ****************************************************************
47477 :
47478 :
47479 : /* #line 47480 "../../../src/frontend/SageIII//StorageClasses.C" */
47480 :
47481 :
47482 : void
47483 126 : SgPntrArrRefExpStorageClass::pickOutIRNodeData ( SgPntrArrRefExp* pointer )
47484 : {
47485 126 : SgPntrArrRefExp* source = (SgPntrArrRefExp*) (pointer);
47486 : #if FILE_IO_EXTRA_CHECK
47487 126 : assert ( source != NULL ) ;
47488 126 : assert ( source->p_freepointer != NULL) ;
47489 : #endif
47490 126 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47491 126 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47492 126 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47493 126 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47494 126 : storageOf_need_paren = source->p_need_paren ;
47495 126 : storageOf_lvalue = source->p_lvalue ;
47496 126 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47497 126 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47498 126 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47499 126 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47500 126 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47501 126 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47502 126 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47503 126 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47504 126 : storageOf_isModified = source->p_isModified ;
47505 126 : storageOf_containsTransformation = source->p_containsTransformation ;
47506 126 : }
47507 :
47508 : void
47509 0 : SgPntrArrRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47510 : {
47511 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47512 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47513 0 : }
47514 :
47515 : void
47516 2 : SgPntrArrRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47517 : {
47518 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47519 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47520 2 : }
47521 :
47522 : void
47523 1 : SgPntrArrRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47524 : {
47525 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47526 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
47527 1 : }
47528 :
47529 :
47530 : void
47531 1 : SgPntrArrRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
47532 : {
47533 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
47534 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
47535 1 : }
47536 :
47537 :
47538 :
47539 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47540 :
47541 :
47542 : // ********************************************************
47543 :
47544 : /* #line 47545 "../../../src/frontend/SageIII//StorageClasses.C" */
47545 :
47546 :
47547 :
47548 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47549 :
47550 : // ****************************************************************
47551 : // member functions definition specific to each node in the grammar
47552 : // these are the SgScopeOpStorageClass parts !!!!
47553 : // ROSETTA generated code. Do not change by hand.
47554 : // ****************************************************************
47555 :
47556 :
47557 : /* #line 47558 "../../../src/frontend/SageIII//StorageClasses.C" */
47558 :
47559 :
47560 : void
47561 0 : SgScopeOpStorageClass::pickOutIRNodeData ( SgScopeOp* pointer )
47562 : {
47563 0 : SgScopeOp* source = (SgScopeOp*) (pointer);
47564 : #if FILE_IO_EXTRA_CHECK
47565 0 : assert ( source != NULL ) ;
47566 0 : assert ( source->p_freepointer != NULL) ;
47567 : #endif
47568 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47569 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47570 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47571 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47572 0 : storageOf_need_paren = source->p_need_paren ;
47573 0 : storageOf_lvalue = source->p_lvalue ;
47574 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47575 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47576 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47577 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47578 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47579 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47580 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47581 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47582 0 : storageOf_isModified = source->p_isModified ;
47583 0 : storageOf_containsTransformation = source->p_containsTransformation ;
47584 0 : }
47585 :
47586 : void
47587 0 : SgScopeOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47588 : {
47589 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47590 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47591 0 : }
47592 :
47593 : void
47594 2 : SgScopeOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47595 : {
47596 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47597 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47598 2 : }
47599 :
47600 : void
47601 0 : SgScopeOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47602 : {
47603 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47604 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
47605 0 : }
47606 :
47607 :
47608 : void
47609 0 : SgScopeOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
47610 : {
47611 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
47612 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
47613 0 : }
47614 :
47615 :
47616 :
47617 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47618 :
47619 :
47620 : // ********************************************************
47621 :
47622 : /* #line 47623 "../../../src/frontend/SageIII//StorageClasses.C" */
47623 :
47624 :
47625 :
47626 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47627 :
47628 : // ****************************************************************
47629 : // member functions definition specific to each node in the grammar
47630 : // these are the SgAssignOpStorageClass parts !!!!
47631 : // ROSETTA generated code. Do not change by hand.
47632 : // ****************************************************************
47633 :
47634 :
47635 : /* #line 47636 "../../../src/frontend/SageIII//StorageClasses.C" */
47636 :
47637 :
47638 : void
47639 455 : SgAssignOpStorageClass::pickOutIRNodeData ( SgAssignOp* pointer )
47640 : {
47641 455 : SgAssignOp* source = (SgAssignOp*) (pointer);
47642 : #if FILE_IO_EXTRA_CHECK
47643 455 : assert ( source != NULL ) ;
47644 455 : assert ( source->p_freepointer != NULL) ;
47645 : #endif
47646 455 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47647 455 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47648 455 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47649 455 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47650 455 : storageOf_need_paren = source->p_need_paren ;
47651 455 : storageOf_lvalue = source->p_lvalue ;
47652 455 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47653 455 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47654 455 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47655 455 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47656 455 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47657 455 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47658 455 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47659 455 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47660 455 : storageOf_isModified = source->p_isModified ;
47661 455 : storageOf_containsTransformation = source->p_containsTransformation ;
47662 455 : }
47663 :
47664 : void
47665 0 : SgAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47666 : {
47667 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47668 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47669 0 : }
47670 :
47671 : void
47672 2 : SgAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47673 : {
47674 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47675 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47676 2 : }
47677 :
47678 : void
47679 1 : SgAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47680 : {
47681 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47682 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
47683 1 : }
47684 :
47685 :
47686 : void
47687 1 : SgAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
47688 : {
47689 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
47690 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
47691 1 : }
47692 :
47693 :
47694 :
47695 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47696 :
47697 :
47698 : // ********************************************************
47699 :
47700 : /* #line 47701 "../../../src/frontend/SageIII//StorageClasses.C" */
47701 :
47702 :
47703 :
47704 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47705 :
47706 : // ****************************************************************
47707 : // member functions definition specific to each node in the grammar
47708 : // these are the SgExponentiationOpStorageClass parts !!!!
47709 : // ROSETTA generated code. Do not change by hand.
47710 : // ****************************************************************
47711 :
47712 :
47713 : /* #line 47714 "../../../src/frontend/SageIII//StorageClasses.C" */
47714 :
47715 :
47716 : void
47717 0 : SgExponentiationOpStorageClass::pickOutIRNodeData ( SgExponentiationOp* pointer )
47718 : {
47719 0 : SgExponentiationOp* source = (SgExponentiationOp*) (pointer);
47720 : #if FILE_IO_EXTRA_CHECK
47721 0 : assert ( source != NULL ) ;
47722 0 : assert ( source->p_freepointer != NULL) ;
47723 : #endif
47724 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47725 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47726 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47727 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47728 0 : storageOf_need_paren = source->p_need_paren ;
47729 0 : storageOf_lvalue = source->p_lvalue ;
47730 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47731 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47732 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47733 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47734 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47735 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47736 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47737 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47738 0 : storageOf_isModified = source->p_isModified ;
47739 0 : storageOf_containsTransformation = source->p_containsTransformation ;
47740 0 : }
47741 :
47742 : void
47743 0 : SgExponentiationOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47744 : {
47745 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47746 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47747 0 : }
47748 :
47749 : void
47750 2 : SgExponentiationOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47751 : {
47752 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47753 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47754 2 : }
47755 :
47756 : void
47757 0 : SgExponentiationOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47758 : {
47759 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47760 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
47761 0 : }
47762 :
47763 :
47764 : void
47765 0 : SgExponentiationOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
47766 : {
47767 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
47768 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
47769 0 : }
47770 :
47771 :
47772 :
47773 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47774 :
47775 :
47776 : // ********************************************************
47777 :
47778 : /* #line 47779 "../../../src/frontend/SageIII//StorageClasses.C" */
47779 :
47780 :
47781 :
47782 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47783 :
47784 : // ****************************************************************
47785 : // member functions definition specific to each node in the grammar
47786 : // these are the SgConcatenationOpStorageClass parts !!!!
47787 : // ROSETTA generated code. Do not change by hand.
47788 : // ****************************************************************
47789 :
47790 :
47791 : /* #line 47792 "../../../src/frontend/SageIII//StorageClasses.C" */
47792 :
47793 :
47794 : void
47795 0 : SgConcatenationOpStorageClass::pickOutIRNodeData ( SgConcatenationOp* pointer )
47796 : {
47797 0 : SgConcatenationOp* source = (SgConcatenationOp*) (pointer);
47798 : #if FILE_IO_EXTRA_CHECK
47799 0 : assert ( source != NULL ) ;
47800 0 : assert ( source->p_freepointer != NULL) ;
47801 : #endif
47802 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47803 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47804 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47805 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47806 0 : storageOf_need_paren = source->p_need_paren ;
47807 0 : storageOf_lvalue = source->p_lvalue ;
47808 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47809 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47810 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47811 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47812 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47813 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47814 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47815 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47816 0 : storageOf_isModified = source->p_isModified ;
47817 0 : storageOf_containsTransformation = source->p_containsTransformation ;
47818 0 : }
47819 :
47820 : void
47821 0 : SgConcatenationOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47822 : {
47823 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47824 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47825 0 : }
47826 :
47827 : void
47828 2 : SgConcatenationOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47829 : {
47830 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47831 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47832 2 : }
47833 :
47834 : void
47835 0 : SgConcatenationOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47836 : {
47837 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47838 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
47839 0 : }
47840 :
47841 :
47842 : void
47843 0 : SgConcatenationOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
47844 : {
47845 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
47846 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
47847 0 : }
47848 :
47849 :
47850 :
47851 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47852 :
47853 :
47854 : // ********************************************************
47855 :
47856 : /* #line 47857 "../../../src/frontend/SageIII//StorageClasses.C" */
47857 :
47858 :
47859 :
47860 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47861 :
47862 : // ****************************************************************
47863 : // member functions definition specific to each node in the grammar
47864 : // these are the SgPointerAssignOpStorageClass parts !!!!
47865 : // ROSETTA generated code. Do not change by hand.
47866 : // ****************************************************************
47867 :
47868 :
47869 : /* #line 47870 "../../../src/frontend/SageIII//StorageClasses.C" */
47870 :
47871 :
47872 : void
47873 0 : SgPointerAssignOpStorageClass::pickOutIRNodeData ( SgPointerAssignOp* pointer )
47874 : {
47875 0 : SgPointerAssignOp* source = (SgPointerAssignOp*) (pointer);
47876 : #if FILE_IO_EXTRA_CHECK
47877 0 : assert ( source != NULL ) ;
47878 0 : assert ( source->p_freepointer != NULL) ;
47879 : #endif
47880 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47881 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47882 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47883 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47884 0 : storageOf_need_paren = source->p_need_paren ;
47885 0 : storageOf_lvalue = source->p_lvalue ;
47886 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47887 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47888 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47889 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47890 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47891 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47892 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47893 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47894 0 : storageOf_isModified = source->p_isModified ;
47895 0 : storageOf_containsTransformation = source->p_containsTransformation ;
47896 0 : }
47897 :
47898 : void
47899 0 : SgPointerAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47900 : {
47901 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47902 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47903 0 : }
47904 :
47905 : void
47906 2 : SgPointerAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47907 : {
47908 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47909 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47910 2 : }
47911 :
47912 : void
47913 0 : SgPointerAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47914 : {
47915 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47916 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
47917 0 : }
47918 :
47919 :
47920 : void
47921 0 : SgPointerAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
47922 : {
47923 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
47924 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
47925 0 : }
47926 :
47927 :
47928 :
47929 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47930 :
47931 :
47932 : // ********************************************************
47933 :
47934 : /* #line 47935 "../../../src/frontend/SageIII//StorageClasses.C" */
47935 :
47936 :
47937 :
47938 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
47939 :
47940 : // ****************************************************************
47941 : // member functions definition specific to each node in the grammar
47942 : // these are the SgUserDefinedBinaryOpStorageClass parts !!!!
47943 : // ROSETTA generated code. Do not change by hand.
47944 : // ****************************************************************
47945 :
47946 :
47947 : /* #line 47948 "../../../src/frontend/SageIII//StorageClasses.C" */
47948 :
47949 :
47950 : void
47951 0 : SgUserDefinedBinaryOpStorageClass::pickOutIRNodeData ( SgUserDefinedBinaryOp* pointer )
47952 : {
47953 0 : SgUserDefinedBinaryOp* source = (SgUserDefinedBinaryOp*) (pointer);
47954 : #if FILE_IO_EXTRA_CHECK
47955 0 : assert ( source != NULL ) ;
47956 0 : assert ( source->p_freepointer != NULL) ;
47957 : #endif
47958 0 : storageOf_operator_name.pickOutIRNodeData( &(source->p_operator_name) );
47959 0 : storageOf_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol );
47960 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
47961 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
47962 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
47963 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
47964 0 : storageOf_need_paren = source->p_need_paren ;
47965 0 : storageOf_lvalue = source->p_lvalue ;
47966 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
47967 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
47968 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
47969 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
47970 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
47971 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
47972 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
47973 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
47974 0 : storageOf_isModified = source->p_isModified ;
47975 0 : storageOf_containsTransformation = source->p_containsTransformation ;
47976 0 : }
47977 :
47978 : void
47979 0 : SgUserDefinedBinaryOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
47980 : {
47981 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
47982 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
47983 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
47984 0 : }
47985 :
47986 : void
47987 2 : SgUserDefinedBinaryOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
47988 : {
47989 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
47990 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
47991 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
47992 2 : }
47993 :
47994 : void
47995 0 : SgUserDefinedBinaryOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
47996 : {
47997 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
47998 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
47999 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48000 0 : }
48001 :
48002 :
48003 : void
48004 0 : SgUserDefinedBinaryOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48005 : {
48006 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
48007 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48008 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48009 0 : }
48010 :
48011 :
48012 :
48013 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48014 :
48015 :
48016 : // ********************************************************
48017 :
48018 : /* #line 48019 "../../../src/frontend/SageIII//StorageClasses.C" */
48019 :
48020 :
48021 :
48022 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48023 :
48024 : // ****************************************************************
48025 : // member functions definition specific to each node in the grammar
48026 : // these are the SgCompoundAssignOpStorageClass parts !!!!
48027 : // ROSETTA generated code. Do not change by hand.
48028 : // ****************************************************************
48029 :
48030 :
48031 : /* #line 48032 "../../../src/frontend/SageIII//StorageClasses.C" */
48032 :
48033 :
48034 : void
48035 0 : SgCompoundAssignOpStorageClass::pickOutIRNodeData ( SgCompoundAssignOp* pointer )
48036 : {
48037 0 : SgCompoundAssignOp* source = (SgCompoundAssignOp*) (pointer);
48038 : #if FILE_IO_EXTRA_CHECK
48039 0 : assert ( source != NULL ) ;
48040 0 : assert ( source->p_freepointer != NULL) ;
48041 : #endif
48042 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48043 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48044 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48045 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48046 0 : storageOf_need_paren = source->p_need_paren ;
48047 0 : storageOf_lvalue = source->p_lvalue ;
48048 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48049 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48050 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48051 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48052 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48053 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48054 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48055 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48056 0 : storageOf_isModified = source->p_isModified ;
48057 0 : storageOf_containsTransformation = source->p_containsTransformation ;
48058 0 : }
48059 :
48060 : void
48061 0 : SgCompoundAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48062 : {
48063 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
48064 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
48065 0 : }
48066 :
48067 : void
48068 2 : SgCompoundAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
48069 : {
48070 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
48071 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
48072 2 : }
48073 :
48074 : void
48075 0 : SgCompoundAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
48076 : {
48077 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
48078 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48079 0 : }
48080 :
48081 :
48082 : void
48083 0 : SgCompoundAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48084 : {
48085 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48086 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48087 0 : }
48088 :
48089 :
48090 :
48091 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48092 :
48093 :
48094 : // ********************************************************
48095 :
48096 : /* #line 48097 "../../../src/frontend/SageIII//StorageClasses.C" */
48097 :
48098 :
48099 :
48100 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48101 :
48102 : // ****************************************************************
48103 : // member functions definition specific to each node in the grammar
48104 : // these are the SgPlusAssignOpStorageClass parts !!!!
48105 : // ROSETTA generated code. Do not change by hand.
48106 : // ****************************************************************
48107 :
48108 :
48109 : /* #line 48110 "../../../src/frontend/SageIII//StorageClasses.C" */
48110 :
48111 :
48112 : void
48113 29 : SgPlusAssignOpStorageClass::pickOutIRNodeData ( SgPlusAssignOp* pointer )
48114 : {
48115 29 : SgPlusAssignOp* source = (SgPlusAssignOp*) (pointer);
48116 : #if FILE_IO_EXTRA_CHECK
48117 29 : assert ( source != NULL ) ;
48118 29 : assert ( source->p_freepointer != NULL) ;
48119 : #endif
48120 29 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48121 29 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48122 29 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48123 29 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48124 29 : storageOf_need_paren = source->p_need_paren ;
48125 29 : storageOf_lvalue = source->p_lvalue ;
48126 29 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48127 29 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48128 29 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48129 29 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48130 29 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48131 29 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48132 29 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48133 29 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48134 29 : storageOf_isModified = source->p_isModified ;
48135 29 : storageOf_containsTransformation = source->p_containsTransformation ;
48136 29 : }
48137 :
48138 : void
48139 0 : SgPlusAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48140 : {
48141 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
48142 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
48143 0 : }
48144 :
48145 : void
48146 2 : SgPlusAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
48147 : {
48148 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
48149 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
48150 2 : }
48151 :
48152 : void
48153 1 : SgPlusAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
48154 : {
48155 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
48156 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48157 1 : }
48158 :
48159 :
48160 : void
48161 1 : SgPlusAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48162 : {
48163 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48164 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48165 1 : }
48166 :
48167 :
48168 :
48169 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48170 :
48171 :
48172 : // ********************************************************
48173 :
48174 : /* #line 48175 "../../../src/frontend/SageIII//StorageClasses.C" */
48175 :
48176 :
48177 :
48178 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48179 :
48180 : // ****************************************************************
48181 : // member functions definition specific to each node in the grammar
48182 : // these are the SgMinusAssignOpStorageClass parts !!!!
48183 : // ROSETTA generated code. Do not change by hand.
48184 : // ****************************************************************
48185 :
48186 :
48187 : /* #line 48188 "../../../src/frontend/SageIII//StorageClasses.C" */
48188 :
48189 :
48190 : void
48191 10 : SgMinusAssignOpStorageClass::pickOutIRNodeData ( SgMinusAssignOp* pointer )
48192 : {
48193 10 : SgMinusAssignOp* source = (SgMinusAssignOp*) (pointer);
48194 : #if FILE_IO_EXTRA_CHECK
48195 10 : assert ( source != NULL ) ;
48196 10 : assert ( source->p_freepointer != NULL) ;
48197 : #endif
48198 10 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48199 10 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48200 10 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48201 10 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48202 10 : storageOf_need_paren = source->p_need_paren ;
48203 10 : storageOf_lvalue = source->p_lvalue ;
48204 10 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48205 10 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48206 10 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48207 10 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48208 10 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48209 10 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48210 10 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48211 10 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48212 10 : storageOf_isModified = source->p_isModified ;
48213 10 : storageOf_containsTransformation = source->p_containsTransformation ;
48214 10 : }
48215 :
48216 : void
48217 0 : SgMinusAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48218 : {
48219 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
48220 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
48221 0 : }
48222 :
48223 : void
48224 2 : SgMinusAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
48225 : {
48226 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
48227 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
48228 2 : }
48229 :
48230 : void
48231 1 : SgMinusAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
48232 : {
48233 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
48234 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48235 1 : }
48236 :
48237 :
48238 : void
48239 1 : SgMinusAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48240 : {
48241 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48242 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48243 1 : }
48244 :
48245 :
48246 :
48247 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48248 :
48249 :
48250 : // ********************************************************
48251 :
48252 : /* #line 48253 "../../../src/frontend/SageIII//StorageClasses.C" */
48253 :
48254 :
48255 :
48256 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48257 :
48258 : // ****************************************************************
48259 : // member functions definition specific to each node in the grammar
48260 : // these are the SgAndAssignOpStorageClass parts !!!!
48261 : // ROSETTA generated code. Do not change by hand.
48262 : // ****************************************************************
48263 :
48264 :
48265 : /* #line 48266 "../../../src/frontend/SageIII//StorageClasses.C" */
48266 :
48267 :
48268 : void
48269 0 : SgAndAssignOpStorageClass::pickOutIRNodeData ( SgAndAssignOp* pointer )
48270 : {
48271 0 : SgAndAssignOp* source = (SgAndAssignOp*) (pointer);
48272 : #if FILE_IO_EXTRA_CHECK
48273 0 : assert ( source != NULL ) ;
48274 0 : assert ( source->p_freepointer != NULL) ;
48275 : #endif
48276 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48277 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48278 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48279 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48280 0 : storageOf_need_paren = source->p_need_paren ;
48281 0 : storageOf_lvalue = source->p_lvalue ;
48282 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48283 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48284 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48285 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48286 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48287 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48288 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48289 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48290 0 : storageOf_isModified = source->p_isModified ;
48291 0 : storageOf_containsTransformation = source->p_containsTransformation ;
48292 0 : }
48293 :
48294 : void
48295 0 : SgAndAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48296 : {
48297 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
48298 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
48299 0 : }
48300 :
48301 : void
48302 2 : SgAndAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
48303 : {
48304 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
48305 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
48306 2 : }
48307 :
48308 : void
48309 0 : SgAndAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
48310 : {
48311 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
48312 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48313 0 : }
48314 :
48315 :
48316 : void
48317 0 : SgAndAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48318 : {
48319 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48320 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48321 0 : }
48322 :
48323 :
48324 :
48325 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48326 :
48327 :
48328 : // ********************************************************
48329 :
48330 : /* #line 48331 "../../../src/frontend/SageIII//StorageClasses.C" */
48331 :
48332 :
48333 :
48334 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48335 :
48336 : // ****************************************************************
48337 : // member functions definition specific to each node in the grammar
48338 : // these are the SgIorAssignOpStorageClass parts !!!!
48339 : // ROSETTA generated code. Do not change by hand.
48340 : // ****************************************************************
48341 :
48342 :
48343 : /* #line 48344 "../../../src/frontend/SageIII//StorageClasses.C" */
48344 :
48345 :
48346 : void
48347 7 : SgIorAssignOpStorageClass::pickOutIRNodeData ( SgIorAssignOp* pointer )
48348 : {
48349 7 : SgIorAssignOp* source = (SgIorAssignOp*) (pointer);
48350 : #if FILE_IO_EXTRA_CHECK
48351 7 : assert ( source != NULL ) ;
48352 7 : assert ( source->p_freepointer != NULL) ;
48353 : #endif
48354 7 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48355 7 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48356 7 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48357 7 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48358 7 : storageOf_need_paren = source->p_need_paren ;
48359 7 : storageOf_lvalue = source->p_lvalue ;
48360 7 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48361 7 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48362 7 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48363 7 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48364 7 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48365 7 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48366 7 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48367 7 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48368 7 : storageOf_isModified = source->p_isModified ;
48369 7 : storageOf_containsTransformation = source->p_containsTransformation ;
48370 7 : }
48371 :
48372 : void
48373 0 : SgIorAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48374 : {
48375 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
48376 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
48377 0 : }
48378 :
48379 : void
48380 2 : SgIorAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
48381 : {
48382 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
48383 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
48384 2 : }
48385 :
48386 : void
48387 1 : SgIorAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
48388 : {
48389 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
48390 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48391 1 : }
48392 :
48393 :
48394 : void
48395 1 : SgIorAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48396 : {
48397 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48398 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48399 1 : }
48400 :
48401 :
48402 :
48403 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48404 :
48405 :
48406 : // ********************************************************
48407 :
48408 : /* #line 48409 "../../../src/frontend/SageIII//StorageClasses.C" */
48409 :
48410 :
48411 :
48412 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48413 :
48414 : // ****************************************************************
48415 : // member functions definition specific to each node in the grammar
48416 : // these are the SgMultAssignOpStorageClass parts !!!!
48417 : // ROSETTA generated code. Do not change by hand.
48418 : // ****************************************************************
48419 :
48420 :
48421 : /* #line 48422 "../../../src/frontend/SageIII//StorageClasses.C" */
48422 :
48423 :
48424 : void
48425 2 : SgMultAssignOpStorageClass::pickOutIRNodeData ( SgMultAssignOp* pointer )
48426 : {
48427 2 : SgMultAssignOp* source = (SgMultAssignOp*) (pointer);
48428 : #if FILE_IO_EXTRA_CHECK
48429 2 : assert ( source != NULL ) ;
48430 2 : assert ( source->p_freepointer != NULL) ;
48431 : #endif
48432 2 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48433 2 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48434 2 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48435 2 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48436 2 : storageOf_need_paren = source->p_need_paren ;
48437 2 : storageOf_lvalue = source->p_lvalue ;
48438 2 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48439 2 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48440 2 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48441 2 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48442 2 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48443 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48444 2 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48445 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48446 2 : storageOf_isModified = source->p_isModified ;
48447 2 : storageOf_containsTransformation = source->p_containsTransformation ;
48448 2 : }
48449 :
48450 : void
48451 0 : SgMultAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48452 : {
48453 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
48454 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
48455 0 : }
48456 :
48457 : void
48458 2 : SgMultAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
48459 : {
48460 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
48461 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
48462 2 : }
48463 :
48464 : void
48465 1 : SgMultAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
48466 : {
48467 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
48468 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48469 1 : }
48470 :
48471 :
48472 : void
48473 1 : SgMultAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48474 : {
48475 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48476 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48477 1 : }
48478 :
48479 :
48480 :
48481 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48482 :
48483 :
48484 : // ********************************************************
48485 :
48486 : /* #line 48487 "../../../src/frontend/SageIII//StorageClasses.C" */
48487 :
48488 :
48489 :
48490 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48491 :
48492 : // ****************************************************************
48493 : // member functions definition specific to each node in the grammar
48494 : // these are the SgDivAssignOpStorageClass parts !!!!
48495 : // ROSETTA generated code. Do not change by hand.
48496 : // ****************************************************************
48497 :
48498 :
48499 : /* #line 48500 "../../../src/frontend/SageIII//StorageClasses.C" */
48500 :
48501 :
48502 : void
48503 1 : SgDivAssignOpStorageClass::pickOutIRNodeData ( SgDivAssignOp* pointer )
48504 : {
48505 1 : SgDivAssignOp* source = (SgDivAssignOp*) (pointer);
48506 : #if FILE_IO_EXTRA_CHECK
48507 1 : assert ( source != NULL ) ;
48508 1 : assert ( source->p_freepointer != NULL) ;
48509 : #endif
48510 1 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48511 1 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48512 1 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48513 1 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48514 1 : storageOf_need_paren = source->p_need_paren ;
48515 1 : storageOf_lvalue = source->p_lvalue ;
48516 1 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48517 1 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48518 1 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48519 1 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48520 1 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48521 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48522 1 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48523 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48524 1 : storageOf_isModified = source->p_isModified ;
48525 1 : storageOf_containsTransformation = source->p_containsTransformation ;
48526 1 : }
48527 :
48528 : void
48529 0 : SgDivAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48530 : {
48531 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
48532 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
48533 0 : }
48534 :
48535 : void
48536 2 : SgDivAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
48537 : {
48538 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
48539 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
48540 2 : }
48541 :
48542 : void
48543 1 : SgDivAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
48544 : {
48545 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
48546 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48547 1 : }
48548 :
48549 :
48550 : void
48551 1 : SgDivAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48552 : {
48553 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48554 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48555 1 : }
48556 :
48557 :
48558 :
48559 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48560 :
48561 :
48562 : // ********************************************************
48563 :
48564 : /* #line 48565 "../../../src/frontend/SageIII//StorageClasses.C" */
48565 :
48566 :
48567 :
48568 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48569 :
48570 : // ****************************************************************
48571 : // member functions definition specific to each node in the grammar
48572 : // these are the SgModAssignOpStorageClass parts !!!!
48573 : // ROSETTA generated code. Do not change by hand.
48574 : // ****************************************************************
48575 :
48576 :
48577 : /* #line 48578 "../../../src/frontend/SageIII//StorageClasses.C" */
48578 :
48579 :
48580 : void
48581 0 : SgModAssignOpStorageClass::pickOutIRNodeData ( SgModAssignOp* pointer )
48582 : {
48583 0 : SgModAssignOp* source = (SgModAssignOp*) (pointer);
48584 : #if FILE_IO_EXTRA_CHECK
48585 0 : assert ( source != NULL ) ;
48586 0 : assert ( source->p_freepointer != NULL) ;
48587 : #endif
48588 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48589 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48590 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48591 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48592 0 : storageOf_need_paren = source->p_need_paren ;
48593 0 : storageOf_lvalue = source->p_lvalue ;
48594 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48595 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48596 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48597 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48598 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48599 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48600 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48601 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48602 0 : storageOf_isModified = source->p_isModified ;
48603 0 : storageOf_containsTransformation = source->p_containsTransformation ;
48604 0 : }
48605 :
48606 : void
48607 0 : SgModAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48608 : {
48609 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
48610 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
48611 0 : }
48612 :
48613 : void
48614 2 : SgModAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
48615 : {
48616 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
48617 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
48618 2 : }
48619 :
48620 : void
48621 0 : SgModAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
48622 : {
48623 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
48624 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48625 0 : }
48626 :
48627 :
48628 : void
48629 0 : SgModAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48630 : {
48631 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48632 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48633 0 : }
48634 :
48635 :
48636 :
48637 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48638 :
48639 :
48640 : // ********************************************************
48641 :
48642 : /* #line 48643 "../../../src/frontend/SageIII//StorageClasses.C" */
48643 :
48644 :
48645 :
48646 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48647 :
48648 : // ****************************************************************
48649 : // member functions definition specific to each node in the grammar
48650 : // these are the SgXorAssignOpStorageClass parts !!!!
48651 : // ROSETTA generated code. Do not change by hand.
48652 : // ****************************************************************
48653 :
48654 :
48655 : /* #line 48656 "../../../src/frontend/SageIII//StorageClasses.C" */
48656 :
48657 :
48658 : void
48659 0 : SgXorAssignOpStorageClass::pickOutIRNodeData ( SgXorAssignOp* pointer )
48660 : {
48661 0 : SgXorAssignOp* source = (SgXorAssignOp*) (pointer);
48662 : #if FILE_IO_EXTRA_CHECK
48663 0 : assert ( source != NULL ) ;
48664 0 : assert ( source->p_freepointer != NULL) ;
48665 : #endif
48666 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48667 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48668 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48669 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48670 0 : storageOf_need_paren = source->p_need_paren ;
48671 0 : storageOf_lvalue = source->p_lvalue ;
48672 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48673 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48674 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48675 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48676 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48677 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48678 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48679 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48680 0 : storageOf_isModified = source->p_isModified ;
48681 0 : storageOf_containsTransformation = source->p_containsTransformation ;
48682 0 : }
48683 :
48684 : void
48685 0 : SgXorAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48686 : {
48687 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
48688 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
48689 0 : }
48690 :
48691 : void
48692 2 : SgXorAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
48693 : {
48694 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
48695 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
48696 2 : }
48697 :
48698 : void
48699 0 : SgXorAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
48700 : {
48701 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
48702 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48703 0 : }
48704 :
48705 :
48706 : void
48707 0 : SgXorAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48708 : {
48709 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48710 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48711 0 : }
48712 :
48713 :
48714 :
48715 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48716 :
48717 :
48718 : // ********************************************************
48719 :
48720 : /* #line 48721 "../../../src/frontend/SageIII//StorageClasses.C" */
48721 :
48722 :
48723 :
48724 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48725 :
48726 : // ****************************************************************
48727 : // member functions definition specific to each node in the grammar
48728 : // these are the SgLshiftAssignOpStorageClass parts !!!!
48729 : // ROSETTA generated code. Do not change by hand.
48730 : // ****************************************************************
48731 :
48732 :
48733 : /* #line 48734 "../../../src/frontend/SageIII//StorageClasses.C" */
48734 :
48735 :
48736 : void
48737 0 : SgLshiftAssignOpStorageClass::pickOutIRNodeData ( SgLshiftAssignOp* pointer )
48738 : {
48739 0 : SgLshiftAssignOp* source = (SgLshiftAssignOp*) (pointer);
48740 : #if FILE_IO_EXTRA_CHECK
48741 0 : assert ( source != NULL ) ;
48742 0 : assert ( source->p_freepointer != NULL) ;
48743 : #endif
48744 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48745 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48746 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48747 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48748 0 : storageOf_need_paren = source->p_need_paren ;
48749 0 : storageOf_lvalue = source->p_lvalue ;
48750 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48751 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48752 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48753 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48754 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48755 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48756 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48757 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48758 0 : storageOf_isModified = source->p_isModified ;
48759 0 : storageOf_containsTransformation = source->p_containsTransformation ;
48760 0 : }
48761 :
48762 : void
48763 0 : SgLshiftAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48764 : {
48765 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
48766 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
48767 0 : }
48768 :
48769 : void
48770 2 : SgLshiftAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
48771 : {
48772 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
48773 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
48774 2 : }
48775 :
48776 : void
48777 0 : SgLshiftAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
48778 : {
48779 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
48780 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48781 0 : }
48782 :
48783 :
48784 : void
48785 0 : SgLshiftAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48786 : {
48787 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48788 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48789 0 : }
48790 :
48791 :
48792 :
48793 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48794 :
48795 :
48796 : // ********************************************************
48797 :
48798 : /* #line 48799 "../../../src/frontend/SageIII//StorageClasses.C" */
48799 :
48800 :
48801 :
48802 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48803 :
48804 : // ****************************************************************
48805 : // member functions definition specific to each node in the grammar
48806 : // these are the SgRshiftAssignOpStorageClass parts !!!!
48807 : // ROSETTA generated code. Do not change by hand.
48808 : // ****************************************************************
48809 :
48810 :
48811 : /* #line 48812 "../../../src/frontend/SageIII//StorageClasses.C" */
48812 :
48813 :
48814 : void
48815 2 : SgRshiftAssignOpStorageClass::pickOutIRNodeData ( SgRshiftAssignOp* pointer )
48816 : {
48817 2 : SgRshiftAssignOp* source = (SgRshiftAssignOp*) (pointer);
48818 : #if FILE_IO_EXTRA_CHECK
48819 2 : assert ( source != NULL ) ;
48820 2 : assert ( source->p_freepointer != NULL) ;
48821 : #endif
48822 2 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48823 2 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48824 2 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48825 2 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48826 2 : storageOf_need_paren = source->p_need_paren ;
48827 2 : storageOf_lvalue = source->p_lvalue ;
48828 2 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48829 2 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48830 2 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48831 2 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48832 2 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48833 2 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48834 2 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48835 2 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48836 2 : storageOf_isModified = source->p_isModified ;
48837 2 : storageOf_containsTransformation = source->p_containsTransformation ;
48838 2 : }
48839 :
48840 : void
48841 0 : SgRshiftAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48842 : {
48843 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
48844 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
48845 0 : }
48846 :
48847 : void
48848 2 : SgRshiftAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
48849 : {
48850 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
48851 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
48852 2 : }
48853 :
48854 : void
48855 1 : SgRshiftAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
48856 : {
48857 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
48858 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48859 1 : }
48860 :
48861 :
48862 : void
48863 1 : SgRshiftAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48864 : {
48865 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48866 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48867 1 : }
48868 :
48869 :
48870 :
48871 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48872 :
48873 :
48874 : // ********************************************************
48875 :
48876 : /* #line 48877 "../../../src/frontend/SageIII//StorageClasses.C" */
48877 :
48878 :
48879 :
48880 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48881 :
48882 : // ****************************************************************
48883 : // member functions definition specific to each node in the grammar
48884 : // these are the SgIntegerDivideAssignOpStorageClass parts !!!!
48885 : // ROSETTA generated code. Do not change by hand.
48886 : // ****************************************************************
48887 :
48888 :
48889 : /* #line 48890 "../../../src/frontend/SageIII//StorageClasses.C" */
48890 :
48891 :
48892 : void
48893 0 : SgIntegerDivideAssignOpStorageClass::pickOutIRNodeData ( SgIntegerDivideAssignOp* pointer )
48894 : {
48895 0 : SgIntegerDivideAssignOp* source = (SgIntegerDivideAssignOp*) (pointer);
48896 : #if FILE_IO_EXTRA_CHECK
48897 0 : assert ( source != NULL ) ;
48898 0 : assert ( source->p_freepointer != NULL) ;
48899 : #endif
48900 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48901 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48902 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48903 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48904 0 : storageOf_need_paren = source->p_need_paren ;
48905 0 : storageOf_lvalue = source->p_lvalue ;
48906 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48907 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48908 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48909 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48910 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48911 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48912 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48913 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48914 0 : storageOf_isModified = source->p_isModified ;
48915 0 : storageOf_containsTransformation = source->p_containsTransformation ;
48916 0 : }
48917 :
48918 : void
48919 0 : SgIntegerDivideAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48920 : {
48921 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
48922 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
48923 0 : }
48924 :
48925 : void
48926 2 : SgIntegerDivideAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
48927 : {
48928 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
48929 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
48930 2 : }
48931 :
48932 : void
48933 0 : SgIntegerDivideAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
48934 : {
48935 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
48936 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
48937 0 : }
48938 :
48939 :
48940 : void
48941 0 : SgIntegerDivideAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
48942 : {
48943 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
48944 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
48945 0 : }
48946 :
48947 :
48948 :
48949 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48950 :
48951 :
48952 : // ********************************************************
48953 :
48954 : /* #line 48955 "../../../src/frontend/SageIII//StorageClasses.C" */
48955 :
48956 :
48957 :
48958 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
48959 :
48960 : // ****************************************************************
48961 : // member functions definition specific to each node in the grammar
48962 : // these are the SgExponentiationAssignOpStorageClass parts !!!!
48963 : // ROSETTA generated code. Do not change by hand.
48964 : // ****************************************************************
48965 :
48966 :
48967 : /* #line 48968 "../../../src/frontend/SageIII//StorageClasses.C" */
48968 :
48969 :
48970 : void
48971 0 : SgExponentiationAssignOpStorageClass::pickOutIRNodeData ( SgExponentiationAssignOp* pointer )
48972 : {
48973 0 : SgExponentiationAssignOp* source = (SgExponentiationAssignOp*) (pointer);
48974 : #if FILE_IO_EXTRA_CHECK
48975 0 : assert ( source != NULL ) ;
48976 0 : assert ( source->p_freepointer != NULL) ;
48977 : #endif
48978 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
48979 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
48980 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
48981 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
48982 0 : storageOf_need_paren = source->p_need_paren ;
48983 0 : storageOf_lvalue = source->p_lvalue ;
48984 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
48985 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
48986 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
48987 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
48988 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
48989 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
48990 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
48991 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
48992 0 : storageOf_isModified = source->p_isModified ;
48993 0 : storageOf_containsTransformation = source->p_containsTransformation ;
48994 0 : }
48995 :
48996 : void
48997 0 : SgExponentiationAssignOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
48998 : {
48999 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49000 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49001 0 : }
49002 :
49003 : void
49004 2 : SgExponentiationAssignOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49005 : {
49006 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49007 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49008 2 : }
49009 :
49010 : void
49011 0 : SgExponentiationAssignOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49012 : {
49013 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49014 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49015 0 : }
49016 :
49017 :
49018 : void
49019 0 : SgExponentiationAssignOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49020 : {
49021 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49022 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49023 0 : }
49024 :
49025 :
49026 :
49027 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49028 :
49029 :
49030 : // ********************************************************
49031 :
49032 : /* #line 49033 "../../../src/frontend/SageIII//StorageClasses.C" */
49033 :
49034 :
49035 :
49036 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49037 :
49038 : // ****************************************************************
49039 : // member functions definition specific to each node in the grammar
49040 : // these are the SgMembershipOpStorageClass parts !!!!
49041 : // ROSETTA generated code. Do not change by hand.
49042 : // ****************************************************************
49043 :
49044 :
49045 : /* #line 49046 "../../../src/frontend/SageIII//StorageClasses.C" */
49046 :
49047 :
49048 : void
49049 0 : SgMembershipOpStorageClass::pickOutIRNodeData ( SgMembershipOp* pointer )
49050 : {
49051 0 : SgMembershipOp* source = (SgMembershipOp*) (pointer);
49052 : #if FILE_IO_EXTRA_CHECK
49053 0 : assert ( source != NULL ) ;
49054 0 : assert ( source->p_freepointer != NULL) ;
49055 : #endif
49056 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49057 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49058 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49059 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49060 0 : storageOf_need_paren = source->p_need_paren ;
49061 0 : storageOf_lvalue = source->p_lvalue ;
49062 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49063 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
49064 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
49065 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
49066 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
49067 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
49068 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
49069 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
49070 0 : storageOf_isModified = source->p_isModified ;
49071 0 : storageOf_containsTransformation = source->p_containsTransformation ;
49072 0 : }
49073 :
49074 : void
49075 0 : SgMembershipOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
49076 : {
49077 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49078 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49079 0 : }
49080 :
49081 : void
49082 2 : SgMembershipOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49083 : {
49084 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49085 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49086 2 : }
49087 :
49088 : void
49089 0 : SgMembershipOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49090 : {
49091 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49092 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49093 0 : }
49094 :
49095 :
49096 : void
49097 0 : SgMembershipOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49098 : {
49099 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49100 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49101 0 : }
49102 :
49103 :
49104 :
49105 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49106 :
49107 :
49108 : // ********************************************************
49109 :
49110 : /* #line 49111 "../../../src/frontend/SageIII//StorageClasses.C" */
49111 :
49112 :
49113 :
49114 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49115 :
49116 : // ****************************************************************
49117 : // member functions definition specific to each node in the grammar
49118 : // these are the SgSpaceshipOpStorageClass parts !!!!
49119 : // ROSETTA generated code. Do not change by hand.
49120 : // ****************************************************************
49121 :
49122 :
49123 : /* #line 49124 "../../../src/frontend/SageIII//StorageClasses.C" */
49124 :
49125 :
49126 : void
49127 0 : SgSpaceshipOpStorageClass::pickOutIRNodeData ( SgSpaceshipOp* pointer )
49128 : {
49129 0 : SgSpaceshipOp* source = (SgSpaceshipOp*) (pointer);
49130 : #if FILE_IO_EXTRA_CHECK
49131 0 : assert ( source != NULL ) ;
49132 0 : assert ( source->p_freepointer != NULL) ;
49133 : #endif
49134 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49135 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49136 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49137 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49138 0 : storageOf_need_paren = source->p_need_paren ;
49139 0 : storageOf_lvalue = source->p_lvalue ;
49140 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49141 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
49142 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
49143 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
49144 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
49145 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
49146 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
49147 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
49148 0 : storageOf_isModified = source->p_isModified ;
49149 0 : storageOf_containsTransformation = source->p_containsTransformation ;
49150 0 : }
49151 :
49152 : void
49153 0 : SgSpaceshipOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
49154 : {
49155 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49156 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49157 0 : }
49158 :
49159 : void
49160 2 : SgSpaceshipOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49161 : {
49162 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49163 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49164 2 : }
49165 :
49166 : void
49167 0 : SgSpaceshipOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49168 : {
49169 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49170 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49171 0 : }
49172 :
49173 :
49174 : void
49175 0 : SgSpaceshipOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49176 : {
49177 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49178 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49179 0 : }
49180 :
49181 :
49182 :
49183 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49184 :
49185 :
49186 : // ********************************************************
49187 :
49188 : /* #line 49189 "../../../src/frontend/SageIII//StorageClasses.C" */
49189 :
49190 :
49191 :
49192 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49193 :
49194 : // ****************************************************************
49195 : // member functions definition specific to each node in the grammar
49196 : // these are the SgNonMembershipOpStorageClass parts !!!!
49197 : // ROSETTA generated code. Do not change by hand.
49198 : // ****************************************************************
49199 :
49200 :
49201 : /* #line 49202 "../../../src/frontend/SageIII//StorageClasses.C" */
49202 :
49203 :
49204 : void
49205 0 : SgNonMembershipOpStorageClass::pickOutIRNodeData ( SgNonMembershipOp* pointer )
49206 : {
49207 0 : SgNonMembershipOp* source = (SgNonMembershipOp*) (pointer);
49208 : #if FILE_IO_EXTRA_CHECK
49209 0 : assert ( source != NULL ) ;
49210 0 : assert ( source->p_freepointer != NULL) ;
49211 : #endif
49212 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49213 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49214 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49215 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49216 0 : storageOf_need_paren = source->p_need_paren ;
49217 0 : storageOf_lvalue = source->p_lvalue ;
49218 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49219 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
49220 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
49221 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
49222 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
49223 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
49224 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
49225 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
49226 0 : storageOf_isModified = source->p_isModified ;
49227 0 : storageOf_containsTransformation = source->p_containsTransformation ;
49228 0 : }
49229 :
49230 : void
49231 0 : SgNonMembershipOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
49232 : {
49233 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49234 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49235 0 : }
49236 :
49237 : void
49238 2 : SgNonMembershipOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49239 : {
49240 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49241 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49242 2 : }
49243 :
49244 : void
49245 0 : SgNonMembershipOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49246 : {
49247 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49248 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49249 0 : }
49250 :
49251 :
49252 : void
49253 0 : SgNonMembershipOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49254 : {
49255 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49256 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49257 0 : }
49258 :
49259 :
49260 :
49261 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49262 :
49263 :
49264 : // ********************************************************
49265 :
49266 : /* #line 49267 "../../../src/frontend/SageIII//StorageClasses.C" */
49267 :
49268 :
49269 :
49270 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49271 :
49272 : // ****************************************************************
49273 : // member functions definition specific to each node in the grammar
49274 : // these are the SgIsOpStorageClass parts !!!!
49275 : // ROSETTA generated code. Do not change by hand.
49276 : // ****************************************************************
49277 :
49278 :
49279 : /* #line 49280 "../../../src/frontend/SageIII//StorageClasses.C" */
49280 :
49281 :
49282 : void
49283 0 : SgIsOpStorageClass::pickOutIRNodeData ( SgIsOp* pointer )
49284 : {
49285 0 : SgIsOp* source = (SgIsOp*) (pointer);
49286 : #if FILE_IO_EXTRA_CHECK
49287 0 : assert ( source != NULL ) ;
49288 0 : assert ( source->p_freepointer != NULL) ;
49289 : #endif
49290 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49291 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49292 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49293 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49294 0 : storageOf_need_paren = source->p_need_paren ;
49295 0 : storageOf_lvalue = source->p_lvalue ;
49296 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49297 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
49298 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
49299 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
49300 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
49301 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
49302 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
49303 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
49304 0 : storageOf_isModified = source->p_isModified ;
49305 0 : storageOf_containsTransformation = source->p_containsTransformation ;
49306 0 : }
49307 :
49308 : void
49309 0 : SgIsOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
49310 : {
49311 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49312 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49313 0 : }
49314 :
49315 : void
49316 2 : SgIsOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49317 : {
49318 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49319 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49320 2 : }
49321 :
49322 : void
49323 0 : SgIsOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49324 : {
49325 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49326 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49327 0 : }
49328 :
49329 :
49330 : void
49331 0 : SgIsOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49332 : {
49333 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49334 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49335 0 : }
49336 :
49337 :
49338 :
49339 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49340 :
49341 :
49342 : // ********************************************************
49343 :
49344 : /* #line 49345 "../../../src/frontend/SageIII//StorageClasses.C" */
49345 :
49346 :
49347 :
49348 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49349 :
49350 : // ****************************************************************
49351 : // member functions definition specific to each node in the grammar
49352 : // these are the SgIsNotOpStorageClass parts !!!!
49353 : // ROSETTA generated code. Do not change by hand.
49354 : // ****************************************************************
49355 :
49356 :
49357 : /* #line 49358 "../../../src/frontend/SageIII//StorageClasses.C" */
49358 :
49359 :
49360 : void
49361 0 : SgIsNotOpStorageClass::pickOutIRNodeData ( SgIsNotOp* pointer )
49362 : {
49363 0 : SgIsNotOp* source = (SgIsNotOp*) (pointer);
49364 : #if FILE_IO_EXTRA_CHECK
49365 0 : assert ( source != NULL ) ;
49366 0 : assert ( source->p_freepointer != NULL) ;
49367 : #endif
49368 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49369 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49370 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49371 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49372 0 : storageOf_need_paren = source->p_need_paren ;
49373 0 : storageOf_lvalue = source->p_lvalue ;
49374 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49375 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
49376 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
49377 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
49378 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
49379 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
49380 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
49381 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
49382 0 : storageOf_isModified = source->p_isModified ;
49383 0 : storageOf_containsTransformation = source->p_containsTransformation ;
49384 0 : }
49385 :
49386 : void
49387 0 : SgIsNotOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
49388 : {
49389 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49390 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49391 0 : }
49392 :
49393 : void
49394 2 : SgIsNotOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49395 : {
49396 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49397 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49398 2 : }
49399 :
49400 : void
49401 0 : SgIsNotOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49402 : {
49403 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49404 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49405 0 : }
49406 :
49407 :
49408 : void
49409 0 : SgIsNotOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49410 : {
49411 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49412 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49413 0 : }
49414 :
49415 :
49416 :
49417 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49418 :
49419 :
49420 : // ********************************************************
49421 :
49422 : /* #line 49423 "../../../src/frontend/SageIII//StorageClasses.C" */
49423 :
49424 :
49425 :
49426 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49427 :
49428 : // ****************************************************************
49429 : // member functions definition specific to each node in the grammar
49430 : // these are the SgElementwiseOpStorageClass parts !!!!
49431 : // ROSETTA generated code. Do not change by hand.
49432 : // ****************************************************************
49433 :
49434 :
49435 : /* #line 49436 "../../../src/frontend/SageIII//StorageClasses.C" */
49436 :
49437 :
49438 : void
49439 0 : SgElementwiseOpStorageClass::pickOutIRNodeData ( SgElementwiseOp* pointer )
49440 : {
49441 0 : SgElementwiseOp* source = (SgElementwiseOp*) (pointer);
49442 : #if FILE_IO_EXTRA_CHECK
49443 0 : assert ( source != NULL ) ;
49444 0 : assert ( source->p_freepointer != NULL) ;
49445 : #endif
49446 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49447 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49448 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49449 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49450 0 : storageOf_need_paren = source->p_need_paren ;
49451 0 : storageOf_lvalue = source->p_lvalue ;
49452 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49453 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
49454 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
49455 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
49456 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
49457 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
49458 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
49459 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
49460 0 : storageOf_isModified = source->p_isModified ;
49461 0 : storageOf_containsTransformation = source->p_containsTransformation ;
49462 0 : }
49463 :
49464 : void
49465 0 : SgElementwiseOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
49466 : {
49467 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49468 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49469 0 : }
49470 :
49471 : void
49472 2 : SgElementwiseOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49473 : {
49474 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49475 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49476 2 : }
49477 :
49478 : void
49479 0 : SgElementwiseOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49480 : {
49481 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49482 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49483 0 : }
49484 :
49485 :
49486 : void
49487 0 : SgElementwiseOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49488 : {
49489 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49490 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49491 0 : }
49492 :
49493 :
49494 :
49495 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49496 :
49497 :
49498 : // ********************************************************
49499 :
49500 : /* #line 49501 "../../../src/frontend/SageIII//StorageClasses.C" */
49501 :
49502 :
49503 :
49504 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49505 :
49506 : // ****************************************************************
49507 : // member functions definition specific to each node in the grammar
49508 : // these are the SgElementwiseMultiplyOpStorageClass parts !!!!
49509 : // ROSETTA generated code. Do not change by hand.
49510 : // ****************************************************************
49511 :
49512 :
49513 : /* #line 49514 "../../../src/frontend/SageIII//StorageClasses.C" */
49514 :
49515 :
49516 : void
49517 0 : SgElementwiseMultiplyOpStorageClass::pickOutIRNodeData ( SgElementwiseMultiplyOp* pointer )
49518 : {
49519 0 : SgElementwiseMultiplyOp* source = (SgElementwiseMultiplyOp*) (pointer);
49520 : #if FILE_IO_EXTRA_CHECK
49521 0 : assert ( source != NULL ) ;
49522 0 : assert ( source->p_freepointer != NULL) ;
49523 : #endif
49524 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49525 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49526 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49527 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49528 0 : storageOf_need_paren = source->p_need_paren ;
49529 0 : storageOf_lvalue = source->p_lvalue ;
49530 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49531 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
49532 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
49533 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
49534 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
49535 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
49536 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
49537 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
49538 0 : storageOf_isModified = source->p_isModified ;
49539 0 : storageOf_containsTransformation = source->p_containsTransformation ;
49540 0 : }
49541 :
49542 : void
49543 0 : SgElementwiseMultiplyOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
49544 : {
49545 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49546 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49547 0 : }
49548 :
49549 : void
49550 2 : SgElementwiseMultiplyOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49551 : {
49552 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49553 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49554 2 : }
49555 :
49556 : void
49557 0 : SgElementwiseMultiplyOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49558 : {
49559 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49560 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49561 0 : }
49562 :
49563 :
49564 : void
49565 0 : SgElementwiseMultiplyOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49566 : {
49567 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49568 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49569 0 : }
49570 :
49571 :
49572 :
49573 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49574 :
49575 :
49576 : // ********************************************************
49577 :
49578 : /* #line 49579 "../../../src/frontend/SageIII//StorageClasses.C" */
49579 :
49580 :
49581 :
49582 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49583 :
49584 : // ****************************************************************
49585 : // member functions definition specific to each node in the grammar
49586 : // these are the SgElementwisePowerOpStorageClass parts !!!!
49587 : // ROSETTA generated code. Do not change by hand.
49588 : // ****************************************************************
49589 :
49590 :
49591 : /* #line 49592 "../../../src/frontend/SageIII//StorageClasses.C" */
49592 :
49593 :
49594 : void
49595 0 : SgElementwisePowerOpStorageClass::pickOutIRNodeData ( SgElementwisePowerOp* pointer )
49596 : {
49597 0 : SgElementwisePowerOp* source = (SgElementwisePowerOp*) (pointer);
49598 : #if FILE_IO_EXTRA_CHECK
49599 0 : assert ( source != NULL ) ;
49600 0 : assert ( source->p_freepointer != NULL) ;
49601 : #endif
49602 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49603 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49604 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49605 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49606 0 : storageOf_need_paren = source->p_need_paren ;
49607 0 : storageOf_lvalue = source->p_lvalue ;
49608 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49609 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
49610 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
49611 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
49612 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
49613 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
49614 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
49615 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
49616 0 : storageOf_isModified = source->p_isModified ;
49617 0 : storageOf_containsTransformation = source->p_containsTransformation ;
49618 0 : }
49619 :
49620 : void
49621 0 : SgElementwisePowerOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
49622 : {
49623 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49624 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49625 0 : }
49626 :
49627 : void
49628 2 : SgElementwisePowerOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49629 : {
49630 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49631 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49632 2 : }
49633 :
49634 : void
49635 0 : SgElementwisePowerOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49636 : {
49637 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49638 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49639 0 : }
49640 :
49641 :
49642 : void
49643 0 : SgElementwisePowerOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49644 : {
49645 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49646 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49647 0 : }
49648 :
49649 :
49650 :
49651 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49652 :
49653 :
49654 : // ********************************************************
49655 :
49656 : /* #line 49657 "../../../src/frontend/SageIII//StorageClasses.C" */
49657 :
49658 :
49659 :
49660 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49661 :
49662 : // ****************************************************************
49663 : // member functions definition specific to each node in the grammar
49664 : // these are the SgElementwiseLeftDivideOpStorageClass parts !!!!
49665 : // ROSETTA generated code. Do not change by hand.
49666 : // ****************************************************************
49667 :
49668 :
49669 : /* #line 49670 "../../../src/frontend/SageIII//StorageClasses.C" */
49670 :
49671 :
49672 : void
49673 0 : SgElementwiseLeftDivideOpStorageClass::pickOutIRNodeData ( SgElementwiseLeftDivideOp* pointer )
49674 : {
49675 0 : SgElementwiseLeftDivideOp* source = (SgElementwiseLeftDivideOp*) (pointer);
49676 : #if FILE_IO_EXTRA_CHECK
49677 0 : assert ( source != NULL ) ;
49678 0 : assert ( source->p_freepointer != NULL) ;
49679 : #endif
49680 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49681 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49682 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49683 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49684 0 : storageOf_need_paren = source->p_need_paren ;
49685 0 : storageOf_lvalue = source->p_lvalue ;
49686 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49687 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
49688 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
49689 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
49690 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
49691 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
49692 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
49693 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
49694 0 : storageOf_isModified = source->p_isModified ;
49695 0 : storageOf_containsTransformation = source->p_containsTransformation ;
49696 0 : }
49697 :
49698 : void
49699 0 : SgElementwiseLeftDivideOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
49700 : {
49701 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49702 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49703 0 : }
49704 :
49705 : void
49706 2 : SgElementwiseLeftDivideOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49707 : {
49708 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49709 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49710 2 : }
49711 :
49712 : void
49713 0 : SgElementwiseLeftDivideOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49714 : {
49715 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49716 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49717 0 : }
49718 :
49719 :
49720 : void
49721 0 : SgElementwiseLeftDivideOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49722 : {
49723 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49724 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49725 0 : }
49726 :
49727 :
49728 :
49729 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49730 :
49731 :
49732 : // ********************************************************
49733 :
49734 : /* #line 49735 "../../../src/frontend/SageIII//StorageClasses.C" */
49735 :
49736 :
49737 :
49738 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49739 :
49740 : // ****************************************************************
49741 : // member functions definition specific to each node in the grammar
49742 : // these are the SgElementwiseDivideOpStorageClass parts !!!!
49743 : // ROSETTA generated code. Do not change by hand.
49744 : // ****************************************************************
49745 :
49746 :
49747 : /* #line 49748 "../../../src/frontend/SageIII//StorageClasses.C" */
49748 :
49749 :
49750 : void
49751 0 : SgElementwiseDivideOpStorageClass::pickOutIRNodeData ( SgElementwiseDivideOp* pointer )
49752 : {
49753 0 : SgElementwiseDivideOp* source = (SgElementwiseDivideOp*) (pointer);
49754 : #if FILE_IO_EXTRA_CHECK
49755 0 : assert ( source != NULL ) ;
49756 0 : assert ( source->p_freepointer != NULL) ;
49757 : #endif
49758 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49759 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49760 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49761 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49762 0 : storageOf_need_paren = source->p_need_paren ;
49763 0 : storageOf_lvalue = source->p_lvalue ;
49764 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49765 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
49766 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
49767 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
49768 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
49769 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
49770 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
49771 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
49772 0 : storageOf_isModified = source->p_isModified ;
49773 0 : storageOf_containsTransformation = source->p_containsTransformation ;
49774 0 : }
49775 :
49776 : void
49777 0 : SgElementwiseDivideOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
49778 : {
49779 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49780 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49781 0 : }
49782 :
49783 : void
49784 2 : SgElementwiseDivideOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49785 : {
49786 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49787 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49788 2 : }
49789 :
49790 : void
49791 0 : SgElementwiseDivideOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49792 : {
49793 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49794 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49795 0 : }
49796 :
49797 :
49798 : void
49799 0 : SgElementwiseDivideOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49800 : {
49801 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49802 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49803 0 : }
49804 :
49805 :
49806 :
49807 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49808 :
49809 :
49810 : // ********************************************************
49811 :
49812 : /* #line 49813 "../../../src/frontend/SageIII//StorageClasses.C" */
49813 :
49814 :
49815 :
49816 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49817 :
49818 : // ****************************************************************
49819 : // member functions definition specific to each node in the grammar
49820 : // these are the SgElementwiseAddOpStorageClass parts !!!!
49821 : // ROSETTA generated code. Do not change by hand.
49822 : // ****************************************************************
49823 :
49824 :
49825 : /* #line 49826 "../../../src/frontend/SageIII//StorageClasses.C" */
49826 :
49827 :
49828 : void
49829 0 : SgElementwiseAddOpStorageClass::pickOutIRNodeData ( SgElementwiseAddOp* pointer )
49830 : {
49831 0 : SgElementwiseAddOp* source = (SgElementwiseAddOp*) (pointer);
49832 : #if FILE_IO_EXTRA_CHECK
49833 0 : assert ( source != NULL ) ;
49834 0 : assert ( source->p_freepointer != NULL) ;
49835 : #endif
49836 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49837 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49838 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49839 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49840 0 : storageOf_need_paren = source->p_need_paren ;
49841 0 : storageOf_lvalue = source->p_lvalue ;
49842 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49843 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
49844 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
49845 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
49846 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
49847 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
49848 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
49849 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
49850 0 : storageOf_isModified = source->p_isModified ;
49851 0 : storageOf_containsTransformation = source->p_containsTransformation ;
49852 0 : }
49853 :
49854 : void
49855 0 : SgElementwiseAddOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
49856 : {
49857 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49858 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49859 0 : }
49860 :
49861 : void
49862 2 : SgElementwiseAddOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49863 : {
49864 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49865 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49866 2 : }
49867 :
49868 : void
49869 0 : SgElementwiseAddOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49870 : {
49871 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49872 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49873 0 : }
49874 :
49875 :
49876 : void
49877 0 : SgElementwiseAddOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49878 : {
49879 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49880 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49881 0 : }
49882 :
49883 :
49884 :
49885 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49886 :
49887 :
49888 : // ********************************************************
49889 :
49890 : /* #line 49891 "../../../src/frontend/SageIII//StorageClasses.C" */
49891 :
49892 :
49893 :
49894 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49895 :
49896 : // ****************************************************************
49897 : // member functions definition specific to each node in the grammar
49898 : // these are the SgElementwiseSubtractOpStorageClass parts !!!!
49899 : // ROSETTA generated code. Do not change by hand.
49900 : // ****************************************************************
49901 :
49902 :
49903 : /* #line 49904 "../../../src/frontend/SageIII//StorageClasses.C" */
49904 :
49905 :
49906 : void
49907 0 : SgElementwiseSubtractOpStorageClass::pickOutIRNodeData ( SgElementwiseSubtractOp* pointer )
49908 : {
49909 0 : SgElementwiseSubtractOp* source = (SgElementwiseSubtractOp*) (pointer);
49910 : #if FILE_IO_EXTRA_CHECK
49911 0 : assert ( source != NULL ) ;
49912 0 : assert ( source->p_freepointer != NULL) ;
49913 : #endif
49914 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49915 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49916 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49917 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49918 0 : storageOf_need_paren = source->p_need_paren ;
49919 0 : storageOf_lvalue = source->p_lvalue ;
49920 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49921 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
49922 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
49923 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
49924 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
49925 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
49926 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
49927 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
49928 0 : storageOf_isModified = source->p_isModified ;
49929 0 : storageOf_containsTransformation = source->p_containsTransformation ;
49930 0 : }
49931 :
49932 : void
49933 0 : SgElementwiseSubtractOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
49934 : {
49935 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
49936 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
49937 0 : }
49938 :
49939 : void
49940 2 : SgElementwiseSubtractOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
49941 : {
49942 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
49943 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
49944 2 : }
49945 :
49946 : void
49947 0 : SgElementwiseSubtractOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
49948 : {
49949 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
49950 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
49951 0 : }
49952 :
49953 :
49954 : void
49955 0 : SgElementwiseSubtractOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
49956 : {
49957 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
49958 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
49959 0 : }
49960 :
49961 :
49962 :
49963 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49964 :
49965 :
49966 : // ********************************************************
49967 :
49968 : /* #line 49969 "../../../src/frontend/SageIII//StorageClasses.C" */
49969 :
49970 :
49971 :
49972 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
49973 :
49974 : // ****************************************************************
49975 : // member functions definition specific to each node in the grammar
49976 : // these are the SgPowerOpStorageClass parts !!!!
49977 : // ROSETTA generated code. Do not change by hand.
49978 : // ****************************************************************
49979 :
49980 :
49981 : /* #line 49982 "../../../src/frontend/SageIII//StorageClasses.C" */
49982 :
49983 :
49984 : void
49985 0 : SgPowerOpStorageClass::pickOutIRNodeData ( SgPowerOp* pointer )
49986 : {
49987 0 : SgPowerOp* source = (SgPowerOp*) (pointer);
49988 : #if FILE_IO_EXTRA_CHECK
49989 0 : assert ( source != NULL ) ;
49990 0 : assert ( source->p_freepointer != NULL) ;
49991 : #endif
49992 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
49993 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
49994 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
49995 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
49996 0 : storageOf_need_paren = source->p_need_paren ;
49997 0 : storageOf_lvalue = source->p_lvalue ;
49998 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
49999 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50000 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50001 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50002 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50003 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50004 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50005 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50006 0 : storageOf_isModified = source->p_isModified ;
50007 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50008 0 : }
50009 :
50010 : void
50011 0 : SgPowerOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50012 : {
50013 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50014 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50015 0 : }
50016 :
50017 : void
50018 2 : SgPowerOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50019 : {
50020 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50021 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50022 2 : }
50023 :
50024 : void
50025 0 : SgPowerOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50026 : {
50027 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50028 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50029 0 : }
50030 :
50031 :
50032 : void
50033 0 : SgPowerOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
50034 : {
50035 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50036 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50037 0 : }
50038 :
50039 :
50040 :
50041 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50042 :
50043 :
50044 : // ********************************************************
50045 :
50046 : /* #line 50047 "../../../src/frontend/SageIII//StorageClasses.C" */
50047 :
50048 :
50049 :
50050 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50051 :
50052 : // ****************************************************************
50053 : // member functions definition specific to each node in the grammar
50054 : // these are the SgLeftDivideOpStorageClass parts !!!!
50055 : // ROSETTA generated code. Do not change by hand.
50056 : // ****************************************************************
50057 :
50058 :
50059 : /* #line 50060 "../../../src/frontend/SageIII//StorageClasses.C" */
50060 :
50061 :
50062 : void
50063 0 : SgLeftDivideOpStorageClass::pickOutIRNodeData ( SgLeftDivideOp* pointer )
50064 : {
50065 0 : SgLeftDivideOp* source = (SgLeftDivideOp*) (pointer);
50066 : #if FILE_IO_EXTRA_CHECK
50067 0 : assert ( source != NULL ) ;
50068 0 : assert ( source->p_freepointer != NULL) ;
50069 : #endif
50070 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
50071 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
50072 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
50073 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
50074 0 : storageOf_need_paren = source->p_need_paren ;
50075 0 : storageOf_lvalue = source->p_lvalue ;
50076 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
50077 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50078 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50079 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50080 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50081 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50082 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50083 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50084 0 : storageOf_isModified = source->p_isModified ;
50085 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50086 0 : }
50087 :
50088 : void
50089 0 : SgLeftDivideOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50090 : {
50091 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50092 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50093 0 : }
50094 :
50095 : void
50096 2 : SgLeftDivideOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50097 : {
50098 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50099 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50100 2 : }
50101 :
50102 : void
50103 0 : SgLeftDivideOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50104 : {
50105 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50106 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50107 0 : }
50108 :
50109 :
50110 : void
50111 0 : SgLeftDivideOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
50112 : {
50113 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50114 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50115 0 : }
50116 :
50117 :
50118 :
50119 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50120 :
50121 :
50122 : // ********************************************************
50123 :
50124 : /* #line 50125 "../../../src/frontend/SageIII//StorageClasses.C" */
50125 :
50126 :
50127 :
50128 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50129 :
50130 : // ****************************************************************
50131 : // member functions definition specific to each node in the grammar
50132 : // these are the SgSIMDBinaryOpStorageClass parts !!!!
50133 : // ROSETTA generated code. Do not change by hand.
50134 : // ****************************************************************
50135 :
50136 :
50137 : /* #line 50138 "../../../src/frontend/SageIII//StorageClasses.C" */
50138 :
50139 :
50140 : void
50141 0 : SgSIMDBinaryOpStorageClass::pickOutIRNodeData ( SgSIMDBinaryOp* pointer )
50142 : {
50143 0 : SgSIMDBinaryOp* source = (SgSIMDBinaryOp*) (pointer);
50144 : #if FILE_IO_EXTRA_CHECK
50145 0 : assert ( source != NULL ) ;
50146 0 : assert ( source->p_freepointer != NULL) ;
50147 : #endif
50148 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
50149 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
50150 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
50151 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
50152 0 : storageOf_need_paren = source->p_need_paren ;
50153 0 : storageOf_lvalue = source->p_lvalue ;
50154 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
50155 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50156 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50157 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50158 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50159 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50160 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50161 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50162 0 : storageOf_isModified = source->p_isModified ;
50163 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50164 0 : }
50165 :
50166 : void
50167 0 : SgSIMDBinaryOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50168 : {
50169 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50170 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50171 0 : }
50172 :
50173 : void
50174 2 : SgSIMDBinaryOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50175 : {
50176 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50177 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50178 2 : }
50179 :
50180 : void
50181 0 : SgSIMDBinaryOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50182 : {
50183 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50184 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50185 0 : }
50186 :
50187 :
50188 : void
50189 0 : SgSIMDBinaryOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
50190 : {
50191 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50192 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50193 0 : }
50194 :
50195 :
50196 :
50197 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50198 :
50199 :
50200 : // ********************************************************
50201 :
50202 : /* #line 50203 "../../../src/frontend/SageIII//StorageClasses.C" */
50203 :
50204 :
50205 :
50206 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50207 :
50208 : // ****************************************************************
50209 : // member functions definition specific to each node in the grammar
50210 : // these are the SgSIMDAddOpStorageClass parts !!!!
50211 : // ROSETTA generated code. Do not change by hand.
50212 : // ****************************************************************
50213 :
50214 :
50215 : /* #line 50216 "../../../src/frontend/SageIII//StorageClasses.C" */
50216 :
50217 :
50218 : void
50219 0 : SgSIMDAddOpStorageClass::pickOutIRNodeData ( SgSIMDAddOp* pointer )
50220 : {
50221 0 : SgSIMDAddOp* source = (SgSIMDAddOp*) (pointer);
50222 : #if FILE_IO_EXTRA_CHECK
50223 0 : assert ( source != NULL ) ;
50224 0 : assert ( source->p_freepointer != NULL) ;
50225 : #endif
50226 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
50227 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
50228 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
50229 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
50230 0 : storageOf_need_paren = source->p_need_paren ;
50231 0 : storageOf_lvalue = source->p_lvalue ;
50232 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
50233 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50234 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50235 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50236 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50237 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50238 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50239 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50240 0 : storageOf_isModified = source->p_isModified ;
50241 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50242 0 : }
50243 :
50244 : void
50245 0 : SgSIMDAddOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50246 : {
50247 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50248 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50249 0 : }
50250 :
50251 : void
50252 2 : SgSIMDAddOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50253 : {
50254 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50255 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50256 2 : }
50257 :
50258 : void
50259 0 : SgSIMDAddOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50260 : {
50261 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50262 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50263 0 : }
50264 :
50265 :
50266 : void
50267 0 : SgSIMDAddOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
50268 : {
50269 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50270 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50271 0 : }
50272 :
50273 :
50274 :
50275 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50276 :
50277 :
50278 : // ********************************************************
50279 :
50280 : /* #line 50281 "../../../src/frontend/SageIII//StorageClasses.C" */
50281 :
50282 :
50283 :
50284 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50285 :
50286 : // ****************************************************************
50287 : // member functions definition specific to each node in the grammar
50288 : // these are the SgSIMDSubOpStorageClass parts !!!!
50289 : // ROSETTA generated code. Do not change by hand.
50290 : // ****************************************************************
50291 :
50292 :
50293 : /* #line 50294 "../../../src/frontend/SageIII//StorageClasses.C" */
50294 :
50295 :
50296 : void
50297 0 : SgSIMDSubOpStorageClass::pickOutIRNodeData ( SgSIMDSubOp* pointer )
50298 : {
50299 0 : SgSIMDSubOp* source = (SgSIMDSubOp*) (pointer);
50300 : #if FILE_IO_EXTRA_CHECK
50301 0 : assert ( source != NULL ) ;
50302 0 : assert ( source->p_freepointer != NULL) ;
50303 : #endif
50304 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
50305 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
50306 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
50307 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
50308 0 : storageOf_need_paren = source->p_need_paren ;
50309 0 : storageOf_lvalue = source->p_lvalue ;
50310 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
50311 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50312 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50313 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50314 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50315 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50316 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50317 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50318 0 : storageOf_isModified = source->p_isModified ;
50319 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50320 0 : }
50321 :
50322 : void
50323 0 : SgSIMDSubOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50324 : {
50325 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50326 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50327 0 : }
50328 :
50329 : void
50330 2 : SgSIMDSubOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50331 : {
50332 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50333 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50334 2 : }
50335 :
50336 : void
50337 0 : SgSIMDSubOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50338 : {
50339 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50340 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50341 0 : }
50342 :
50343 :
50344 : void
50345 0 : SgSIMDSubOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
50346 : {
50347 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50348 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50349 0 : }
50350 :
50351 :
50352 :
50353 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50354 :
50355 :
50356 : // ********************************************************
50357 :
50358 : /* #line 50359 "../../../src/frontend/SageIII//StorageClasses.C" */
50359 :
50360 :
50361 :
50362 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50363 :
50364 : // ****************************************************************
50365 : // member functions definition specific to each node in the grammar
50366 : // these are the SgSIMDMulOpStorageClass parts !!!!
50367 : // ROSETTA generated code. Do not change by hand.
50368 : // ****************************************************************
50369 :
50370 :
50371 : /* #line 50372 "../../../src/frontend/SageIII//StorageClasses.C" */
50372 :
50373 :
50374 : void
50375 0 : SgSIMDMulOpStorageClass::pickOutIRNodeData ( SgSIMDMulOp* pointer )
50376 : {
50377 0 : SgSIMDMulOp* source = (SgSIMDMulOp*) (pointer);
50378 : #if FILE_IO_EXTRA_CHECK
50379 0 : assert ( source != NULL ) ;
50380 0 : assert ( source->p_freepointer != NULL) ;
50381 : #endif
50382 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
50383 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
50384 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
50385 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
50386 0 : storageOf_need_paren = source->p_need_paren ;
50387 0 : storageOf_lvalue = source->p_lvalue ;
50388 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
50389 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50390 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50391 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50392 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50393 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50394 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50395 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50396 0 : storageOf_isModified = source->p_isModified ;
50397 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50398 0 : }
50399 :
50400 : void
50401 0 : SgSIMDMulOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50402 : {
50403 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50404 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50405 0 : }
50406 :
50407 : void
50408 2 : SgSIMDMulOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50409 : {
50410 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50411 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50412 2 : }
50413 :
50414 : void
50415 0 : SgSIMDMulOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50416 : {
50417 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50418 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50419 0 : }
50420 :
50421 :
50422 : void
50423 0 : SgSIMDMulOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
50424 : {
50425 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50426 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50427 0 : }
50428 :
50429 :
50430 :
50431 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50432 :
50433 :
50434 : // ********************************************************
50435 :
50436 : /* #line 50437 "../../../src/frontend/SageIII//StorageClasses.C" */
50437 :
50438 :
50439 :
50440 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50441 :
50442 : // ****************************************************************
50443 : // member functions definition specific to each node in the grammar
50444 : // these are the SgSIMDDivOpStorageClass parts !!!!
50445 : // ROSETTA generated code. Do not change by hand.
50446 : // ****************************************************************
50447 :
50448 :
50449 : /* #line 50450 "../../../src/frontend/SageIII//StorageClasses.C" */
50450 :
50451 :
50452 : void
50453 0 : SgSIMDDivOpStorageClass::pickOutIRNodeData ( SgSIMDDivOp* pointer )
50454 : {
50455 0 : SgSIMDDivOp* source = (SgSIMDDivOp*) (pointer);
50456 : #if FILE_IO_EXTRA_CHECK
50457 0 : assert ( source != NULL ) ;
50458 0 : assert ( source->p_freepointer != NULL) ;
50459 : #endif
50460 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
50461 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
50462 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
50463 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
50464 0 : storageOf_need_paren = source->p_need_paren ;
50465 0 : storageOf_lvalue = source->p_lvalue ;
50466 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
50467 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50468 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50469 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50470 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50471 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50472 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50473 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50474 0 : storageOf_isModified = source->p_isModified ;
50475 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50476 0 : }
50477 :
50478 : void
50479 0 : SgSIMDDivOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50480 : {
50481 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50482 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50483 0 : }
50484 :
50485 : void
50486 2 : SgSIMDDivOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50487 : {
50488 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50489 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50490 2 : }
50491 :
50492 : void
50493 0 : SgSIMDDivOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50494 : {
50495 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50496 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50497 0 : }
50498 :
50499 :
50500 : void
50501 0 : SgSIMDDivOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
50502 : {
50503 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50504 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50505 0 : }
50506 :
50507 :
50508 :
50509 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50510 :
50511 :
50512 : // ********************************************************
50513 :
50514 : /* #line 50515 "../../../src/frontend/SageIII//StorageClasses.C" */
50515 :
50516 :
50517 :
50518 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50519 :
50520 : // ****************************************************************
50521 : // member functions definition specific to each node in the grammar
50522 : // these are the SgSIMDFmaOpStorageClass parts !!!!
50523 : // ROSETTA generated code. Do not change by hand.
50524 : // ****************************************************************
50525 :
50526 :
50527 : /* #line 50528 "../../../src/frontend/SageIII//StorageClasses.C" */
50528 :
50529 :
50530 : void
50531 0 : SgSIMDFmaOpStorageClass::pickOutIRNodeData ( SgSIMDFmaOp* pointer )
50532 : {
50533 0 : SgSIMDFmaOp* source = (SgSIMDFmaOp*) (pointer);
50534 : #if FILE_IO_EXTRA_CHECK
50535 0 : assert ( source != NULL ) ;
50536 0 : assert ( source->p_freepointer != NULL) ;
50537 : #endif
50538 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
50539 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
50540 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
50541 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
50542 0 : storageOf_need_paren = source->p_need_paren ;
50543 0 : storageOf_lvalue = source->p_lvalue ;
50544 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
50545 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50546 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50547 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50548 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50549 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50550 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50551 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50552 0 : storageOf_isModified = source->p_isModified ;
50553 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50554 0 : }
50555 :
50556 : void
50557 0 : SgSIMDFmaOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50558 : {
50559 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50560 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50561 0 : }
50562 :
50563 : void
50564 2 : SgSIMDFmaOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50565 : {
50566 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50567 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50568 2 : }
50569 :
50570 : void
50571 0 : SgSIMDFmaOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50572 : {
50573 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50574 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50575 0 : }
50576 :
50577 :
50578 : void
50579 0 : SgSIMDFmaOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
50580 : {
50581 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50582 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50583 0 : }
50584 :
50585 :
50586 :
50587 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50588 :
50589 :
50590 : // ********************************************************
50591 :
50592 : /* #line 50593 "../../../src/frontend/SageIII//StorageClasses.C" */
50593 :
50594 :
50595 :
50596 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50597 :
50598 : // ****************************************************************
50599 : // member functions definition specific to each node in the grammar
50600 : // these are the SgSIMDLoadStorageClass parts !!!!
50601 : // ROSETTA generated code. Do not change by hand.
50602 : // ****************************************************************
50603 :
50604 :
50605 : /* #line 50606 "../../../src/frontend/SageIII//StorageClasses.C" */
50606 :
50607 :
50608 : void
50609 0 : SgSIMDLoadStorageClass::pickOutIRNodeData ( SgSIMDLoad* pointer )
50610 : {
50611 0 : SgSIMDLoad* source = (SgSIMDLoad*) (pointer);
50612 : #if FILE_IO_EXTRA_CHECK
50613 0 : assert ( source != NULL ) ;
50614 0 : assert ( source->p_freepointer != NULL) ;
50615 : #endif
50616 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
50617 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
50618 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
50619 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
50620 0 : storageOf_need_paren = source->p_need_paren ;
50621 0 : storageOf_lvalue = source->p_lvalue ;
50622 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
50623 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50624 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50625 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50626 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50627 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50628 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50629 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50630 0 : storageOf_isModified = source->p_isModified ;
50631 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50632 0 : }
50633 :
50634 : void
50635 0 : SgSIMDLoadStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50636 : {
50637 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50638 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50639 0 : }
50640 :
50641 : void
50642 2 : SgSIMDLoadStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50643 : {
50644 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50645 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50646 2 : }
50647 :
50648 : void
50649 0 : SgSIMDLoadStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50650 : {
50651 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50652 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50653 0 : }
50654 :
50655 :
50656 : void
50657 0 : SgSIMDLoadStorageClass::readEasyStorageDataFromFile (std::istream& in)
50658 : {
50659 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50660 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50661 0 : }
50662 :
50663 :
50664 :
50665 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50666 :
50667 :
50668 : // ********************************************************
50669 :
50670 : /* #line 50671 "../../../src/frontend/SageIII//StorageClasses.C" */
50671 :
50672 :
50673 :
50674 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50675 :
50676 : // ****************************************************************
50677 : // member functions definition specific to each node in the grammar
50678 : // these are the SgSIMDBroadcastStorageClass parts !!!!
50679 : // ROSETTA generated code. Do not change by hand.
50680 : // ****************************************************************
50681 :
50682 :
50683 : /* #line 50684 "../../../src/frontend/SageIII//StorageClasses.C" */
50684 :
50685 :
50686 : void
50687 0 : SgSIMDBroadcastStorageClass::pickOutIRNodeData ( SgSIMDBroadcast* pointer )
50688 : {
50689 0 : SgSIMDBroadcast* source = (SgSIMDBroadcast*) (pointer);
50690 : #if FILE_IO_EXTRA_CHECK
50691 0 : assert ( source != NULL ) ;
50692 0 : assert ( source->p_freepointer != NULL) ;
50693 : #endif
50694 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
50695 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
50696 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
50697 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
50698 0 : storageOf_need_paren = source->p_need_paren ;
50699 0 : storageOf_lvalue = source->p_lvalue ;
50700 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
50701 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50702 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50703 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50704 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50705 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50706 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50707 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50708 0 : storageOf_isModified = source->p_isModified ;
50709 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50710 0 : }
50711 :
50712 : void
50713 0 : SgSIMDBroadcastStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50714 : {
50715 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50716 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50717 0 : }
50718 :
50719 : void
50720 2 : SgSIMDBroadcastStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50721 : {
50722 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50723 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50724 2 : }
50725 :
50726 : void
50727 0 : SgSIMDBroadcastStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50728 : {
50729 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50730 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50731 0 : }
50732 :
50733 :
50734 : void
50735 0 : SgSIMDBroadcastStorageClass::readEasyStorageDataFromFile (std::istream& in)
50736 : {
50737 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50738 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50739 0 : }
50740 :
50741 :
50742 :
50743 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50744 :
50745 :
50746 : // ********************************************************
50747 :
50748 : /* #line 50749 "../../../src/frontend/SageIII//StorageClasses.C" */
50749 :
50750 :
50751 :
50752 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50753 :
50754 : // ****************************************************************
50755 : // member functions definition specific to each node in the grammar
50756 : // these are the SgSIMDStoreStorageClass parts !!!!
50757 : // ROSETTA generated code. Do not change by hand.
50758 : // ****************************************************************
50759 :
50760 :
50761 : /* #line 50762 "../../../src/frontend/SageIII//StorageClasses.C" */
50762 :
50763 :
50764 : void
50765 0 : SgSIMDStoreStorageClass::pickOutIRNodeData ( SgSIMDStore* pointer )
50766 : {
50767 0 : SgSIMDStore* source = (SgSIMDStore*) (pointer);
50768 : #if FILE_IO_EXTRA_CHECK
50769 0 : assert ( source != NULL ) ;
50770 0 : assert ( source->p_freepointer != NULL) ;
50771 : #endif
50772 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
50773 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
50774 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
50775 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
50776 0 : storageOf_need_paren = source->p_need_paren ;
50777 0 : storageOf_lvalue = source->p_lvalue ;
50778 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
50779 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50780 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50781 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50782 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50783 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50784 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50785 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50786 0 : storageOf_isModified = source->p_isModified ;
50787 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50788 0 : }
50789 :
50790 : void
50791 0 : SgSIMDStoreStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50792 : {
50793 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50794 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50795 0 : }
50796 :
50797 : void
50798 2 : SgSIMDStoreStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50799 : {
50800 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50801 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50802 2 : }
50803 :
50804 : void
50805 0 : SgSIMDStoreStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50806 : {
50807 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50808 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50809 0 : }
50810 :
50811 :
50812 : void
50813 0 : SgSIMDStoreStorageClass::readEasyStorageDataFromFile (std::istream& in)
50814 : {
50815 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50816 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50817 0 : }
50818 :
50819 :
50820 :
50821 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50822 :
50823 :
50824 : // ********************************************************
50825 :
50826 : /* #line 50827 "../../../src/frontend/SageIII//StorageClasses.C" */
50827 :
50828 :
50829 :
50830 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50831 :
50832 : // ****************************************************************
50833 : // member functions definition specific to each node in the grammar
50834 : // these are the SgSIMDPartialStoreStorageClass parts !!!!
50835 : // ROSETTA generated code. Do not change by hand.
50836 : // ****************************************************************
50837 :
50838 :
50839 : /* #line 50840 "../../../src/frontend/SageIII//StorageClasses.C" */
50840 :
50841 :
50842 : void
50843 0 : SgSIMDPartialStoreStorageClass::pickOutIRNodeData ( SgSIMDPartialStore* pointer )
50844 : {
50845 0 : SgSIMDPartialStore* source = (SgSIMDPartialStore*) (pointer);
50846 : #if FILE_IO_EXTRA_CHECK
50847 0 : assert ( source != NULL ) ;
50848 0 : assert ( source->p_freepointer != NULL) ;
50849 : #endif
50850 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
50851 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
50852 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
50853 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
50854 0 : storageOf_need_paren = source->p_need_paren ;
50855 0 : storageOf_lvalue = source->p_lvalue ;
50856 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
50857 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50858 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50859 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50860 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50861 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50862 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50863 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50864 0 : storageOf_isModified = source->p_isModified ;
50865 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50866 0 : }
50867 :
50868 : void
50869 0 : SgSIMDPartialStoreStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50870 : {
50871 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50872 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50873 0 : }
50874 :
50875 : void
50876 2 : SgSIMDPartialStoreStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50877 : {
50878 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50879 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50880 2 : }
50881 :
50882 : void
50883 0 : SgSIMDPartialStoreStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50884 : {
50885 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50886 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50887 0 : }
50888 :
50889 :
50890 : void
50891 0 : SgSIMDPartialStoreStorageClass::readEasyStorageDataFromFile (std::istream& in)
50892 : {
50893 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50894 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50895 0 : }
50896 :
50897 :
50898 :
50899 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50900 :
50901 :
50902 : // ********************************************************
50903 :
50904 : /* #line 50905 "../../../src/frontend/SageIII//StorageClasses.C" */
50905 :
50906 :
50907 :
50908 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50909 :
50910 : // ****************************************************************
50911 : // member functions definition specific to each node in the grammar
50912 : // these are the SgSIMDScalarStoreStorageClass parts !!!!
50913 : // ROSETTA generated code. Do not change by hand.
50914 : // ****************************************************************
50915 :
50916 :
50917 : /* #line 50918 "../../../src/frontend/SageIII//StorageClasses.C" */
50918 :
50919 :
50920 : void
50921 0 : SgSIMDScalarStoreStorageClass::pickOutIRNodeData ( SgSIMDScalarStore* pointer )
50922 : {
50923 0 : SgSIMDScalarStore* source = (SgSIMDScalarStore*) (pointer);
50924 : #if FILE_IO_EXTRA_CHECK
50925 0 : assert ( source != NULL ) ;
50926 0 : assert ( source->p_freepointer != NULL) ;
50927 : #endif
50928 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
50929 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
50930 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
50931 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
50932 0 : storageOf_need_paren = source->p_need_paren ;
50933 0 : storageOf_lvalue = source->p_lvalue ;
50934 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
50935 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
50936 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
50937 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
50938 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
50939 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
50940 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
50941 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
50942 0 : storageOf_isModified = source->p_isModified ;
50943 0 : storageOf_containsTransformation = source->p_containsTransformation ;
50944 0 : }
50945 :
50946 : void
50947 0 : SgSIMDScalarStoreStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
50948 : {
50949 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
50950 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
50951 0 : }
50952 :
50953 : void
50954 2 : SgSIMDScalarStoreStorageClass::deleteStaticDataOfEasyStorageClasses ( )
50955 : {
50956 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
50957 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
50958 2 : }
50959 :
50960 : void
50961 0 : SgSIMDScalarStoreStorageClass::writeEasyStorageDataToFile (std::ostream& out)
50962 : {
50963 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
50964 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
50965 0 : }
50966 :
50967 :
50968 : void
50969 0 : SgSIMDScalarStoreStorageClass::readEasyStorageDataFromFile (std::istream& in)
50970 : {
50971 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
50972 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
50973 0 : }
50974 :
50975 :
50976 :
50977 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50978 :
50979 :
50980 : // ********************************************************
50981 :
50982 : /* #line 50983 "../../../src/frontend/SageIII//StorageClasses.C" */
50983 :
50984 :
50985 :
50986 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
50987 :
50988 : // ****************************************************************
50989 : // member functions definition specific to each node in the grammar
50990 : // these are the SgSIMDGatherStorageClass parts !!!!
50991 : // ROSETTA generated code. Do not change by hand.
50992 : // ****************************************************************
50993 :
50994 :
50995 : /* #line 50996 "../../../src/frontend/SageIII//StorageClasses.C" */
50996 :
50997 :
50998 : void
50999 0 : SgSIMDGatherStorageClass::pickOutIRNodeData ( SgSIMDGather* pointer )
51000 : {
51001 0 : SgSIMDGather* source = (SgSIMDGather*) (pointer);
51002 : #if FILE_IO_EXTRA_CHECK
51003 0 : assert ( source != NULL ) ;
51004 0 : assert ( source->p_freepointer != NULL) ;
51005 : #endif
51006 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
51007 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
51008 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
51009 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
51010 0 : storageOf_need_paren = source->p_need_paren ;
51011 0 : storageOf_lvalue = source->p_lvalue ;
51012 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
51013 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
51014 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
51015 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
51016 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
51017 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
51018 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
51019 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
51020 0 : storageOf_isModified = source->p_isModified ;
51021 0 : storageOf_containsTransformation = source->p_containsTransformation ;
51022 0 : }
51023 :
51024 : void
51025 0 : SgSIMDGatherStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
51026 : {
51027 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
51028 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
51029 0 : }
51030 :
51031 : void
51032 2 : SgSIMDGatherStorageClass::deleteStaticDataOfEasyStorageClasses ( )
51033 : {
51034 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
51035 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
51036 2 : }
51037 :
51038 : void
51039 0 : SgSIMDGatherStorageClass::writeEasyStorageDataToFile (std::ostream& out)
51040 : {
51041 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
51042 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
51043 0 : }
51044 :
51045 :
51046 : void
51047 0 : SgSIMDGatherStorageClass::readEasyStorageDataFromFile (std::istream& in)
51048 : {
51049 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
51050 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
51051 0 : }
51052 :
51053 :
51054 :
51055 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51056 :
51057 :
51058 : // ********************************************************
51059 :
51060 : /* #line 51061 "../../../src/frontend/SageIII//StorageClasses.C" */
51061 :
51062 :
51063 :
51064 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51065 :
51066 : // ****************************************************************
51067 : // member functions definition specific to each node in the grammar
51068 : // these are the SgSIMDExplicitGatherStorageClass parts !!!!
51069 : // ROSETTA generated code. Do not change by hand.
51070 : // ****************************************************************
51071 :
51072 :
51073 : /* #line 51074 "../../../src/frontend/SageIII//StorageClasses.C" */
51074 :
51075 :
51076 : void
51077 0 : SgSIMDExplicitGatherStorageClass::pickOutIRNodeData ( SgSIMDExplicitGather* pointer )
51078 : {
51079 0 : SgSIMDExplicitGather* source = (SgSIMDExplicitGather*) (pointer);
51080 : #if FILE_IO_EXTRA_CHECK
51081 0 : assert ( source != NULL ) ;
51082 0 : assert ( source->p_freepointer != NULL) ;
51083 : #endif
51084 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
51085 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
51086 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
51087 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
51088 0 : storageOf_need_paren = source->p_need_paren ;
51089 0 : storageOf_lvalue = source->p_lvalue ;
51090 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
51091 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
51092 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
51093 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
51094 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
51095 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
51096 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
51097 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
51098 0 : storageOf_isModified = source->p_isModified ;
51099 0 : storageOf_containsTransformation = source->p_containsTransformation ;
51100 0 : }
51101 :
51102 : void
51103 0 : SgSIMDExplicitGatherStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
51104 : {
51105 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
51106 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
51107 0 : }
51108 :
51109 : void
51110 2 : SgSIMDExplicitGatherStorageClass::deleteStaticDataOfEasyStorageClasses ( )
51111 : {
51112 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
51113 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
51114 2 : }
51115 :
51116 : void
51117 0 : SgSIMDExplicitGatherStorageClass::writeEasyStorageDataToFile (std::ostream& out)
51118 : {
51119 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
51120 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
51121 0 : }
51122 :
51123 :
51124 : void
51125 0 : SgSIMDExplicitGatherStorageClass::readEasyStorageDataFromFile (std::istream& in)
51126 : {
51127 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
51128 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
51129 0 : }
51130 :
51131 :
51132 :
51133 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51134 :
51135 :
51136 : // ********************************************************
51137 :
51138 : /* #line 51139 "../../../src/frontend/SageIII//StorageClasses.C" */
51139 :
51140 :
51141 :
51142 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51143 :
51144 : // ****************************************************************
51145 : // member functions definition specific to each node in the grammar
51146 : // these are the SgSIMDScatterStorageClass parts !!!!
51147 : // ROSETTA generated code. Do not change by hand.
51148 : // ****************************************************************
51149 :
51150 :
51151 : /* #line 51152 "../../../src/frontend/SageIII//StorageClasses.C" */
51152 :
51153 :
51154 : void
51155 0 : SgSIMDScatterStorageClass::pickOutIRNodeData ( SgSIMDScatter* pointer )
51156 : {
51157 0 : SgSIMDScatter* source = (SgSIMDScatter*) (pointer);
51158 : #if FILE_IO_EXTRA_CHECK
51159 0 : assert ( source != NULL ) ;
51160 0 : assert ( source->p_freepointer != NULL) ;
51161 : #endif
51162 0 : storageOf_lhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand_i );
51163 0 : storageOf_rhs_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand_i );
51164 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
51165 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
51166 0 : storageOf_need_paren = source->p_need_paren ;
51167 0 : storageOf_lvalue = source->p_lvalue ;
51168 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
51169 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
51170 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
51171 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
51172 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
51173 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
51174 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
51175 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
51176 0 : storageOf_isModified = source->p_isModified ;
51177 0 : storageOf_containsTransformation = source->p_containsTransformation ;
51178 0 : }
51179 :
51180 : void
51181 0 : SgSIMDScatterStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
51182 : {
51183 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
51184 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
51185 0 : }
51186 :
51187 : void
51188 2 : SgSIMDScatterStorageClass::deleteStaticDataOfEasyStorageClasses ( )
51189 : {
51190 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
51191 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
51192 2 : }
51193 :
51194 : void
51195 0 : SgSIMDScatterStorageClass::writeEasyStorageDataToFile (std::ostream& out)
51196 : {
51197 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
51198 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
51199 0 : }
51200 :
51201 :
51202 : void
51203 0 : SgSIMDScatterStorageClass::readEasyStorageDataFromFile (std::istream& in)
51204 : {
51205 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
51206 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
51207 0 : }
51208 :
51209 :
51210 :
51211 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51212 :
51213 :
51214 : // ********************************************************
51215 :
51216 : /* #line 51217 "../../../src/frontend/SageIII//StorageClasses.C" */
51217 :
51218 :
51219 :
51220 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51221 :
51222 : // ****************************************************************
51223 : // member functions definition specific to each node in the grammar
51224 : // these are the SgExprListExpStorageClass parts !!!!
51225 : // ROSETTA generated code. Do not change by hand.
51226 : // ****************************************************************
51227 :
51228 :
51229 : /* #line 51230 "../../../src/frontend/SageIII//StorageClasses.C" */
51230 :
51231 :
51232 : void
51233 3692 : SgExprListExpStorageClass::pickOutIRNodeData ( SgExprListExp* pointer )
51234 : {
51235 3692 : SgExprListExp* source = (SgExprListExp*) (pointer);
51236 : #if FILE_IO_EXTRA_CHECK
51237 3692 : assert ( source != NULL ) ;
51238 3692 : assert ( source->p_freepointer != NULL) ;
51239 : #endif
51240 3692 : SgExpressionPtrList::iterator i_expressions = source->p_expressions.begin() ;
51241 3692 : unsigned int tempListCountexpressions = 0;
51242 3692 : SgExpressionPtrList::value_type * tempListexpressions = new SgExpressionPtrList::value_type[ source->p_expressions.size() ];
51243 7727 : for ( ; i_expressions != source->p_expressions.end(); ++i_expressions )
51244 : {
51245 4035 : tempListexpressions[tempListCountexpressions] = *i_expressions;
51246 4035 : tempListCountexpressions++;
51247 4035 : (*i_expressions) = (SgExpressionPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_expressions ) );
51248 : }
51249 3692 : storageOf_expressions.storeDataInEasyStorageClass(source->p_expressions);
51250 3692 : tempListCountexpressions = 0;
51251 3692 : i_expressions = source->p_expressions.begin() ;
51252 7727 : for ( ; i_expressions != source->p_expressions.end(); ++i_expressions )
51253 : {
51254 4035 : *i_expressions = tempListexpressions[tempListCountexpressions] ;
51255 4035 : tempListCountexpressions++;
51256 : }
51257 3692 : delete [] tempListexpressions;
51258 3692 : storageOf_need_paren = source->p_need_paren ;
51259 3692 : storageOf_lvalue = source->p_lvalue ;
51260 3692 : storageOf_global_qualified_name = source->p_global_qualified_name ;
51261 3692 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
51262 3692 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
51263 3692 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
51264 3692 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
51265 3692 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
51266 3692 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
51267 3692 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
51268 3692 : storageOf_isModified = source->p_isModified ;
51269 3692 : storageOf_containsTransformation = source->p_containsTransformation ;
51270 3692 : }
51271 :
51272 : void
51273 0 : SgExprListExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
51274 : {
51275 0 : EasyStorage < SgExpressionPtrList > :: arrangeMemoryPoolInOneBlock() ;
51276 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
51277 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
51278 0 : }
51279 :
51280 : void
51281 2 : SgExprListExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
51282 : {
51283 2 : EasyStorage < SgExpressionPtrList > :: deleteMemoryPool() ;
51284 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
51285 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
51286 2 : }
51287 :
51288 : void
51289 3 : SgExprListExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
51290 : {
51291 3 : EasyStorage < SgExpressionPtrList > :: writeToFile(out) ;
51292 3 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
51293 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
51294 3 : }
51295 :
51296 :
51297 : void
51298 2 : SgExprListExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
51299 : {
51300 2 : EasyStorage < SgExpressionPtrList > :: readFromFile(in) ;
51301 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
51302 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
51303 2 : }
51304 :
51305 :
51306 :
51307 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51308 :
51309 :
51310 : // ********************************************************
51311 :
51312 : /* #line 51313 "../../../src/frontend/SageIII//StorageClasses.C" */
51313 :
51314 :
51315 :
51316 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51317 :
51318 : // ****************************************************************
51319 : // member functions definition specific to each node in the grammar
51320 : // these are the SgListExpStorageClass parts !!!!
51321 : // ROSETTA generated code. Do not change by hand.
51322 : // ****************************************************************
51323 :
51324 :
51325 : /* #line 51326 "../../../src/frontend/SageIII//StorageClasses.C" */
51326 :
51327 :
51328 : void
51329 0 : SgListExpStorageClass::pickOutIRNodeData ( SgListExp* pointer )
51330 : {
51331 0 : SgListExp* source = (SgListExp*) (pointer);
51332 : #if FILE_IO_EXTRA_CHECK
51333 0 : assert ( source != NULL ) ;
51334 0 : assert ( source->p_freepointer != NULL) ;
51335 : #endif
51336 0 : SgExpressionPtrList::iterator i_expressions = source->p_expressions.begin() ;
51337 0 : unsigned int tempListCountexpressions = 0;
51338 0 : SgExpressionPtrList::value_type * tempListexpressions = new SgExpressionPtrList::value_type[ source->p_expressions.size() ];
51339 0 : for ( ; i_expressions != source->p_expressions.end(); ++i_expressions )
51340 : {
51341 0 : tempListexpressions[tempListCountexpressions] = *i_expressions;
51342 0 : tempListCountexpressions++;
51343 0 : (*i_expressions) = (SgExpressionPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_expressions ) );
51344 : }
51345 0 : storageOf_expressions.storeDataInEasyStorageClass(source->p_expressions);
51346 0 : tempListCountexpressions = 0;
51347 0 : i_expressions = source->p_expressions.begin() ;
51348 0 : for ( ; i_expressions != source->p_expressions.end(); ++i_expressions )
51349 : {
51350 0 : *i_expressions = tempListexpressions[tempListCountexpressions] ;
51351 0 : tempListCountexpressions++;
51352 : }
51353 0 : delete [] tempListexpressions;
51354 0 : storageOf_need_paren = source->p_need_paren ;
51355 0 : storageOf_lvalue = source->p_lvalue ;
51356 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
51357 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
51358 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
51359 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
51360 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
51361 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
51362 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
51363 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
51364 0 : storageOf_isModified = source->p_isModified ;
51365 0 : storageOf_containsTransformation = source->p_containsTransformation ;
51366 0 : }
51367 :
51368 : void
51369 0 : SgListExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
51370 : {
51371 0 : EasyStorage < SgExpressionPtrList > :: arrangeMemoryPoolInOneBlock() ;
51372 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
51373 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
51374 0 : }
51375 :
51376 : void
51377 2 : SgListExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
51378 : {
51379 2 : EasyStorage < SgExpressionPtrList > :: deleteMemoryPool() ;
51380 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
51381 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
51382 2 : }
51383 :
51384 : void
51385 0 : SgListExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
51386 : {
51387 0 : EasyStorage < SgExpressionPtrList > :: writeToFile(out) ;
51388 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
51389 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
51390 0 : }
51391 :
51392 :
51393 : void
51394 0 : SgListExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
51395 : {
51396 0 : EasyStorage < SgExpressionPtrList > :: readFromFile(in) ;
51397 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
51398 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
51399 0 : }
51400 :
51401 :
51402 :
51403 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51404 :
51405 :
51406 : // ********************************************************
51407 :
51408 : /* #line 51409 "../../../src/frontend/SageIII//StorageClasses.C" */
51409 :
51410 :
51411 :
51412 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51413 :
51414 : // ****************************************************************
51415 : // member functions definition specific to each node in the grammar
51416 : // these are the SgTupleExpStorageClass parts !!!!
51417 : // ROSETTA generated code. Do not change by hand.
51418 : // ****************************************************************
51419 :
51420 :
51421 : /* #line 51422 "../../../src/frontend/SageIII//StorageClasses.C" */
51422 :
51423 :
51424 : void
51425 0 : SgTupleExpStorageClass::pickOutIRNodeData ( SgTupleExp* pointer )
51426 : {
51427 0 : SgTupleExp* source = (SgTupleExp*) (pointer);
51428 : #if FILE_IO_EXTRA_CHECK
51429 0 : assert ( source != NULL ) ;
51430 0 : assert ( source->p_freepointer != NULL) ;
51431 : #endif
51432 0 : SgExpressionPtrList::iterator i_expressions = source->p_expressions.begin() ;
51433 0 : unsigned int tempListCountexpressions = 0;
51434 0 : SgExpressionPtrList::value_type * tempListexpressions = new SgExpressionPtrList::value_type[ source->p_expressions.size() ];
51435 0 : for ( ; i_expressions != source->p_expressions.end(); ++i_expressions )
51436 : {
51437 0 : tempListexpressions[tempListCountexpressions] = *i_expressions;
51438 0 : tempListCountexpressions++;
51439 0 : (*i_expressions) = (SgExpressionPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_expressions ) );
51440 : }
51441 0 : storageOf_expressions.storeDataInEasyStorageClass(source->p_expressions);
51442 0 : tempListCountexpressions = 0;
51443 0 : i_expressions = source->p_expressions.begin() ;
51444 0 : for ( ; i_expressions != source->p_expressions.end(); ++i_expressions )
51445 : {
51446 0 : *i_expressions = tempListexpressions[tempListCountexpressions] ;
51447 0 : tempListCountexpressions++;
51448 : }
51449 0 : delete [] tempListexpressions;
51450 0 : storageOf_need_paren = source->p_need_paren ;
51451 0 : storageOf_lvalue = source->p_lvalue ;
51452 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
51453 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
51454 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
51455 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
51456 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
51457 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
51458 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
51459 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
51460 0 : storageOf_isModified = source->p_isModified ;
51461 0 : storageOf_containsTransformation = source->p_containsTransformation ;
51462 0 : }
51463 :
51464 : void
51465 0 : SgTupleExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
51466 : {
51467 0 : EasyStorage < SgExpressionPtrList > :: arrangeMemoryPoolInOneBlock() ;
51468 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
51469 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
51470 0 : }
51471 :
51472 : void
51473 2 : SgTupleExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
51474 : {
51475 2 : EasyStorage < SgExpressionPtrList > :: deleteMemoryPool() ;
51476 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
51477 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
51478 2 : }
51479 :
51480 : void
51481 0 : SgTupleExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
51482 : {
51483 0 : EasyStorage < SgExpressionPtrList > :: writeToFile(out) ;
51484 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
51485 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
51486 0 : }
51487 :
51488 :
51489 : void
51490 0 : SgTupleExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
51491 : {
51492 0 : EasyStorage < SgExpressionPtrList > :: readFromFile(in) ;
51493 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
51494 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
51495 0 : }
51496 :
51497 :
51498 :
51499 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51500 :
51501 :
51502 : // ********************************************************
51503 :
51504 : /* #line 51505 "../../../src/frontend/SageIII//StorageClasses.C" */
51505 :
51506 :
51507 :
51508 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51509 :
51510 : // ****************************************************************
51511 : // member functions definition specific to each node in the grammar
51512 : // these are the SgMatrixExpStorageClass parts !!!!
51513 : // ROSETTA generated code. Do not change by hand.
51514 : // ****************************************************************
51515 :
51516 :
51517 : /* #line 51518 "../../../src/frontend/SageIII//StorageClasses.C" */
51518 :
51519 :
51520 : void
51521 0 : SgMatrixExpStorageClass::pickOutIRNodeData ( SgMatrixExp* pointer )
51522 : {
51523 0 : SgMatrixExp* source = (SgMatrixExp*) (pointer);
51524 : #if FILE_IO_EXTRA_CHECK
51525 0 : assert ( source != NULL ) ;
51526 0 : assert ( source->p_freepointer != NULL) ;
51527 : #endif
51528 0 : SgExpressionPtrList::iterator i_expressions = source->p_expressions.begin() ;
51529 0 : unsigned int tempListCountexpressions = 0;
51530 0 : SgExpressionPtrList::value_type * tempListexpressions = new SgExpressionPtrList::value_type[ source->p_expressions.size() ];
51531 0 : for ( ; i_expressions != source->p_expressions.end(); ++i_expressions )
51532 : {
51533 0 : tempListexpressions[tempListCountexpressions] = *i_expressions;
51534 0 : tempListCountexpressions++;
51535 0 : (*i_expressions) = (SgExpressionPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_expressions ) );
51536 : }
51537 0 : storageOf_expressions.storeDataInEasyStorageClass(source->p_expressions);
51538 0 : tempListCountexpressions = 0;
51539 0 : i_expressions = source->p_expressions.begin() ;
51540 0 : for ( ; i_expressions != source->p_expressions.end(); ++i_expressions )
51541 : {
51542 0 : *i_expressions = tempListexpressions[tempListCountexpressions] ;
51543 0 : tempListCountexpressions++;
51544 : }
51545 0 : delete [] tempListexpressions;
51546 0 : storageOf_need_paren = source->p_need_paren ;
51547 0 : storageOf_lvalue = source->p_lvalue ;
51548 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
51549 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
51550 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
51551 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
51552 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
51553 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
51554 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
51555 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
51556 0 : storageOf_isModified = source->p_isModified ;
51557 0 : storageOf_containsTransformation = source->p_containsTransformation ;
51558 0 : }
51559 :
51560 : void
51561 0 : SgMatrixExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
51562 : {
51563 0 : EasyStorage < SgExpressionPtrList > :: arrangeMemoryPoolInOneBlock() ;
51564 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
51565 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
51566 0 : }
51567 :
51568 : void
51569 2 : SgMatrixExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
51570 : {
51571 2 : EasyStorage < SgExpressionPtrList > :: deleteMemoryPool() ;
51572 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
51573 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
51574 2 : }
51575 :
51576 : void
51577 0 : SgMatrixExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
51578 : {
51579 0 : EasyStorage < SgExpressionPtrList > :: writeToFile(out) ;
51580 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
51581 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
51582 0 : }
51583 :
51584 :
51585 : void
51586 0 : SgMatrixExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
51587 : {
51588 0 : EasyStorage < SgExpressionPtrList > :: readFromFile(in) ;
51589 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
51590 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
51591 0 : }
51592 :
51593 :
51594 :
51595 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51596 :
51597 :
51598 : // ********************************************************
51599 :
51600 : /* #line 51601 "../../../src/frontend/SageIII//StorageClasses.C" */
51601 :
51602 :
51603 :
51604 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51605 :
51606 : // ****************************************************************
51607 : // member functions definition specific to each node in the grammar
51608 : // these are the SgVarRefExpStorageClass parts !!!!
51609 : // ROSETTA generated code. Do not change by hand.
51610 : // ****************************************************************
51611 :
51612 :
51613 : /* #line 51614 "../../../src/frontend/SageIII//StorageClasses.C" */
51614 :
51615 :
51616 : void
51617 6511 : SgVarRefExpStorageClass::pickOutIRNodeData ( SgVarRefExp* pointer )
51618 : {
51619 6511 : SgVarRefExp* source = (SgVarRefExp*) (pointer);
51620 : #if FILE_IO_EXTRA_CHECK
51621 6511 : assert ( source != NULL ) ;
51622 6511 : assert ( source->p_freepointer != NULL) ;
51623 : #endif
51624 6511 : storageOf_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol );
51625 6511 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
51626 6511 : storageOf_name_qualification_length = source->p_name_qualification_length ;
51627 6511 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
51628 6511 : storageOf_global_qualification_required = source->p_global_qualification_required ;
51629 6511 : storageOf_need_paren = source->p_need_paren ;
51630 6511 : storageOf_lvalue = source->p_lvalue ;
51631 6511 : storageOf_global_qualified_name = source->p_global_qualified_name ;
51632 6511 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
51633 6511 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
51634 6511 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
51635 6511 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
51636 6511 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
51637 6511 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
51638 6511 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
51639 6511 : storageOf_isModified = source->p_isModified ;
51640 6511 : storageOf_containsTransformation = source->p_containsTransformation ;
51641 6511 : }
51642 :
51643 : void
51644 0 : SgVarRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
51645 : {
51646 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
51647 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
51648 0 : }
51649 :
51650 : void
51651 2 : SgVarRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
51652 : {
51653 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
51654 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
51655 2 : }
51656 :
51657 : void
51658 1 : SgVarRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
51659 : {
51660 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
51661 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
51662 1 : }
51663 :
51664 :
51665 : void
51666 1 : SgVarRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
51667 : {
51668 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
51669 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
51670 1 : }
51671 :
51672 :
51673 :
51674 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51675 :
51676 :
51677 : // ********************************************************
51678 :
51679 : /* #line 51680 "../../../src/frontend/SageIII//StorageClasses.C" */
51680 :
51681 :
51682 :
51683 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51684 :
51685 : // ****************************************************************
51686 : // member functions definition specific to each node in the grammar
51687 : // these are the SgClassNameRefExpStorageClass parts !!!!
51688 : // ROSETTA generated code. Do not change by hand.
51689 : // ****************************************************************
51690 :
51691 :
51692 : /* #line 51693 "../../../src/frontend/SageIII//StorageClasses.C" */
51693 :
51694 :
51695 : void
51696 0 : SgClassNameRefExpStorageClass::pickOutIRNodeData ( SgClassNameRefExp* pointer )
51697 : {
51698 0 : SgClassNameRefExp* source = (SgClassNameRefExp*) (pointer);
51699 : #if FILE_IO_EXTRA_CHECK
51700 0 : assert ( source != NULL ) ;
51701 0 : assert ( source->p_freepointer != NULL) ;
51702 : #endif
51703 0 : storageOf_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol );
51704 0 : storageOf_need_paren = source->p_need_paren ;
51705 0 : storageOf_lvalue = source->p_lvalue ;
51706 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
51707 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
51708 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
51709 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
51710 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
51711 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
51712 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
51713 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
51714 0 : storageOf_isModified = source->p_isModified ;
51715 0 : storageOf_containsTransformation = source->p_containsTransformation ;
51716 0 : }
51717 :
51718 : void
51719 0 : SgClassNameRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
51720 : {
51721 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
51722 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
51723 0 : }
51724 :
51725 : void
51726 2 : SgClassNameRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
51727 : {
51728 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
51729 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
51730 2 : }
51731 :
51732 : void
51733 0 : SgClassNameRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
51734 : {
51735 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
51736 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
51737 0 : }
51738 :
51739 :
51740 : void
51741 0 : SgClassNameRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
51742 : {
51743 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
51744 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
51745 0 : }
51746 :
51747 :
51748 :
51749 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51750 :
51751 :
51752 : // ********************************************************
51753 :
51754 : /* #line 51755 "../../../src/frontend/SageIII//StorageClasses.C" */
51755 :
51756 :
51757 :
51758 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51759 :
51760 : // ****************************************************************
51761 : // member functions definition specific to each node in the grammar
51762 : // these are the SgFunctionRefExpStorageClass parts !!!!
51763 : // ROSETTA generated code. Do not change by hand.
51764 : // ****************************************************************
51765 :
51766 :
51767 : /* #line 51768 "../../../src/frontend/SageIII//StorageClasses.C" */
51768 :
51769 :
51770 : void
51771 608 : SgFunctionRefExpStorageClass::pickOutIRNodeData ( SgFunctionRefExp* pointer )
51772 : {
51773 608 : SgFunctionRefExp* source = (SgFunctionRefExp*) (pointer);
51774 : #if FILE_IO_EXTRA_CHECK
51775 608 : assert ( source != NULL ) ;
51776 608 : assert ( source->p_freepointer != NULL) ;
51777 : #endif
51778 608 : storageOf_symbol_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_i );
51779 608 : storageOf_function_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_function_type );
51780 608 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
51781 608 : storageOf_name_qualification_length = source->p_name_qualification_length ;
51782 608 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
51783 608 : storageOf_global_qualification_required = source->p_global_qualification_required ;
51784 608 : storageOf_need_paren = source->p_need_paren ;
51785 608 : storageOf_lvalue = source->p_lvalue ;
51786 608 : storageOf_global_qualified_name = source->p_global_qualified_name ;
51787 608 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
51788 608 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
51789 608 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
51790 608 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
51791 608 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
51792 608 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
51793 608 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
51794 608 : storageOf_isModified = source->p_isModified ;
51795 608 : storageOf_containsTransformation = source->p_containsTransformation ;
51796 608 : }
51797 :
51798 : void
51799 0 : SgFunctionRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
51800 : {
51801 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
51802 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
51803 0 : }
51804 :
51805 : void
51806 2 : SgFunctionRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
51807 : {
51808 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
51809 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
51810 2 : }
51811 :
51812 : void
51813 2 : SgFunctionRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
51814 : {
51815 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
51816 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
51817 2 : }
51818 :
51819 :
51820 : void
51821 2 : SgFunctionRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
51822 : {
51823 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
51824 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
51825 2 : }
51826 :
51827 :
51828 :
51829 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51830 :
51831 :
51832 : // ********************************************************
51833 :
51834 : /* #line 51835 "../../../src/frontend/SageIII//StorageClasses.C" */
51835 :
51836 :
51837 :
51838 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51839 :
51840 : // ****************************************************************
51841 : // member functions definition specific to each node in the grammar
51842 : // these are the SgMemberFunctionRefExpStorageClass parts !!!!
51843 : // ROSETTA generated code. Do not change by hand.
51844 : // ****************************************************************
51845 :
51846 :
51847 : /* #line 51848 "../../../src/frontend/SageIII//StorageClasses.C" */
51848 :
51849 :
51850 : void
51851 540 : SgMemberFunctionRefExpStorageClass::pickOutIRNodeData ( SgMemberFunctionRefExp* pointer )
51852 : {
51853 540 : SgMemberFunctionRefExp* source = (SgMemberFunctionRefExp*) (pointer);
51854 : #if FILE_IO_EXTRA_CHECK
51855 540 : assert ( source != NULL ) ;
51856 540 : assert ( source->p_freepointer != NULL) ;
51857 : #endif
51858 540 : storageOf_symbol_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_i );
51859 540 : storageOf_virtual_call = source->p_virtual_call ;
51860 540 : storageOf_function_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_function_type );
51861 540 : storageOf_need_qualifier = source->p_need_qualifier ;
51862 540 : storageOf_name_qualification_length = source->p_name_qualification_length ;
51863 540 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
51864 540 : storageOf_global_qualification_required = source->p_global_qualification_required ;
51865 540 : storageOf_need_paren = source->p_need_paren ;
51866 540 : storageOf_lvalue = source->p_lvalue ;
51867 540 : storageOf_global_qualified_name = source->p_global_qualified_name ;
51868 540 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
51869 540 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
51870 540 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
51871 540 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
51872 540 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
51873 540 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
51874 540 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
51875 540 : storageOf_isModified = source->p_isModified ;
51876 540 : storageOf_containsTransformation = source->p_containsTransformation ;
51877 540 : }
51878 :
51879 : void
51880 0 : SgMemberFunctionRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
51881 : {
51882 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
51883 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
51884 0 : }
51885 :
51886 : void
51887 2 : SgMemberFunctionRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
51888 : {
51889 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
51890 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
51891 2 : }
51892 :
51893 : void
51894 1 : SgMemberFunctionRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
51895 : {
51896 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
51897 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
51898 1 : }
51899 :
51900 :
51901 : void
51902 1 : SgMemberFunctionRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
51903 : {
51904 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
51905 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
51906 1 : }
51907 :
51908 :
51909 :
51910 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51911 :
51912 :
51913 : // ********************************************************
51914 :
51915 : /* #line 51916 "../../../src/frontend/SageIII//StorageClasses.C" */
51916 :
51917 :
51918 :
51919 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51920 :
51921 : // ****************************************************************
51922 : // member functions definition specific to each node in the grammar
51923 : // these are the SgValueExpStorageClass parts !!!!
51924 : // ROSETTA generated code. Do not change by hand.
51925 : // ****************************************************************
51926 :
51927 :
51928 : /* #line 51929 "../../../src/frontend/SageIII//StorageClasses.C" */
51929 :
51930 :
51931 : void
51932 0 : SgValueExpStorageClass::pickOutIRNodeData ( SgValueExp* pointer )
51933 : {
51934 0 : SgValueExp* source = (SgValueExp*) (pointer);
51935 : #if FILE_IO_EXTRA_CHECK
51936 0 : assert ( source != NULL ) ;
51937 0 : assert ( source->p_freepointer != NULL) ;
51938 : #endif
51939 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
51940 0 : storageOf_need_paren = source->p_need_paren ;
51941 0 : storageOf_lvalue = source->p_lvalue ;
51942 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
51943 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
51944 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
51945 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
51946 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
51947 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
51948 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
51949 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
51950 0 : storageOf_isModified = source->p_isModified ;
51951 0 : storageOf_containsTransformation = source->p_containsTransformation ;
51952 0 : }
51953 :
51954 : void
51955 0 : SgValueExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
51956 : {
51957 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
51958 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
51959 0 : }
51960 :
51961 : void
51962 2 : SgValueExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
51963 : {
51964 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
51965 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
51966 2 : }
51967 :
51968 : void
51969 0 : SgValueExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
51970 : {
51971 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
51972 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
51973 0 : }
51974 :
51975 :
51976 : void
51977 0 : SgValueExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
51978 : {
51979 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
51980 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
51981 0 : }
51982 :
51983 :
51984 :
51985 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51986 :
51987 :
51988 : // ********************************************************
51989 :
51990 : /* #line 51991 "../../../src/frontend/SageIII//StorageClasses.C" */
51991 :
51992 :
51993 :
51994 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
51995 :
51996 : // ****************************************************************
51997 : // member functions definition specific to each node in the grammar
51998 : // these are the SgBoolValExpStorageClass parts !!!!
51999 : // ROSETTA generated code. Do not change by hand.
52000 : // ****************************************************************
52001 :
52002 :
52003 : /* #line 52004 "../../../src/frontend/SageIII//StorageClasses.C" */
52004 :
52005 :
52006 : void
52007 398 : SgBoolValExpStorageClass::pickOutIRNodeData ( SgBoolValExp* pointer )
52008 : {
52009 398 : SgBoolValExp* source = (SgBoolValExp*) (pointer);
52010 : #if FILE_IO_EXTRA_CHECK
52011 398 : assert ( source != NULL ) ;
52012 398 : assert ( source->p_freepointer != NULL) ;
52013 : #endif
52014 398 : storageOf_value = source->p_value ;
52015 398 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52016 398 : storageOf_need_paren = source->p_need_paren ;
52017 398 : storageOf_lvalue = source->p_lvalue ;
52018 398 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52019 398 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52020 398 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52021 398 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
52022 398 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
52023 398 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
52024 398 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
52025 398 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
52026 398 : storageOf_isModified = source->p_isModified ;
52027 398 : storageOf_containsTransformation = source->p_containsTransformation ;
52028 398 : }
52029 :
52030 : void
52031 0 : SgBoolValExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
52032 : {
52033 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
52034 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
52035 0 : }
52036 :
52037 : void
52038 2 : SgBoolValExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
52039 : {
52040 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
52041 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
52042 2 : }
52043 :
52044 : void
52045 1 : SgBoolValExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
52046 : {
52047 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
52048 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
52049 1 : }
52050 :
52051 :
52052 : void
52053 1 : SgBoolValExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
52054 : {
52055 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
52056 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
52057 1 : }
52058 :
52059 :
52060 :
52061 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52062 :
52063 :
52064 : // ********************************************************
52065 :
52066 : /* #line 52067 "../../../src/frontend/SageIII//StorageClasses.C" */
52067 :
52068 :
52069 :
52070 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52071 :
52072 : // ****************************************************************
52073 : // member functions definition specific to each node in the grammar
52074 : // these are the SgStringValStorageClass parts !!!!
52075 : // ROSETTA generated code. Do not change by hand.
52076 : // ****************************************************************
52077 :
52078 :
52079 : /* #line 52080 "../../../src/frontend/SageIII//StorageClasses.C" */
52080 :
52081 :
52082 : void
52083 83 : SgStringValStorageClass::pickOutIRNodeData ( SgStringVal* pointer )
52084 : {
52085 83 : SgStringVal* source = (SgStringVal*) (pointer);
52086 : #if FILE_IO_EXTRA_CHECK
52087 83 : assert ( source != NULL ) ;
52088 83 : assert ( source->p_freepointer != NULL) ;
52089 : #endif
52090 83 : storageOf_value.storeDataInEasyStorageClass(source->p_value);
52091 83 : storageOf_wcharString = source->p_wcharString ;
52092 83 : storageOf_stringDelimiter = source->p_stringDelimiter ;
52093 83 : storageOf_is16bitString = source->p_is16bitString ;
52094 83 : storageOf_is32bitString = source->p_is32bitString ;
52095 83 : storageOf_isRawString = source->p_isRawString ;
52096 83 : storageOf_raw_string_value.storeDataInEasyStorageClass(source->p_raw_string_value);
52097 83 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52098 83 : storageOf_need_paren = source->p_need_paren ;
52099 83 : storageOf_lvalue = source->p_lvalue ;
52100 83 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52101 83 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52102 83 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52103 83 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
52104 83 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
52105 83 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
52106 83 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
52107 83 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
52108 83 : storageOf_isModified = source->p_isModified ;
52109 83 : storageOf_containsTransformation = source->p_containsTransformation ;
52110 83 : }
52111 :
52112 : void
52113 0 : SgStringValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
52114 : {
52115 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
52116 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
52117 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
52118 0 : }
52119 :
52120 : void
52121 2 : SgStringValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
52122 : {
52123 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
52124 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
52125 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
52126 2 : }
52127 :
52128 : void
52129 3 : SgStringValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
52130 : {
52131 3 : EasyStorage < std::string > :: writeToFile(out) ;
52132 3 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
52133 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
52134 3 : }
52135 :
52136 :
52137 : void
52138 2 : SgStringValStorageClass::readEasyStorageDataFromFile (std::istream& in)
52139 : {
52140 2 : EasyStorage < std::string > :: readFromFile(in) ;
52141 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
52142 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
52143 2 : }
52144 :
52145 :
52146 :
52147 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52148 :
52149 :
52150 : // ********************************************************
52151 :
52152 : /* #line 52153 "../../../src/frontend/SageIII//StorageClasses.C" */
52153 :
52154 :
52155 :
52156 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52157 :
52158 : // ****************************************************************
52159 : // member functions definition specific to each node in the grammar
52160 : // these are the SgShortValStorageClass parts !!!!
52161 : // ROSETTA generated code. Do not change by hand.
52162 : // ****************************************************************
52163 :
52164 :
52165 : /* #line 52166 "../../../src/frontend/SageIII//StorageClasses.C" */
52166 :
52167 :
52168 : void
52169 0 : SgShortValStorageClass::pickOutIRNodeData ( SgShortVal* pointer )
52170 : {
52171 0 : SgShortVal* source = (SgShortVal*) (pointer);
52172 : #if FILE_IO_EXTRA_CHECK
52173 0 : assert ( source != NULL ) ;
52174 0 : assert ( source->p_freepointer != NULL) ;
52175 : #endif
52176 0 : storageOf_value = source->p_value ;
52177 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
52178 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52179 0 : storageOf_need_paren = source->p_need_paren ;
52180 0 : storageOf_lvalue = source->p_lvalue ;
52181 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52182 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52183 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52184 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
52185 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
52186 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
52187 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
52188 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
52189 0 : storageOf_isModified = source->p_isModified ;
52190 0 : storageOf_containsTransformation = source->p_containsTransformation ;
52191 0 : }
52192 :
52193 : void
52194 0 : SgShortValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
52195 : {
52196 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
52197 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
52198 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
52199 0 : }
52200 :
52201 : void
52202 2 : SgShortValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
52203 : {
52204 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
52205 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
52206 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
52207 2 : }
52208 :
52209 : void
52210 0 : SgShortValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
52211 : {
52212 0 : EasyStorage < std::string > :: writeToFile(out) ;
52213 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
52214 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
52215 0 : }
52216 :
52217 :
52218 : void
52219 0 : SgShortValStorageClass::readEasyStorageDataFromFile (std::istream& in)
52220 : {
52221 0 : EasyStorage < std::string > :: readFromFile(in) ;
52222 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
52223 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
52224 0 : }
52225 :
52226 :
52227 :
52228 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52229 :
52230 :
52231 : // ********************************************************
52232 :
52233 : /* #line 52234 "../../../src/frontend/SageIII//StorageClasses.C" */
52234 :
52235 :
52236 :
52237 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52238 :
52239 : // ****************************************************************
52240 : // member functions definition specific to each node in the grammar
52241 : // these are the SgCharValStorageClass parts !!!!
52242 : // ROSETTA generated code. Do not change by hand.
52243 : // ****************************************************************
52244 :
52245 :
52246 : /* #line 52247 "../../../src/frontend/SageIII//StorageClasses.C" */
52247 :
52248 :
52249 : void
52250 47 : SgCharValStorageClass::pickOutIRNodeData ( SgCharVal* pointer )
52251 : {
52252 47 : SgCharVal* source = (SgCharVal*) (pointer);
52253 : #if FILE_IO_EXTRA_CHECK
52254 47 : assert ( source != NULL ) ;
52255 47 : assert ( source->p_freepointer != NULL) ;
52256 : #endif
52257 47 : storageOf_value = source->p_value ;
52258 47 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
52259 47 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52260 47 : storageOf_need_paren = source->p_need_paren ;
52261 47 : storageOf_lvalue = source->p_lvalue ;
52262 47 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52263 47 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52264 47 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52265 47 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
52266 47 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
52267 47 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
52268 47 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
52269 47 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
52270 47 : storageOf_isModified = source->p_isModified ;
52271 47 : storageOf_containsTransformation = source->p_containsTransformation ;
52272 47 : }
52273 :
52274 : void
52275 0 : SgCharValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
52276 : {
52277 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
52278 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
52279 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
52280 0 : }
52281 :
52282 : void
52283 2 : SgCharValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
52284 : {
52285 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
52286 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
52287 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
52288 2 : }
52289 :
52290 : void
52291 1 : SgCharValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
52292 : {
52293 1 : EasyStorage < std::string > :: writeToFile(out) ;
52294 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
52295 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
52296 1 : }
52297 :
52298 :
52299 : void
52300 1 : SgCharValStorageClass::readEasyStorageDataFromFile (std::istream& in)
52301 : {
52302 1 : EasyStorage < std::string > :: readFromFile(in) ;
52303 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
52304 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
52305 1 : }
52306 :
52307 :
52308 :
52309 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52310 :
52311 :
52312 : // ********************************************************
52313 :
52314 : /* #line 52315 "../../../src/frontend/SageIII//StorageClasses.C" */
52315 :
52316 :
52317 :
52318 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52319 :
52320 : // ****************************************************************
52321 : // member functions definition specific to each node in the grammar
52322 : // these are the SgUnsignedCharValStorageClass parts !!!!
52323 : // ROSETTA generated code. Do not change by hand.
52324 : // ****************************************************************
52325 :
52326 :
52327 : /* #line 52328 "../../../src/frontend/SageIII//StorageClasses.C" */
52328 :
52329 :
52330 : void
52331 0 : SgUnsignedCharValStorageClass::pickOutIRNodeData ( SgUnsignedCharVal* pointer )
52332 : {
52333 0 : SgUnsignedCharVal* source = (SgUnsignedCharVal*) (pointer);
52334 : #if FILE_IO_EXTRA_CHECK
52335 0 : assert ( source != NULL ) ;
52336 0 : assert ( source->p_freepointer != NULL) ;
52337 : #endif
52338 0 : storageOf_value = source->p_value ;
52339 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
52340 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52341 0 : storageOf_need_paren = source->p_need_paren ;
52342 0 : storageOf_lvalue = source->p_lvalue ;
52343 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52344 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52345 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52346 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
52347 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
52348 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
52349 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
52350 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
52351 0 : storageOf_isModified = source->p_isModified ;
52352 0 : storageOf_containsTransformation = source->p_containsTransformation ;
52353 0 : }
52354 :
52355 : void
52356 0 : SgUnsignedCharValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
52357 : {
52358 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
52359 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
52360 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
52361 0 : }
52362 :
52363 : void
52364 2 : SgUnsignedCharValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
52365 : {
52366 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
52367 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
52368 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
52369 2 : }
52370 :
52371 : void
52372 0 : SgUnsignedCharValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
52373 : {
52374 0 : EasyStorage < std::string > :: writeToFile(out) ;
52375 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
52376 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
52377 0 : }
52378 :
52379 :
52380 : void
52381 0 : SgUnsignedCharValStorageClass::readEasyStorageDataFromFile (std::istream& in)
52382 : {
52383 0 : EasyStorage < std::string > :: readFromFile(in) ;
52384 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
52385 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
52386 0 : }
52387 :
52388 :
52389 :
52390 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52391 :
52392 :
52393 : // ********************************************************
52394 :
52395 : /* #line 52396 "../../../src/frontend/SageIII//StorageClasses.C" */
52396 :
52397 :
52398 :
52399 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52400 :
52401 : // ****************************************************************
52402 : // member functions definition specific to each node in the grammar
52403 : // these are the SgWcharValStorageClass parts !!!!
52404 : // ROSETTA generated code. Do not change by hand.
52405 : // ****************************************************************
52406 :
52407 :
52408 : /* #line 52409 "../../../src/frontend/SageIII//StorageClasses.C" */
52409 :
52410 :
52411 : void
52412 0 : SgWcharValStorageClass::pickOutIRNodeData ( SgWcharVal* pointer )
52413 : {
52414 0 : SgWcharVal* source = (SgWcharVal*) (pointer);
52415 : #if FILE_IO_EXTRA_CHECK
52416 0 : assert ( source != NULL ) ;
52417 0 : assert ( source->p_freepointer != NULL) ;
52418 : #endif
52419 0 : storageOf_valueUL = source->p_valueUL ;
52420 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
52421 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52422 0 : storageOf_need_paren = source->p_need_paren ;
52423 0 : storageOf_lvalue = source->p_lvalue ;
52424 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52425 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52426 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52427 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
52428 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
52429 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
52430 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
52431 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
52432 0 : storageOf_isModified = source->p_isModified ;
52433 0 : storageOf_containsTransformation = source->p_containsTransformation ;
52434 0 : }
52435 :
52436 : void
52437 0 : SgWcharValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
52438 : {
52439 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
52440 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
52441 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
52442 0 : }
52443 :
52444 : void
52445 2 : SgWcharValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
52446 : {
52447 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
52448 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
52449 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
52450 2 : }
52451 :
52452 : void
52453 0 : SgWcharValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
52454 : {
52455 0 : EasyStorage < std::string > :: writeToFile(out) ;
52456 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
52457 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
52458 0 : }
52459 :
52460 :
52461 : void
52462 0 : SgWcharValStorageClass::readEasyStorageDataFromFile (std::istream& in)
52463 : {
52464 0 : EasyStorage < std::string > :: readFromFile(in) ;
52465 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
52466 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
52467 0 : }
52468 :
52469 :
52470 :
52471 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52472 :
52473 :
52474 : // ********************************************************
52475 :
52476 : /* #line 52477 "../../../src/frontend/SageIII//StorageClasses.C" */
52477 :
52478 :
52479 :
52480 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52481 :
52482 : // ****************************************************************
52483 : // member functions definition specific to each node in the grammar
52484 : // these are the SgUnsignedShortValStorageClass parts !!!!
52485 : // ROSETTA generated code. Do not change by hand.
52486 : // ****************************************************************
52487 :
52488 :
52489 : /* #line 52490 "../../../src/frontend/SageIII//StorageClasses.C" */
52490 :
52491 :
52492 : void
52493 0 : SgUnsignedShortValStorageClass::pickOutIRNodeData ( SgUnsignedShortVal* pointer )
52494 : {
52495 0 : SgUnsignedShortVal* source = (SgUnsignedShortVal*) (pointer);
52496 : #if FILE_IO_EXTRA_CHECK
52497 0 : assert ( source != NULL ) ;
52498 0 : assert ( source->p_freepointer != NULL) ;
52499 : #endif
52500 0 : storageOf_value = source->p_value ;
52501 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
52502 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52503 0 : storageOf_need_paren = source->p_need_paren ;
52504 0 : storageOf_lvalue = source->p_lvalue ;
52505 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52506 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52507 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52508 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
52509 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
52510 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
52511 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
52512 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
52513 0 : storageOf_isModified = source->p_isModified ;
52514 0 : storageOf_containsTransformation = source->p_containsTransformation ;
52515 0 : }
52516 :
52517 : void
52518 0 : SgUnsignedShortValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
52519 : {
52520 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
52521 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
52522 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
52523 0 : }
52524 :
52525 : void
52526 2 : SgUnsignedShortValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
52527 : {
52528 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
52529 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
52530 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
52531 2 : }
52532 :
52533 : void
52534 0 : SgUnsignedShortValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
52535 : {
52536 0 : EasyStorage < std::string > :: writeToFile(out) ;
52537 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
52538 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
52539 0 : }
52540 :
52541 :
52542 : void
52543 0 : SgUnsignedShortValStorageClass::readEasyStorageDataFromFile (std::istream& in)
52544 : {
52545 0 : EasyStorage < std::string > :: readFromFile(in) ;
52546 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
52547 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
52548 0 : }
52549 :
52550 :
52551 :
52552 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52553 :
52554 :
52555 : // ********************************************************
52556 :
52557 : /* #line 52558 "../../../src/frontend/SageIII//StorageClasses.C" */
52558 :
52559 :
52560 :
52561 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52562 :
52563 : // ****************************************************************
52564 : // member functions definition specific to each node in the grammar
52565 : // these are the SgIntValStorageClass parts !!!!
52566 : // ROSETTA generated code. Do not change by hand.
52567 : // ****************************************************************
52568 :
52569 :
52570 : /* #line 52571 "../../../src/frontend/SageIII//StorageClasses.C" */
52571 :
52572 :
52573 : void
52574 925 : SgIntValStorageClass::pickOutIRNodeData ( SgIntVal* pointer )
52575 : {
52576 925 : SgIntVal* source = (SgIntVal*) (pointer);
52577 : #if FILE_IO_EXTRA_CHECK
52578 925 : assert ( source != NULL ) ;
52579 925 : assert ( source->p_freepointer != NULL) ;
52580 : #endif
52581 925 : storageOf_value = source->p_value ;
52582 925 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
52583 925 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52584 925 : storageOf_need_paren = source->p_need_paren ;
52585 925 : storageOf_lvalue = source->p_lvalue ;
52586 925 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52587 925 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52588 925 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52589 925 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
52590 925 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
52591 925 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
52592 925 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
52593 925 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
52594 925 : storageOf_isModified = source->p_isModified ;
52595 925 : storageOf_containsTransformation = source->p_containsTransformation ;
52596 925 : }
52597 :
52598 : void
52599 0 : SgIntValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
52600 : {
52601 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
52602 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
52603 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
52604 0 : }
52605 :
52606 : void
52607 2 : SgIntValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
52608 : {
52609 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
52610 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
52611 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
52612 2 : }
52613 :
52614 : void
52615 2 : SgIntValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
52616 : {
52617 2 : EasyStorage < std::string > :: writeToFile(out) ;
52618 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
52619 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
52620 2 : }
52621 :
52622 :
52623 : void
52624 2 : SgIntValStorageClass::readEasyStorageDataFromFile (std::istream& in)
52625 : {
52626 2 : EasyStorage < std::string > :: readFromFile(in) ;
52627 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
52628 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
52629 2 : }
52630 :
52631 :
52632 :
52633 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52634 :
52635 :
52636 : // ********************************************************
52637 :
52638 : /* #line 52639 "../../../src/frontend/SageIII//StorageClasses.C" */
52639 :
52640 :
52641 :
52642 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52643 :
52644 : // ****************************************************************
52645 : // member functions definition specific to each node in the grammar
52646 : // these are the SgEnumValStorageClass parts !!!!
52647 : // ROSETTA generated code. Do not change by hand.
52648 : // ****************************************************************
52649 :
52650 :
52651 : /* #line 52652 "../../../src/frontend/SageIII//StorageClasses.C" */
52652 :
52653 :
52654 : void
52655 550 : SgEnumValStorageClass::pickOutIRNodeData ( SgEnumVal* pointer )
52656 : {
52657 550 : SgEnumVal* source = (SgEnumVal*) (pointer);
52658 : #if FILE_IO_EXTRA_CHECK
52659 550 : assert ( source != NULL ) ;
52660 550 : assert ( source->p_freepointer != NULL) ;
52661 : #endif
52662 550 : storageOf_value = source->p_value ;
52663 550 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
52664 550 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
52665 550 : storageOf_requiresNameQualification = source->p_requiresNameQualification ;
52666 550 : storageOf_name_qualification_length = source->p_name_qualification_length ;
52667 550 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
52668 550 : storageOf_global_qualification_required = source->p_global_qualification_required ;
52669 550 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52670 550 : storageOf_need_paren = source->p_need_paren ;
52671 550 : storageOf_lvalue = source->p_lvalue ;
52672 550 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52673 550 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52674 550 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52675 550 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
52676 550 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
52677 550 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
52678 550 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
52679 550 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
52680 550 : storageOf_isModified = source->p_isModified ;
52681 550 : storageOf_containsTransformation = source->p_containsTransformation ;
52682 550 : }
52683 :
52684 : void
52685 0 : SgEnumValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
52686 : {
52687 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
52688 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
52689 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
52690 0 : }
52691 :
52692 : void
52693 2 : SgEnumValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
52694 : {
52695 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
52696 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
52697 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
52698 2 : }
52699 :
52700 : void
52701 1 : SgEnumValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
52702 : {
52703 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
52704 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
52705 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
52706 1 : }
52707 :
52708 :
52709 : void
52710 1 : SgEnumValStorageClass::readEasyStorageDataFromFile (std::istream& in)
52711 : {
52712 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
52713 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
52714 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
52715 1 : }
52716 :
52717 :
52718 :
52719 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52720 :
52721 :
52722 : // ********************************************************
52723 :
52724 : /* #line 52725 "../../../src/frontend/SageIII//StorageClasses.C" */
52725 :
52726 :
52727 :
52728 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52729 :
52730 : // ****************************************************************
52731 : // member functions definition specific to each node in the grammar
52732 : // these are the SgUnsignedIntValStorageClass parts !!!!
52733 : // ROSETTA generated code. Do not change by hand.
52734 : // ****************************************************************
52735 :
52736 :
52737 : /* #line 52738 "../../../src/frontend/SageIII//StorageClasses.C" */
52738 :
52739 :
52740 : void
52741 8 : SgUnsignedIntValStorageClass::pickOutIRNodeData ( SgUnsignedIntVal* pointer )
52742 : {
52743 8 : SgUnsignedIntVal* source = (SgUnsignedIntVal*) (pointer);
52744 : #if FILE_IO_EXTRA_CHECK
52745 8 : assert ( source != NULL ) ;
52746 8 : assert ( source->p_freepointer != NULL) ;
52747 : #endif
52748 8 : storageOf_value = source->p_value ;
52749 8 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
52750 8 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52751 8 : storageOf_need_paren = source->p_need_paren ;
52752 8 : storageOf_lvalue = source->p_lvalue ;
52753 8 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52754 8 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52755 8 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52756 8 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
52757 8 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
52758 8 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
52759 8 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
52760 8 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
52761 8 : storageOf_isModified = source->p_isModified ;
52762 8 : storageOf_containsTransformation = source->p_containsTransformation ;
52763 8 : }
52764 :
52765 : void
52766 0 : SgUnsignedIntValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
52767 : {
52768 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
52769 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
52770 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
52771 0 : }
52772 :
52773 : void
52774 2 : SgUnsignedIntValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
52775 : {
52776 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
52777 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
52778 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
52779 2 : }
52780 :
52781 : void
52782 1 : SgUnsignedIntValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
52783 : {
52784 1 : EasyStorage < std::string > :: writeToFile(out) ;
52785 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
52786 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
52787 1 : }
52788 :
52789 :
52790 : void
52791 1 : SgUnsignedIntValStorageClass::readEasyStorageDataFromFile (std::istream& in)
52792 : {
52793 1 : EasyStorage < std::string > :: readFromFile(in) ;
52794 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
52795 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
52796 1 : }
52797 :
52798 :
52799 :
52800 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52801 :
52802 :
52803 : // ********************************************************
52804 :
52805 : /* #line 52806 "../../../src/frontend/SageIII//StorageClasses.C" */
52806 :
52807 :
52808 :
52809 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52810 :
52811 : // ****************************************************************
52812 : // member functions definition specific to each node in the grammar
52813 : // these are the SgLongIntValStorageClass parts !!!!
52814 : // ROSETTA generated code. Do not change by hand.
52815 : // ****************************************************************
52816 :
52817 :
52818 : /* #line 52819 "../../../src/frontend/SageIII//StorageClasses.C" */
52819 :
52820 :
52821 : void
52822 13 : SgLongIntValStorageClass::pickOutIRNodeData ( SgLongIntVal* pointer )
52823 : {
52824 13 : SgLongIntVal* source = (SgLongIntVal*) (pointer);
52825 : #if FILE_IO_EXTRA_CHECK
52826 13 : assert ( source != NULL ) ;
52827 13 : assert ( source->p_freepointer != NULL) ;
52828 : #endif
52829 13 : storageOf_value = source->p_value ;
52830 13 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
52831 13 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52832 13 : storageOf_need_paren = source->p_need_paren ;
52833 13 : storageOf_lvalue = source->p_lvalue ;
52834 13 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52835 13 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52836 13 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52837 13 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
52838 13 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
52839 13 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
52840 13 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
52841 13 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
52842 13 : storageOf_isModified = source->p_isModified ;
52843 13 : storageOf_containsTransformation = source->p_containsTransformation ;
52844 13 : }
52845 :
52846 : void
52847 0 : SgLongIntValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
52848 : {
52849 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
52850 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
52851 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
52852 0 : }
52853 :
52854 : void
52855 2 : SgLongIntValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
52856 : {
52857 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
52858 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
52859 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
52860 2 : }
52861 :
52862 : void
52863 1 : SgLongIntValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
52864 : {
52865 1 : EasyStorage < std::string > :: writeToFile(out) ;
52866 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
52867 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
52868 1 : }
52869 :
52870 :
52871 : void
52872 1 : SgLongIntValStorageClass::readEasyStorageDataFromFile (std::istream& in)
52873 : {
52874 1 : EasyStorage < std::string > :: readFromFile(in) ;
52875 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
52876 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
52877 1 : }
52878 :
52879 :
52880 :
52881 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52882 :
52883 :
52884 : // ********************************************************
52885 :
52886 : /* #line 52887 "../../../src/frontend/SageIII//StorageClasses.C" */
52887 :
52888 :
52889 :
52890 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52891 :
52892 : // ****************************************************************
52893 : // member functions definition specific to each node in the grammar
52894 : // these are the SgLongLongIntValStorageClass parts !!!!
52895 : // ROSETTA generated code. Do not change by hand.
52896 : // ****************************************************************
52897 :
52898 :
52899 : /* #line 52900 "../../../src/frontend/SageIII//StorageClasses.C" */
52900 :
52901 :
52902 : void
52903 0 : SgLongLongIntValStorageClass::pickOutIRNodeData ( SgLongLongIntVal* pointer )
52904 : {
52905 0 : SgLongLongIntVal* source = (SgLongLongIntVal*) (pointer);
52906 : #if FILE_IO_EXTRA_CHECK
52907 0 : assert ( source != NULL ) ;
52908 0 : assert ( source->p_freepointer != NULL) ;
52909 : #endif
52910 0 : storageOf_value = source->p_value ;
52911 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
52912 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52913 0 : storageOf_need_paren = source->p_need_paren ;
52914 0 : storageOf_lvalue = source->p_lvalue ;
52915 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52916 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52917 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52918 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
52919 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
52920 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
52921 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
52922 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
52923 0 : storageOf_isModified = source->p_isModified ;
52924 0 : storageOf_containsTransformation = source->p_containsTransformation ;
52925 0 : }
52926 :
52927 : void
52928 0 : SgLongLongIntValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
52929 : {
52930 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
52931 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
52932 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
52933 0 : }
52934 :
52935 : void
52936 2 : SgLongLongIntValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
52937 : {
52938 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
52939 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
52940 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
52941 2 : }
52942 :
52943 : void
52944 0 : SgLongLongIntValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
52945 : {
52946 0 : EasyStorage < std::string > :: writeToFile(out) ;
52947 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
52948 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
52949 0 : }
52950 :
52951 :
52952 : void
52953 0 : SgLongLongIntValStorageClass::readEasyStorageDataFromFile (std::istream& in)
52954 : {
52955 0 : EasyStorage < std::string > :: readFromFile(in) ;
52956 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
52957 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
52958 0 : }
52959 :
52960 :
52961 :
52962 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52963 :
52964 :
52965 : // ********************************************************
52966 :
52967 : /* #line 52968 "../../../src/frontend/SageIII//StorageClasses.C" */
52968 :
52969 :
52970 :
52971 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
52972 :
52973 : // ****************************************************************
52974 : // member functions definition specific to each node in the grammar
52975 : // these are the SgUnsignedLongLongIntValStorageClass parts !!!!
52976 : // ROSETTA generated code. Do not change by hand.
52977 : // ****************************************************************
52978 :
52979 :
52980 : /* #line 52981 "../../../src/frontend/SageIII//StorageClasses.C" */
52981 :
52982 :
52983 : void
52984 0 : SgUnsignedLongLongIntValStorageClass::pickOutIRNodeData ( SgUnsignedLongLongIntVal* pointer )
52985 : {
52986 0 : SgUnsignedLongLongIntVal* source = (SgUnsignedLongLongIntVal*) (pointer);
52987 : #if FILE_IO_EXTRA_CHECK
52988 0 : assert ( source != NULL ) ;
52989 0 : assert ( source->p_freepointer != NULL) ;
52990 : #endif
52991 0 : storageOf_value = source->p_value ;
52992 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
52993 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
52994 0 : storageOf_need_paren = source->p_need_paren ;
52995 0 : storageOf_lvalue = source->p_lvalue ;
52996 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
52997 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
52998 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
52999 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53000 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53001 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53002 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53003 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53004 0 : storageOf_isModified = source->p_isModified ;
53005 0 : storageOf_containsTransformation = source->p_containsTransformation ;
53006 0 : }
53007 :
53008 : void
53009 0 : SgUnsignedLongLongIntValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53010 : {
53011 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
53012 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53013 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53014 0 : }
53015 :
53016 : void
53017 2 : SgUnsignedLongLongIntValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53018 : {
53019 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
53020 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53021 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53022 2 : }
53023 :
53024 : void
53025 0 : SgUnsignedLongLongIntValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53026 : {
53027 0 : EasyStorage < std::string > :: writeToFile(out) ;
53028 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53029 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53030 0 : }
53031 :
53032 :
53033 : void
53034 0 : SgUnsignedLongLongIntValStorageClass::readEasyStorageDataFromFile (std::istream& in)
53035 : {
53036 0 : EasyStorage < std::string > :: readFromFile(in) ;
53037 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
53038 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
53039 0 : }
53040 :
53041 :
53042 :
53043 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53044 :
53045 :
53046 : // ********************************************************
53047 :
53048 : /* #line 53049 "../../../src/frontend/SageIII//StorageClasses.C" */
53049 :
53050 :
53051 :
53052 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53053 :
53054 : // ****************************************************************
53055 : // member functions definition specific to each node in the grammar
53056 : // these are the SgUnsignedLongValStorageClass parts !!!!
53057 : // ROSETTA generated code. Do not change by hand.
53058 : // ****************************************************************
53059 :
53060 :
53061 : /* #line 53062 "../../../src/frontend/SageIII//StorageClasses.C" */
53062 :
53063 :
53064 : void
53065 19 : SgUnsignedLongValStorageClass::pickOutIRNodeData ( SgUnsignedLongVal* pointer )
53066 : {
53067 19 : SgUnsignedLongVal* source = (SgUnsignedLongVal*) (pointer);
53068 : #if FILE_IO_EXTRA_CHECK
53069 19 : assert ( source != NULL ) ;
53070 19 : assert ( source->p_freepointer != NULL) ;
53071 : #endif
53072 19 : storageOf_value = source->p_value ;
53073 19 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
53074 19 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
53075 19 : storageOf_need_paren = source->p_need_paren ;
53076 19 : storageOf_lvalue = source->p_lvalue ;
53077 19 : storageOf_global_qualified_name = source->p_global_qualified_name ;
53078 19 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
53079 19 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
53080 19 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53081 19 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53082 19 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53083 19 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53084 19 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53085 19 : storageOf_isModified = source->p_isModified ;
53086 19 : storageOf_containsTransformation = source->p_containsTransformation ;
53087 19 : }
53088 :
53089 : void
53090 0 : SgUnsignedLongValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53091 : {
53092 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
53093 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53094 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53095 0 : }
53096 :
53097 : void
53098 2 : SgUnsignedLongValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53099 : {
53100 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
53101 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53102 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53103 2 : }
53104 :
53105 : void
53106 1 : SgUnsignedLongValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53107 : {
53108 1 : EasyStorage < std::string > :: writeToFile(out) ;
53109 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53110 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53111 1 : }
53112 :
53113 :
53114 : void
53115 1 : SgUnsignedLongValStorageClass::readEasyStorageDataFromFile (std::istream& in)
53116 : {
53117 1 : EasyStorage < std::string > :: readFromFile(in) ;
53118 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
53119 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
53120 1 : }
53121 :
53122 :
53123 :
53124 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53125 :
53126 :
53127 : // ********************************************************
53128 :
53129 : /* #line 53130 "../../../src/frontend/SageIII//StorageClasses.C" */
53130 :
53131 :
53132 :
53133 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53134 :
53135 : // ****************************************************************
53136 : // member functions definition specific to each node in the grammar
53137 : // these are the SgFloatValStorageClass parts !!!!
53138 : // ROSETTA generated code. Do not change by hand.
53139 : // ****************************************************************
53140 :
53141 :
53142 : /* #line 53143 "../../../src/frontend/SageIII//StorageClasses.C" */
53143 :
53144 :
53145 : void
53146 1 : SgFloatValStorageClass::pickOutIRNodeData ( SgFloatVal* pointer )
53147 : {
53148 1 : SgFloatVal* source = (SgFloatVal*) (pointer);
53149 : #if FILE_IO_EXTRA_CHECK
53150 1 : assert ( source != NULL ) ;
53151 1 : assert ( source->p_freepointer != NULL) ;
53152 : #endif
53153 1 : storageOf_value = source->p_value ;
53154 1 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
53155 1 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
53156 1 : storageOf_need_paren = source->p_need_paren ;
53157 1 : storageOf_lvalue = source->p_lvalue ;
53158 1 : storageOf_global_qualified_name = source->p_global_qualified_name ;
53159 1 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
53160 1 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
53161 1 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53162 1 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53163 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53164 1 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53165 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53166 1 : storageOf_isModified = source->p_isModified ;
53167 1 : storageOf_containsTransformation = source->p_containsTransformation ;
53168 1 : }
53169 :
53170 : void
53171 0 : SgFloatValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53172 : {
53173 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
53174 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53175 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53176 0 : }
53177 :
53178 : void
53179 2 : SgFloatValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53180 : {
53181 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
53182 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53183 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53184 2 : }
53185 :
53186 : void
53187 1 : SgFloatValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53188 : {
53189 1 : EasyStorage < std::string > :: writeToFile(out) ;
53190 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53191 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53192 1 : }
53193 :
53194 :
53195 : void
53196 1 : SgFloatValStorageClass::readEasyStorageDataFromFile (std::istream& in)
53197 : {
53198 1 : EasyStorage < std::string > :: readFromFile(in) ;
53199 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
53200 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
53201 1 : }
53202 :
53203 :
53204 :
53205 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53206 :
53207 :
53208 : // ********************************************************
53209 :
53210 : /* #line 53211 "../../../src/frontend/SageIII//StorageClasses.C" */
53211 :
53212 :
53213 :
53214 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53215 :
53216 : // ****************************************************************
53217 : // member functions definition specific to each node in the grammar
53218 : // these are the SgDoubleValStorageClass parts !!!!
53219 : // ROSETTA generated code. Do not change by hand.
53220 : // ****************************************************************
53221 :
53222 :
53223 : /* #line 53224 "../../../src/frontend/SageIII//StorageClasses.C" */
53224 :
53225 :
53226 : void
53227 1 : SgDoubleValStorageClass::pickOutIRNodeData ( SgDoubleVal* pointer )
53228 : {
53229 1 : SgDoubleVal* source = (SgDoubleVal*) (pointer);
53230 : #if FILE_IO_EXTRA_CHECK
53231 1 : assert ( source != NULL ) ;
53232 1 : assert ( source->p_freepointer != NULL) ;
53233 : #endif
53234 1 : storageOf_value = source->p_value ;
53235 1 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
53236 1 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
53237 1 : storageOf_need_paren = source->p_need_paren ;
53238 1 : storageOf_lvalue = source->p_lvalue ;
53239 1 : storageOf_global_qualified_name = source->p_global_qualified_name ;
53240 1 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
53241 1 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
53242 1 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53243 1 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53244 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53245 1 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53246 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53247 1 : storageOf_isModified = source->p_isModified ;
53248 1 : storageOf_containsTransformation = source->p_containsTransformation ;
53249 1 : }
53250 :
53251 : void
53252 0 : SgDoubleValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53253 : {
53254 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
53255 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53256 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53257 0 : }
53258 :
53259 : void
53260 2 : SgDoubleValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53261 : {
53262 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
53263 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53264 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53265 2 : }
53266 :
53267 : void
53268 1 : SgDoubleValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53269 : {
53270 1 : EasyStorage < std::string > :: writeToFile(out) ;
53271 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53272 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53273 1 : }
53274 :
53275 :
53276 : void
53277 1 : SgDoubleValStorageClass::readEasyStorageDataFromFile (std::istream& in)
53278 : {
53279 1 : EasyStorage < std::string > :: readFromFile(in) ;
53280 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
53281 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
53282 1 : }
53283 :
53284 :
53285 :
53286 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53287 :
53288 :
53289 : // ********************************************************
53290 :
53291 : /* #line 53292 "../../../src/frontend/SageIII//StorageClasses.C" */
53292 :
53293 :
53294 :
53295 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53296 :
53297 : // ****************************************************************
53298 : // member functions definition specific to each node in the grammar
53299 : // these are the SgLongDoubleValStorageClass parts !!!!
53300 : // ROSETTA generated code. Do not change by hand.
53301 : // ****************************************************************
53302 :
53303 :
53304 : /* #line 53305 "../../../src/frontend/SageIII//StorageClasses.C" */
53305 :
53306 :
53307 : void
53308 0 : SgLongDoubleValStorageClass::pickOutIRNodeData ( SgLongDoubleVal* pointer )
53309 : {
53310 0 : SgLongDoubleVal* source = (SgLongDoubleVal*) (pointer);
53311 : #if FILE_IO_EXTRA_CHECK
53312 0 : assert ( source != NULL ) ;
53313 0 : assert ( source->p_freepointer != NULL) ;
53314 : #endif
53315 0 : storageOf_value = source->p_value ;
53316 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
53317 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
53318 0 : storageOf_need_paren = source->p_need_paren ;
53319 0 : storageOf_lvalue = source->p_lvalue ;
53320 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
53321 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
53322 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
53323 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53324 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53325 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53326 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53327 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53328 0 : storageOf_isModified = source->p_isModified ;
53329 0 : storageOf_containsTransformation = source->p_containsTransformation ;
53330 0 : }
53331 :
53332 : void
53333 0 : SgLongDoubleValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53334 : {
53335 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
53336 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53337 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53338 0 : }
53339 :
53340 : void
53341 2 : SgLongDoubleValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53342 : {
53343 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
53344 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53345 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53346 2 : }
53347 :
53348 : void
53349 0 : SgLongDoubleValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53350 : {
53351 0 : EasyStorage < std::string > :: writeToFile(out) ;
53352 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53353 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53354 0 : }
53355 :
53356 :
53357 : void
53358 0 : SgLongDoubleValStorageClass::readEasyStorageDataFromFile (std::istream& in)
53359 : {
53360 0 : EasyStorage < std::string > :: readFromFile(in) ;
53361 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
53362 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
53363 0 : }
53364 :
53365 :
53366 :
53367 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53368 :
53369 :
53370 : // ********************************************************
53371 :
53372 : /* #line 53373 "../../../src/frontend/SageIII//StorageClasses.C" */
53373 :
53374 :
53375 :
53376 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53377 :
53378 : // ****************************************************************
53379 : // member functions definition specific to each node in the grammar
53380 : // these are the SgComplexValStorageClass parts !!!!
53381 : // ROSETTA generated code. Do not change by hand.
53382 : // ****************************************************************
53383 :
53384 :
53385 : /* #line 53386 "../../../src/frontend/SageIII//StorageClasses.C" */
53386 :
53387 :
53388 : void
53389 0 : SgComplexValStorageClass::pickOutIRNodeData ( SgComplexVal* pointer )
53390 : {
53391 0 : SgComplexVal* source = (SgComplexVal*) (pointer);
53392 : #if FILE_IO_EXTRA_CHECK
53393 0 : assert ( source != NULL ) ;
53394 0 : assert ( source->p_freepointer != NULL) ;
53395 : #endif
53396 0 : storageOf_real_value = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_real_value );
53397 0 : storageOf_imaginary_value = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_imaginary_value );
53398 0 : storageOf_precisionType = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_precisionType );
53399 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
53400 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
53401 0 : storageOf_need_paren = source->p_need_paren ;
53402 0 : storageOf_lvalue = source->p_lvalue ;
53403 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
53404 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
53405 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
53406 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53407 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53408 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53409 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53410 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53411 0 : storageOf_isModified = source->p_isModified ;
53412 0 : storageOf_containsTransformation = source->p_containsTransformation ;
53413 0 : }
53414 :
53415 : void
53416 0 : SgComplexValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53417 : {
53418 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
53419 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53420 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53421 0 : }
53422 :
53423 : void
53424 2 : SgComplexValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53425 : {
53426 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
53427 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53428 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53429 2 : }
53430 :
53431 : void
53432 0 : SgComplexValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53433 : {
53434 0 : EasyStorage < std::string > :: writeToFile(out) ;
53435 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53436 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53437 0 : }
53438 :
53439 :
53440 : void
53441 0 : SgComplexValStorageClass::readEasyStorageDataFromFile (std::istream& in)
53442 : {
53443 0 : EasyStorage < std::string > :: readFromFile(in) ;
53444 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
53445 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
53446 0 : }
53447 :
53448 :
53449 :
53450 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53451 :
53452 :
53453 : // ********************************************************
53454 :
53455 : /* #line 53456 "../../../src/frontend/SageIII//StorageClasses.C" */
53456 :
53457 :
53458 :
53459 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53460 :
53461 : // ****************************************************************
53462 : // member functions definition specific to each node in the grammar
53463 : // these are the SgUpcThreadsStorageClass parts !!!!
53464 : // ROSETTA generated code. Do not change by hand.
53465 : // ****************************************************************
53466 :
53467 :
53468 : /* #line 53469 "../../../src/frontend/SageIII//StorageClasses.C" */
53469 :
53470 :
53471 : void
53472 0 : SgUpcThreadsStorageClass::pickOutIRNodeData ( SgUpcThreads* pointer )
53473 : {
53474 0 : SgUpcThreads* source = (SgUpcThreads*) (pointer);
53475 : #if FILE_IO_EXTRA_CHECK
53476 0 : assert ( source != NULL ) ;
53477 0 : assert ( source->p_freepointer != NULL) ;
53478 : #endif
53479 0 : storageOf_value = source->p_value ;
53480 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
53481 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
53482 0 : storageOf_need_paren = source->p_need_paren ;
53483 0 : storageOf_lvalue = source->p_lvalue ;
53484 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
53485 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
53486 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
53487 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53488 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53489 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53490 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53491 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53492 0 : storageOf_isModified = source->p_isModified ;
53493 0 : storageOf_containsTransformation = source->p_containsTransformation ;
53494 0 : }
53495 :
53496 : void
53497 0 : SgUpcThreadsStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53498 : {
53499 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
53500 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53501 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53502 0 : }
53503 :
53504 : void
53505 2 : SgUpcThreadsStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53506 : {
53507 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
53508 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53509 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53510 2 : }
53511 :
53512 : void
53513 0 : SgUpcThreadsStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53514 : {
53515 0 : EasyStorage < std::string > :: writeToFile(out) ;
53516 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53517 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53518 0 : }
53519 :
53520 :
53521 : void
53522 0 : SgUpcThreadsStorageClass::readEasyStorageDataFromFile (std::istream& in)
53523 : {
53524 0 : EasyStorage < std::string > :: readFromFile(in) ;
53525 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
53526 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
53527 0 : }
53528 :
53529 :
53530 :
53531 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53532 :
53533 :
53534 : // ********************************************************
53535 :
53536 : /* #line 53537 "../../../src/frontend/SageIII//StorageClasses.C" */
53537 :
53538 :
53539 :
53540 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53541 :
53542 : // ****************************************************************
53543 : // member functions definition specific to each node in the grammar
53544 : // these are the SgUpcMythreadStorageClass parts !!!!
53545 : // ROSETTA generated code. Do not change by hand.
53546 : // ****************************************************************
53547 :
53548 :
53549 : /* #line 53550 "../../../src/frontend/SageIII//StorageClasses.C" */
53550 :
53551 :
53552 : void
53553 0 : SgUpcMythreadStorageClass::pickOutIRNodeData ( SgUpcMythread* pointer )
53554 : {
53555 0 : SgUpcMythread* source = (SgUpcMythread*) (pointer);
53556 : #if FILE_IO_EXTRA_CHECK
53557 0 : assert ( source != NULL ) ;
53558 0 : assert ( source->p_freepointer != NULL) ;
53559 : #endif
53560 0 : storageOf_value = source->p_value ;
53561 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
53562 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
53563 0 : storageOf_need_paren = source->p_need_paren ;
53564 0 : storageOf_lvalue = source->p_lvalue ;
53565 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
53566 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
53567 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
53568 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53569 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53570 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53571 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53572 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53573 0 : storageOf_isModified = source->p_isModified ;
53574 0 : storageOf_containsTransformation = source->p_containsTransformation ;
53575 0 : }
53576 :
53577 : void
53578 0 : SgUpcMythreadStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53579 : {
53580 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
53581 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53582 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53583 0 : }
53584 :
53585 : void
53586 2 : SgUpcMythreadStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53587 : {
53588 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
53589 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53590 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53591 2 : }
53592 :
53593 : void
53594 0 : SgUpcMythreadStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53595 : {
53596 0 : EasyStorage < std::string > :: writeToFile(out) ;
53597 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53598 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53599 0 : }
53600 :
53601 :
53602 : void
53603 0 : SgUpcMythreadStorageClass::readEasyStorageDataFromFile (std::istream& in)
53604 : {
53605 0 : EasyStorage < std::string > :: readFromFile(in) ;
53606 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
53607 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
53608 0 : }
53609 :
53610 :
53611 :
53612 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53613 :
53614 :
53615 : // ********************************************************
53616 :
53617 : /* #line 53618 "../../../src/frontend/SageIII//StorageClasses.C" */
53618 :
53619 :
53620 :
53621 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53622 :
53623 : // ****************************************************************
53624 : // member functions definition specific to each node in the grammar
53625 : // these are the SgTemplateParameterValStorageClass parts !!!!
53626 : // ROSETTA generated code. Do not change by hand.
53627 : // ****************************************************************
53628 :
53629 :
53630 : /* #line 53631 "../../../src/frontend/SageIII//StorageClasses.C" */
53631 :
53632 :
53633 : void
53634 0 : SgTemplateParameterValStorageClass::pickOutIRNodeData ( SgTemplateParameterVal* pointer )
53635 : {
53636 0 : SgTemplateParameterVal* source = (SgTemplateParameterVal*) (pointer);
53637 : #if FILE_IO_EXTRA_CHECK
53638 0 : assert ( source != NULL ) ;
53639 0 : assert ( source->p_freepointer != NULL) ;
53640 : #endif
53641 0 : storageOf_template_parameter_position = source->p_template_parameter_position ;
53642 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
53643 0 : storageOf_valueType = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_valueType );
53644 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
53645 0 : storageOf_need_paren = source->p_need_paren ;
53646 0 : storageOf_lvalue = source->p_lvalue ;
53647 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
53648 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
53649 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
53650 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53651 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53652 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53653 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53654 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53655 0 : storageOf_isModified = source->p_isModified ;
53656 0 : storageOf_containsTransformation = source->p_containsTransformation ;
53657 0 : }
53658 :
53659 : void
53660 0 : SgTemplateParameterValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53661 : {
53662 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
53663 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53664 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53665 0 : }
53666 :
53667 : void
53668 2 : SgTemplateParameterValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53669 : {
53670 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
53671 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53672 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53673 2 : }
53674 :
53675 : void
53676 0 : SgTemplateParameterValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53677 : {
53678 0 : EasyStorage < std::string > :: writeToFile(out) ;
53679 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53680 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53681 0 : }
53682 :
53683 :
53684 : void
53685 0 : SgTemplateParameterValStorageClass::readEasyStorageDataFromFile (std::istream& in)
53686 : {
53687 0 : EasyStorage < std::string > :: readFromFile(in) ;
53688 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
53689 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
53690 0 : }
53691 :
53692 :
53693 :
53694 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53695 :
53696 :
53697 : // ********************************************************
53698 :
53699 : /* #line 53700 "../../../src/frontend/SageIII//StorageClasses.C" */
53700 :
53701 :
53702 :
53703 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53704 :
53705 : // ****************************************************************
53706 : // member functions definition specific to each node in the grammar
53707 : // these are the SgNullptrValExpStorageClass parts !!!!
53708 : // ROSETTA generated code. Do not change by hand.
53709 : // ****************************************************************
53710 :
53711 :
53712 : /* #line 53713 "../../../src/frontend/SageIII//StorageClasses.C" */
53713 :
53714 :
53715 : void
53716 6 : SgNullptrValExpStorageClass::pickOutIRNodeData ( SgNullptrValExp* pointer )
53717 : {
53718 6 : SgNullptrValExp* source = (SgNullptrValExp*) (pointer);
53719 : #if FILE_IO_EXTRA_CHECK
53720 6 : assert ( source != NULL ) ;
53721 6 : assert ( source->p_freepointer != NULL) ;
53722 : #endif
53723 6 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
53724 6 : storageOf_need_paren = source->p_need_paren ;
53725 6 : storageOf_lvalue = source->p_lvalue ;
53726 6 : storageOf_global_qualified_name = source->p_global_qualified_name ;
53727 6 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
53728 6 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
53729 6 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53730 6 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53731 6 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53732 6 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53733 6 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53734 6 : storageOf_isModified = source->p_isModified ;
53735 6 : storageOf_containsTransformation = source->p_containsTransformation ;
53736 6 : }
53737 :
53738 : void
53739 0 : SgNullptrValExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53740 : {
53741 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53742 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53743 0 : }
53744 :
53745 : void
53746 2 : SgNullptrValExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53747 : {
53748 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53749 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53750 2 : }
53751 :
53752 : void
53753 1 : SgNullptrValExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53754 : {
53755 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53756 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53757 1 : }
53758 :
53759 :
53760 : void
53761 1 : SgNullptrValExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
53762 : {
53763 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
53764 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
53765 1 : }
53766 :
53767 :
53768 :
53769 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53770 :
53771 :
53772 : // ********************************************************
53773 :
53774 : /* #line 53775 "../../../src/frontend/SageIII//StorageClasses.C" */
53775 :
53776 :
53777 :
53778 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53779 :
53780 : // ****************************************************************
53781 : // member functions definition specific to each node in the grammar
53782 : // these are the SgChar16ValStorageClass parts !!!!
53783 : // ROSETTA generated code. Do not change by hand.
53784 : // ****************************************************************
53785 :
53786 :
53787 : /* #line 53788 "../../../src/frontend/SageIII//StorageClasses.C" */
53788 :
53789 :
53790 : void
53791 0 : SgChar16ValStorageClass::pickOutIRNodeData ( SgChar16Val* pointer )
53792 : {
53793 0 : SgChar16Val* source = (SgChar16Val*) (pointer);
53794 : #if FILE_IO_EXTRA_CHECK
53795 0 : assert ( source != NULL ) ;
53796 0 : assert ( source->p_freepointer != NULL) ;
53797 : #endif
53798 0 : storageOf_valueUL = source->p_valueUL ;
53799 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
53800 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
53801 0 : storageOf_need_paren = source->p_need_paren ;
53802 0 : storageOf_lvalue = source->p_lvalue ;
53803 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
53804 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
53805 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
53806 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53807 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53808 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53809 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53810 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53811 0 : storageOf_isModified = source->p_isModified ;
53812 0 : storageOf_containsTransformation = source->p_containsTransformation ;
53813 0 : }
53814 :
53815 : void
53816 0 : SgChar16ValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53817 : {
53818 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
53819 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53820 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53821 0 : }
53822 :
53823 : void
53824 2 : SgChar16ValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53825 : {
53826 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
53827 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53828 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53829 2 : }
53830 :
53831 : void
53832 0 : SgChar16ValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53833 : {
53834 0 : EasyStorage < std::string > :: writeToFile(out) ;
53835 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53836 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53837 0 : }
53838 :
53839 :
53840 : void
53841 0 : SgChar16ValStorageClass::readEasyStorageDataFromFile (std::istream& in)
53842 : {
53843 0 : EasyStorage < std::string > :: readFromFile(in) ;
53844 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
53845 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
53846 0 : }
53847 :
53848 :
53849 :
53850 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53851 :
53852 :
53853 : // ********************************************************
53854 :
53855 : /* #line 53856 "../../../src/frontend/SageIII//StorageClasses.C" */
53856 :
53857 :
53858 :
53859 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53860 :
53861 : // ****************************************************************
53862 : // member functions definition specific to each node in the grammar
53863 : // these are the SgChar32ValStorageClass parts !!!!
53864 : // ROSETTA generated code. Do not change by hand.
53865 : // ****************************************************************
53866 :
53867 :
53868 : /* #line 53869 "../../../src/frontend/SageIII//StorageClasses.C" */
53869 :
53870 :
53871 : void
53872 0 : SgChar32ValStorageClass::pickOutIRNodeData ( SgChar32Val* pointer )
53873 : {
53874 0 : SgChar32Val* source = (SgChar32Val*) (pointer);
53875 : #if FILE_IO_EXTRA_CHECK
53876 0 : assert ( source != NULL ) ;
53877 0 : assert ( source->p_freepointer != NULL) ;
53878 : #endif
53879 0 : storageOf_valueUL = source->p_valueUL ;
53880 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
53881 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
53882 0 : storageOf_need_paren = source->p_need_paren ;
53883 0 : storageOf_lvalue = source->p_lvalue ;
53884 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
53885 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
53886 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
53887 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53888 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53889 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53890 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53891 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53892 0 : storageOf_isModified = source->p_isModified ;
53893 0 : storageOf_containsTransformation = source->p_containsTransformation ;
53894 0 : }
53895 :
53896 : void
53897 0 : SgChar32ValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53898 : {
53899 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
53900 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53901 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53902 0 : }
53903 :
53904 : void
53905 2 : SgChar32ValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53906 : {
53907 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
53908 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53909 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53910 2 : }
53911 :
53912 : void
53913 0 : SgChar32ValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53914 : {
53915 0 : EasyStorage < std::string > :: writeToFile(out) ;
53916 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53917 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53918 0 : }
53919 :
53920 :
53921 : void
53922 0 : SgChar32ValStorageClass::readEasyStorageDataFromFile (std::istream& in)
53923 : {
53924 0 : EasyStorage < std::string > :: readFromFile(in) ;
53925 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
53926 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
53927 0 : }
53928 :
53929 :
53930 :
53931 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53932 :
53933 :
53934 : // ********************************************************
53935 :
53936 : /* #line 53937 "../../../src/frontend/SageIII//StorageClasses.C" */
53937 :
53938 :
53939 :
53940 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
53941 :
53942 : // ****************************************************************
53943 : // member functions definition specific to each node in the grammar
53944 : // these are the SgFloat80ValStorageClass parts !!!!
53945 : // ROSETTA generated code. Do not change by hand.
53946 : // ****************************************************************
53947 :
53948 :
53949 : /* #line 53950 "../../../src/frontend/SageIII//StorageClasses.C" */
53950 :
53951 :
53952 : void
53953 0 : SgFloat80ValStorageClass::pickOutIRNodeData ( SgFloat80Val* pointer )
53954 : {
53955 0 : SgFloat80Val* source = (SgFloat80Val*) (pointer);
53956 : #if FILE_IO_EXTRA_CHECK
53957 0 : assert ( source != NULL ) ;
53958 0 : assert ( source->p_freepointer != NULL) ;
53959 : #endif
53960 0 : storageOf_value = source->p_value ;
53961 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
53962 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
53963 0 : storageOf_need_paren = source->p_need_paren ;
53964 0 : storageOf_lvalue = source->p_lvalue ;
53965 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
53966 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
53967 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
53968 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
53969 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
53970 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
53971 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
53972 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
53973 0 : storageOf_isModified = source->p_isModified ;
53974 0 : storageOf_containsTransformation = source->p_containsTransformation ;
53975 0 : }
53976 :
53977 : void
53978 0 : SgFloat80ValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
53979 : {
53980 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
53981 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
53982 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
53983 0 : }
53984 :
53985 : void
53986 2 : SgFloat80ValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
53987 : {
53988 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
53989 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
53990 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
53991 2 : }
53992 :
53993 : void
53994 0 : SgFloat80ValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
53995 : {
53996 0 : EasyStorage < std::string > :: writeToFile(out) ;
53997 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
53998 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
53999 0 : }
54000 :
54001 :
54002 : void
54003 0 : SgFloat80ValStorageClass::readEasyStorageDataFromFile (std::istream& in)
54004 : {
54005 0 : EasyStorage < std::string > :: readFromFile(in) ;
54006 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54007 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54008 0 : }
54009 :
54010 :
54011 :
54012 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54013 :
54014 :
54015 : // ********************************************************
54016 :
54017 : /* #line 54018 "../../../src/frontend/SageIII//StorageClasses.C" */
54018 :
54019 :
54020 :
54021 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54022 :
54023 : // ****************************************************************
54024 : // member functions definition specific to each node in the grammar
54025 : // these are the SgFloat128ValStorageClass parts !!!!
54026 : // ROSETTA generated code. Do not change by hand.
54027 : // ****************************************************************
54028 :
54029 :
54030 : /* #line 54031 "../../../src/frontend/SageIII//StorageClasses.C" */
54031 :
54032 :
54033 : void
54034 0 : SgFloat128ValStorageClass::pickOutIRNodeData ( SgFloat128Val* pointer )
54035 : {
54036 0 : SgFloat128Val* source = (SgFloat128Val*) (pointer);
54037 : #if FILE_IO_EXTRA_CHECK
54038 0 : assert ( source != NULL ) ;
54039 0 : assert ( source->p_freepointer != NULL) ;
54040 : #endif
54041 0 : storageOf_value = source->p_value ;
54042 0 : storageOf_valueString.storeDataInEasyStorageClass(source->p_valueString);
54043 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
54044 0 : storageOf_need_paren = source->p_need_paren ;
54045 0 : storageOf_lvalue = source->p_lvalue ;
54046 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54047 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54048 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
54049 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
54050 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
54051 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
54052 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
54053 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
54054 0 : storageOf_isModified = source->p_isModified ;
54055 0 : storageOf_containsTransformation = source->p_containsTransformation ;
54056 0 : }
54057 :
54058 : void
54059 0 : SgFloat128ValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
54060 : {
54061 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
54062 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
54063 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
54064 0 : }
54065 :
54066 : void
54067 2 : SgFloat128ValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
54068 : {
54069 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
54070 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
54071 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
54072 2 : }
54073 :
54074 : void
54075 0 : SgFloat128ValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
54076 : {
54077 0 : EasyStorage < std::string > :: writeToFile(out) ;
54078 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
54079 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
54080 0 : }
54081 :
54082 :
54083 : void
54084 0 : SgFloat128ValStorageClass::readEasyStorageDataFromFile (std::istream& in)
54085 : {
54086 0 : EasyStorage < std::string > :: readFromFile(in) ;
54087 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54088 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54089 0 : }
54090 :
54091 :
54092 :
54093 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54094 :
54095 :
54096 : // ********************************************************
54097 :
54098 : /* #line 54099 "../../../src/frontend/SageIII//StorageClasses.C" */
54099 :
54100 :
54101 :
54102 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54103 :
54104 : // ****************************************************************
54105 : // member functions definition specific to each node in the grammar
54106 : // these are the SgVoidValStorageClass parts !!!!
54107 : // ROSETTA generated code. Do not change by hand.
54108 : // ****************************************************************
54109 :
54110 :
54111 : /* #line 54112 "../../../src/frontend/SageIII//StorageClasses.C" */
54112 :
54113 :
54114 : void
54115 0 : SgVoidValStorageClass::pickOutIRNodeData ( SgVoidVal* pointer )
54116 : {
54117 0 : SgVoidVal* source = (SgVoidVal*) (pointer);
54118 : #if FILE_IO_EXTRA_CHECK
54119 0 : assert ( source != NULL ) ;
54120 0 : assert ( source->p_freepointer != NULL) ;
54121 : #endif
54122 0 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
54123 0 : storageOf_need_paren = source->p_need_paren ;
54124 0 : storageOf_lvalue = source->p_lvalue ;
54125 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54126 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54127 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
54128 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
54129 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
54130 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
54131 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
54132 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
54133 0 : storageOf_isModified = source->p_isModified ;
54134 0 : storageOf_containsTransformation = source->p_containsTransformation ;
54135 0 : }
54136 :
54137 : void
54138 0 : SgVoidValStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
54139 : {
54140 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
54141 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
54142 0 : }
54143 :
54144 : void
54145 2 : SgVoidValStorageClass::deleteStaticDataOfEasyStorageClasses ( )
54146 : {
54147 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
54148 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
54149 2 : }
54150 :
54151 : void
54152 0 : SgVoidValStorageClass::writeEasyStorageDataToFile (std::ostream& out)
54153 : {
54154 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
54155 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
54156 0 : }
54157 :
54158 :
54159 : void
54160 0 : SgVoidValStorageClass::readEasyStorageDataFromFile (std::istream& in)
54161 : {
54162 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54163 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54164 0 : }
54165 :
54166 :
54167 :
54168 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54169 :
54170 :
54171 : // ********************************************************
54172 :
54173 : /* #line 54174 "../../../src/frontend/SageIII//StorageClasses.C" */
54174 :
54175 :
54176 :
54177 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54178 :
54179 : // ****************************************************************
54180 : // member functions definition specific to each node in the grammar
54181 : // these are the SgCallExpressionStorageClass parts !!!!
54182 : // ROSETTA generated code. Do not change by hand.
54183 : // ****************************************************************
54184 :
54185 :
54186 : /* #line 54187 "../../../src/frontend/SageIII//StorageClasses.C" */
54187 :
54188 :
54189 : void
54190 0 : SgCallExpressionStorageClass::pickOutIRNodeData ( SgCallExpression* pointer )
54191 : {
54192 0 : SgCallExpression* source = (SgCallExpression*) (pointer);
54193 : #if FILE_IO_EXTRA_CHECK
54194 0 : assert ( source != NULL ) ;
54195 0 : assert ( source->p_freepointer != NULL) ;
54196 : #endif
54197 0 : storageOf_function = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_function );
54198 0 : storageOf_args = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_args );
54199 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
54200 0 : storageOf_need_paren = source->p_need_paren ;
54201 0 : storageOf_lvalue = source->p_lvalue ;
54202 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54203 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54204 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
54205 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
54206 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
54207 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
54208 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
54209 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
54210 0 : storageOf_isModified = source->p_isModified ;
54211 0 : storageOf_containsTransformation = source->p_containsTransformation ;
54212 0 : }
54213 :
54214 : void
54215 0 : SgCallExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
54216 : {
54217 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
54218 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
54219 0 : }
54220 :
54221 : void
54222 2 : SgCallExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
54223 : {
54224 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
54225 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
54226 2 : }
54227 :
54228 : void
54229 0 : SgCallExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
54230 : {
54231 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
54232 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
54233 0 : }
54234 :
54235 :
54236 : void
54237 0 : SgCallExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
54238 : {
54239 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54240 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54241 0 : }
54242 :
54243 :
54244 :
54245 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54246 :
54247 :
54248 : // ********************************************************
54249 :
54250 : /* #line 54251 "../../../src/frontend/SageIII//StorageClasses.C" */
54251 :
54252 :
54253 :
54254 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54255 :
54256 : // ****************************************************************
54257 : // member functions definition specific to each node in the grammar
54258 : // these are the SgFunctionCallExpStorageClass parts !!!!
54259 : // ROSETTA generated code. Do not change by hand.
54260 : // ****************************************************************
54261 :
54262 :
54263 : /* #line 54264 "../../../src/frontend/SageIII//StorageClasses.C" */
54264 :
54265 :
54266 : void
54267 3222 : SgFunctionCallExpStorageClass::pickOutIRNodeData ( SgFunctionCallExp* pointer )
54268 : {
54269 3222 : SgFunctionCallExp* source = (SgFunctionCallExp*) (pointer);
54270 : #if FILE_IO_EXTRA_CHECK
54271 3222 : assert ( source != NULL ) ;
54272 3222 : assert ( source->p_freepointer != NULL) ;
54273 : #endif
54274 3222 : storageOf_uses_operator_syntax = source->p_uses_operator_syntax ;
54275 3222 : storageOf_function = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_function );
54276 3222 : storageOf_args = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_args );
54277 3222 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
54278 3222 : storageOf_need_paren = source->p_need_paren ;
54279 3222 : storageOf_lvalue = source->p_lvalue ;
54280 3222 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54281 3222 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54282 3222 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
54283 3222 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
54284 3222 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
54285 3222 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
54286 3222 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
54287 3222 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
54288 3222 : storageOf_isModified = source->p_isModified ;
54289 3222 : storageOf_containsTransformation = source->p_containsTransformation ;
54290 3222 : }
54291 :
54292 : void
54293 0 : SgFunctionCallExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
54294 : {
54295 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
54296 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
54297 0 : }
54298 :
54299 : void
54300 2 : SgFunctionCallExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
54301 : {
54302 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
54303 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
54304 2 : }
54305 :
54306 : void
54307 2 : SgFunctionCallExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
54308 : {
54309 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
54310 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
54311 2 : }
54312 :
54313 :
54314 : void
54315 2 : SgFunctionCallExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
54316 : {
54317 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54318 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54319 2 : }
54320 :
54321 :
54322 :
54323 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54324 :
54325 :
54326 : // ********************************************************
54327 :
54328 : /* #line 54329 "../../../src/frontend/SageIII//StorageClasses.C" */
54329 :
54330 :
54331 :
54332 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54333 :
54334 : // ****************************************************************
54335 : // member functions definition specific to each node in the grammar
54336 : // these are the SgCudaKernelCallExpStorageClass parts !!!!
54337 : // ROSETTA generated code. Do not change by hand.
54338 : // ****************************************************************
54339 :
54340 :
54341 : /* #line 54342 "../../../src/frontend/SageIII//StorageClasses.C" */
54342 :
54343 :
54344 : void
54345 0 : SgCudaKernelCallExpStorageClass::pickOutIRNodeData ( SgCudaKernelCallExp* pointer )
54346 : {
54347 0 : SgCudaKernelCallExp* source = (SgCudaKernelCallExp*) (pointer);
54348 : #if FILE_IO_EXTRA_CHECK
54349 0 : assert ( source != NULL ) ;
54350 0 : assert ( source->p_freepointer != NULL) ;
54351 : #endif
54352 0 : storageOf_exec_config = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_exec_config );
54353 0 : storageOf_uses_operator_syntax = source->p_uses_operator_syntax ;
54354 0 : storageOf_function = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_function );
54355 0 : storageOf_args = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_args );
54356 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
54357 0 : storageOf_need_paren = source->p_need_paren ;
54358 0 : storageOf_lvalue = source->p_lvalue ;
54359 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54360 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54361 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
54362 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
54363 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
54364 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
54365 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
54366 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
54367 0 : storageOf_isModified = source->p_isModified ;
54368 0 : storageOf_containsTransformation = source->p_containsTransformation ;
54369 0 : }
54370 :
54371 : void
54372 0 : SgCudaKernelCallExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
54373 : {
54374 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
54375 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
54376 0 : }
54377 :
54378 : void
54379 2 : SgCudaKernelCallExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
54380 : {
54381 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
54382 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
54383 2 : }
54384 :
54385 : void
54386 0 : SgCudaKernelCallExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
54387 : {
54388 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
54389 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
54390 0 : }
54391 :
54392 :
54393 : void
54394 0 : SgCudaKernelCallExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
54395 : {
54396 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54397 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54398 0 : }
54399 :
54400 :
54401 :
54402 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54403 :
54404 :
54405 : // ********************************************************
54406 :
54407 : /* #line 54408 "../../../src/frontend/SageIII//StorageClasses.C" */
54408 :
54409 :
54410 :
54411 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54412 :
54413 : // ****************************************************************
54414 : // member functions definition specific to each node in the grammar
54415 : // these are the SgSizeOfOpStorageClass parts !!!!
54416 : // ROSETTA generated code. Do not change by hand.
54417 : // ****************************************************************
54418 :
54419 :
54420 : /* #line 54421 "../../../src/frontend/SageIII//StorageClasses.C" */
54421 :
54422 :
54423 : void
54424 98 : SgSizeOfOpStorageClass::pickOutIRNodeData ( SgSizeOfOp* pointer )
54425 : {
54426 98 : SgSizeOfOp* source = (SgSizeOfOp*) (pointer);
54427 : #if FILE_IO_EXTRA_CHECK
54428 98 : assert ( source != NULL ) ;
54429 98 : assert ( source->p_freepointer != NULL) ;
54430 : #endif
54431 98 : storageOf_operand_expr = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_expr );
54432 98 : storageOf_operand_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_type );
54433 98 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
54434 98 : storageOf_name_qualification_length = source->p_name_qualification_length ;
54435 98 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
54436 98 : storageOf_global_qualification_required = source->p_global_qualification_required ;
54437 98 : storageOf_sizeOfContainsBaseTypeDefiningDeclaration = source->p_sizeOfContainsBaseTypeDefiningDeclaration ;
54438 98 : storageOf_is_objectless_nonstatic_data_member_reference = source->p_is_objectless_nonstatic_data_member_reference ;
54439 98 : storageOf_name_qualification_for_pointer_to_member_class_length = source->p_name_qualification_for_pointer_to_member_class_length ;
54440 98 : storageOf_type_elaboration_for_pointer_to_member_class_required = source->p_type_elaboration_for_pointer_to_member_class_required ;
54441 98 : storageOf_global_qualification_for_pointer_to_member_class_required = source->p_global_qualification_for_pointer_to_member_class_required ;
54442 98 : storageOf_need_paren = source->p_need_paren ;
54443 98 : storageOf_lvalue = source->p_lvalue ;
54444 98 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54445 98 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54446 98 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
54447 98 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
54448 98 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
54449 98 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
54450 98 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
54451 98 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
54452 98 : storageOf_isModified = source->p_isModified ;
54453 98 : storageOf_containsTransformation = source->p_containsTransformation ;
54454 98 : }
54455 :
54456 : void
54457 0 : SgSizeOfOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
54458 : {
54459 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
54460 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
54461 0 : }
54462 :
54463 : void
54464 2 : SgSizeOfOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
54465 : {
54466 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
54467 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
54468 2 : }
54469 :
54470 : void
54471 2 : SgSizeOfOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
54472 : {
54473 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
54474 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
54475 2 : }
54476 :
54477 :
54478 : void
54479 2 : SgSizeOfOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
54480 : {
54481 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54482 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54483 2 : }
54484 :
54485 :
54486 :
54487 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54488 :
54489 :
54490 : // ********************************************************
54491 :
54492 : /* #line 54493 "../../../src/frontend/SageIII//StorageClasses.C" */
54493 :
54494 :
54495 :
54496 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54497 :
54498 : // ****************************************************************
54499 : // member functions definition specific to each node in the grammar
54500 : // these are the SgUpcLocalsizeofExpressionStorageClass parts !!!!
54501 : // ROSETTA generated code. Do not change by hand.
54502 : // ****************************************************************
54503 :
54504 :
54505 : /* #line 54506 "../../../src/frontend/SageIII//StorageClasses.C" */
54506 :
54507 :
54508 : void
54509 0 : SgUpcLocalsizeofExpressionStorageClass::pickOutIRNodeData ( SgUpcLocalsizeofExpression* pointer )
54510 : {
54511 0 : SgUpcLocalsizeofExpression* source = (SgUpcLocalsizeofExpression*) (pointer);
54512 : #if FILE_IO_EXTRA_CHECK
54513 0 : assert ( source != NULL ) ;
54514 0 : assert ( source->p_freepointer != NULL) ;
54515 : #endif
54516 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
54517 0 : storageOf_operand_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_type );
54518 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
54519 0 : storageOf_need_paren = source->p_need_paren ;
54520 0 : storageOf_lvalue = source->p_lvalue ;
54521 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54522 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54523 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
54524 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
54525 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
54526 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
54527 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
54528 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
54529 0 : storageOf_isModified = source->p_isModified ;
54530 0 : storageOf_containsTransformation = source->p_containsTransformation ;
54531 0 : }
54532 :
54533 : void
54534 0 : SgUpcLocalsizeofExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
54535 : {
54536 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
54537 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
54538 0 : }
54539 :
54540 : void
54541 2 : SgUpcLocalsizeofExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
54542 : {
54543 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
54544 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
54545 2 : }
54546 :
54547 : void
54548 0 : SgUpcLocalsizeofExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
54549 : {
54550 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
54551 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
54552 0 : }
54553 :
54554 :
54555 : void
54556 0 : SgUpcLocalsizeofExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
54557 : {
54558 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54559 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54560 0 : }
54561 :
54562 :
54563 :
54564 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54565 :
54566 :
54567 : // ********************************************************
54568 :
54569 : /* #line 54570 "../../../src/frontend/SageIII//StorageClasses.C" */
54570 :
54571 :
54572 :
54573 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54574 :
54575 : // ****************************************************************
54576 : // member functions definition specific to each node in the grammar
54577 : // these are the SgUpcBlocksizeofExpressionStorageClass parts !!!!
54578 : // ROSETTA generated code. Do not change by hand.
54579 : // ****************************************************************
54580 :
54581 :
54582 : /* #line 54583 "../../../src/frontend/SageIII//StorageClasses.C" */
54583 :
54584 :
54585 : void
54586 0 : SgUpcBlocksizeofExpressionStorageClass::pickOutIRNodeData ( SgUpcBlocksizeofExpression* pointer )
54587 : {
54588 0 : SgUpcBlocksizeofExpression* source = (SgUpcBlocksizeofExpression*) (pointer);
54589 : #if FILE_IO_EXTRA_CHECK
54590 0 : assert ( source != NULL ) ;
54591 0 : assert ( source->p_freepointer != NULL) ;
54592 : #endif
54593 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
54594 0 : storageOf_operand_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_type );
54595 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
54596 0 : storageOf_need_paren = source->p_need_paren ;
54597 0 : storageOf_lvalue = source->p_lvalue ;
54598 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54599 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54600 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
54601 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
54602 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
54603 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
54604 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
54605 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
54606 0 : storageOf_isModified = source->p_isModified ;
54607 0 : storageOf_containsTransformation = source->p_containsTransformation ;
54608 0 : }
54609 :
54610 : void
54611 0 : SgUpcBlocksizeofExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
54612 : {
54613 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
54614 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
54615 0 : }
54616 :
54617 : void
54618 2 : SgUpcBlocksizeofExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
54619 : {
54620 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
54621 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
54622 2 : }
54623 :
54624 : void
54625 0 : SgUpcBlocksizeofExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
54626 : {
54627 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
54628 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
54629 0 : }
54630 :
54631 :
54632 : void
54633 0 : SgUpcBlocksizeofExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
54634 : {
54635 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54636 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54637 0 : }
54638 :
54639 :
54640 :
54641 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54642 :
54643 :
54644 : // ********************************************************
54645 :
54646 : /* #line 54647 "../../../src/frontend/SageIII//StorageClasses.C" */
54647 :
54648 :
54649 :
54650 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54651 :
54652 : // ****************************************************************
54653 : // member functions definition specific to each node in the grammar
54654 : // these are the SgUpcElemsizeofExpressionStorageClass parts !!!!
54655 : // ROSETTA generated code. Do not change by hand.
54656 : // ****************************************************************
54657 :
54658 :
54659 : /* #line 54660 "../../../src/frontend/SageIII//StorageClasses.C" */
54660 :
54661 :
54662 : void
54663 0 : SgUpcElemsizeofExpressionStorageClass::pickOutIRNodeData ( SgUpcElemsizeofExpression* pointer )
54664 : {
54665 0 : SgUpcElemsizeofExpression* source = (SgUpcElemsizeofExpression*) (pointer);
54666 : #if FILE_IO_EXTRA_CHECK
54667 0 : assert ( source != NULL ) ;
54668 0 : assert ( source->p_freepointer != NULL) ;
54669 : #endif
54670 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
54671 0 : storageOf_operand_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_type );
54672 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
54673 0 : storageOf_need_paren = source->p_need_paren ;
54674 0 : storageOf_lvalue = source->p_lvalue ;
54675 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54676 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54677 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
54678 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
54679 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
54680 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
54681 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
54682 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
54683 0 : storageOf_isModified = source->p_isModified ;
54684 0 : storageOf_containsTransformation = source->p_containsTransformation ;
54685 0 : }
54686 :
54687 : void
54688 0 : SgUpcElemsizeofExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
54689 : {
54690 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
54691 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
54692 0 : }
54693 :
54694 : void
54695 2 : SgUpcElemsizeofExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
54696 : {
54697 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
54698 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
54699 2 : }
54700 :
54701 : void
54702 0 : SgUpcElemsizeofExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
54703 : {
54704 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
54705 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
54706 0 : }
54707 :
54708 :
54709 : void
54710 0 : SgUpcElemsizeofExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
54711 : {
54712 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54713 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54714 0 : }
54715 :
54716 :
54717 :
54718 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54719 :
54720 :
54721 : // ********************************************************
54722 :
54723 : /* #line 54724 "../../../src/frontend/SageIII//StorageClasses.C" */
54724 :
54725 :
54726 :
54727 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54728 :
54729 : // ****************************************************************
54730 : // member functions definition specific to each node in the grammar
54731 : // these are the SgSuperExpStorageClass parts !!!!
54732 : // ROSETTA generated code. Do not change by hand.
54733 : // ****************************************************************
54734 :
54735 :
54736 : /* #line 54737 "../../../src/frontend/SageIII//StorageClasses.C" */
54737 :
54738 :
54739 : void
54740 0 : SgSuperExpStorageClass::pickOutIRNodeData ( SgSuperExp* pointer )
54741 : {
54742 0 : SgSuperExp* source = (SgSuperExp*) (pointer);
54743 : #if FILE_IO_EXTRA_CHECK
54744 0 : assert ( source != NULL ) ;
54745 0 : assert ( source->p_freepointer != NULL) ;
54746 : #endif
54747 0 : storageOf_class_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_class_symbol );
54748 0 : storageOf_pobj_super = source->p_pobj_super ;
54749 0 : storageOf_need_paren = source->p_need_paren ;
54750 0 : storageOf_lvalue = source->p_lvalue ;
54751 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54752 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54753 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
54754 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
54755 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
54756 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
54757 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
54758 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
54759 0 : storageOf_isModified = source->p_isModified ;
54760 0 : storageOf_containsTransformation = source->p_containsTransformation ;
54761 0 : }
54762 :
54763 : void
54764 0 : SgSuperExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
54765 : {
54766 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
54767 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
54768 0 : }
54769 :
54770 : void
54771 2 : SgSuperExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
54772 : {
54773 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
54774 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
54775 2 : }
54776 :
54777 : void
54778 0 : SgSuperExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
54779 : {
54780 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
54781 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
54782 0 : }
54783 :
54784 :
54785 : void
54786 0 : SgSuperExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
54787 : {
54788 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54789 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54790 0 : }
54791 :
54792 :
54793 :
54794 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54795 :
54796 :
54797 : // ********************************************************
54798 :
54799 : /* #line 54800 "../../../src/frontend/SageIII//StorageClasses.C" */
54800 :
54801 :
54802 :
54803 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54804 :
54805 : // ****************************************************************
54806 : // member functions definition specific to each node in the grammar
54807 : // these are the SgTypeIdOpStorageClass parts !!!!
54808 : // ROSETTA generated code. Do not change by hand.
54809 : // ****************************************************************
54810 :
54811 :
54812 : /* #line 54813 "../../../src/frontend/SageIII//StorageClasses.C" */
54813 :
54814 :
54815 : void
54816 1 : SgTypeIdOpStorageClass::pickOutIRNodeData ( SgTypeIdOp* pointer )
54817 : {
54818 1 : SgTypeIdOp* source = (SgTypeIdOp*) (pointer);
54819 : #if FILE_IO_EXTRA_CHECK
54820 1 : assert ( source != NULL ) ;
54821 1 : assert ( source->p_freepointer != NULL) ;
54822 : #endif
54823 1 : storageOf_operand_expr = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_expr );
54824 1 : storageOf_operand_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_type );
54825 1 : storageOf_name_qualification_length = source->p_name_qualification_length ;
54826 1 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
54827 1 : storageOf_global_qualification_required = source->p_global_qualification_required ;
54828 1 : storageOf_name_qualification_for_pointer_to_member_class_length = source->p_name_qualification_for_pointer_to_member_class_length ;
54829 1 : storageOf_type_elaboration_for_pointer_to_member_class_required = source->p_type_elaboration_for_pointer_to_member_class_required ;
54830 1 : storageOf_global_qualification_for_pointer_to_member_class_required = source->p_global_qualification_for_pointer_to_member_class_required ;
54831 1 : storageOf_need_paren = source->p_need_paren ;
54832 1 : storageOf_lvalue = source->p_lvalue ;
54833 1 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54834 1 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54835 1 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
54836 1 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
54837 1 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
54838 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
54839 1 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
54840 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
54841 1 : storageOf_isModified = source->p_isModified ;
54842 1 : storageOf_containsTransformation = source->p_containsTransformation ;
54843 1 : }
54844 :
54845 : void
54846 0 : SgTypeIdOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
54847 : {
54848 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
54849 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
54850 0 : }
54851 :
54852 : void
54853 2 : SgTypeIdOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
54854 : {
54855 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
54856 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
54857 2 : }
54858 :
54859 : void
54860 1 : SgTypeIdOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
54861 : {
54862 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
54863 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
54864 1 : }
54865 :
54866 :
54867 : void
54868 1 : SgTypeIdOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
54869 : {
54870 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54871 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54872 1 : }
54873 :
54874 :
54875 :
54876 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54877 :
54878 :
54879 : // ********************************************************
54880 :
54881 : /* #line 54882 "../../../src/frontend/SageIII//StorageClasses.C" */
54882 :
54883 :
54884 :
54885 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54886 :
54887 : // ****************************************************************
54888 : // member functions definition specific to each node in the grammar
54889 : // these are the SgConditionalExpStorageClass parts !!!!
54890 : // ROSETTA generated code. Do not change by hand.
54891 : // ****************************************************************
54892 :
54893 :
54894 : /* #line 54895 "../../../src/frontend/SageIII//StorageClasses.C" */
54895 :
54896 :
54897 : void
54898 71 : SgConditionalExpStorageClass::pickOutIRNodeData ( SgConditionalExp* pointer )
54899 : {
54900 71 : SgConditionalExp* source = (SgConditionalExp*) (pointer);
54901 : #if FILE_IO_EXTRA_CHECK
54902 71 : assert ( source != NULL ) ;
54903 71 : assert ( source->p_freepointer != NULL) ;
54904 : #endif
54905 71 : storageOf_conditional_exp = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_conditional_exp );
54906 71 : storageOf_true_exp = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_true_exp );
54907 71 : storageOf_false_exp = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_false_exp );
54908 71 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
54909 71 : storageOf_need_paren = source->p_need_paren ;
54910 71 : storageOf_lvalue = source->p_lvalue ;
54911 71 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54912 71 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54913 71 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
54914 71 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
54915 71 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
54916 71 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
54917 71 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
54918 71 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
54919 71 : storageOf_isModified = source->p_isModified ;
54920 71 : storageOf_containsTransformation = source->p_containsTransformation ;
54921 71 : }
54922 :
54923 : void
54924 0 : SgConditionalExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
54925 : {
54926 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
54927 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
54928 0 : }
54929 :
54930 : void
54931 2 : SgConditionalExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
54932 : {
54933 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
54934 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
54935 2 : }
54936 :
54937 : void
54938 1 : SgConditionalExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
54939 : {
54940 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
54941 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
54942 1 : }
54943 :
54944 :
54945 : void
54946 1 : SgConditionalExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
54947 : {
54948 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
54949 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
54950 1 : }
54951 :
54952 :
54953 :
54954 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54955 :
54956 :
54957 : // ********************************************************
54958 :
54959 : /* #line 54960 "../../../src/frontend/SageIII//StorageClasses.C" */
54960 :
54961 :
54962 :
54963 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
54964 :
54965 : // ****************************************************************
54966 : // member functions definition specific to each node in the grammar
54967 : // these are the SgNewExpStorageClass parts !!!!
54968 : // ROSETTA generated code. Do not change by hand.
54969 : // ****************************************************************
54970 :
54971 :
54972 : /* #line 54973 "../../../src/frontend/SageIII//StorageClasses.C" */
54973 :
54974 :
54975 : void
54976 14 : SgNewExpStorageClass::pickOutIRNodeData ( SgNewExp* pointer )
54977 : {
54978 14 : SgNewExp* source = (SgNewExp*) (pointer);
54979 : #if FILE_IO_EXTRA_CHECK
54980 14 : assert ( source != NULL ) ;
54981 14 : assert ( source->p_freepointer != NULL) ;
54982 : #endif
54983 14 : storageOf_specified_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_specified_type );
54984 14 : storageOf_placement_args = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_placement_args );
54985 14 : storageOf_constructor_args = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_constructor_args );
54986 14 : storageOf_builtin_args = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_builtin_args );
54987 14 : storageOf_need_global_specifier = source->p_need_global_specifier ;
54988 14 : storageOf_newOperatorDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_newOperatorDeclaration );
54989 14 : storageOf_name_qualification_length = source->p_name_qualification_length ;
54990 14 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
54991 14 : storageOf_global_qualification_required = source->p_global_qualification_required ;
54992 14 : storageOf_name_qualification_for_pointer_to_member_class_length = source->p_name_qualification_for_pointer_to_member_class_length ;
54993 14 : storageOf_type_elaboration_for_pointer_to_member_class_required = source->p_type_elaboration_for_pointer_to_member_class_required ;
54994 14 : storageOf_global_qualification_for_pointer_to_member_class_required = source->p_global_qualification_for_pointer_to_member_class_required ;
54995 14 : storageOf_need_paren = source->p_need_paren ;
54996 14 : storageOf_lvalue = source->p_lvalue ;
54997 14 : storageOf_global_qualified_name = source->p_global_qualified_name ;
54998 14 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
54999 14 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55000 14 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55001 14 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55002 14 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55003 14 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55004 14 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55005 14 : storageOf_isModified = source->p_isModified ;
55006 14 : storageOf_containsTransformation = source->p_containsTransformation ;
55007 14 : }
55008 :
55009 : void
55010 0 : SgNewExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55011 : {
55012 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55013 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55014 0 : }
55015 :
55016 : void
55017 2 : SgNewExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55018 : {
55019 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55020 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55021 2 : }
55022 :
55023 : void
55024 1 : SgNewExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55025 : {
55026 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55027 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55028 1 : }
55029 :
55030 :
55031 : void
55032 1 : SgNewExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
55033 : {
55034 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55035 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55036 1 : }
55037 :
55038 :
55039 :
55040 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55041 :
55042 :
55043 : // ********************************************************
55044 :
55045 : /* #line 55046 "../../../src/frontend/SageIII//StorageClasses.C" */
55046 :
55047 :
55048 :
55049 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55050 :
55051 : // ****************************************************************
55052 : // member functions definition specific to each node in the grammar
55053 : // these are the SgDeleteExpStorageClass parts !!!!
55054 : // ROSETTA generated code. Do not change by hand.
55055 : // ****************************************************************
55056 :
55057 :
55058 : /* #line 55059 "../../../src/frontend/SageIII//StorageClasses.C" */
55059 :
55060 :
55061 : void
55062 15 : SgDeleteExpStorageClass::pickOutIRNodeData ( SgDeleteExp* pointer )
55063 : {
55064 15 : SgDeleteExp* source = (SgDeleteExp*) (pointer);
55065 : #if FILE_IO_EXTRA_CHECK
55066 15 : assert ( source != NULL ) ;
55067 15 : assert ( source->p_freepointer != NULL) ;
55068 : #endif
55069 15 : storageOf_variable = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_variable );
55070 15 : storageOf_is_array = source->p_is_array ;
55071 15 : storageOf_need_global_specifier = source->p_need_global_specifier ;
55072 15 : storageOf_deleteOperatorDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_deleteOperatorDeclaration );
55073 15 : storageOf_need_paren = source->p_need_paren ;
55074 15 : storageOf_lvalue = source->p_lvalue ;
55075 15 : storageOf_global_qualified_name = source->p_global_qualified_name ;
55076 15 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
55077 15 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55078 15 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55079 15 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55080 15 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55081 15 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55082 15 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55083 15 : storageOf_isModified = source->p_isModified ;
55084 15 : storageOf_containsTransformation = source->p_containsTransformation ;
55085 15 : }
55086 :
55087 : void
55088 0 : SgDeleteExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55089 : {
55090 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55091 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55092 0 : }
55093 :
55094 : void
55095 2 : SgDeleteExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55096 : {
55097 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55098 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55099 2 : }
55100 :
55101 : void
55102 1 : SgDeleteExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55103 : {
55104 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55105 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55106 1 : }
55107 :
55108 :
55109 : void
55110 1 : SgDeleteExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
55111 : {
55112 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55113 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55114 1 : }
55115 :
55116 :
55117 :
55118 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55119 :
55120 :
55121 : // ********************************************************
55122 :
55123 : /* #line 55124 "../../../src/frontend/SageIII//StorageClasses.C" */
55124 :
55125 :
55126 :
55127 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55128 :
55129 : // ****************************************************************
55130 : // member functions definition specific to each node in the grammar
55131 : // these are the SgThisExpStorageClass parts !!!!
55132 : // ROSETTA generated code. Do not change by hand.
55133 : // ****************************************************************
55134 :
55135 :
55136 : /* #line 55137 "../../../src/frontend/SageIII//StorageClasses.C" */
55137 :
55138 :
55139 : void
55140 1236 : SgThisExpStorageClass::pickOutIRNodeData ( SgThisExp* pointer )
55141 : {
55142 1236 : SgThisExp* source = (SgThisExp*) (pointer);
55143 : #if FILE_IO_EXTRA_CHECK
55144 1236 : assert ( source != NULL ) ;
55145 1236 : assert ( source->p_freepointer != NULL) ;
55146 : #endif
55147 1236 : storageOf_class_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_class_symbol );
55148 1236 : storageOf_nonreal_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_nonreal_symbol );
55149 1236 : storageOf_pobj_this = source->p_pobj_this ;
55150 1236 : storageOf_need_paren = source->p_need_paren ;
55151 1236 : storageOf_lvalue = source->p_lvalue ;
55152 1236 : storageOf_global_qualified_name = source->p_global_qualified_name ;
55153 1236 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
55154 1236 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55155 1236 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55156 1236 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55157 1236 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55158 1236 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55159 1236 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55160 1236 : storageOf_isModified = source->p_isModified ;
55161 1236 : storageOf_containsTransformation = source->p_containsTransformation ;
55162 1236 : }
55163 :
55164 : void
55165 0 : SgThisExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55166 : {
55167 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55168 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55169 0 : }
55170 :
55171 : void
55172 2 : SgThisExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55173 : {
55174 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55175 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55176 2 : }
55177 :
55178 : void
55179 1 : SgThisExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55180 : {
55181 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55182 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55183 1 : }
55184 :
55185 :
55186 : void
55187 1 : SgThisExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
55188 : {
55189 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55190 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55191 1 : }
55192 :
55193 :
55194 :
55195 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55196 :
55197 :
55198 : // ********************************************************
55199 :
55200 : /* #line 55201 "../../../src/frontend/SageIII//StorageClasses.C" */
55201 :
55202 :
55203 :
55204 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55205 :
55206 : // ****************************************************************
55207 : // member functions definition specific to each node in the grammar
55208 : // these are the SgRefExpStorageClass parts !!!!
55209 : // ROSETTA generated code. Do not change by hand.
55210 : // ****************************************************************
55211 :
55212 :
55213 : /* #line 55214 "../../../src/frontend/SageIII//StorageClasses.C" */
55214 :
55215 :
55216 : void
55217 0 : SgRefExpStorageClass::pickOutIRNodeData ( SgRefExp* pointer )
55218 : {
55219 0 : SgRefExp* source = (SgRefExp*) (pointer);
55220 : #if FILE_IO_EXTRA_CHECK
55221 0 : assert ( source != NULL ) ;
55222 0 : assert ( source->p_freepointer != NULL) ;
55223 : #endif
55224 0 : storageOf_type_name = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type_name );
55225 0 : storageOf_need_paren = source->p_need_paren ;
55226 0 : storageOf_lvalue = source->p_lvalue ;
55227 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
55228 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
55229 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55230 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55231 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55232 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55233 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55234 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55235 0 : storageOf_isModified = source->p_isModified ;
55236 0 : storageOf_containsTransformation = source->p_containsTransformation ;
55237 0 : }
55238 :
55239 : void
55240 0 : SgRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55241 : {
55242 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55243 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55244 0 : }
55245 :
55246 : void
55247 2 : SgRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55248 : {
55249 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55250 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55251 2 : }
55252 :
55253 : void
55254 0 : SgRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55255 : {
55256 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55257 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55258 0 : }
55259 :
55260 :
55261 : void
55262 0 : SgRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
55263 : {
55264 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55265 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55266 0 : }
55267 :
55268 :
55269 :
55270 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55271 :
55272 :
55273 : // ********************************************************
55274 :
55275 : /* #line 55276 "../../../src/frontend/SageIII//StorageClasses.C" */
55276 :
55277 :
55278 :
55279 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55280 :
55281 : // ****************************************************************
55282 : // member functions definition specific to each node in the grammar
55283 : // these are the SgInitializerStorageClass parts !!!!
55284 : // ROSETTA generated code. Do not change by hand.
55285 : // ****************************************************************
55286 :
55287 :
55288 : /* #line 55289 "../../../src/frontend/SageIII//StorageClasses.C" */
55289 :
55290 :
55291 : void
55292 0 : SgInitializerStorageClass::pickOutIRNodeData ( SgInitializer* pointer )
55293 : {
55294 0 : SgInitializer* source = (SgInitializer*) (pointer);
55295 : #if FILE_IO_EXTRA_CHECK
55296 0 : assert ( source != NULL ) ;
55297 0 : assert ( source->p_freepointer != NULL) ;
55298 : #endif
55299 0 : storageOf_is_explicit_cast = source->p_is_explicit_cast ;
55300 0 : storageOf_is_braced_initialized = source->p_is_braced_initialized ;
55301 0 : storageOf_need_paren = source->p_need_paren ;
55302 0 : storageOf_lvalue = source->p_lvalue ;
55303 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
55304 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
55305 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55306 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55307 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55308 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55309 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55310 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55311 0 : storageOf_isModified = source->p_isModified ;
55312 0 : storageOf_containsTransformation = source->p_containsTransformation ;
55313 0 : }
55314 :
55315 : void
55316 0 : SgInitializerStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55317 : {
55318 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55319 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55320 0 : }
55321 :
55322 : void
55323 2 : SgInitializerStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55324 : {
55325 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55326 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55327 2 : }
55328 :
55329 : void
55330 0 : SgInitializerStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55331 : {
55332 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55333 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55334 0 : }
55335 :
55336 :
55337 : void
55338 0 : SgInitializerStorageClass::readEasyStorageDataFromFile (std::istream& in)
55339 : {
55340 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55341 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55342 0 : }
55343 :
55344 :
55345 :
55346 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55347 :
55348 :
55349 : // ********************************************************
55350 :
55351 : /* #line 55352 "../../../src/frontend/SageIII//StorageClasses.C" */
55352 :
55353 :
55354 :
55355 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55356 :
55357 : // ****************************************************************
55358 : // member functions definition specific to each node in the grammar
55359 : // these are the SgAggregateInitializerStorageClass parts !!!!
55360 : // ROSETTA generated code. Do not change by hand.
55361 : // ****************************************************************
55362 :
55363 :
55364 : /* #line 55365 "../../../src/frontend/SageIII//StorageClasses.C" */
55365 :
55366 :
55367 : void
55368 3 : SgAggregateInitializerStorageClass::pickOutIRNodeData ( SgAggregateInitializer* pointer )
55369 : {
55370 3 : SgAggregateInitializer* source = (SgAggregateInitializer*) (pointer);
55371 : #if FILE_IO_EXTRA_CHECK
55372 3 : assert ( source != NULL ) ;
55373 3 : assert ( source->p_freepointer != NULL) ;
55374 : #endif
55375 3 : storageOf_initializers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_initializers );
55376 3 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
55377 3 : storageOf_need_explicit_braces = source->p_need_explicit_braces ;
55378 3 : storageOf_uses_compound_literal = source->p_uses_compound_literal ;
55379 3 : storageOf_requiresGlobalNameQualificationOnType = source->p_requiresGlobalNameQualificationOnType ;
55380 3 : storageOf_name_qualification_length_for_type = source->p_name_qualification_length_for_type ;
55381 3 : storageOf_type_elaboration_required_for_type = source->p_type_elaboration_required_for_type ;
55382 3 : storageOf_global_qualification_required_for_type = source->p_global_qualification_required_for_type ;
55383 3 : storageOf_originalExpressionTree = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_originalExpressionTree );
55384 3 : storageOf_is_explicit_cast = source->p_is_explicit_cast ;
55385 3 : storageOf_is_braced_initialized = source->p_is_braced_initialized ;
55386 3 : storageOf_need_paren = source->p_need_paren ;
55387 3 : storageOf_lvalue = source->p_lvalue ;
55388 3 : storageOf_global_qualified_name = source->p_global_qualified_name ;
55389 3 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
55390 3 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55391 3 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55392 3 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55393 3 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55394 3 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55395 3 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55396 3 : storageOf_isModified = source->p_isModified ;
55397 3 : storageOf_containsTransformation = source->p_containsTransformation ;
55398 3 : }
55399 :
55400 : void
55401 0 : SgAggregateInitializerStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55402 : {
55403 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55404 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55405 0 : }
55406 :
55407 : void
55408 2 : SgAggregateInitializerStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55409 : {
55410 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55411 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55412 2 : }
55413 :
55414 : void
55415 1 : SgAggregateInitializerStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55416 : {
55417 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55418 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55419 1 : }
55420 :
55421 :
55422 : void
55423 1 : SgAggregateInitializerStorageClass::readEasyStorageDataFromFile (std::istream& in)
55424 : {
55425 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55426 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55427 1 : }
55428 :
55429 :
55430 :
55431 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55432 :
55433 :
55434 : // ********************************************************
55435 :
55436 : /* #line 55437 "../../../src/frontend/SageIII//StorageClasses.C" */
55437 :
55438 :
55439 :
55440 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55441 :
55442 : // ****************************************************************
55443 : // member functions definition specific to each node in the grammar
55444 : // these are the SgCompoundInitializerStorageClass parts !!!!
55445 : // ROSETTA generated code. Do not change by hand.
55446 : // ****************************************************************
55447 :
55448 :
55449 : /* #line 55450 "../../../src/frontend/SageIII//StorageClasses.C" */
55450 :
55451 :
55452 : void
55453 0 : SgCompoundInitializerStorageClass::pickOutIRNodeData ( SgCompoundInitializer* pointer )
55454 : {
55455 0 : SgCompoundInitializer* source = (SgCompoundInitializer*) (pointer);
55456 : #if FILE_IO_EXTRA_CHECK
55457 0 : assert ( source != NULL ) ;
55458 0 : assert ( source->p_freepointer != NULL) ;
55459 : #endif
55460 0 : storageOf_initializers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_initializers );
55461 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
55462 0 : storageOf_is_explicit_cast = source->p_is_explicit_cast ;
55463 0 : storageOf_is_braced_initialized = source->p_is_braced_initialized ;
55464 0 : storageOf_need_paren = source->p_need_paren ;
55465 0 : storageOf_lvalue = source->p_lvalue ;
55466 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
55467 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
55468 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55469 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55470 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55471 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55472 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55473 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55474 0 : storageOf_isModified = source->p_isModified ;
55475 0 : storageOf_containsTransformation = source->p_containsTransformation ;
55476 0 : }
55477 :
55478 : void
55479 0 : SgCompoundInitializerStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55480 : {
55481 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55482 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55483 0 : }
55484 :
55485 : void
55486 2 : SgCompoundInitializerStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55487 : {
55488 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55489 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55490 2 : }
55491 :
55492 : void
55493 0 : SgCompoundInitializerStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55494 : {
55495 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55496 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55497 0 : }
55498 :
55499 :
55500 : void
55501 0 : SgCompoundInitializerStorageClass::readEasyStorageDataFromFile (std::istream& in)
55502 : {
55503 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55504 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55505 0 : }
55506 :
55507 :
55508 :
55509 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55510 :
55511 :
55512 : // ********************************************************
55513 :
55514 : /* #line 55515 "../../../src/frontend/SageIII//StorageClasses.C" */
55515 :
55516 :
55517 :
55518 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55519 :
55520 : // ****************************************************************
55521 : // member functions definition specific to each node in the grammar
55522 : // these are the SgConstructorInitializerStorageClass parts !!!!
55523 : // ROSETTA generated code. Do not change by hand.
55524 : // ****************************************************************
55525 :
55526 :
55527 : /* #line 55528 "../../../src/frontend/SageIII//StorageClasses.C" */
55528 :
55529 :
55530 : void
55531 461 : SgConstructorInitializerStorageClass::pickOutIRNodeData ( SgConstructorInitializer* pointer )
55532 : {
55533 461 : SgConstructorInitializer* source = (SgConstructorInitializer*) (pointer);
55534 : #if FILE_IO_EXTRA_CHECK
55535 461 : assert ( source != NULL ) ;
55536 461 : assert ( source->p_freepointer != NULL) ;
55537 : #endif
55538 461 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
55539 461 : storageOf_args = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_args );
55540 461 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
55541 461 : storageOf_need_name = source->p_need_name ;
55542 461 : storageOf_need_qualifier = source->p_need_qualifier ;
55543 461 : storageOf_need_parenthesis_after_name = source->p_need_parenthesis_after_name ;
55544 461 : storageOf_associated_class_unknown = source->p_associated_class_unknown ;
55545 461 : storageOf_name_qualification_length = source->p_name_qualification_length ;
55546 461 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
55547 461 : storageOf_global_qualification_required = source->p_global_qualification_required ;
55548 461 : storageOf_is_used_in_conditional = source->p_is_used_in_conditional ;
55549 461 : storageOf_is_explicit_cast = source->p_is_explicit_cast ;
55550 461 : storageOf_is_braced_initialized = source->p_is_braced_initialized ;
55551 461 : storageOf_need_paren = source->p_need_paren ;
55552 461 : storageOf_lvalue = source->p_lvalue ;
55553 461 : storageOf_global_qualified_name = source->p_global_qualified_name ;
55554 461 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
55555 461 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55556 461 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55557 461 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55558 461 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55559 461 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55560 461 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55561 461 : storageOf_isModified = source->p_isModified ;
55562 461 : storageOf_containsTransformation = source->p_containsTransformation ;
55563 461 : }
55564 :
55565 : void
55566 0 : SgConstructorInitializerStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55567 : {
55568 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55569 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55570 0 : }
55571 :
55572 : void
55573 2 : SgConstructorInitializerStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55574 : {
55575 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55576 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55577 2 : }
55578 :
55579 : void
55580 1 : SgConstructorInitializerStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55581 : {
55582 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55583 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55584 1 : }
55585 :
55586 :
55587 : void
55588 1 : SgConstructorInitializerStorageClass::readEasyStorageDataFromFile (std::istream& in)
55589 : {
55590 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55591 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55592 1 : }
55593 :
55594 :
55595 :
55596 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55597 :
55598 :
55599 : // ********************************************************
55600 :
55601 : /* #line 55602 "../../../src/frontend/SageIII//StorageClasses.C" */
55602 :
55603 :
55604 :
55605 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55606 :
55607 : // ****************************************************************
55608 : // member functions definition specific to each node in the grammar
55609 : // these are the SgAssignInitializerStorageClass parts !!!!
55610 : // ROSETTA generated code. Do not change by hand.
55611 : // ****************************************************************
55612 :
55613 :
55614 : /* #line 55615 "../../../src/frontend/SageIII//StorageClasses.C" */
55615 :
55616 :
55617 : void
55618 1193 : SgAssignInitializerStorageClass::pickOutIRNodeData ( SgAssignInitializer* pointer )
55619 : {
55620 1193 : SgAssignInitializer* source = (SgAssignInitializer*) (pointer);
55621 : #if FILE_IO_EXTRA_CHECK
55622 1193 : assert ( source != NULL ) ;
55623 1193 : assert ( source->p_freepointer != NULL) ;
55624 : #endif
55625 1193 : storageOf_operand_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_i );
55626 1193 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
55627 1193 : storageOf_is_explicit_cast = source->p_is_explicit_cast ;
55628 1193 : storageOf_is_braced_initialized = source->p_is_braced_initialized ;
55629 1193 : storageOf_need_paren = source->p_need_paren ;
55630 1193 : storageOf_lvalue = source->p_lvalue ;
55631 1193 : storageOf_global_qualified_name = source->p_global_qualified_name ;
55632 1193 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
55633 1193 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55634 1193 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55635 1193 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55636 1193 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55637 1193 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55638 1193 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55639 1193 : storageOf_isModified = source->p_isModified ;
55640 1193 : storageOf_containsTransformation = source->p_containsTransformation ;
55641 1193 : }
55642 :
55643 : void
55644 0 : SgAssignInitializerStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55645 : {
55646 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55647 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55648 0 : }
55649 :
55650 : void
55651 2 : SgAssignInitializerStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55652 : {
55653 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55654 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55655 2 : }
55656 :
55657 : void
55658 1 : SgAssignInitializerStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55659 : {
55660 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55661 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55662 1 : }
55663 :
55664 :
55665 : void
55666 1 : SgAssignInitializerStorageClass::readEasyStorageDataFromFile (std::istream& in)
55667 : {
55668 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55669 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55670 1 : }
55671 :
55672 :
55673 :
55674 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55675 :
55676 :
55677 : // ********************************************************
55678 :
55679 : /* #line 55680 "../../../src/frontend/SageIII//StorageClasses.C" */
55680 :
55681 :
55682 :
55683 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55684 :
55685 : // ****************************************************************
55686 : // member functions definition specific to each node in the grammar
55687 : // these are the SgDesignatedInitializerStorageClass parts !!!!
55688 : // ROSETTA generated code. Do not change by hand.
55689 : // ****************************************************************
55690 :
55691 :
55692 : /* #line 55693 "../../../src/frontend/SageIII//StorageClasses.C" */
55693 :
55694 :
55695 : void
55696 0 : SgDesignatedInitializerStorageClass::pickOutIRNodeData ( SgDesignatedInitializer* pointer )
55697 : {
55698 0 : SgDesignatedInitializer* source = (SgDesignatedInitializer*) (pointer);
55699 : #if FILE_IO_EXTRA_CHECK
55700 0 : assert ( source != NULL ) ;
55701 0 : assert ( source->p_freepointer != NULL) ;
55702 : #endif
55703 0 : storageOf_designatorList = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_designatorList );
55704 0 : storageOf_memberInit = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_memberInit );
55705 0 : storageOf_is_explicit_cast = source->p_is_explicit_cast ;
55706 0 : storageOf_is_braced_initialized = source->p_is_braced_initialized ;
55707 0 : storageOf_need_paren = source->p_need_paren ;
55708 0 : storageOf_lvalue = source->p_lvalue ;
55709 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
55710 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
55711 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55712 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55713 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55714 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55715 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55716 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55717 0 : storageOf_isModified = source->p_isModified ;
55718 0 : storageOf_containsTransformation = source->p_containsTransformation ;
55719 0 : }
55720 :
55721 : void
55722 0 : SgDesignatedInitializerStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55723 : {
55724 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55725 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55726 0 : }
55727 :
55728 : void
55729 2 : SgDesignatedInitializerStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55730 : {
55731 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55732 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55733 2 : }
55734 :
55735 : void
55736 0 : SgDesignatedInitializerStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55737 : {
55738 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55739 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55740 0 : }
55741 :
55742 :
55743 : void
55744 0 : SgDesignatedInitializerStorageClass::readEasyStorageDataFromFile (std::istream& in)
55745 : {
55746 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55747 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55748 0 : }
55749 :
55750 :
55751 :
55752 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55753 :
55754 :
55755 : // ********************************************************
55756 :
55757 : /* #line 55758 "../../../src/frontend/SageIII//StorageClasses.C" */
55758 :
55759 :
55760 :
55761 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55762 :
55763 : // ****************************************************************
55764 : // member functions definition specific to each node in the grammar
55765 : // these are the SgBracedInitializerStorageClass parts !!!!
55766 : // ROSETTA generated code. Do not change by hand.
55767 : // ****************************************************************
55768 :
55769 :
55770 : /* #line 55771 "../../../src/frontend/SageIII//StorageClasses.C" */
55771 :
55772 :
55773 : void
55774 1 : SgBracedInitializerStorageClass::pickOutIRNodeData ( SgBracedInitializer* pointer )
55775 : {
55776 1 : SgBracedInitializer* source = (SgBracedInitializer*) (pointer);
55777 : #if FILE_IO_EXTRA_CHECK
55778 1 : assert ( source != NULL ) ;
55779 1 : assert ( source->p_freepointer != NULL) ;
55780 : #endif
55781 1 : storageOf_initializers = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_initializers );
55782 1 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
55783 1 : storageOf_is_explicit_cast = source->p_is_explicit_cast ;
55784 1 : storageOf_is_braced_initialized = source->p_is_braced_initialized ;
55785 1 : storageOf_need_paren = source->p_need_paren ;
55786 1 : storageOf_lvalue = source->p_lvalue ;
55787 1 : storageOf_global_qualified_name = source->p_global_qualified_name ;
55788 1 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
55789 1 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55790 1 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55791 1 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55792 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55793 1 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55794 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55795 1 : storageOf_isModified = source->p_isModified ;
55796 1 : storageOf_containsTransformation = source->p_containsTransformation ;
55797 1 : }
55798 :
55799 : void
55800 0 : SgBracedInitializerStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55801 : {
55802 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55803 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55804 0 : }
55805 :
55806 : void
55807 2 : SgBracedInitializerStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55808 : {
55809 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55810 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55811 2 : }
55812 :
55813 : void
55814 1 : SgBracedInitializerStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55815 : {
55816 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55817 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55818 1 : }
55819 :
55820 :
55821 : void
55822 1 : SgBracedInitializerStorageClass::readEasyStorageDataFromFile (std::istream& in)
55823 : {
55824 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55825 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55826 1 : }
55827 :
55828 :
55829 :
55830 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55831 :
55832 :
55833 : // ********************************************************
55834 :
55835 : /* #line 55836 "../../../src/frontend/SageIII//StorageClasses.C" */
55836 :
55837 :
55838 :
55839 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55840 :
55841 : // ****************************************************************
55842 : // member functions definition specific to each node in the grammar
55843 : // these are the SgVarArgStartOpStorageClass parts !!!!
55844 : // ROSETTA generated code. Do not change by hand.
55845 : // ****************************************************************
55846 :
55847 :
55848 : /* #line 55849 "../../../src/frontend/SageIII//StorageClasses.C" */
55849 :
55850 :
55851 : void
55852 0 : SgVarArgStartOpStorageClass::pickOutIRNodeData ( SgVarArgStartOp* pointer )
55853 : {
55854 0 : SgVarArgStartOp* source = (SgVarArgStartOp*) (pointer);
55855 : #if FILE_IO_EXTRA_CHECK
55856 0 : assert ( source != NULL ) ;
55857 0 : assert ( source->p_freepointer != NULL) ;
55858 : #endif
55859 0 : storageOf_lhs_operand = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand );
55860 0 : storageOf_rhs_operand = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand );
55861 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
55862 0 : storageOf_need_paren = source->p_need_paren ;
55863 0 : storageOf_lvalue = source->p_lvalue ;
55864 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
55865 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
55866 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55867 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55868 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55869 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55870 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55871 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55872 0 : storageOf_isModified = source->p_isModified ;
55873 0 : storageOf_containsTransformation = source->p_containsTransformation ;
55874 0 : }
55875 :
55876 : void
55877 0 : SgVarArgStartOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55878 : {
55879 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55880 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55881 0 : }
55882 :
55883 : void
55884 2 : SgVarArgStartOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55885 : {
55886 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55887 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55888 2 : }
55889 :
55890 : void
55891 0 : SgVarArgStartOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55892 : {
55893 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55894 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55895 0 : }
55896 :
55897 :
55898 : void
55899 0 : SgVarArgStartOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
55900 : {
55901 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55902 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55903 0 : }
55904 :
55905 :
55906 :
55907 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55908 :
55909 :
55910 : // ********************************************************
55911 :
55912 : /* #line 55913 "../../../src/frontend/SageIII//StorageClasses.C" */
55913 :
55914 :
55915 :
55916 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55917 :
55918 : // ****************************************************************
55919 : // member functions definition specific to each node in the grammar
55920 : // these are the SgVarArgOpStorageClass parts !!!!
55921 : // ROSETTA generated code. Do not change by hand.
55922 : // ****************************************************************
55923 :
55924 :
55925 : /* #line 55926 "../../../src/frontend/SageIII//StorageClasses.C" */
55926 :
55927 :
55928 : void
55929 0 : SgVarArgOpStorageClass::pickOutIRNodeData ( SgVarArgOp* pointer )
55930 : {
55931 0 : SgVarArgOp* source = (SgVarArgOp*) (pointer);
55932 : #if FILE_IO_EXTRA_CHECK
55933 0 : assert ( source != NULL ) ;
55934 0 : assert ( source->p_freepointer != NULL) ;
55935 : #endif
55936 0 : storageOf_operand_expr = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_expr );
55937 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
55938 0 : storageOf_need_paren = source->p_need_paren ;
55939 0 : storageOf_lvalue = source->p_lvalue ;
55940 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
55941 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
55942 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
55943 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
55944 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
55945 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
55946 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
55947 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
55948 0 : storageOf_isModified = source->p_isModified ;
55949 0 : storageOf_containsTransformation = source->p_containsTransformation ;
55950 0 : }
55951 :
55952 : void
55953 0 : SgVarArgOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
55954 : {
55955 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
55956 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
55957 0 : }
55958 :
55959 : void
55960 2 : SgVarArgOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
55961 : {
55962 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
55963 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
55964 2 : }
55965 :
55966 : void
55967 0 : SgVarArgOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
55968 : {
55969 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
55970 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
55971 0 : }
55972 :
55973 :
55974 : void
55975 0 : SgVarArgOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
55976 : {
55977 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
55978 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
55979 0 : }
55980 :
55981 :
55982 :
55983 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55984 :
55985 :
55986 : // ********************************************************
55987 :
55988 : /* #line 55989 "../../../src/frontend/SageIII//StorageClasses.C" */
55989 :
55990 :
55991 :
55992 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
55993 :
55994 : // ****************************************************************
55995 : // member functions definition specific to each node in the grammar
55996 : // these are the SgVarArgEndOpStorageClass parts !!!!
55997 : // ROSETTA generated code. Do not change by hand.
55998 : // ****************************************************************
55999 :
56000 :
56001 : /* #line 56002 "../../../src/frontend/SageIII//StorageClasses.C" */
56002 :
56003 :
56004 : void
56005 0 : SgVarArgEndOpStorageClass::pickOutIRNodeData ( SgVarArgEndOp* pointer )
56006 : {
56007 0 : SgVarArgEndOp* source = (SgVarArgEndOp*) (pointer);
56008 : #if FILE_IO_EXTRA_CHECK
56009 0 : assert ( source != NULL ) ;
56010 0 : assert ( source->p_freepointer != NULL) ;
56011 : #endif
56012 0 : storageOf_operand_expr = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_expr );
56013 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
56014 0 : storageOf_need_paren = source->p_need_paren ;
56015 0 : storageOf_lvalue = source->p_lvalue ;
56016 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56017 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56018 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56019 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56020 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56021 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56022 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56023 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56024 0 : storageOf_isModified = source->p_isModified ;
56025 0 : storageOf_containsTransformation = source->p_containsTransformation ;
56026 0 : }
56027 :
56028 : void
56029 0 : SgVarArgEndOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56030 : {
56031 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56032 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56033 0 : }
56034 :
56035 : void
56036 2 : SgVarArgEndOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56037 : {
56038 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56039 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56040 2 : }
56041 :
56042 : void
56043 0 : SgVarArgEndOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56044 : {
56045 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56046 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56047 0 : }
56048 :
56049 :
56050 : void
56051 0 : SgVarArgEndOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
56052 : {
56053 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56054 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56055 0 : }
56056 :
56057 :
56058 :
56059 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56060 :
56061 :
56062 : // ********************************************************
56063 :
56064 : /* #line 56065 "../../../src/frontend/SageIII//StorageClasses.C" */
56065 :
56066 :
56067 :
56068 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56069 :
56070 : // ****************************************************************
56071 : // member functions definition specific to each node in the grammar
56072 : // these are the SgVarArgCopyOpStorageClass parts !!!!
56073 : // ROSETTA generated code. Do not change by hand.
56074 : // ****************************************************************
56075 :
56076 :
56077 : /* #line 56078 "../../../src/frontend/SageIII//StorageClasses.C" */
56078 :
56079 :
56080 : void
56081 0 : SgVarArgCopyOpStorageClass::pickOutIRNodeData ( SgVarArgCopyOp* pointer )
56082 : {
56083 0 : SgVarArgCopyOp* source = (SgVarArgCopyOp*) (pointer);
56084 : #if FILE_IO_EXTRA_CHECK
56085 0 : assert ( source != NULL ) ;
56086 0 : assert ( source->p_freepointer != NULL) ;
56087 : #endif
56088 0 : storageOf_lhs_operand = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lhs_operand );
56089 0 : storageOf_rhs_operand = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_rhs_operand );
56090 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
56091 0 : storageOf_need_paren = source->p_need_paren ;
56092 0 : storageOf_lvalue = source->p_lvalue ;
56093 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56094 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56095 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56096 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56097 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56098 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56099 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56100 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56101 0 : storageOf_isModified = source->p_isModified ;
56102 0 : storageOf_containsTransformation = source->p_containsTransformation ;
56103 0 : }
56104 :
56105 : void
56106 0 : SgVarArgCopyOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56107 : {
56108 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56109 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56110 0 : }
56111 :
56112 : void
56113 2 : SgVarArgCopyOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56114 : {
56115 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56116 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56117 2 : }
56118 :
56119 : void
56120 0 : SgVarArgCopyOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56121 : {
56122 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56123 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56124 0 : }
56125 :
56126 :
56127 : void
56128 0 : SgVarArgCopyOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
56129 : {
56130 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56131 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56132 0 : }
56133 :
56134 :
56135 :
56136 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56137 :
56138 :
56139 : // ********************************************************
56140 :
56141 : /* #line 56142 "../../../src/frontend/SageIII//StorageClasses.C" */
56142 :
56143 :
56144 :
56145 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56146 :
56147 : // ****************************************************************
56148 : // member functions definition specific to each node in the grammar
56149 : // these are the SgVarArgStartOneOperandOpStorageClass parts !!!!
56150 : // ROSETTA generated code. Do not change by hand.
56151 : // ****************************************************************
56152 :
56153 :
56154 : /* #line 56155 "../../../src/frontend/SageIII//StorageClasses.C" */
56155 :
56156 :
56157 : void
56158 0 : SgVarArgStartOneOperandOpStorageClass::pickOutIRNodeData ( SgVarArgStartOneOperandOp* pointer )
56159 : {
56160 0 : SgVarArgStartOneOperandOp* source = (SgVarArgStartOneOperandOp*) (pointer);
56161 : #if FILE_IO_EXTRA_CHECK
56162 0 : assert ( source != NULL ) ;
56163 0 : assert ( source->p_freepointer != NULL) ;
56164 : #endif
56165 0 : storageOf_operand_expr = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_expr );
56166 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
56167 0 : storageOf_need_paren = source->p_need_paren ;
56168 0 : storageOf_lvalue = source->p_lvalue ;
56169 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56170 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56171 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56172 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56173 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56174 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56175 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56176 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56177 0 : storageOf_isModified = source->p_isModified ;
56178 0 : storageOf_containsTransformation = source->p_containsTransformation ;
56179 0 : }
56180 :
56181 : void
56182 0 : SgVarArgStartOneOperandOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56183 : {
56184 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56185 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56186 0 : }
56187 :
56188 : void
56189 2 : SgVarArgStartOneOperandOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56190 : {
56191 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56192 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56193 2 : }
56194 :
56195 : void
56196 0 : SgVarArgStartOneOperandOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56197 : {
56198 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56199 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56200 0 : }
56201 :
56202 :
56203 : void
56204 0 : SgVarArgStartOneOperandOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
56205 : {
56206 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56207 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56208 0 : }
56209 :
56210 :
56211 :
56212 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56213 :
56214 :
56215 : // ********************************************************
56216 :
56217 : /* #line 56218 "../../../src/frontend/SageIII//StorageClasses.C" */
56218 :
56219 :
56220 :
56221 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56222 :
56223 : // ****************************************************************
56224 : // member functions definition specific to each node in the grammar
56225 : // these are the SgNullExpressionStorageClass parts !!!!
56226 : // ROSETTA generated code. Do not change by hand.
56227 : // ****************************************************************
56228 :
56229 :
56230 : /* #line 56231 "../../../src/frontend/SageIII//StorageClasses.C" */
56231 :
56232 :
56233 : void
56234 121 : SgNullExpressionStorageClass::pickOutIRNodeData ( SgNullExpression* pointer )
56235 : {
56236 121 : SgNullExpression* source = (SgNullExpression*) (pointer);
56237 : #if FILE_IO_EXTRA_CHECK
56238 121 : assert ( source != NULL ) ;
56239 121 : assert ( source->p_freepointer != NULL) ;
56240 : #endif
56241 121 : storageOf_need_paren = source->p_need_paren ;
56242 121 : storageOf_lvalue = source->p_lvalue ;
56243 121 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56244 121 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56245 121 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56246 121 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56247 121 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56248 121 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56249 121 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56250 121 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56251 121 : storageOf_isModified = source->p_isModified ;
56252 121 : storageOf_containsTransformation = source->p_containsTransformation ;
56253 121 : }
56254 :
56255 : void
56256 0 : SgNullExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56257 : {
56258 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56259 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56260 0 : }
56261 :
56262 : void
56263 2 : SgNullExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56264 : {
56265 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56266 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56267 2 : }
56268 :
56269 : void
56270 2 : SgNullExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56271 : {
56272 2 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56273 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56274 2 : }
56275 :
56276 :
56277 : void
56278 2 : SgNullExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
56279 : {
56280 2 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56281 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56282 2 : }
56283 :
56284 :
56285 :
56286 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56287 :
56288 :
56289 : // ********************************************************
56290 :
56291 : /* #line 56292 "../../../src/frontend/SageIII//StorageClasses.C" */
56292 :
56293 :
56294 :
56295 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56296 :
56297 : // ****************************************************************
56298 : // member functions definition specific to each node in the grammar
56299 : // these are the SgVariantExpressionStorageClass parts !!!!
56300 : // ROSETTA generated code. Do not change by hand.
56301 : // ****************************************************************
56302 :
56303 :
56304 : /* #line 56305 "../../../src/frontend/SageIII//StorageClasses.C" */
56305 :
56306 :
56307 : void
56308 0 : SgVariantExpressionStorageClass::pickOutIRNodeData ( SgVariantExpression* pointer )
56309 : {
56310 0 : SgVariantExpression* source = (SgVariantExpression*) (pointer);
56311 : #if FILE_IO_EXTRA_CHECK
56312 0 : assert ( source != NULL ) ;
56313 0 : assert ( source->p_freepointer != NULL) ;
56314 : #endif
56315 0 : storageOf_need_paren = source->p_need_paren ;
56316 0 : storageOf_lvalue = source->p_lvalue ;
56317 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56318 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56319 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56320 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56321 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56322 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56323 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56324 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56325 0 : storageOf_isModified = source->p_isModified ;
56326 0 : storageOf_containsTransformation = source->p_containsTransformation ;
56327 0 : }
56328 :
56329 : void
56330 0 : SgVariantExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56331 : {
56332 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56333 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56334 0 : }
56335 :
56336 : void
56337 2 : SgVariantExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56338 : {
56339 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56340 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56341 2 : }
56342 :
56343 : void
56344 0 : SgVariantExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56345 : {
56346 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56347 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56348 0 : }
56349 :
56350 :
56351 : void
56352 0 : SgVariantExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
56353 : {
56354 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56355 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56356 0 : }
56357 :
56358 :
56359 :
56360 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56361 :
56362 :
56363 : // ********************************************************
56364 :
56365 : /* #line 56366 "../../../src/frontend/SageIII//StorageClasses.C" */
56366 :
56367 :
56368 :
56369 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56370 :
56371 : // ****************************************************************
56372 : // member functions definition specific to each node in the grammar
56373 : // these are the SgSubscriptExpressionStorageClass parts !!!!
56374 : // ROSETTA generated code. Do not change by hand.
56375 : // ****************************************************************
56376 :
56377 :
56378 : /* #line 56379 "../../../src/frontend/SageIII//StorageClasses.C" */
56379 :
56380 :
56381 : void
56382 0 : SgSubscriptExpressionStorageClass::pickOutIRNodeData ( SgSubscriptExpression* pointer )
56383 : {
56384 0 : SgSubscriptExpression* source = (SgSubscriptExpression*) (pointer);
56385 : #if FILE_IO_EXTRA_CHECK
56386 0 : assert ( source != NULL ) ;
56387 0 : assert ( source->p_freepointer != NULL) ;
56388 : #endif
56389 0 : storageOf_lowerBound = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lowerBound );
56390 0 : storageOf_upperBound = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_upperBound );
56391 0 : storageOf_stride = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stride );
56392 0 : storageOf_need_paren = source->p_need_paren ;
56393 0 : storageOf_lvalue = source->p_lvalue ;
56394 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56395 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56396 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56397 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56398 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56399 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56400 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56401 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56402 0 : storageOf_isModified = source->p_isModified ;
56403 0 : storageOf_containsTransformation = source->p_containsTransformation ;
56404 0 : }
56405 :
56406 : void
56407 0 : SgSubscriptExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56408 : {
56409 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56410 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56411 0 : }
56412 :
56413 : void
56414 2 : SgSubscriptExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56415 : {
56416 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56417 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56418 2 : }
56419 :
56420 : void
56421 0 : SgSubscriptExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56422 : {
56423 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56424 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56425 0 : }
56426 :
56427 :
56428 : void
56429 0 : SgSubscriptExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
56430 : {
56431 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56432 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56433 0 : }
56434 :
56435 :
56436 :
56437 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56438 :
56439 :
56440 : // ********************************************************
56441 :
56442 : /* #line 56443 "../../../src/frontend/SageIII//StorageClasses.C" */
56443 :
56444 :
56445 :
56446 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56447 :
56448 : // ****************************************************************
56449 : // member functions definition specific to each node in the grammar
56450 : // these are the SgColonShapeExpStorageClass parts !!!!
56451 : // ROSETTA generated code. Do not change by hand.
56452 : // ****************************************************************
56453 :
56454 :
56455 : /* #line 56456 "../../../src/frontend/SageIII//StorageClasses.C" */
56456 :
56457 :
56458 : void
56459 0 : SgColonShapeExpStorageClass::pickOutIRNodeData ( SgColonShapeExp* pointer )
56460 : {
56461 0 : SgColonShapeExp* source = (SgColonShapeExp*) (pointer);
56462 : #if FILE_IO_EXTRA_CHECK
56463 0 : assert ( source != NULL ) ;
56464 0 : assert ( source->p_freepointer != NULL) ;
56465 : #endif
56466 0 : storageOf_need_paren = source->p_need_paren ;
56467 0 : storageOf_lvalue = source->p_lvalue ;
56468 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56469 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56470 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56471 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56472 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56473 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56474 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56475 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56476 0 : storageOf_isModified = source->p_isModified ;
56477 0 : storageOf_containsTransformation = source->p_containsTransformation ;
56478 0 : }
56479 :
56480 : void
56481 0 : SgColonShapeExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56482 : {
56483 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56484 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56485 0 : }
56486 :
56487 : void
56488 2 : SgColonShapeExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56489 : {
56490 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56491 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56492 2 : }
56493 :
56494 : void
56495 0 : SgColonShapeExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56496 : {
56497 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56498 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56499 0 : }
56500 :
56501 :
56502 : void
56503 0 : SgColonShapeExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
56504 : {
56505 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56506 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56507 0 : }
56508 :
56509 :
56510 :
56511 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56512 :
56513 :
56514 : // ********************************************************
56515 :
56516 : /* #line 56517 "../../../src/frontend/SageIII//StorageClasses.C" */
56517 :
56518 :
56519 :
56520 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56521 :
56522 : // ****************************************************************
56523 : // member functions definition specific to each node in the grammar
56524 : // these are the SgAsteriskShapeExpStorageClass parts !!!!
56525 : // ROSETTA generated code. Do not change by hand.
56526 : // ****************************************************************
56527 :
56528 :
56529 : /* #line 56530 "../../../src/frontend/SageIII//StorageClasses.C" */
56530 :
56531 :
56532 : void
56533 1 : SgAsteriskShapeExpStorageClass::pickOutIRNodeData ( SgAsteriskShapeExp* pointer )
56534 : {
56535 1 : SgAsteriskShapeExp* source = (SgAsteriskShapeExp*) (pointer);
56536 : #if FILE_IO_EXTRA_CHECK
56537 1 : assert ( source != NULL ) ;
56538 1 : assert ( source->p_freepointer != NULL) ;
56539 : #endif
56540 1 : storageOf_need_paren = source->p_need_paren ;
56541 1 : storageOf_lvalue = source->p_lvalue ;
56542 1 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56543 1 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56544 1 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56545 1 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56546 1 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56547 1 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56548 1 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56549 1 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56550 1 : storageOf_isModified = source->p_isModified ;
56551 1 : storageOf_containsTransformation = source->p_containsTransformation ;
56552 1 : }
56553 :
56554 : void
56555 0 : SgAsteriskShapeExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56556 : {
56557 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56558 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56559 0 : }
56560 :
56561 : void
56562 2 : SgAsteriskShapeExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56563 : {
56564 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56565 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56566 2 : }
56567 :
56568 : void
56569 1 : SgAsteriskShapeExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56570 : {
56571 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56572 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56573 1 : }
56574 :
56575 :
56576 : void
56577 0 : SgAsteriskShapeExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
56578 : {
56579 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56580 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56581 0 : }
56582 :
56583 :
56584 :
56585 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56586 :
56587 :
56588 : // ********************************************************
56589 :
56590 : /* #line 56591 "../../../src/frontend/SageIII//StorageClasses.C" */
56591 :
56592 :
56593 :
56594 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56595 :
56596 : // ****************************************************************
56597 : // member functions definition specific to each node in the grammar
56598 : // these are the SgImpliedDoStorageClass parts !!!!
56599 : // ROSETTA generated code. Do not change by hand.
56600 : // ****************************************************************
56601 :
56602 :
56603 : /* #line 56604 "../../../src/frontend/SageIII//StorageClasses.C" */
56604 :
56605 :
56606 : void
56607 0 : SgImpliedDoStorageClass::pickOutIRNodeData ( SgImpliedDo* pointer )
56608 : {
56609 0 : SgImpliedDo* source = (SgImpliedDo*) (pointer);
56610 : #if FILE_IO_EXTRA_CHECK
56611 0 : assert ( source != NULL ) ;
56612 0 : assert ( source->p_freepointer != NULL) ;
56613 : #endif
56614 0 : storageOf_do_var_initialization = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_do_var_initialization );
56615 0 : storageOf_last_val = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_last_val );
56616 0 : storageOf_increment = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_increment );
56617 0 : storageOf_object_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_object_list );
56618 0 : storageOf_implied_do_scope = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_implied_do_scope );
56619 0 : storageOf_need_paren = source->p_need_paren ;
56620 0 : storageOf_lvalue = source->p_lvalue ;
56621 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56622 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56623 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56624 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56625 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56626 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56627 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56628 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56629 0 : storageOf_isModified = source->p_isModified ;
56630 0 : storageOf_containsTransformation = source->p_containsTransformation ;
56631 0 : }
56632 :
56633 : void
56634 0 : SgImpliedDoStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56635 : {
56636 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56637 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56638 0 : }
56639 :
56640 : void
56641 2 : SgImpliedDoStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56642 : {
56643 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56644 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56645 2 : }
56646 :
56647 : void
56648 0 : SgImpliedDoStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56649 : {
56650 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56651 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56652 0 : }
56653 :
56654 :
56655 : void
56656 0 : SgImpliedDoStorageClass::readEasyStorageDataFromFile (std::istream& in)
56657 : {
56658 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56659 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56660 0 : }
56661 :
56662 :
56663 :
56664 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56665 :
56666 :
56667 : // ********************************************************
56668 :
56669 : /* #line 56670 "../../../src/frontend/SageIII//StorageClasses.C" */
56670 :
56671 :
56672 :
56673 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56674 :
56675 : // ****************************************************************
56676 : // member functions definition specific to each node in the grammar
56677 : // these are the SgIOItemExpressionStorageClass parts !!!!
56678 : // ROSETTA generated code. Do not change by hand.
56679 : // ****************************************************************
56680 :
56681 :
56682 : /* #line 56683 "../../../src/frontend/SageIII//StorageClasses.C" */
56683 :
56684 :
56685 : void
56686 0 : SgIOItemExpressionStorageClass::pickOutIRNodeData ( SgIOItemExpression* pointer )
56687 : {
56688 0 : SgIOItemExpression* source = (SgIOItemExpression*) (pointer);
56689 : #if FILE_IO_EXTRA_CHECK
56690 0 : assert ( source != NULL ) ;
56691 0 : assert ( source->p_freepointer != NULL) ;
56692 : #endif
56693 0 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
56694 0 : storageOf_io_item = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_io_item );
56695 0 : storageOf_need_paren = source->p_need_paren ;
56696 0 : storageOf_lvalue = source->p_lvalue ;
56697 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56698 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56699 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56700 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56701 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56702 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56703 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56704 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56705 0 : storageOf_isModified = source->p_isModified ;
56706 0 : storageOf_containsTransformation = source->p_containsTransformation ;
56707 0 : }
56708 :
56709 : void
56710 0 : SgIOItemExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56711 : {
56712 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
56713 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56714 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56715 0 : }
56716 :
56717 : void
56718 2 : SgIOItemExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56719 : {
56720 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
56721 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56722 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56723 2 : }
56724 :
56725 : void
56726 0 : SgIOItemExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56727 : {
56728 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
56729 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56730 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56731 0 : }
56732 :
56733 :
56734 : void
56735 0 : SgIOItemExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
56736 : {
56737 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
56738 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56739 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56740 0 : }
56741 :
56742 :
56743 :
56744 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56745 :
56746 :
56747 : // ********************************************************
56748 :
56749 : /* #line 56750 "../../../src/frontend/SageIII//StorageClasses.C" */
56750 :
56751 :
56752 :
56753 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56754 :
56755 : // ****************************************************************
56756 : // member functions definition specific to each node in the grammar
56757 : // these are the SgStatementExpressionStorageClass parts !!!!
56758 : // ROSETTA generated code. Do not change by hand.
56759 : // ****************************************************************
56760 :
56761 :
56762 : /* #line 56763 "../../../src/frontend/SageIII//StorageClasses.C" */
56763 :
56764 :
56765 : void
56766 0 : SgStatementExpressionStorageClass::pickOutIRNodeData ( SgStatementExpression* pointer )
56767 : {
56768 0 : SgStatementExpression* source = (SgStatementExpression*) (pointer);
56769 : #if FILE_IO_EXTRA_CHECK
56770 0 : assert ( source != NULL ) ;
56771 0 : assert ( source->p_freepointer != NULL) ;
56772 : #endif
56773 0 : storageOf_statement = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_statement );
56774 0 : storageOf_need_paren = source->p_need_paren ;
56775 0 : storageOf_lvalue = source->p_lvalue ;
56776 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56777 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56778 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56779 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56780 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56781 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56782 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56783 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56784 0 : storageOf_isModified = source->p_isModified ;
56785 0 : storageOf_containsTransformation = source->p_containsTransformation ;
56786 0 : }
56787 :
56788 : void
56789 0 : SgStatementExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56790 : {
56791 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56792 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56793 0 : }
56794 :
56795 : void
56796 2 : SgStatementExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56797 : {
56798 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56799 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56800 2 : }
56801 :
56802 : void
56803 0 : SgStatementExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56804 : {
56805 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56806 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56807 0 : }
56808 :
56809 :
56810 : void
56811 0 : SgStatementExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
56812 : {
56813 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56814 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56815 0 : }
56816 :
56817 :
56818 :
56819 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56820 :
56821 :
56822 : // ********************************************************
56823 :
56824 : /* #line 56825 "../../../src/frontend/SageIII//StorageClasses.C" */
56825 :
56826 :
56827 :
56828 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56829 :
56830 : // ****************************************************************
56831 : // member functions definition specific to each node in the grammar
56832 : // these are the SgAsmOpStorageClass parts !!!!
56833 : // ROSETTA generated code. Do not change by hand.
56834 : // ****************************************************************
56835 :
56836 :
56837 : /* #line 56838 "../../../src/frontend/SageIII//StorageClasses.C" */
56838 :
56839 :
56840 : void
56841 0 : SgAsmOpStorageClass::pickOutIRNodeData ( SgAsmOp* pointer )
56842 : {
56843 0 : SgAsmOp* source = (SgAsmOp*) (pointer);
56844 : #if FILE_IO_EXTRA_CHECK
56845 0 : assert ( source != NULL ) ;
56846 0 : assert ( source->p_freepointer != NULL) ;
56847 : #endif
56848 0 : storageOf_constraint = source->p_constraint ;
56849 0 : storageOf_modifiers = source->p_modifiers ;
56850 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
56851 0 : storageOf_recordRawAsmOperandDescriptions = source->p_recordRawAsmOperandDescriptions ;
56852 0 : storageOf_isOutputOperand = source->p_isOutputOperand ;
56853 0 : storageOf_constraintString.storeDataInEasyStorageClass(source->p_constraintString);
56854 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
56855 0 : storageOf_need_paren = source->p_need_paren ;
56856 0 : storageOf_lvalue = source->p_lvalue ;
56857 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56858 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56859 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56860 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56861 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56862 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56863 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56864 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56865 0 : storageOf_isModified = source->p_isModified ;
56866 0 : storageOf_containsTransformation = source->p_containsTransformation ;
56867 0 : }
56868 :
56869 : void
56870 0 : SgAsmOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56871 : {
56872 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
56873 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56874 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56875 0 : }
56876 :
56877 : void
56878 2 : SgAsmOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56879 : {
56880 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
56881 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56882 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56883 2 : }
56884 :
56885 : void
56886 0 : SgAsmOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56887 : {
56888 0 : EasyStorage < std::string > :: writeToFile(out) ;
56889 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56890 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56891 0 : }
56892 :
56893 :
56894 : void
56895 0 : SgAsmOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
56896 : {
56897 0 : EasyStorage < std::string > :: readFromFile(in) ;
56898 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56899 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56900 0 : }
56901 :
56902 :
56903 :
56904 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56905 :
56906 :
56907 : // ********************************************************
56908 :
56909 : /* #line 56910 "../../../src/frontend/SageIII//StorageClasses.C" */
56910 :
56911 :
56912 :
56913 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56914 :
56915 : // ****************************************************************
56916 : // member functions definition specific to each node in the grammar
56917 : // these are the SgLabelRefExpStorageClass parts !!!!
56918 : // ROSETTA generated code. Do not change by hand.
56919 : // ****************************************************************
56920 :
56921 :
56922 : /* #line 56923 "../../../src/frontend/SageIII//StorageClasses.C" */
56923 :
56924 :
56925 : void
56926 0 : SgLabelRefExpStorageClass::pickOutIRNodeData ( SgLabelRefExp* pointer )
56927 : {
56928 0 : SgLabelRefExp* source = (SgLabelRefExp*) (pointer);
56929 : #if FILE_IO_EXTRA_CHECK
56930 0 : assert ( source != NULL ) ;
56931 0 : assert ( source->p_freepointer != NULL) ;
56932 : #endif
56933 0 : storageOf_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol );
56934 0 : storageOf_need_paren = source->p_need_paren ;
56935 0 : storageOf_lvalue = source->p_lvalue ;
56936 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
56937 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
56938 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
56939 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
56940 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
56941 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
56942 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
56943 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
56944 0 : storageOf_isModified = source->p_isModified ;
56945 0 : storageOf_containsTransformation = source->p_containsTransformation ;
56946 0 : }
56947 :
56948 : void
56949 0 : SgLabelRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
56950 : {
56951 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
56952 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
56953 0 : }
56954 :
56955 : void
56956 2 : SgLabelRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
56957 : {
56958 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
56959 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
56960 2 : }
56961 :
56962 : void
56963 0 : SgLabelRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
56964 : {
56965 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
56966 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
56967 0 : }
56968 :
56969 :
56970 : void
56971 0 : SgLabelRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
56972 : {
56973 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
56974 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
56975 0 : }
56976 :
56977 :
56978 :
56979 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56980 :
56981 :
56982 : // ********************************************************
56983 :
56984 : /* #line 56985 "../../../src/frontend/SageIII//StorageClasses.C" */
56985 :
56986 :
56987 :
56988 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
56989 :
56990 : // ****************************************************************
56991 : // member functions definition specific to each node in the grammar
56992 : // these are the SgActualArgumentExpressionStorageClass parts !!!!
56993 : // ROSETTA generated code. Do not change by hand.
56994 : // ****************************************************************
56995 :
56996 :
56997 : /* #line 56998 "../../../src/frontend/SageIII//StorageClasses.C" */
56998 :
56999 :
57000 : void
57001 0 : SgActualArgumentExpressionStorageClass::pickOutIRNodeData ( SgActualArgumentExpression* pointer )
57002 : {
57003 0 : SgActualArgumentExpression* source = (SgActualArgumentExpression*) (pointer);
57004 : #if FILE_IO_EXTRA_CHECK
57005 0 : assert ( source != NULL ) ;
57006 0 : assert ( source->p_freepointer != NULL) ;
57007 : #endif
57008 0 : storageOf_argument_name.pickOutIRNodeData( &(source->p_argument_name) );
57009 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
57010 0 : storageOf_need_paren = source->p_need_paren ;
57011 0 : storageOf_lvalue = source->p_lvalue ;
57012 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57013 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57014 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57015 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57016 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57017 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57018 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57019 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57020 0 : storageOf_isModified = source->p_isModified ;
57021 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57022 0 : }
57023 :
57024 : void
57025 0 : SgActualArgumentExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57026 : {
57027 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
57028 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57029 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57030 0 : }
57031 :
57032 : void
57033 2 : SgActualArgumentExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57034 : {
57035 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
57036 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
57037 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
57038 2 : }
57039 :
57040 : void
57041 0 : SgActualArgumentExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
57042 : {
57043 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
57044 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
57045 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
57046 0 : }
57047 :
57048 :
57049 : void
57050 0 : SgActualArgumentExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
57051 : {
57052 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
57053 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
57054 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
57055 0 : }
57056 :
57057 :
57058 :
57059 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57060 :
57061 :
57062 : // ********************************************************
57063 :
57064 : /* #line 57065 "../../../src/frontend/SageIII//StorageClasses.C" */
57065 :
57066 :
57067 :
57068 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57069 :
57070 : // ****************************************************************
57071 : // member functions definition specific to each node in the grammar
57072 : // these are the SgUnknownArrayOrFunctionReferenceStorageClass parts !!!!
57073 : // ROSETTA generated code. Do not change by hand.
57074 : // ****************************************************************
57075 :
57076 :
57077 : /* #line 57078 "../../../src/frontend/SageIII//StorageClasses.C" */
57078 :
57079 :
57080 : void
57081 0 : SgUnknownArrayOrFunctionReferenceStorageClass::pickOutIRNodeData ( SgUnknownArrayOrFunctionReference* pointer )
57082 : {
57083 0 : SgUnknownArrayOrFunctionReference* source = (SgUnknownArrayOrFunctionReference*) (pointer);
57084 : #if FILE_IO_EXTRA_CHECK
57085 0 : assert ( source != NULL ) ;
57086 0 : assert ( source->p_freepointer != NULL) ;
57087 : #endif
57088 0 : storageOf_name.storeDataInEasyStorageClass(source->p_name);
57089 0 : storageOf_named_reference = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_named_reference );
57090 0 : storageOf_expression_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_list );
57091 0 : storageOf_need_paren = source->p_need_paren ;
57092 0 : storageOf_lvalue = source->p_lvalue ;
57093 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57094 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57095 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57096 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57097 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57098 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57099 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57100 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57101 0 : storageOf_isModified = source->p_isModified ;
57102 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57103 0 : }
57104 :
57105 : void
57106 0 : SgUnknownArrayOrFunctionReferenceStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57107 : {
57108 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
57109 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57110 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57111 0 : }
57112 :
57113 : void
57114 2 : SgUnknownArrayOrFunctionReferenceStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57115 : {
57116 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
57117 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
57118 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
57119 2 : }
57120 :
57121 : void
57122 0 : SgUnknownArrayOrFunctionReferenceStorageClass::writeEasyStorageDataToFile (std::ostream& out)
57123 : {
57124 0 : EasyStorage < std::string > :: writeToFile(out) ;
57125 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
57126 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
57127 0 : }
57128 :
57129 :
57130 : void
57131 0 : SgUnknownArrayOrFunctionReferenceStorageClass::readEasyStorageDataFromFile (std::istream& in)
57132 : {
57133 0 : EasyStorage < std::string > :: readFromFile(in) ;
57134 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
57135 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
57136 0 : }
57137 :
57138 :
57139 :
57140 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57141 :
57142 :
57143 : // ********************************************************
57144 :
57145 : /* #line 57146 "../../../src/frontend/SageIII//StorageClasses.C" */
57146 :
57147 :
57148 :
57149 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57150 :
57151 : // ****************************************************************
57152 : // member functions definition specific to each node in the grammar
57153 : // these are the SgPseudoDestructorRefExpStorageClass parts !!!!
57154 : // ROSETTA generated code. Do not change by hand.
57155 : // ****************************************************************
57156 :
57157 :
57158 : /* #line 57159 "../../../src/frontend/SageIII//StorageClasses.C" */
57159 :
57160 :
57161 : void
57162 0 : SgPseudoDestructorRefExpStorageClass::pickOutIRNodeData ( SgPseudoDestructorRefExp* pointer )
57163 : {
57164 0 : SgPseudoDestructorRefExp* source = (SgPseudoDestructorRefExp*) (pointer);
57165 : #if FILE_IO_EXTRA_CHECK
57166 0 : assert ( source != NULL ) ;
57167 0 : assert ( source->p_freepointer != NULL) ;
57168 : #endif
57169 0 : storageOf_object_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_object_type );
57170 0 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
57171 0 : storageOf_name_qualification_length = source->p_name_qualification_length ;
57172 0 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
57173 0 : storageOf_global_qualification_required = source->p_global_qualification_required ;
57174 0 : storageOf_need_paren = source->p_need_paren ;
57175 0 : storageOf_lvalue = source->p_lvalue ;
57176 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57177 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57178 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57179 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57180 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57181 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57182 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57183 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57184 0 : storageOf_isModified = source->p_isModified ;
57185 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57186 0 : }
57187 :
57188 : void
57189 0 : SgPseudoDestructorRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57190 : {
57191 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57192 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57193 0 : }
57194 :
57195 : void
57196 2 : SgPseudoDestructorRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57197 : {
57198 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
57199 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
57200 2 : }
57201 :
57202 : void
57203 0 : SgPseudoDestructorRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
57204 : {
57205 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
57206 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
57207 0 : }
57208 :
57209 :
57210 : void
57211 0 : SgPseudoDestructorRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
57212 : {
57213 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
57214 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
57215 0 : }
57216 :
57217 :
57218 :
57219 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57220 :
57221 :
57222 : // ********************************************************
57223 :
57224 : /* #line 57225 "../../../src/frontend/SageIII//StorageClasses.C" */
57225 :
57226 :
57227 :
57228 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57229 :
57230 : // ****************************************************************
57231 : // member functions definition specific to each node in the grammar
57232 : // these are the SgCAFCoExpressionStorageClass parts !!!!
57233 : // ROSETTA generated code. Do not change by hand.
57234 : // ****************************************************************
57235 :
57236 :
57237 : /* #line 57238 "../../../src/frontend/SageIII//StorageClasses.C" */
57238 :
57239 :
57240 : void
57241 0 : SgCAFCoExpressionStorageClass::pickOutIRNodeData ( SgCAFCoExpression* pointer )
57242 : {
57243 0 : SgCAFCoExpression* source = (SgCAFCoExpression*) (pointer);
57244 : #if FILE_IO_EXTRA_CHECK
57245 0 : assert ( source != NULL ) ;
57246 0 : assert ( source->p_freepointer != NULL) ;
57247 : #endif
57248 0 : storageOf_teamId = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_teamId );
57249 0 : storageOf_teamRank = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_teamRank );
57250 0 : storageOf_referData = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_referData );
57251 0 : storageOf_need_paren = source->p_need_paren ;
57252 0 : storageOf_lvalue = source->p_lvalue ;
57253 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57254 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57255 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57256 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57257 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57258 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57259 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57260 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57261 0 : storageOf_isModified = source->p_isModified ;
57262 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57263 0 : }
57264 :
57265 : void
57266 0 : SgCAFCoExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57267 : {
57268 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57269 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57270 0 : }
57271 :
57272 : void
57273 2 : SgCAFCoExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57274 : {
57275 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
57276 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
57277 2 : }
57278 :
57279 : void
57280 0 : SgCAFCoExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
57281 : {
57282 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
57283 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
57284 0 : }
57285 :
57286 :
57287 : void
57288 0 : SgCAFCoExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
57289 : {
57290 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
57291 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
57292 0 : }
57293 :
57294 :
57295 :
57296 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57297 :
57298 :
57299 : // ********************************************************
57300 :
57301 : /* #line 57302 "../../../src/frontend/SageIII//StorageClasses.C" */
57302 :
57303 :
57304 :
57305 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57306 :
57307 : // ****************************************************************
57308 : // member functions definition specific to each node in the grammar
57309 : // these are the SgCudaKernelExecConfigStorageClass parts !!!!
57310 : // ROSETTA generated code. Do not change by hand.
57311 : // ****************************************************************
57312 :
57313 :
57314 : /* #line 57315 "../../../src/frontend/SageIII//StorageClasses.C" */
57315 :
57316 :
57317 : void
57318 0 : SgCudaKernelExecConfigStorageClass::pickOutIRNodeData ( SgCudaKernelExecConfig* pointer )
57319 : {
57320 0 : SgCudaKernelExecConfig* source = (SgCudaKernelExecConfig*) (pointer);
57321 : #if FILE_IO_EXTRA_CHECK
57322 0 : assert ( source != NULL ) ;
57323 0 : assert ( source->p_freepointer != NULL) ;
57324 : #endif
57325 0 : storageOf_grid = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_grid );
57326 0 : storageOf_blocks = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_blocks );
57327 0 : storageOf_shared = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_shared );
57328 0 : storageOf_stream = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stream );
57329 0 : storageOf_need_paren = source->p_need_paren ;
57330 0 : storageOf_lvalue = source->p_lvalue ;
57331 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57332 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57333 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57334 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57335 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57336 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57337 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57338 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57339 0 : storageOf_isModified = source->p_isModified ;
57340 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57341 0 : }
57342 :
57343 : void
57344 0 : SgCudaKernelExecConfigStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57345 : {
57346 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57347 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57348 0 : }
57349 :
57350 : void
57351 2 : SgCudaKernelExecConfigStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57352 : {
57353 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
57354 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
57355 2 : }
57356 :
57357 : void
57358 0 : SgCudaKernelExecConfigStorageClass::writeEasyStorageDataToFile (std::ostream& out)
57359 : {
57360 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
57361 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
57362 0 : }
57363 :
57364 :
57365 : void
57366 0 : SgCudaKernelExecConfigStorageClass::readEasyStorageDataFromFile (std::istream& in)
57367 : {
57368 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
57369 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
57370 0 : }
57371 :
57372 :
57373 :
57374 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57375 :
57376 :
57377 : // ********************************************************
57378 :
57379 : /* #line 57380 "../../../src/frontend/SageIII//StorageClasses.C" */
57380 :
57381 :
57382 :
57383 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57384 :
57385 : // ****************************************************************
57386 : // member functions definition specific to each node in the grammar
57387 : // these are the SgLambdaRefExpStorageClass parts !!!!
57388 : // ROSETTA generated code. Do not change by hand.
57389 : // ****************************************************************
57390 :
57391 :
57392 : /* #line 57393 "../../../src/frontend/SageIII//StorageClasses.C" */
57393 :
57394 :
57395 : void
57396 0 : SgLambdaRefExpStorageClass::pickOutIRNodeData ( SgLambdaRefExp* pointer )
57397 : {
57398 0 : SgLambdaRefExp* source = (SgLambdaRefExp*) (pointer);
57399 : #if FILE_IO_EXTRA_CHECK
57400 0 : assert ( source != NULL ) ;
57401 0 : assert ( source->p_freepointer != NULL) ;
57402 : #endif
57403 0 : storageOf_functionDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_functionDeclaration );
57404 0 : storageOf_need_paren = source->p_need_paren ;
57405 0 : storageOf_lvalue = source->p_lvalue ;
57406 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57407 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57408 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57409 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57410 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57411 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57412 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57413 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57414 0 : storageOf_isModified = source->p_isModified ;
57415 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57416 0 : }
57417 :
57418 : void
57419 0 : SgLambdaRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57420 : {
57421 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57422 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57423 0 : }
57424 :
57425 : void
57426 2 : SgLambdaRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57427 : {
57428 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
57429 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
57430 2 : }
57431 :
57432 : void
57433 0 : SgLambdaRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
57434 : {
57435 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
57436 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
57437 0 : }
57438 :
57439 :
57440 : void
57441 0 : SgLambdaRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
57442 : {
57443 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
57444 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
57445 0 : }
57446 :
57447 :
57448 :
57449 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57450 :
57451 :
57452 : // ********************************************************
57453 :
57454 : /* #line 57455 "../../../src/frontend/SageIII//StorageClasses.C" */
57455 :
57456 :
57457 :
57458 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57459 :
57460 : // ****************************************************************
57461 : // member functions definition specific to each node in the grammar
57462 : // these are the SgDictionaryExpStorageClass parts !!!!
57463 : // ROSETTA generated code. Do not change by hand.
57464 : // ****************************************************************
57465 :
57466 :
57467 : /* #line 57468 "../../../src/frontend/SageIII//StorageClasses.C" */
57468 :
57469 :
57470 : void
57471 0 : SgDictionaryExpStorageClass::pickOutIRNodeData ( SgDictionaryExp* pointer )
57472 : {
57473 0 : SgDictionaryExp* source = (SgDictionaryExp*) (pointer);
57474 : #if FILE_IO_EXTRA_CHECK
57475 0 : assert ( source != NULL ) ;
57476 0 : assert ( source->p_freepointer != NULL) ;
57477 : #endif
57478 0 : SgKeyDatumPairPtrList::iterator i_key_datum_pairs = source->p_key_datum_pairs.begin() ;
57479 0 : unsigned int tempListCountkey_datum_pairs = 0;
57480 0 : SgKeyDatumPairPtrList::value_type * tempListkey_datum_pairs = new SgKeyDatumPairPtrList::value_type[ source->p_key_datum_pairs.size() ];
57481 0 : for ( ; i_key_datum_pairs != source->p_key_datum_pairs.end(); ++i_key_datum_pairs )
57482 : {
57483 0 : tempListkey_datum_pairs[tempListCountkey_datum_pairs] = *i_key_datum_pairs;
57484 0 : tempListCountkey_datum_pairs++;
57485 0 : (*i_key_datum_pairs) = (SgKeyDatumPairPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_key_datum_pairs ) );
57486 : }
57487 0 : storageOf_key_datum_pairs.storeDataInEasyStorageClass(source->p_key_datum_pairs);
57488 0 : tempListCountkey_datum_pairs = 0;
57489 0 : i_key_datum_pairs = source->p_key_datum_pairs.begin() ;
57490 0 : for ( ; i_key_datum_pairs != source->p_key_datum_pairs.end(); ++i_key_datum_pairs )
57491 : {
57492 0 : *i_key_datum_pairs = tempListkey_datum_pairs[tempListCountkey_datum_pairs] ;
57493 0 : tempListCountkey_datum_pairs++;
57494 : }
57495 0 : delete [] tempListkey_datum_pairs;
57496 0 : storageOf_need_paren = source->p_need_paren ;
57497 0 : storageOf_lvalue = source->p_lvalue ;
57498 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57499 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57500 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57501 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57502 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57503 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57504 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57505 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57506 0 : storageOf_isModified = source->p_isModified ;
57507 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57508 0 : }
57509 :
57510 : void
57511 0 : SgDictionaryExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57512 : {
57513 0 : EasyStorage < SgKeyDatumPairPtrList > :: arrangeMemoryPoolInOneBlock() ;
57514 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57515 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57516 0 : }
57517 :
57518 : void
57519 2 : SgDictionaryExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57520 : {
57521 2 : EasyStorage < SgKeyDatumPairPtrList > :: deleteMemoryPool() ;
57522 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
57523 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
57524 2 : }
57525 :
57526 : void
57527 0 : SgDictionaryExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
57528 : {
57529 0 : EasyStorage < SgKeyDatumPairPtrList > :: writeToFile(out) ;
57530 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
57531 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
57532 0 : }
57533 :
57534 :
57535 : void
57536 0 : SgDictionaryExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
57537 : {
57538 0 : EasyStorage < SgKeyDatumPairPtrList > :: readFromFile(in) ;
57539 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
57540 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
57541 0 : }
57542 :
57543 :
57544 :
57545 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57546 :
57547 :
57548 : // ********************************************************
57549 :
57550 : /* #line 57551 "../../../src/frontend/SageIII//StorageClasses.C" */
57551 :
57552 :
57553 :
57554 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57555 :
57556 : // ****************************************************************
57557 : // member functions definition specific to each node in the grammar
57558 : // these are the SgKeyDatumPairStorageClass parts !!!!
57559 : // ROSETTA generated code. Do not change by hand.
57560 : // ****************************************************************
57561 :
57562 :
57563 : /* #line 57564 "../../../src/frontend/SageIII//StorageClasses.C" */
57564 :
57565 :
57566 : void
57567 0 : SgKeyDatumPairStorageClass::pickOutIRNodeData ( SgKeyDatumPair* pointer )
57568 : {
57569 0 : SgKeyDatumPair* source = (SgKeyDatumPair*) (pointer);
57570 : #if FILE_IO_EXTRA_CHECK
57571 0 : assert ( source != NULL ) ;
57572 0 : assert ( source->p_freepointer != NULL) ;
57573 : #endif
57574 0 : storageOf_key = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_key );
57575 0 : storageOf_datum = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_datum );
57576 0 : storageOf_need_paren = source->p_need_paren ;
57577 0 : storageOf_lvalue = source->p_lvalue ;
57578 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57579 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57580 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57581 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57582 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57583 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57584 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57585 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57586 0 : storageOf_isModified = source->p_isModified ;
57587 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57588 0 : }
57589 :
57590 : void
57591 0 : SgKeyDatumPairStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57592 : {
57593 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57594 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57595 0 : }
57596 :
57597 : void
57598 2 : SgKeyDatumPairStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57599 : {
57600 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
57601 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
57602 2 : }
57603 :
57604 : void
57605 0 : SgKeyDatumPairStorageClass::writeEasyStorageDataToFile (std::ostream& out)
57606 : {
57607 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
57608 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
57609 0 : }
57610 :
57611 :
57612 : void
57613 0 : SgKeyDatumPairStorageClass::readEasyStorageDataFromFile (std::istream& in)
57614 : {
57615 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
57616 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
57617 0 : }
57618 :
57619 :
57620 :
57621 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57622 :
57623 :
57624 : // ********************************************************
57625 :
57626 : /* #line 57627 "../../../src/frontend/SageIII//StorageClasses.C" */
57627 :
57628 :
57629 :
57630 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57631 :
57632 : // ****************************************************************
57633 : // member functions definition specific to each node in the grammar
57634 : // these are the SgComprehensionStorageClass parts !!!!
57635 : // ROSETTA generated code. Do not change by hand.
57636 : // ****************************************************************
57637 :
57638 :
57639 : /* #line 57640 "../../../src/frontend/SageIII//StorageClasses.C" */
57640 :
57641 :
57642 : void
57643 0 : SgComprehensionStorageClass::pickOutIRNodeData ( SgComprehension* pointer )
57644 : {
57645 0 : SgComprehension* source = (SgComprehension*) (pointer);
57646 : #if FILE_IO_EXTRA_CHECK
57647 0 : assert ( source != NULL ) ;
57648 0 : assert ( source->p_freepointer != NULL) ;
57649 : #endif
57650 0 : storageOf_target = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_target );
57651 0 : storageOf_iter = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_iter );
57652 0 : storageOf_filters = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_filters );
57653 0 : storageOf_need_paren = source->p_need_paren ;
57654 0 : storageOf_lvalue = source->p_lvalue ;
57655 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57656 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57657 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57658 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57659 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57660 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57661 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57662 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57663 0 : storageOf_isModified = source->p_isModified ;
57664 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57665 0 : }
57666 :
57667 : void
57668 0 : SgComprehensionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57669 : {
57670 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57671 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57672 0 : }
57673 :
57674 : void
57675 2 : SgComprehensionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57676 : {
57677 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
57678 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
57679 2 : }
57680 :
57681 : void
57682 0 : SgComprehensionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
57683 : {
57684 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
57685 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
57686 0 : }
57687 :
57688 :
57689 : void
57690 0 : SgComprehensionStorageClass::readEasyStorageDataFromFile (std::istream& in)
57691 : {
57692 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
57693 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
57694 0 : }
57695 :
57696 :
57697 :
57698 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57699 :
57700 :
57701 : // ********************************************************
57702 :
57703 : /* #line 57704 "../../../src/frontend/SageIII//StorageClasses.C" */
57704 :
57705 :
57706 :
57707 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57708 :
57709 : // ****************************************************************
57710 : // member functions definition specific to each node in the grammar
57711 : // these are the SgListComprehensionStorageClass parts !!!!
57712 : // ROSETTA generated code. Do not change by hand.
57713 : // ****************************************************************
57714 :
57715 :
57716 : /* #line 57717 "../../../src/frontend/SageIII//StorageClasses.C" */
57717 :
57718 :
57719 : void
57720 0 : SgListComprehensionStorageClass::pickOutIRNodeData ( SgListComprehension* pointer )
57721 : {
57722 0 : SgListComprehension* source = (SgListComprehension*) (pointer);
57723 : #if FILE_IO_EXTRA_CHECK
57724 0 : assert ( source != NULL ) ;
57725 0 : assert ( source->p_freepointer != NULL) ;
57726 : #endif
57727 0 : storageOf_element = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_element );
57728 0 : storageOf_generators = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_generators );
57729 0 : storageOf_need_paren = source->p_need_paren ;
57730 0 : storageOf_lvalue = source->p_lvalue ;
57731 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57732 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57733 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57734 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57735 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57736 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57737 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57738 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57739 0 : storageOf_isModified = source->p_isModified ;
57740 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57741 0 : }
57742 :
57743 : void
57744 0 : SgListComprehensionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57745 : {
57746 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57747 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57748 0 : }
57749 :
57750 : void
57751 2 : SgListComprehensionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57752 : {
57753 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
57754 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
57755 2 : }
57756 :
57757 : void
57758 0 : SgListComprehensionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
57759 : {
57760 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
57761 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
57762 0 : }
57763 :
57764 :
57765 : void
57766 0 : SgListComprehensionStorageClass::readEasyStorageDataFromFile (std::istream& in)
57767 : {
57768 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
57769 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
57770 0 : }
57771 :
57772 :
57773 :
57774 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57775 :
57776 :
57777 : // ********************************************************
57778 :
57779 : /* #line 57780 "../../../src/frontend/SageIII//StorageClasses.C" */
57780 :
57781 :
57782 :
57783 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57784 :
57785 : // ****************************************************************
57786 : // member functions definition specific to each node in the grammar
57787 : // these are the SgSetComprehensionStorageClass parts !!!!
57788 : // ROSETTA generated code. Do not change by hand.
57789 : // ****************************************************************
57790 :
57791 :
57792 : /* #line 57793 "../../../src/frontend/SageIII//StorageClasses.C" */
57793 :
57794 :
57795 : void
57796 0 : SgSetComprehensionStorageClass::pickOutIRNodeData ( SgSetComprehension* pointer )
57797 : {
57798 0 : SgSetComprehension* source = (SgSetComprehension*) (pointer);
57799 : #if FILE_IO_EXTRA_CHECK
57800 0 : assert ( source != NULL ) ;
57801 0 : assert ( source->p_freepointer != NULL) ;
57802 : #endif
57803 0 : storageOf_element = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_element );
57804 0 : storageOf_generators = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_generators );
57805 0 : storageOf_need_paren = source->p_need_paren ;
57806 0 : storageOf_lvalue = source->p_lvalue ;
57807 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57808 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57809 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57810 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57811 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57812 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57813 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57814 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57815 0 : storageOf_isModified = source->p_isModified ;
57816 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57817 0 : }
57818 :
57819 : void
57820 0 : SgSetComprehensionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57821 : {
57822 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57823 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57824 0 : }
57825 :
57826 : void
57827 2 : SgSetComprehensionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57828 : {
57829 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
57830 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
57831 2 : }
57832 :
57833 : void
57834 0 : SgSetComprehensionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
57835 : {
57836 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
57837 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
57838 0 : }
57839 :
57840 :
57841 : void
57842 0 : SgSetComprehensionStorageClass::readEasyStorageDataFromFile (std::istream& in)
57843 : {
57844 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
57845 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
57846 0 : }
57847 :
57848 :
57849 :
57850 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57851 :
57852 :
57853 : // ********************************************************
57854 :
57855 : /* #line 57856 "../../../src/frontend/SageIII//StorageClasses.C" */
57856 :
57857 :
57858 :
57859 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57860 :
57861 : // ****************************************************************
57862 : // member functions definition specific to each node in the grammar
57863 : // these are the SgDictionaryComprehensionStorageClass parts !!!!
57864 : // ROSETTA generated code. Do not change by hand.
57865 : // ****************************************************************
57866 :
57867 :
57868 : /* #line 57869 "../../../src/frontend/SageIII//StorageClasses.C" */
57869 :
57870 :
57871 : void
57872 0 : SgDictionaryComprehensionStorageClass::pickOutIRNodeData ( SgDictionaryComprehension* pointer )
57873 : {
57874 0 : SgDictionaryComprehension* source = (SgDictionaryComprehension*) (pointer);
57875 : #if FILE_IO_EXTRA_CHECK
57876 0 : assert ( source != NULL ) ;
57877 0 : assert ( source->p_freepointer != NULL) ;
57878 : #endif
57879 0 : storageOf_element = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_element );
57880 0 : storageOf_generators = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_generators );
57881 0 : storageOf_need_paren = source->p_need_paren ;
57882 0 : storageOf_lvalue = source->p_lvalue ;
57883 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57884 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57885 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57886 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57887 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57888 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57889 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57890 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57891 0 : storageOf_isModified = source->p_isModified ;
57892 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57893 0 : }
57894 :
57895 : void
57896 0 : SgDictionaryComprehensionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57897 : {
57898 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57899 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57900 0 : }
57901 :
57902 : void
57903 2 : SgDictionaryComprehensionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57904 : {
57905 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
57906 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
57907 2 : }
57908 :
57909 : void
57910 0 : SgDictionaryComprehensionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
57911 : {
57912 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
57913 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
57914 0 : }
57915 :
57916 :
57917 : void
57918 0 : SgDictionaryComprehensionStorageClass::readEasyStorageDataFromFile (std::istream& in)
57919 : {
57920 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
57921 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
57922 0 : }
57923 :
57924 :
57925 :
57926 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57927 :
57928 :
57929 : // ********************************************************
57930 :
57931 : /* #line 57932 "../../../src/frontend/SageIII//StorageClasses.C" */
57932 :
57933 :
57934 :
57935 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
57936 :
57937 : // ****************************************************************
57938 : // member functions definition specific to each node in the grammar
57939 : // these are the SgNaryOpStorageClass parts !!!!
57940 : // ROSETTA generated code. Do not change by hand.
57941 : // ****************************************************************
57942 :
57943 :
57944 : /* #line 57945 "../../../src/frontend/SageIII//StorageClasses.C" */
57945 :
57946 :
57947 : void
57948 0 : SgNaryOpStorageClass::pickOutIRNodeData ( SgNaryOp* pointer )
57949 : {
57950 0 : SgNaryOp* source = (SgNaryOp*) (pointer);
57951 : #if FILE_IO_EXTRA_CHECK
57952 0 : assert ( source != NULL ) ;
57953 0 : assert ( source->p_freepointer != NULL) ;
57954 : #endif
57955 0 : SgExpressionPtrList::iterator i_operands = source->p_operands.begin() ;
57956 0 : unsigned int tempListCountoperands = 0;
57957 0 : SgExpressionPtrList::value_type * tempListoperands = new SgExpressionPtrList::value_type[ source->p_operands.size() ];
57958 0 : for ( ; i_operands != source->p_operands.end(); ++i_operands )
57959 : {
57960 0 : tempListoperands[tempListCountoperands] = *i_operands;
57961 0 : tempListCountoperands++;
57962 0 : (*i_operands) = (SgExpressionPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_operands ) );
57963 : }
57964 0 : storageOf_operands.storeDataInEasyStorageClass(source->p_operands);
57965 0 : tempListCountoperands = 0;
57966 0 : i_operands = source->p_operands.begin() ;
57967 0 : for ( ; i_operands != source->p_operands.end(); ++i_operands )
57968 : {
57969 0 : *i_operands = tempListoperands[tempListCountoperands] ;
57970 0 : tempListCountoperands++;
57971 : }
57972 0 : delete [] tempListoperands;
57973 0 : storageOf_operators.storeDataInEasyStorageClass(source->p_operators);
57974 0 : storageOf_need_paren = source->p_need_paren ;
57975 0 : storageOf_lvalue = source->p_lvalue ;
57976 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
57977 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
57978 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
57979 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
57980 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
57981 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
57982 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
57983 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
57984 0 : storageOf_isModified = source->p_isModified ;
57985 0 : storageOf_containsTransformation = source->p_containsTransformation ;
57986 0 : }
57987 :
57988 : void
57989 0 : SgNaryOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
57990 : {
57991 0 : EasyStorage < SgExpressionPtrList > :: arrangeMemoryPoolInOneBlock() ;
57992 0 : EasyStorage < VariantTList > :: arrangeMemoryPoolInOneBlock() ;
57993 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
57994 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
57995 0 : }
57996 :
57997 : void
57998 2 : SgNaryOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
57999 : {
58000 2 : EasyStorage < SgExpressionPtrList > :: deleteMemoryPool() ;
58001 2 : EasyStorage < VariantTList > :: deleteMemoryPool() ;
58002 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
58003 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
58004 2 : }
58005 :
58006 : void
58007 0 : SgNaryOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
58008 : {
58009 0 : EasyStorage < SgExpressionPtrList > :: writeToFile(out) ;
58010 0 : EasyStorage < VariantTList > :: writeToFile(out) ;
58011 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
58012 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
58013 0 : }
58014 :
58015 :
58016 : void
58017 0 : SgNaryOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
58018 : {
58019 0 : EasyStorage < SgExpressionPtrList > :: readFromFile(in) ;
58020 0 : EasyStorage < VariantTList > :: readFromFile(in) ;
58021 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
58022 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
58023 0 : }
58024 :
58025 :
58026 :
58027 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58028 :
58029 :
58030 : // ********************************************************
58031 :
58032 : /* #line 58033 "../../../src/frontend/SageIII//StorageClasses.C" */
58033 :
58034 :
58035 :
58036 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58037 :
58038 : // ****************************************************************
58039 : // member functions definition specific to each node in the grammar
58040 : // these are the SgNaryBooleanOpStorageClass parts !!!!
58041 : // ROSETTA generated code. Do not change by hand.
58042 : // ****************************************************************
58043 :
58044 :
58045 : /* #line 58046 "../../../src/frontend/SageIII//StorageClasses.C" */
58046 :
58047 :
58048 : void
58049 0 : SgNaryBooleanOpStorageClass::pickOutIRNodeData ( SgNaryBooleanOp* pointer )
58050 : {
58051 0 : SgNaryBooleanOp* source = (SgNaryBooleanOp*) (pointer);
58052 : #if FILE_IO_EXTRA_CHECK
58053 0 : assert ( source != NULL ) ;
58054 0 : assert ( source->p_freepointer != NULL) ;
58055 : #endif
58056 0 : SgExpressionPtrList::iterator i_operands = source->p_operands.begin() ;
58057 0 : unsigned int tempListCountoperands = 0;
58058 0 : SgExpressionPtrList::value_type * tempListoperands = new SgExpressionPtrList::value_type[ source->p_operands.size() ];
58059 0 : for ( ; i_operands != source->p_operands.end(); ++i_operands )
58060 : {
58061 0 : tempListoperands[tempListCountoperands] = *i_operands;
58062 0 : tempListCountoperands++;
58063 0 : (*i_operands) = (SgExpressionPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_operands ) );
58064 : }
58065 0 : storageOf_operands.storeDataInEasyStorageClass(source->p_operands);
58066 0 : tempListCountoperands = 0;
58067 0 : i_operands = source->p_operands.begin() ;
58068 0 : for ( ; i_operands != source->p_operands.end(); ++i_operands )
58069 : {
58070 0 : *i_operands = tempListoperands[tempListCountoperands] ;
58071 0 : tempListCountoperands++;
58072 : }
58073 0 : delete [] tempListoperands;
58074 0 : storageOf_operators.storeDataInEasyStorageClass(source->p_operators);
58075 0 : storageOf_need_paren = source->p_need_paren ;
58076 0 : storageOf_lvalue = source->p_lvalue ;
58077 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
58078 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
58079 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
58080 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
58081 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
58082 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
58083 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
58084 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
58085 0 : storageOf_isModified = source->p_isModified ;
58086 0 : storageOf_containsTransformation = source->p_containsTransformation ;
58087 0 : }
58088 :
58089 : void
58090 0 : SgNaryBooleanOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
58091 : {
58092 0 : EasyStorage < SgExpressionPtrList > :: arrangeMemoryPoolInOneBlock() ;
58093 0 : EasyStorage < VariantTList > :: arrangeMemoryPoolInOneBlock() ;
58094 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
58095 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
58096 0 : }
58097 :
58098 : void
58099 2 : SgNaryBooleanOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
58100 : {
58101 2 : EasyStorage < SgExpressionPtrList > :: deleteMemoryPool() ;
58102 2 : EasyStorage < VariantTList > :: deleteMemoryPool() ;
58103 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
58104 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
58105 2 : }
58106 :
58107 : void
58108 0 : SgNaryBooleanOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
58109 : {
58110 0 : EasyStorage < SgExpressionPtrList > :: writeToFile(out) ;
58111 0 : EasyStorage < VariantTList > :: writeToFile(out) ;
58112 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
58113 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
58114 0 : }
58115 :
58116 :
58117 : void
58118 0 : SgNaryBooleanOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
58119 : {
58120 0 : EasyStorage < SgExpressionPtrList > :: readFromFile(in) ;
58121 0 : EasyStorage < VariantTList > :: readFromFile(in) ;
58122 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
58123 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
58124 0 : }
58125 :
58126 :
58127 :
58128 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58129 :
58130 :
58131 : // ********************************************************
58132 :
58133 : /* #line 58134 "../../../src/frontend/SageIII//StorageClasses.C" */
58134 :
58135 :
58136 :
58137 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58138 :
58139 : // ****************************************************************
58140 : // member functions definition specific to each node in the grammar
58141 : // these are the SgNaryComparisonOpStorageClass parts !!!!
58142 : // ROSETTA generated code. Do not change by hand.
58143 : // ****************************************************************
58144 :
58145 :
58146 : /* #line 58147 "../../../src/frontend/SageIII//StorageClasses.C" */
58147 :
58148 :
58149 : void
58150 0 : SgNaryComparisonOpStorageClass::pickOutIRNodeData ( SgNaryComparisonOp* pointer )
58151 : {
58152 0 : SgNaryComparisonOp* source = (SgNaryComparisonOp*) (pointer);
58153 : #if FILE_IO_EXTRA_CHECK
58154 0 : assert ( source != NULL ) ;
58155 0 : assert ( source->p_freepointer != NULL) ;
58156 : #endif
58157 0 : SgExpressionPtrList::iterator i_operands = source->p_operands.begin() ;
58158 0 : unsigned int tempListCountoperands = 0;
58159 0 : SgExpressionPtrList::value_type * tempListoperands = new SgExpressionPtrList::value_type[ source->p_operands.size() ];
58160 0 : for ( ; i_operands != source->p_operands.end(); ++i_operands )
58161 : {
58162 0 : tempListoperands[tempListCountoperands] = *i_operands;
58163 0 : tempListCountoperands++;
58164 0 : (*i_operands) = (SgExpressionPtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_operands ) );
58165 : }
58166 0 : storageOf_operands.storeDataInEasyStorageClass(source->p_operands);
58167 0 : tempListCountoperands = 0;
58168 0 : i_operands = source->p_operands.begin() ;
58169 0 : for ( ; i_operands != source->p_operands.end(); ++i_operands )
58170 : {
58171 0 : *i_operands = tempListoperands[tempListCountoperands] ;
58172 0 : tempListCountoperands++;
58173 : }
58174 0 : delete [] tempListoperands;
58175 0 : storageOf_operators.storeDataInEasyStorageClass(source->p_operators);
58176 0 : storageOf_need_paren = source->p_need_paren ;
58177 0 : storageOf_lvalue = source->p_lvalue ;
58178 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
58179 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
58180 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
58181 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
58182 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
58183 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
58184 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
58185 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
58186 0 : storageOf_isModified = source->p_isModified ;
58187 0 : storageOf_containsTransformation = source->p_containsTransformation ;
58188 0 : }
58189 :
58190 : void
58191 0 : SgNaryComparisonOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
58192 : {
58193 0 : EasyStorage < SgExpressionPtrList > :: arrangeMemoryPoolInOneBlock() ;
58194 0 : EasyStorage < VariantTList > :: arrangeMemoryPoolInOneBlock() ;
58195 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
58196 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
58197 0 : }
58198 :
58199 : void
58200 2 : SgNaryComparisonOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
58201 : {
58202 2 : EasyStorage < SgExpressionPtrList > :: deleteMemoryPool() ;
58203 2 : EasyStorage < VariantTList > :: deleteMemoryPool() ;
58204 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
58205 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
58206 2 : }
58207 :
58208 : void
58209 0 : SgNaryComparisonOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
58210 : {
58211 0 : EasyStorage < SgExpressionPtrList > :: writeToFile(out) ;
58212 0 : EasyStorage < VariantTList > :: writeToFile(out) ;
58213 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
58214 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
58215 0 : }
58216 :
58217 :
58218 : void
58219 0 : SgNaryComparisonOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
58220 : {
58221 0 : EasyStorage < SgExpressionPtrList > :: readFromFile(in) ;
58222 0 : EasyStorage < VariantTList > :: readFromFile(in) ;
58223 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
58224 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
58225 0 : }
58226 :
58227 :
58228 :
58229 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58230 :
58231 :
58232 : // ********************************************************
58233 :
58234 : /* #line 58235 "../../../src/frontend/SageIII//StorageClasses.C" */
58235 :
58236 :
58237 :
58238 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58239 :
58240 : // ****************************************************************
58241 : // member functions definition specific to each node in the grammar
58242 : // these are the SgStringConversionStorageClass parts !!!!
58243 : // ROSETTA generated code. Do not change by hand.
58244 : // ****************************************************************
58245 :
58246 :
58247 : /* #line 58248 "../../../src/frontend/SageIII//StorageClasses.C" */
58248 :
58249 :
58250 : void
58251 0 : SgStringConversionStorageClass::pickOutIRNodeData ( SgStringConversion* pointer )
58252 : {
58253 0 : SgStringConversion* source = (SgStringConversion*) (pointer);
58254 : #if FILE_IO_EXTRA_CHECK
58255 0 : assert ( source != NULL ) ;
58256 0 : assert ( source->p_freepointer != NULL) ;
58257 : #endif
58258 0 : storageOf_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression );
58259 0 : storageOf_need_paren = source->p_need_paren ;
58260 0 : storageOf_lvalue = source->p_lvalue ;
58261 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
58262 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
58263 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
58264 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
58265 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
58266 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
58267 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
58268 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
58269 0 : storageOf_isModified = source->p_isModified ;
58270 0 : storageOf_containsTransformation = source->p_containsTransformation ;
58271 0 : }
58272 :
58273 : void
58274 0 : SgStringConversionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
58275 : {
58276 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
58277 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
58278 0 : }
58279 :
58280 : void
58281 2 : SgStringConversionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
58282 : {
58283 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
58284 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
58285 2 : }
58286 :
58287 : void
58288 0 : SgStringConversionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
58289 : {
58290 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
58291 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
58292 0 : }
58293 :
58294 :
58295 : void
58296 0 : SgStringConversionStorageClass::readEasyStorageDataFromFile (std::istream& in)
58297 : {
58298 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
58299 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
58300 0 : }
58301 :
58302 :
58303 :
58304 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58305 :
58306 :
58307 : // ********************************************************
58308 :
58309 : /* #line 58310 "../../../src/frontend/SageIII//StorageClasses.C" */
58310 :
58311 :
58312 :
58313 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58314 :
58315 : // ****************************************************************
58316 : // member functions definition specific to each node in the grammar
58317 : // these are the SgYieldExpressionStorageClass parts !!!!
58318 : // ROSETTA generated code. Do not change by hand.
58319 : // ****************************************************************
58320 :
58321 :
58322 : /* #line 58323 "../../../src/frontend/SageIII//StorageClasses.C" */
58323 :
58324 :
58325 : void
58326 0 : SgYieldExpressionStorageClass::pickOutIRNodeData ( SgYieldExpression* pointer )
58327 : {
58328 0 : SgYieldExpression* source = (SgYieldExpression*) (pointer);
58329 : #if FILE_IO_EXTRA_CHECK
58330 0 : assert ( source != NULL ) ;
58331 0 : assert ( source->p_freepointer != NULL) ;
58332 : #endif
58333 0 : storageOf_value = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_value );
58334 0 : storageOf_need_paren = source->p_need_paren ;
58335 0 : storageOf_lvalue = source->p_lvalue ;
58336 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
58337 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
58338 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
58339 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
58340 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
58341 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
58342 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
58343 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
58344 0 : storageOf_isModified = source->p_isModified ;
58345 0 : storageOf_containsTransformation = source->p_containsTransformation ;
58346 0 : }
58347 :
58348 : void
58349 0 : SgYieldExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
58350 : {
58351 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
58352 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
58353 0 : }
58354 :
58355 : void
58356 2 : SgYieldExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
58357 : {
58358 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
58359 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
58360 2 : }
58361 :
58362 : void
58363 0 : SgYieldExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
58364 : {
58365 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
58366 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
58367 0 : }
58368 :
58369 :
58370 : void
58371 0 : SgYieldExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
58372 : {
58373 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
58374 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
58375 0 : }
58376 :
58377 :
58378 :
58379 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58380 :
58381 :
58382 : // ********************************************************
58383 :
58384 : /* #line 58385 "../../../src/frontend/SageIII//StorageClasses.C" */
58385 :
58386 :
58387 :
58388 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58389 :
58390 : // ****************************************************************
58391 : // member functions definition specific to each node in the grammar
58392 : // these are the SgTemplateFunctionRefExpStorageClass parts !!!!
58393 : // ROSETTA generated code. Do not change by hand.
58394 : // ****************************************************************
58395 :
58396 :
58397 : /* #line 58398 "../../../src/frontend/SageIII//StorageClasses.C" */
58398 :
58399 :
58400 : void
58401 225 : SgTemplateFunctionRefExpStorageClass::pickOutIRNodeData ( SgTemplateFunctionRefExp* pointer )
58402 : {
58403 225 : SgTemplateFunctionRefExp* source = (SgTemplateFunctionRefExp*) (pointer);
58404 : #if FILE_IO_EXTRA_CHECK
58405 225 : assert ( source != NULL ) ;
58406 225 : assert ( source->p_freepointer != NULL) ;
58407 : #endif
58408 225 : storageOf_symbol_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_i );
58409 225 : storageOf_name_qualification_length = source->p_name_qualification_length ;
58410 225 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
58411 225 : storageOf_global_qualification_required = source->p_global_qualification_required ;
58412 225 : storageOf_need_paren = source->p_need_paren ;
58413 225 : storageOf_lvalue = source->p_lvalue ;
58414 225 : storageOf_global_qualified_name = source->p_global_qualified_name ;
58415 225 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
58416 225 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
58417 225 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
58418 225 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
58419 225 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
58420 225 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
58421 225 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
58422 225 : storageOf_isModified = source->p_isModified ;
58423 225 : storageOf_containsTransformation = source->p_containsTransformation ;
58424 225 : }
58425 :
58426 : void
58427 0 : SgTemplateFunctionRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
58428 : {
58429 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
58430 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
58431 0 : }
58432 :
58433 : void
58434 2 : SgTemplateFunctionRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
58435 : {
58436 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
58437 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
58438 2 : }
58439 :
58440 : void
58441 1 : SgTemplateFunctionRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
58442 : {
58443 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
58444 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
58445 1 : }
58446 :
58447 :
58448 : void
58449 1 : SgTemplateFunctionRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
58450 : {
58451 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
58452 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
58453 1 : }
58454 :
58455 :
58456 :
58457 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58458 :
58459 :
58460 : // ********************************************************
58461 :
58462 : /* #line 58463 "../../../src/frontend/SageIII//StorageClasses.C" */
58463 :
58464 :
58465 :
58466 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58467 :
58468 : // ****************************************************************
58469 : // member functions definition specific to each node in the grammar
58470 : // these are the SgTemplateMemberFunctionRefExpStorageClass parts !!!!
58471 : // ROSETTA generated code. Do not change by hand.
58472 : // ****************************************************************
58473 :
58474 :
58475 : /* #line 58476 "../../../src/frontend/SageIII//StorageClasses.C" */
58476 :
58477 :
58478 : void
58479 738 : SgTemplateMemberFunctionRefExpStorageClass::pickOutIRNodeData ( SgTemplateMemberFunctionRefExp* pointer )
58480 : {
58481 738 : SgTemplateMemberFunctionRefExp* source = (SgTemplateMemberFunctionRefExp*) (pointer);
58482 : #if FILE_IO_EXTRA_CHECK
58483 738 : assert ( source != NULL ) ;
58484 738 : assert ( source->p_freepointer != NULL) ;
58485 : #endif
58486 738 : storageOf_symbol_i = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol_i );
58487 738 : storageOf_virtual_call = source->p_virtual_call ;
58488 738 : storageOf_need_qualifier = source->p_need_qualifier ;
58489 738 : storageOf_name_qualification_length = source->p_name_qualification_length ;
58490 738 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
58491 738 : storageOf_global_qualification_required = source->p_global_qualification_required ;
58492 738 : storageOf_need_paren = source->p_need_paren ;
58493 738 : storageOf_lvalue = source->p_lvalue ;
58494 738 : storageOf_global_qualified_name = source->p_global_qualified_name ;
58495 738 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
58496 738 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
58497 738 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
58498 738 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
58499 738 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
58500 738 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
58501 738 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
58502 738 : storageOf_isModified = source->p_isModified ;
58503 738 : storageOf_containsTransformation = source->p_containsTransformation ;
58504 738 : }
58505 :
58506 : void
58507 0 : SgTemplateMemberFunctionRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
58508 : {
58509 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
58510 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
58511 0 : }
58512 :
58513 : void
58514 2 : SgTemplateMemberFunctionRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
58515 : {
58516 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
58517 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
58518 2 : }
58519 :
58520 : void
58521 1 : SgTemplateMemberFunctionRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
58522 : {
58523 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
58524 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
58525 1 : }
58526 :
58527 :
58528 : void
58529 1 : SgTemplateMemberFunctionRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
58530 : {
58531 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
58532 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
58533 1 : }
58534 :
58535 :
58536 :
58537 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58538 :
58539 :
58540 : // ********************************************************
58541 :
58542 : /* #line 58543 "../../../src/frontend/SageIII//StorageClasses.C" */
58543 :
58544 :
58545 :
58546 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58547 :
58548 : // ****************************************************************
58549 : // member functions definition specific to each node in the grammar
58550 : // these are the SgAlignOfOpStorageClass parts !!!!
58551 : // ROSETTA generated code. Do not change by hand.
58552 : // ****************************************************************
58553 :
58554 :
58555 : /* #line 58556 "../../../src/frontend/SageIII//StorageClasses.C" */
58556 :
58557 :
58558 : void
58559 5 : SgAlignOfOpStorageClass::pickOutIRNodeData ( SgAlignOfOp* pointer )
58560 : {
58561 5 : SgAlignOfOp* source = (SgAlignOfOp*) (pointer);
58562 : #if FILE_IO_EXTRA_CHECK
58563 5 : assert ( source != NULL ) ;
58564 5 : assert ( source->p_freepointer != NULL) ;
58565 : #endif
58566 5 : storageOf_operand_expr = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_expr );
58567 5 : storageOf_operand_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_type );
58568 5 : storageOf_expression_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_expression_type );
58569 5 : storageOf_name_qualification_length = source->p_name_qualification_length ;
58570 5 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
58571 5 : storageOf_global_qualification_required = source->p_global_qualification_required ;
58572 5 : storageOf_alignOfContainsBaseTypeDefiningDeclaration = source->p_alignOfContainsBaseTypeDefiningDeclaration ;
58573 5 : storageOf_need_paren = source->p_need_paren ;
58574 5 : storageOf_lvalue = source->p_lvalue ;
58575 5 : storageOf_global_qualified_name = source->p_global_qualified_name ;
58576 5 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
58577 5 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
58578 5 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
58579 5 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
58580 5 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
58581 5 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
58582 5 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
58583 5 : storageOf_isModified = source->p_isModified ;
58584 5 : storageOf_containsTransformation = source->p_containsTransformation ;
58585 5 : }
58586 :
58587 : void
58588 0 : SgAlignOfOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
58589 : {
58590 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
58591 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
58592 0 : }
58593 :
58594 : void
58595 2 : SgAlignOfOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
58596 : {
58597 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
58598 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
58599 2 : }
58600 :
58601 : void
58602 1 : SgAlignOfOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
58603 : {
58604 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
58605 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
58606 1 : }
58607 :
58608 :
58609 : void
58610 1 : SgAlignOfOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
58611 : {
58612 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
58613 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
58614 1 : }
58615 :
58616 :
58617 :
58618 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58619 :
58620 :
58621 : // ********************************************************
58622 :
58623 : /* #line 58624 "../../../src/frontend/SageIII//StorageClasses.C" */
58624 :
58625 :
58626 :
58627 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58628 :
58629 : // ****************************************************************
58630 : // member functions definition specific to each node in the grammar
58631 : // these are the SgRangeExpStorageClass parts !!!!
58632 : // ROSETTA generated code. Do not change by hand.
58633 : // ****************************************************************
58634 :
58635 :
58636 : /* #line 58637 "../../../src/frontend/SageIII//StorageClasses.C" */
58637 :
58638 :
58639 : void
58640 0 : SgRangeExpStorageClass::pickOutIRNodeData ( SgRangeExp* pointer )
58641 : {
58642 0 : SgRangeExp* source = (SgRangeExp*) (pointer);
58643 : #if FILE_IO_EXTRA_CHECK
58644 0 : assert ( source != NULL ) ;
58645 0 : assert ( source->p_freepointer != NULL) ;
58646 : #endif
58647 0 : storageOf_start = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_start );
58648 0 : storageOf_end = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_end );
58649 0 : storageOf_stride = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_stride );
58650 0 : storageOf_need_paren = source->p_need_paren ;
58651 0 : storageOf_lvalue = source->p_lvalue ;
58652 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
58653 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
58654 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
58655 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
58656 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
58657 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
58658 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
58659 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
58660 0 : storageOf_isModified = source->p_isModified ;
58661 0 : storageOf_containsTransformation = source->p_containsTransformation ;
58662 0 : }
58663 :
58664 : void
58665 0 : SgRangeExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
58666 : {
58667 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
58668 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
58669 0 : }
58670 :
58671 : void
58672 2 : SgRangeExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
58673 : {
58674 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
58675 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
58676 2 : }
58677 :
58678 : void
58679 0 : SgRangeExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
58680 : {
58681 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
58682 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
58683 0 : }
58684 :
58685 :
58686 : void
58687 0 : SgRangeExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
58688 : {
58689 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
58690 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
58691 0 : }
58692 :
58693 :
58694 :
58695 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58696 :
58697 :
58698 : // ********************************************************
58699 :
58700 : /* #line 58701 "../../../src/frontend/SageIII//StorageClasses.C" */
58701 :
58702 :
58703 :
58704 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58705 :
58706 : // ****************************************************************
58707 : // member functions definition specific to each node in the grammar
58708 : // these are the SgMagicColonExpStorageClass parts !!!!
58709 : // ROSETTA generated code. Do not change by hand.
58710 : // ****************************************************************
58711 :
58712 :
58713 : /* #line 58714 "../../../src/frontend/SageIII//StorageClasses.C" */
58714 :
58715 :
58716 : void
58717 0 : SgMagicColonExpStorageClass::pickOutIRNodeData ( SgMagicColonExp* pointer )
58718 : {
58719 0 : SgMagicColonExp* source = (SgMagicColonExp*) (pointer);
58720 : #if FILE_IO_EXTRA_CHECK
58721 0 : assert ( source != NULL ) ;
58722 0 : assert ( source->p_freepointer != NULL) ;
58723 : #endif
58724 0 : storageOf_need_paren = source->p_need_paren ;
58725 0 : storageOf_lvalue = source->p_lvalue ;
58726 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
58727 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
58728 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
58729 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
58730 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
58731 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
58732 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
58733 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
58734 0 : storageOf_isModified = source->p_isModified ;
58735 0 : storageOf_containsTransformation = source->p_containsTransformation ;
58736 0 : }
58737 :
58738 : void
58739 0 : SgMagicColonExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
58740 : {
58741 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
58742 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
58743 0 : }
58744 :
58745 : void
58746 2 : SgMagicColonExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
58747 : {
58748 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
58749 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
58750 2 : }
58751 :
58752 : void
58753 0 : SgMagicColonExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
58754 : {
58755 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
58756 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
58757 0 : }
58758 :
58759 :
58760 : void
58761 0 : SgMagicColonExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
58762 : {
58763 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
58764 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
58765 0 : }
58766 :
58767 :
58768 :
58769 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58770 :
58771 :
58772 : // ********************************************************
58773 :
58774 : /* #line 58775 "../../../src/frontend/SageIII//StorageClasses.C" */
58775 :
58776 :
58777 :
58778 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58779 :
58780 : // ****************************************************************
58781 : // member functions definition specific to each node in the grammar
58782 : // these are the SgTypeTraitBuiltinOperatorStorageClass parts !!!!
58783 : // ROSETTA generated code. Do not change by hand.
58784 : // ****************************************************************
58785 :
58786 :
58787 : /* #line 58788 "../../../src/frontend/SageIII//StorageClasses.C" */
58788 :
58789 :
58790 : void
58791 42 : SgTypeTraitBuiltinOperatorStorageClass::pickOutIRNodeData ( SgTypeTraitBuiltinOperator* pointer )
58792 : {
58793 42 : SgTypeTraitBuiltinOperator* source = (SgTypeTraitBuiltinOperator*) (pointer);
58794 : #if FILE_IO_EXTRA_CHECK
58795 42 : assert ( source != NULL ) ;
58796 42 : assert ( source->p_freepointer != NULL) ;
58797 : #endif
58798 42 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
58799 42 : SgNodePtrList::iterator i_args = source->p_args.begin() ;
58800 42 : unsigned int tempListCountargs = 0;
58801 42 : SgNodePtrList::value_type * tempListargs = new SgNodePtrList::value_type[ source->p_args.size() ];
58802 95 : for ( ; i_args != source->p_args.end(); ++i_args )
58803 : {
58804 53 : tempListargs[tempListCountargs] = *i_args;
58805 53 : tempListCountargs++;
58806 53 : (*i_args) = (SgNodePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_args ) );
58807 : }
58808 42 : storageOf_args.storeDataInEasyStorageClass(source->p_args);
58809 42 : tempListCountargs = 0;
58810 42 : i_args = source->p_args.begin() ;
58811 95 : for ( ; i_args != source->p_args.end(); ++i_args )
58812 : {
58813 53 : *i_args = tempListargs[tempListCountargs] ;
58814 53 : tempListCountargs++;
58815 : }
58816 42 : delete [] tempListargs;
58817 42 : storageOf_need_paren = source->p_need_paren ;
58818 42 : storageOf_lvalue = source->p_lvalue ;
58819 42 : storageOf_global_qualified_name = source->p_global_qualified_name ;
58820 42 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
58821 42 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
58822 42 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
58823 42 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
58824 42 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
58825 42 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
58826 42 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
58827 42 : storageOf_isModified = source->p_isModified ;
58828 42 : storageOf_containsTransformation = source->p_containsTransformation ;
58829 42 : }
58830 :
58831 : void
58832 0 : SgTypeTraitBuiltinOperatorStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
58833 : {
58834 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
58835 0 : EasyStorage < SgNodePtrList > :: arrangeMemoryPoolInOneBlock() ;
58836 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
58837 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
58838 0 : }
58839 :
58840 : void
58841 2 : SgTypeTraitBuiltinOperatorStorageClass::deleteStaticDataOfEasyStorageClasses ( )
58842 : {
58843 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
58844 2 : EasyStorage < SgNodePtrList > :: deleteMemoryPool() ;
58845 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
58846 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
58847 2 : }
58848 :
58849 : void
58850 1 : SgTypeTraitBuiltinOperatorStorageClass::writeEasyStorageDataToFile (std::ostream& out)
58851 : {
58852 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
58853 1 : EasyStorage < SgNodePtrList > :: writeToFile(out) ;
58854 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
58855 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
58856 1 : }
58857 :
58858 :
58859 : void
58860 1 : SgTypeTraitBuiltinOperatorStorageClass::readEasyStorageDataFromFile (std::istream& in)
58861 : {
58862 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
58863 1 : EasyStorage < SgNodePtrList > :: readFromFile(in) ;
58864 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
58865 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
58866 1 : }
58867 :
58868 :
58869 :
58870 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58871 :
58872 :
58873 : // ********************************************************
58874 :
58875 : /* #line 58876 "../../../src/frontend/SageIII//StorageClasses.C" */
58876 :
58877 :
58878 :
58879 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58880 :
58881 : // ****************************************************************
58882 : // member functions definition specific to each node in the grammar
58883 : // these are the SgCompoundLiteralExpStorageClass parts !!!!
58884 : // ROSETTA generated code. Do not change by hand.
58885 : // ****************************************************************
58886 :
58887 :
58888 : /* #line 58889 "../../../src/frontend/SageIII//StorageClasses.C" */
58889 :
58890 :
58891 : void
58892 0 : SgCompoundLiteralExpStorageClass::pickOutIRNodeData ( SgCompoundLiteralExp* pointer )
58893 : {
58894 0 : SgCompoundLiteralExp* source = (SgCompoundLiteralExp*) (pointer);
58895 : #if FILE_IO_EXTRA_CHECK
58896 0 : assert ( source != NULL ) ;
58897 0 : assert ( source->p_freepointer != NULL) ;
58898 : #endif
58899 0 : storageOf_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol );
58900 0 : storageOf_need_paren = source->p_need_paren ;
58901 0 : storageOf_lvalue = source->p_lvalue ;
58902 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
58903 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
58904 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
58905 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
58906 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
58907 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
58908 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
58909 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
58910 0 : storageOf_isModified = source->p_isModified ;
58911 0 : storageOf_containsTransformation = source->p_containsTransformation ;
58912 0 : }
58913 :
58914 : void
58915 0 : SgCompoundLiteralExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
58916 : {
58917 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
58918 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
58919 0 : }
58920 :
58921 : void
58922 2 : SgCompoundLiteralExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
58923 : {
58924 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
58925 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
58926 2 : }
58927 :
58928 : void
58929 0 : SgCompoundLiteralExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
58930 : {
58931 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
58932 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
58933 0 : }
58934 :
58935 :
58936 : void
58937 0 : SgCompoundLiteralExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
58938 : {
58939 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
58940 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
58941 0 : }
58942 :
58943 :
58944 :
58945 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58946 :
58947 :
58948 : // ********************************************************
58949 :
58950 : /* #line 58951 "../../../src/frontend/SageIII//StorageClasses.C" */
58951 :
58952 :
58953 :
58954 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
58955 :
58956 : // ****************************************************************
58957 : // member functions definition specific to each node in the grammar
58958 : // these are the SgTypeExpressionStorageClass parts !!!!
58959 : // ROSETTA generated code. Do not change by hand.
58960 : // ****************************************************************
58961 :
58962 :
58963 : /* #line 58964 "../../../src/frontend/SageIII//StorageClasses.C" */
58964 :
58965 :
58966 : void
58967 0 : SgTypeExpressionStorageClass::pickOutIRNodeData ( SgTypeExpression* pointer )
58968 : {
58969 0 : SgTypeExpression* source = (SgTypeExpression*) (pointer);
58970 : #if FILE_IO_EXTRA_CHECK
58971 0 : assert ( source != NULL ) ;
58972 0 : assert ( source->p_freepointer != NULL) ;
58973 : #endif
58974 0 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
58975 0 : storageOf_need_paren = source->p_need_paren ;
58976 0 : storageOf_lvalue = source->p_lvalue ;
58977 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
58978 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
58979 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
58980 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
58981 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
58982 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
58983 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
58984 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
58985 0 : storageOf_isModified = source->p_isModified ;
58986 0 : storageOf_containsTransformation = source->p_containsTransformation ;
58987 0 : }
58988 :
58989 : void
58990 0 : SgTypeExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
58991 : {
58992 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
58993 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
58994 0 : }
58995 :
58996 : void
58997 2 : SgTypeExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
58998 : {
58999 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
59000 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59001 2 : }
59002 :
59003 : void
59004 0 : SgTypeExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59005 : {
59006 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
59007 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59008 0 : }
59009 :
59010 :
59011 : void
59012 0 : SgTypeExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
59013 : {
59014 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
59015 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59016 0 : }
59017 :
59018 :
59019 :
59020 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59021 :
59022 :
59023 : // ********************************************************
59024 :
59025 : /* #line 59026 "../../../src/frontend/SageIII//StorageClasses.C" */
59026 :
59027 :
59028 :
59029 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59030 :
59031 : // ****************************************************************
59032 : // member functions definition specific to each node in the grammar
59033 : // these are the SgClassExpStorageClass parts !!!!
59034 : // ROSETTA generated code. Do not change by hand.
59035 : // ****************************************************************
59036 :
59037 :
59038 : /* #line 59039 "../../../src/frontend/SageIII//StorageClasses.C" */
59039 :
59040 :
59041 : void
59042 0 : SgClassExpStorageClass::pickOutIRNodeData ( SgClassExp* pointer )
59043 : {
59044 0 : SgClassExp* source = (SgClassExp*) (pointer);
59045 : #if FILE_IO_EXTRA_CHECK
59046 0 : assert ( source != NULL ) ;
59047 0 : assert ( source->p_freepointer != NULL) ;
59048 : #endif
59049 0 : storageOf_class_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_class_symbol );
59050 0 : storageOf_pobj_class = source->p_pobj_class ;
59051 0 : storageOf_need_paren = source->p_need_paren ;
59052 0 : storageOf_lvalue = source->p_lvalue ;
59053 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
59054 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
59055 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
59056 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
59057 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
59058 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59059 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
59060 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59061 0 : storageOf_isModified = source->p_isModified ;
59062 0 : storageOf_containsTransformation = source->p_containsTransformation ;
59063 0 : }
59064 :
59065 : void
59066 0 : SgClassExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59067 : {
59068 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
59069 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59070 0 : }
59071 :
59072 : void
59073 2 : SgClassExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59074 : {
59075 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
59076 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59077 2 : }
59078 :
59079 : void
59080 0 : SgClassExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59081 : {
59082 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
59083 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59084 0 : }
59085 :
59086 :
59087 : void
59088 0 : SgClassExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
59089 : {
59090 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
59091 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59092 0 : }
59093 :
59094 :
59095 :
59096 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59097 :
59098 :
59099 : // ********************************************************
59100 :
59101 : /* #line 59102 "../../../src/frontend/SageIII//StorageClasses.C" */
59102 :
59103 :
59104 :
59105 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59106 :
59107 : // ****************************************************************
59108 : // member functions definition specific to each node in the grammar
59109 : // these are the SgFunctionParameterRefExpStorageClass parts !!!!
59110 : // ROSETTA generated code. Do not change by hand.
59111 : // ****************************************************************
59112 :
59113 :
59114 : /* #line 59115 "../../../src/frontend/SageIII//StorageClasses.C" */
59115 :
59116 :
59117 : void
59118 67 : SgFunctionParameterRefExpStorageClass::pickOutIRNodeData ( SgFunctionParameterRefExp* pointer )
59119 : {
59120 67 : SgFunctionParameterRefExp* source = (SgFunctionParameterRefExp*) (pointer);
59121 : #if FILE_IO_EXTRA_CHECK
59122 67 : assert ( source != NULL ) ;
59123 67 : assert ( source->p_freepointer != NULL) ;
59124 : #endif
59125 67 : storageOf_parameter_number = source->p_parameter_number ;
59126 67 : storageOf_parameter_levels_up = source->p_parameter_levels_up ;
59127 67 : storageOf_parameter_expression = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameter_expression );
59128 67 : storageOf_parameter_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parameter_type );
59129 67 : storageOf_need_paren = source->p_need_paren ;
59130 67 : storageOf_lvalue = source->p_lvalue ;
59131 67 : storageOf_global_qualified_name = source->p_global_qualified_name ;
59132 67 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
59133 67 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
59134 67 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
59135 67 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
59136 67 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59137 67 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
59138 67 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59139 67 : storageOf_isModified = source->p_isModified ;
59140 67 : storageOf_containsTransformation = source->p_containsTransformation ;
59141 67 : }
59142 :
59143 : void
59144 0 : SgFunctionParameterRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59145 : {
59146 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
59147 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59148 0 : }
59149 :
59150 : void
59151 2 : SgFunctionParameterRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59152 : {
59153 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
59154 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59155 2 : }
59156 :
59157 : void
59158 1 : SgFunctionParameterRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59159 : {
59160 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
59161 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59162 1 : }
59163 :
59164 :
59165 : void
59166 1 : SgFunctionParameterRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
59167 : {
59168 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
59169 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59170 1 : }
59171 :
59172 :
59173 :
59174 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59175 :
59176 :
59177 : // ********************************************************
59178 :
59179 : /* #line 59180 "../../../src/frontend/SageIII//StorageClasses.C" */
59180 :
59181 :
59182 :
59183 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59184 :
59185 : // ****************************************************************
59186 : // member functions definition specific to each node in the grammar
59187 : // these are the SgLambdaExpStorageClass parts !!!!
59188 : // ROSETTA generated code. Do not change by hand.
59189 : // ****************************************************************
59190 :
59191 :
59192 : /* #line 59193 "../../../src/frontend/SageIII//StorageClasses.C" */
59193 :
59194 :
59195 : void
59196 0 : SgLambdaExpStorageClass::pickOutIRNodeData ( SgLambdaExp* pointer )
59197 : {
59198 0 : SgLambdaExp* source = (SgLambdaExp*) (pointer);
59199 : #if FILE_IO_EXTRA_CHECK
59200 0 : assert ( source != NULL ) ;
59201 0 : assert ( source->p_freepointer != NULL) ;
59202 : #endif
59203 0 : storageOf_lambda_capture_list = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lambda_capture_list );
59204 0 : storageOf_lambda_closure_class = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lambda_closure_class );
59205 0 : storageOf_lambda_function = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_lambda_function );
59206 0 : storageOf_is_mutable = source->p_is_mutable ;
59207 0 : storageOf_capture_default = source->p_capture_default ;
59208 0 : storageOf_default_is_by_reference = source->p_default_is_by_reference ;
59209 0 : storageOf_explicit_return_type = source->p_explicit_return_type ;
59210 0 : storageOf_has_parameter_decl = source->p_has_parameter_decl ;
59211 0 : storageOf_is_device = source->p_is_device ;
59212 0 : storageOf_need_paren = source->p_need_paren ;
59213 0 : storageOf_lvalue = source->p_lvalue ;
59214 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
59215 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
59216 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
59217 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
59218 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
59219 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59220 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
59221 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59222 0 : storageOf_isModified = source->p_isModified ;
59223 0 : storageOf_containsTransformation = source->p_containsTransformation ;
59224 0 : }
59225 :
59226 : void
59227 0 : SgLambdaExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59228 : {
59229 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
59230 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59231 0 : }
59232 :
59233 : void
59234 2 : SgLambdaExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59235 : {
59236 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
59237 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59238 2 : }
59239 :
59240 : void
59241 0 : SgLambdaExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59242 : {
59243 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
59244 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59245 0 : }
59246 :
59247 :
59248 : void
59249 0 : SgLambdaExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
59250 : {
59251 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
59252 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59253 0 : }
59254 :
59255 :
59256 :
59257 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59258 :
59259 :
59260 : // ********************************************************
59261 :
59262 : /* #line 59263 "../../../src/frontend/SageIII//StorageClasses.C" */
59263 :
59264 :
59265 :
59266 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59267 :
59268 : // ****************************************************************
59269 : // member functions definition specific to each node in the grammar
59270 : // these are the SgNoexceptOpStorageClass parts !!!!
59271 : // ROSETTA generated code. Do not change by hand.
59272 : // ****************************************************************
59273 :
59274 :
59275 : /* #line 59276 "../../../src/frontend/SageIII//StorageClasses.C" */
59276 :
59277 :
59278 : void
59279 18 : SgNoexceptOpStorageClass::pickOutIRNodeData ( SgNoexceptOp* pointer )
59280 : {
59281 18 : SgNoexceptOp* source = (SgNoexceptOp*) (pointer);
59282 : #if FILE_IO_EXTRA_CHECK
59283 18 : assert ( source != NULL ) ;
59284 18 : assert ( source->p_freepointer != NULL) ;
59285 : #endif
59286 18 : storageOf_operand_expr = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operand_expr );
59287 18 : storageOf_need_paren = source->p_need_paren ;
59288 18 : storageOf_lvalue = source->p_lvalue ;
59289 18 : storageOf_global_qualified_name = source->p_global_qualified_name ;
59290 18 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
59291 18 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
59292 18 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
59293 18 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
59294 18 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59295 18 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
59296 18 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59297 18 : storageOf_isModified = source->p_isModified ;
59298 18 : storageOf_containsTransformation = source->p_containsTransformation ;
59299 18 : }
59300 :
59301 : void
59302 0 : SgNoexceptOpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59303 : {
59304 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
59305 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59306 0 : }
59307 :
59308 : void
59309 2 : SgNoexceptOpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59310 : {
59311 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
59312 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59313 2 : }
59314 :
59315 : void
59316 1 : SgNoexceptOpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59317 : {
59318 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
59319 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59320 1 : }
59321 :
59322 :
59323 : void
59324 1 : SgNoexceptOpStorageClass::readEasyStorageDataFromFile (std::istream& in)
59325 : {
59326 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
59327 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59328 1 : }
59329 :
59330 :
59331 :
59332 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59333 :
59334 :
59335 : // ********************************************************
59336 :
59337 : /* #line 59338 "../../../src/frontend/SageIII//StorageClasses.C" */
59338 :
59339 :
59340 :
59341 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59342 :
59343 : // ****************************************************************
59344 : // member functions definition specific to each node in the grammar
59345 : // these are the SgNonrealRefExpStorageClass parts !!!!
59346 : // ROSETTA generated code. Do not change by hand.
59347 : // ****************************************************************
59348 :
59349 :
59350 : /* #line 59351 "../../../src/frontend/SageIII//StorageClasses.C" */
59351 :
59352 :
59353 : void
59354 1494 : SgNonrealRefExpStorageClass::pickOutIRNodeData ( SgNonrealRefExp* pointer )
59355 : {
59356 1494 : SgNonrealRefExp* source = (SgNonrealRefExp*) (pointer);
59357 : #if FILE_IO_EXTRA_CHECK
59358 1494 : assert ( source != NULL ) ;
59359 1494 : assert ( source->p_freepointer != NULL) ;
59360 : #endif
59361 1494 : storageOf_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_symbol );
59362 1494 : storageOf_name_qualification_length = source->p_name_qualification_length ;
59363 1494 : storageOf_type_elaboration_required = source->p_type_elaboration_required ;
59364 1494 : storageOf_global_qualification_required = source->p_global_qualification_required ;
59365 1494 : storageOf_need_paren = source->p_need_paren ;
59366 1494 : storageOf_lvalue = source->p_lvalue ;
59367 1494 : storageOf_global_qualified_name = source->p_global_qualified_name ;
59368 1494 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
59369 1494 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
59370 1494 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
59371 1494 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
59372 1494 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59373 1494 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
59374 1494 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59375 1494 : storageOf_isModified = source->p_isModified ;
59376 1494 : storageOf_containsTransformation = source->p_containsTransformation ;
59377 1494 : }
59378 :
59379 : void
59380 0 : SgNonrealRefExpStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59381 : {
59382 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
59383 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59384 0 : }
59385 :
59386 : void
59387 2 : SgNonrealRefExpStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59388 : {
59389 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
59390 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59391 2 : }
59392 :
59393 : void
59394 1 : SgNonrealRefExpStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59395 : {
59396 1 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
59397 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59398 1 : }
59399 :
59400 :
59401 : void
59402 1 : SgNonrealRefExpStorageClass::readEasyStorageDataFromFile (std::istream& in)
59403 : {
59404 1 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
59405 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59406 1 : }
59407 :
59408 :
59409 :
59410 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59411 :
59412 :
59413 : // ********************************************************
59414 :
59415 : /* #line 59416 "../../../src/frontend/SageIII//StorageClasses.C" */
59416 :
59417 :
59418 :
59419 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59420 :
59421 : // ****************************************************************
59422 : // member functions definition specific to each node in the grammar
59423 : // these are the SgFoldExpressionStorageClass parts !!!!
59424 : // ROSETTA generated code. Do not change by hand.
59425 : // ****************************************************************
59426 :
59427 :
59428 : /* #line 59429 "../../../src/frontend/SageIII//StorageClasses.C" */
59429 :
59430 :
59431 : void
59432 0 : SgFoldExpressionStorageClass::pickOutIRNodeData ( SgFoldExpression* pointer )
59433 : {
59434 0 : SgFoldExpression* source = (SgFoldExpression*) (pointer);
59435 : #if FILE_IO_EXTRA_CHECK
59436 0 : assert ( source != NULL ) ;
59437 0 : assert ( source->p_freepointer != NULL) ;
59438 : #endif
59439 0 : storageOf_operands = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operands );
59440 0 : storageOf_operator_token.storeDataInEasyStorageClass(source->p_operator_token);
59441 0 : storageOf_is_left_associative = source->p_is_left_associative ;
59442 0 : storageOf_need_paren = source->p_need_paren ;
59443 0 : storageOf_lvalue = source->p_lvalue ;
59444 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
59445 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
59446 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
59447 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
59448 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
59449 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59450 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
59451 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59452 0 : storageOf_isModified = source->p_isModified ;
59453 0 : storageOf_containsTransformation = source->p_containsTransformation ;
59454 0 : }
59455 :
59456 : void
59457 0 : SgFoldExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59458 : {
59459 0 : EasyStorage < std::string > :: arrangeMemoryPoolInOneBlock() ;
59460 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
59461 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59462 0 : }
59463 :
59464 : void
59465 2 : SgFoldExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59466 : {
59467 2 : EasyStorage < std::string > :: deleteMemoryPool() ;
59468 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
59469 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59470 2 : }
59471 :
59472 : void
59473 0 : SgFoldExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59474 : {
59475 0 : EasyStorage < std::string > :: writeToFile(out) ;
59476 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
59477 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59478 0 : }
59479 :
59480 :
59481 : void
59482 0 : SgFoldExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
59483 : {
59484 0 : EasyStorage < std::string > :: readFromFile(in) ;
59485 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
59486 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59487 0 : }
59488 :
59489 :
59490 :
59491 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59492 :
59493 :
59494 : // ********************************************************
59495 :
59496 : /* #line 59497 "../../../src/frontend/SageIII//StorageClasses.C" */
59497 :
59498 :
59499 :
59500 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59501 :
59502 : // ****************************************************************
59503 : // member functions definition specific to each node in the grammar
59504 : // these are the SgAwaitExpressionStorageClass parts !!!!
59505 : // ROSETTA generated code. Do not change by hand.
59506 : // ****************************************************************
59507 :
59508 :
59509 : /* #line 59510 "../../../src/frontend/SageIII//StorageClasses.C" */
59510 :
59511 :
59512 : void
59513 0 : SgAwaitExpressionStorageClass::pickOutIRNodeData ( SgAwaitExpression* pointer )
59514 : {
59515 0 : SgAwaitExpression* source = (SgAwaitExpression*) (pointer);
59516 : #if FILE_IO_EXTRA_CHECK
59517 0 : assert ( source != NULL ) ;
59518 0 : assert ( source->p_freepointer != NULL) ;
59519 : #endif
59520 0 : storageOf_value = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_value );
59521 0 : storageOf_need_paren = source->p_need_paren ;
59522 0 : storageOf_lvalue = source->p_lvalue ;
59523 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
59524 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
59525 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
59526 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
59527 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
59528 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59529 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
59530 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59531 0 : storageOf_isModified = source->p_isModified ;
59532 0 : storageOf_containsTransformation = source->p_containsTransformation ;
59533 0 : }
59534 :
59535 : void
59536 0 : SgAwaitExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59537 : {
59538 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
59539 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59540 0 : }
59541 :
59542 : void
59543 2 : SgAwaitExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59544 : {
59545 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
59546 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59547 2 : }
59548 :
59549 : void
59550 0 : SgAwaitExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59551 : {
59552 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
59553 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59554 0 : }
59555 :
59556 :
59557 : void
59558 0 : SgAwaitExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
59559 : {
59560 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
59561 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59562 0 : }
59563 :
59564 :
59565 :
59566 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59567 :
59568 :
59569 : // ********************************************************
59570 :
59571 : /* #line 59572 "../../../src/frontend/SageIII//StorageClasses.C" */
59572 :
59573 :
59574 :
59575 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59576 :
59577 : // ****************************************************************
59578 : // member functions definition specific to each node in the grammar
59579 : // these are the SgChooseExpressionStorageClass parts !!!!
59580 : // ROSETTA generated code. Do not change by hand.
59581 : // ****************************************************************
59582 :
59583 :
59584 : /* #line 59585 "../../../src/frontend/SageIII//StorageClasses.C" */
59585 :
59586 :
59587 : void
59588 0 : SgChooseExpressionStorageClass::pickOutIRNodeData ( SgChooseExpression* pointer )
59589 : {
59590 0 : SgChooseExpression* source = (SgChooseExpression*) (pointer);
59591 : #if FILE_IO_EXTRA_CHECK
59592 0 : assert ( source != NULL ) ;
59593 0 : assert ( source->p_freepointer != NULL) ;
59594 : #endif
59595 0 : storageOf_value = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_value );
59596 0 : storageOf_need_paren = source->p_need_paren ;
59597 0 : storageOf_lvalue = source->p_lvalue ;
59598 0 : storageOf_global_qualified_name = source->p_global_qualified_name ;
59599 0 : storageOf_operatorPosition = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_operatorPosition );
59600 0 : storageOf_startOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_startOfConstruct );
59601 0 : storageOf_endOfConstruct = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_endOfConstruct );
59602 0 : storageOf_attachedPreprocessingInfoPtr.storeDataInEasyStorageClass(source->p_attachedPreprocessingInfoPtr);
59603 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59604 0 : storageOf_containsTransformationToSurroundingWhitespace = source->p_containsTransformationToSurroundingWhitespace ;
59605 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59606 0 : storageOf_isModified = source->p_isModified ;
59607 0 : storageOf_containsTransformation = source->p_containsTransformation ;
59608 0 : }
59609 :
59610 : void
59611 0 : SgChooseExpressionStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59612 : {
59613 0 : EasyStorage < AttachedPreprocessingInfoType* > :: arrangeMemoryPoolInOneBlock() ;
59614 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59615 0 : }
59616 :
59617 : void
59618 2 : SgChooseExpressionStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59619 : {
59620 2 : EasyStorage < AttachedPreprocessingInfoType* > :: deleteMemoryPool() ;
59621 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59622 2 : }
59623 :
59624 : void
59625 0 : SgChooseExpressionStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59626 : {
59627 0 : EasyStorage < AttachedPreprocessingInfoType* > :: writeToFile(out) ;
59628 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59629 0 : }
59630 :
59631 :
59632 : void
59633 0 : SgChooseExpressionStorageClass::readEasyStorageDataFromFile (std::istream& in)
59634 : {
59635 0 : EasyStorage < AttachedPreprocessingInfoType* > :: readFromFile(in) ;
59636 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59637 0 : }
59638 :
59639 :
59640 :
59641 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59642 :
59643 :
59644 : // ********************************************************
59645 :
59646 : /* #line 59647 "../../../src/frontend/SageIII//StorageClasses.C" */
59647 :
59648 :
59649 :
59650 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59651 :
59652 : // ****************************************************************
59653 : // member functions definition specific to each node in the grammar
59654 : // these are the SgSymbolStorageClass parts !!!!
59655 : // ROSETTA generated code. Do not change by hand.
59656 : // ****************************************************************
59657 :
59658 :
59659 : /* #line 59660 "../../../src/frontend/SageIII//StorageClasses.C" */
59660 :
59661 :
59662 : void
59663 0 : SgSymbolStorageClass::pickOutIRNodeData ( SgSymbol* pointer )
59664 : {
59665 0 : SgSymbol* source = (SgSymbol*) (pointer);
59666 : #if FILE_IO_EXTRA_CHECK
59667 0 : assert ( source != NULL ) ;
59668 0 : assert ( source->p_freepointer != NULL) ;
59669 : #endif
59670 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59671 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59672 0 : storageOf_isModified = source->p_isModified ;
59673 0 : storageOf_containsTransformation = source->p_containsTransformation ;
59674 0 : }
59675 :
59676 : void
59677 0 : SgSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59678 : {
59679 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59680 0 : }
59681 :
59682 : void
59683 0 : SgSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59684 : {
59685 0 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59686 0 : }
59687 :
59688 : void
59689 0 : SgSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59690 : {
59691 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59692 0 : }
59693 :
59694 :
59695 : void
59696 0 : SgSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
59697 : {
59698 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59699 0 : }
59700 :
59701 :
59702 :
59703 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59704 :
59705 :
59706 : // ********************************************************
59707 :
59708 : /* #line 59709 "../../../src/frontend/SageIII//StorageClasses.C" */
59709 :
59710 :
59711 :
59712 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59713 :
59714 : // ****************************************************************
59715 : // member functions definition specific to each node in the grammar
59716 : // these are the SgVariableSymbolStorageClass parts !!!!
59717 : // ROSETTA generated code. Do not change by hand.
59718 : // ****************************************************************
59719 :
59720 :
59721 : /* #line 59722 "../../../src/frontend/SageIII//StorageClasses.C" */
59722 :
59723 :
59724 : void
59725 4226 : SgVariableSymbolStorageClass::pickOutIRNodeData ( SgVariableSymbol* pointer )
59726 : {
59727 4226 : SgVariableSymbol* source = (SgVariableSymbol*) (pointer);
59728 : #if FILE_IO_EXTRA_CHECK
59729 4226 : assert ( source != NULL ) ;
59730 4226 : assert ( source->p_freepointer != NULL) ;
59731 : #endif
59732 4226 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
59733 4226 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59734 4226 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59735 4226 : storageOf_isModified = source->p_isModified ;
59736 4226 : storageOf_containsTransformation = source->p_containsTransformation ;
59737 4226 : }
59738 :
59739 : void
59740 0 : SgVariableSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59741 : {
59742 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59743 0 : }
59744 :
59745 : void
59746 2 : SgVariableSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59747 : {
59748 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59749 2 : }
59750 :
59751 : void
59752 2 : SgVariableSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59753 : {
59754 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59755 2 : }
59756 :
59757 :
59758 : void
59759 2 : SgVariableSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
59760 : {
59761 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59762 2 : }
59763 :
59764 :
59765 :
59766 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59767 :
59768 :
59769 : // ********************************************************
59770 :
59771 : /* #line 59772 "../../../src/frontend/SageIII//StorageClasses.C" */
59772 :
59773 :
59774 :
59775 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59776 :
59777 : // ****************************************************************
59778 : // member functions definition specific to each node in the grammar
59779 : // these are the SgTemplateVariableSymbolStorageClass parts !!!!
59780 : // ROSETTA generated code. Do not change by hand.
59781 : // ****************************************************************
59782 :
59783 :
59784 : /* #line 59785 "../../../src/frontend/SageIII//StorageClasses.C" */
59785 :
59786 :
59787 : void
59788 86 : SgTemplateVariableSymbolStorageClass::pickOutIRNodeData ( SgTemplateVariableSymbol* pointer )
59789 : {
59790 86 : SgTemplateVariableSymbol* source = (SgTemplateVariableSymbol*) (pointer);
59791 : #if FILE_IO_EXTRA_CHECK
59792 86 : assert ( source != NULL ) ;
59793 86 : assert ( source->p_freepointer != NULL) ;
59794 : #endif
59795 86 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
59796 86 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59797 86 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59798 86 : storageOf_isModified = source->p_isModified ;
59799 86 : storageOf_containsTransformation = source->p_containsTransformation ;
59800 86 : }
59801 :
59802 : void
59803 0 : SgTemplateVariableSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59804 : {
59805 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59806 0 : }
59807 :
59808 : void
59809 2 : SgTemplateVariableSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59810 : {
59811 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59812 2 : }
59813 :
59814 : void
59815 1 : SgTemplateVariableSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59816 : {
59817 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59818 1 : }
59819 :
59820 :
59821 : void
59822 1 : SgTemplateVariableSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
59823 : {
59824 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59825 1 : }
59826 :
59827 :
59828 :
59829 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59830 :
59831 :
59832 : // ********************************************************
59833 :
59834 : /* #line 59835 "../../../src/frontend/SageIII//StorageClasses.C" */
59835 :
59836 :
59837 :
59838 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59839 :
59840 : // ****************************************************************
59841 : // member functions definition specific to each node in the grammar
59842 : // these are the SgNonrealSymbolStorageClass parts !!!!
59843 : // ROSETTA generated code. Do not change by hand.
59844 : // ****************************************************************
59845 :
59846 :
59847 : /* #line 59848 "../../../src/frontend/SageIII//StorageClasses.C" */
59848 :
59849 :
59850 : void
59851 5080 : SgNonrealSymbolStorageClass::pickOutIRNodeData ( SgNonrealSymbol* pointer )
59852 : {
59853 5080 : SgNonrealSymbol* source = (SgNonrealSymbol*) (pointer);
59854 : #if FILE_IO_EXTRA_CHECK
59855 5080 : assert ( source != NULL ) ;
59856 5080 : assert ( source->p_freepointer != NULL) ;
59857 : #endif
59858 5080 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
59859 5080 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59860 5080 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59861 5080 : storageOf_isModified = source->p_isModified ;
59862 5080 : storageOf_containsTransformation = source->p_containsTransformation ;
59863 5080 : }
59864 :
59865 : void
59866 0 : SgNonrealSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59867 : {
59868 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59869 0 : }
59870 :
59871 : void
59872 2 : SgNonrealSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59873 : {
59874 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59875 2 : }
59876 :
59877 : void
59878 1 : SgNonrealSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59879 : {
59880 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59881 1 : }
59882 :
59883 :
59884 : void
59885 1 : SgNonrealSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
59886 : {
59887 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59888 1 : }
59889 :
59890 :
59891 :
59892 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59893 :
59894 :
59895 : // ********************************************************
59896 :
59897 : /* #line 59898 "../../../src/frontend/SageIII//StorageClasses.C" */
59898 :
59899 :
59900 :
59901 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59902 :
59903 : // ****************************************************************
59904 : // member functions definition specific to each node in the grammar
59905 : // these are the SgFunctionSymbolStorageClass parts !!!!
59906 : // ROSETTA generated code. Do not change by hand.
59907 : // ****************************************************************
59908 :
59909 :
59910 : /* #line 59911 "../../../src/frontend/SageIII//StorageClasses.C" */
59911 :
59912 :
59913 : void
59914 5956 : SgFunctionSymbolStorageClass::pickOutIRNodeData ( SgFunctionSymbol* pointer )
59915 : {
59916 5956 : SgFunctionSymbol* source = (SgFunctionSymbol*) (pointer);
59917 : #if FILE_IO_EXTRA_CHECK
59918 5956 : assert ( source != NULL ) ;
59919 5956 : assert ( source->p_freepointer != NULL) ;
59920 : #endif
59921 5956 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
59922 5956 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59923 5956 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59924 5956 : storageOf_isModified = source->p_isModified ;
59925 5956 : storageOf_containsTransformation = source->p_containsTransformation ;
59926 5956 : }
59927 :
59928 : void
59929 0 : SgFunctionSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59930 : {
59931 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59932 0 : }
59933 :
59934 : void
59935 2 : SgFunctionSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59936 : {
59937 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
59938 2 : }
59939 :
59940 : void
59941 3 : SgFunctionSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
59942 : {
59943 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
59944 3 : }
59945 :
59946 :
59947 : void
59948 2 : SgFunctionSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
59949 : {
59950 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
59951 2 : }
59952 :
59953 :
59954 :
59955 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59956 :
59957 :
59958 : // ********************************************************
59959 :
59960 : /* #line 59961 "../../../src/frontend/SageIII//StorageClasses.C" */
59961 :
59962 :
59963 :
59964 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
59965 :
59966 : // ****************************************************************
59967 : // member functions definition specific to each node in the grammar
59968 : // these are the SgMemberFunctionSymbolStorageClass parts !!!!
59969 : // ROSETTA generated code. Do not change by hand.
59970 : // ****************************************************************
59971 :
59972 :
59973 : /* #line 59974 "../../../src/frontend/SageIII//StorageClasses.C" */
59974 :
59975 :
59976 : void
59977 1953 : SgMemberFunctionSymbolStorageClass::pickOutIRNodeData ( SgMemberFunctionSymbol* pointer )
59978 : {
59979 1953 : SgMemberFunctionSymbol* source = (SgMemberFunctionSymbol*) (pointer);
59980 : #if FILE_IO_EXTRA_CHECK
59981 1953 : assert ( source != NULL ) ;
59982 1953 : assert ( source->p_freepointer != NULL) ;
59983 : #endif
59984 1953 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
59985 1953 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
59986 1953 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
59987 1953 : storageOf_isModified = source->p_isModified ;
59988 1953 : storageOf_containsTransformation = source->p_containsTransformation ;
59989 1953 : }
59990 :
59991 : void
59992 0 : SgMemberFunctionSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
59993 : {
59994 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
59995 0 : }
59996 :
59997 : void
59998 2 : SgMemberFunctionSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
59999 : {
60000 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60001 2 : }
60002 :
60003 : void
60004 1 : SgMemberFunctionSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60005 : {
60006 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60007 1 : }
60008 :
60009 :
60010 : void
60011 1 : SgMemberFunctionSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60012 : {
60013 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60014 1 : }
60015 :
60016 :
60017 :
60018 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60019 :
60020 :
60021 : // ********************************************************
60022 :
60023 : /* #line 60024 "../../../src/frontend/SageIII//StorageClasses.C" */
60024 :
60025 :
60026 :
60027 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60028 :
60029 : // ****************************************************************
60030 : // member functions definition specific to each node in the grammar
60031 : // these are the SgTemplateMemberFunctionSymbolStorageClass parts !!!!
60032 : // ROSETTA generated code. Do not change by hand.
60033 : // ****************************************************************
60034 :
60035 :
60036 : /* #line 60037 "../../../src/frontend/SageIII//StorageClasses.C" */
60037 :
60038 :
60039 : void
60040 1047 : SgTemplateMemberFunctionSymbolStorageClass::pickOutIRNodeData ( SgTemplateMemberFunctionSymbol* pointer )
60041 : {
60042 1047 : SgTemplateMemberFunctionSymbol* source = (SgTemplateMemberFunctionSymbol*) (pointer);
60043 : #if FILE_IO_EXTRA_CHECK
60044 1047 : assert ( source != NULL ) ;
60045 1047 : assert ( source->p_freepointer != NULL) ;
60046 : #endif
60047 1047 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60048 1047 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60049 1047 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60050 1047 : storageOf_isModified = source->p_isModified ;
60051 1047 : storageOf_containsTransformation = source->p_containsTransformation ;
60052 1047 : }
60053 :
60054 : void
60055 0 : SgTemplateMemberFunctionSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60056 : {
60057 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60058 0 : }
60059 :
60060 : void
60061 2 : SgTemplateMemberFunctionSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60062 : {
60063 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60064 2 : }
60065 :
60066 : void
60067 1 : SgTemplateMemberFunctionSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60068 : {
60069 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60070 1 : }
60071 :
60072 :
60073 : void
60074 1 : SgTemplateMemberFunctionSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60075 : {
60076 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60077 1 : }
60078 :
60079 :
60080 :
60081 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60082 :
60083 :
60084 : // ********************************************************
60085 :
60086 : /* #line 60087 "../../../src/frontend/SageIII//StorageClasses.C" */
60087 :
60088 :
60089 :
60090 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60091 :
60092 : // ****************************************************************
60093 : // member functions definition specific to each node in the grammar
60094 : // these are the SgTemplateFunctionSymbolStorageClass parts !!!!
60095 : // ROSETTA generated code. Do not change by hand.
60096 : // ****************************************************************
60097 :
60098 :
60099 : /* #line 60100 "../../../src/frontend/SageIII//StorageClasses.C" */
60100 :
60101 :
60102 : void
60103 340 : SgTemplateFunctionSymbolStorageClass::pickOutIRNodeData ( SgTemplateFunctionSymbol* pointer )
60104 : {
60105 340 : SgTemplateFunctionSymbol* source = (SgTemplateFunctionSymbol*) (pointer);
60106 : #if FILE_IO_EXTRA_CHECK
60107 340 : assert ( source != NULL ) ;
60108 340 : assert ( source->p_freepointer != NULL) ;
60109 : #endif
60110 340 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60111 340 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60112 340 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60113 340 : storageOf_isModified = source->p_isModified ;
60114 340 : storageOf_containsTransformation = source->p_containsTransformation ;
60115 340 : }
60116 :
60117 : void
60118 0 : SgTemplateFunctionSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60119 : {
60120 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60121 0 : }
60122 :
60123 : void
60124 2 : SgTemplateFunctionSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60125 : {
60126 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60127 2 : }
60128 :
60129 : void
60130 1 : SgTemplateFunctionSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60131 : {
60132 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60133 1 : }
60134 :
60135 :
60136 : void
60137 1 : SgTemplateFunctionSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60138 : {
60139 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60140 1 : }
60141 :
60142 :
60143 :
60144 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60145 :
60146 :
60147 : // ********************************************************
60148 :
60149 : /* #line 60150 "../../../src/frontend/SageIII//StorageClasses.C" */
60150 :
60151 :
60152 :
60153 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60154 :
60155 : // ****************************************************************
60156 : // member functions definition specific to each node in the grammar
60157 : // these are the SgRenameSymbolStorageClass parts !!!!
60158 : // ROSETTA generated code. Do not change by hand.
60159 : // ****************************************************************
60160 :
60161 :
60162 : /* #line 60163 "../../../src/frontend/SageIII//StorageClasses.C" */
60163 :
60164 :
60165 : void
60166 0 : SgRenameSymbolStorageClass::pickOutIRNodeData ( SgRenameSymbol* pointer )
60167 : {
60168 0 : SgRenameSymbol* source = (SgRenameSymbol*) (pointer);
60169 : #if FILE_IO_EXTRA_CHECK
60170 0 : assert ( source != NULL ) ;
60171 0 : assert ( source->p_freepointer != NULL) ;
60172 : #endif
60173 0 : storageOf_original_symbol = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_original_symbol );
60174 0 : storageOf_new_name.pickOutIRNodeData( &(source->p_new_name) );
60175 0 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60176 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60177 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60178 0 : storageOf_isModified = source->p_isModified ;
60179 0 : storageOf_containsTransformation = source->p_containsTransformation ;
60180 0 : }
60181 :
60182 : void
60183 0 : SgRenameSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60184 : {
60185 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
60186 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60187 0 : }
60188 :
60189 : void
60190 2 : SgRenameSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60191 : {
60192 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
60193 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60194 2 : }
60195 :
60196 : void
60197 0 : SgRenameSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60198 : {
60199 0 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
60200 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60201 0 : }
60202 :
60203 :
60204 : void
60205 0 : SgRenameSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60206 : {
60207 0 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
60208 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60209 0 : }
60210 :
60211 :
60212 :
60213 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60214 :
60215 :
60216 : // ********************************************************
60217 :
60218 : /* #line 60219 "../../../src/frontend/SageIII//StorageClasses.C" */
60219 :
60220 :
60221 :
60222 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60223 :
60224 : // ****************************************************************
60225 : // member functions definition specific to each node in the grammar
60226 : // these are the SgFunctionTypeSymbolStorageClass parts !!!!
60227 : // ROSETTA generated code. Do not change by hand.
60228 : // ****************************************************************
60229 :
60230 :
60231 : /* #line 60232 "../../../src/frontend/SageIII//StorageClasses.C" */
60232 :
60233 :
60234 : void
60235 9183 : SgFunctionTypeSymbolStorageClass::pickOutIRNodeData ( SgFunctionTypeSymbol* pointer )
60236 : {
60237 9183 : SgFunctionTypeSymbol* source = (SgFunctionTypeSymbol*) (pointer);
60238 : #if FILE_IO_EXTRA_CHECK
60239 9183 : assert ( source != NULL ) ;
60240 9183 : assert ( source->p_freepointer != NULL) ;
60241 : #endif
60242 9183 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
60243 9183 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
60244 9183 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60245 9183 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60246 9183 : storageOf_isModified = source->p_isModified ;
60247 9183 : storageOf_containsTransformation = source->p_containsTransformation ;
60248 9183 : }
60249 :
60250 : void
60251 0 : SgFunctionTypeSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60252 : {
60253 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
60254 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60255 0 : }
60256 :
60257 : void
60258 2 : SgFunctionTypeSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60259 : {
60260 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
60261 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60262 2 : }
60263 :
60264 : void
60265 3 : SgFunctionTypeSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60266 : {
60267 3 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
60268 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60269 3 : }
60270 :
60271 :
60272 : void
60273 2 : SgFunctionTypeSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60274 : {
60275 2 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
60276 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60277 2 : }
60278 :
60279 :
60280 :
60281 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60282 :
60283 :
60284 : // ********************************************************
60285 :
60286 : /* #line 60287 "../../../src/frontend/SageIII//StorageClasses.C" */
60287 :
60288 :
60289 :
60290 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60291 :
60292 : // ****************************************************************
60293 : // member functions definition specific to each node in the grammar
60294 : // these are the SgClassSymbolStorageClass parts !!!!
60295 : // ROSETTA generated code. Do not change by hand.
60296 : // ****************************************************************
60297 :
60298 :
60299 : /* #line 60300 "../../../src/frontend/SageIII//StorageClasses.C" */
60300 :
60301 :
60302 : void
60303 852 : SgClassSymbolStorageClass::pickOutIRNodeData ( SgClassSymbol* pointer )
60304 : {
60305 852 : SgClassSymbol* source = (SgClassSymbol*) (pointer);
60306 : #if FILE_IO_EXTRA_CHECK
60307 852 : assert ( source != NULL ) ;
60308 852 : assert ( source->p_freepointer != NULL) ;
60309 : #endif
60310 852 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60311 852 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60312 852 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60313 852 : storageOf_isModified = source->p_isModified ;
60314 852 : storageOf_containsTransformation = source->p_containsTransformation ;
60315 852 : }
60316 :
60317 : void
60318 0 : SgClassSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60319 : {
60320 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60321 0 : }
60322 :
60323 : void
60324 2 : SgClassSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60325 : {
60326 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60327 2 : }
60328 :
60329 : void
60330 2 : SgClassSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60331 : {
60332 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60333 2 : }
60334 :
60335 :
60336 : void
60337 2 : SgClassSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60338 : {
60339 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60340 2 : }
60341 :
60342 :
60343 :
60344 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60345 :
60346 :
60347 : // ********************************************************
60348 :
60349 : /* #line 60350 "../../../src/frontend/SageIII//StorageClasses.C" */
60350 :
60351 :
60352 :
60353 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60354 :
60355 : // ****************************************************************
60356 : // member functions definition specific to each node in the grammar
60357 : // these are the SgTemplateClassSymbolStorageClass parts !!!!
60358 : // ROSETTA generated code. Do not change by hand.
60359 : // ****************************************************************
60360 :
60361 :
60362 : /* #line 60363 "../../../src/frontend/SageIII//StorageClasses.C" */
60363 :
60364 :
60365 : void
60366 572 : SgTemplateClassSymbolStorageClass::pickOutIRNodeData ( SgTemplateClassSymbol* pointer )
60367 : {
60368 572 : SgTemplateClassSymbol* source = (SgTemplateClassSymbol*) (pointer);
60369 : #if FILE_IO_EXTRA_CHECK
60370 572 : assert ( source != NULL ) ;
60371 572 : assert ( source->p_freepointer != NULL) ;
60372 : #endif
60373 572 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60374 572 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60375 572 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60376 572 : storageOf_isModified = source->p_isModified ;
60377 572 : storageOf_containsTransformation = source->p_containsTransformation ;
60378 572 : }
60379 :
60380 : void
60381 0 : SgTemplateClassSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60382 : {
60383 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60384 0 : }
60385 :
60386 : void
60387 2 : SgTemplateClassSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60388 : {
60389 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60390 2 : }
60391 :
60392 : void
60393 1 : SgTemplateClassSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60394 : {
60395 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60396 1 : }
60397 :
60398 :
60399 : void
60400 1 : SgTemplateClassSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60401 : {
60402 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60403 1 : }
60404 :
60405 :
60406 :
60407 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60408 :
60409 :
60410 : // ********************************************************
60411 :
60412 : /* #line 60413 "../../../src/frontend/SageIII//StorageClasses.C" */
60413 :
60414 :
60415 :
60416 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60417 :
60418 : // ****************************************************************
60419 : // member functions definition specific to each node in the grammar
60420 : // these are the SgTemplateSymbolStorageClass parts !!!!
60421 : // ROSETTA generated code. Do not change by hand.
60422 : // ****************************************************************
60423 :
60424 :
60425 : /* #line 60426 "../../../src/frontend/SageIII//StorageClasses.C" */
60426 :
60427 :
60428 : void
60429 0 : SgTemplateSymbolStorageClass::pickOutIRNodeData ( SgTemplateSymbol* pointer )
60430 : {
60431 0 : SgTemplateSymbol* source = (SgTemplateSymbol*) (pointer);
60432 : #if FILE_IO_EXTRA_CHECK
60433 0 : assert ( source != NULL ) ;
60434 0 : assert ( source->p_freepointer != NULL) ;
60435 : #endif
60436 0 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60437 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60438 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60439 0 : storageOf_isModified = source->p_isModified ;
60440 0 : storageOf_containsTransformation = source->p_containsTransformation ;
60441 0 : }
60442 :
60443 : void
60444 0 : SgTemplateSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60445 : {
60446 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60447 0 : }
60448 :
60449 : void
60450 2 : SgTemplateSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60451 : {
60452 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60453 2 : }
60454 :
60455 : void
60456 0 : SgTemplateSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60457 : {
60458 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60459 0 : }
60460 :
60461 :
60462 : void
60463 0 : SgTemplateSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60464 : {
60465 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60466 0 : }
60467 :
60468 :
60469 :
60470 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60471 :
60472 :
60473 : // ********************************************************
60474 :
60475 : /* #line 60476 "../../../src/frontend/SageIII//StorageClasses.C" */
60476 :
60477 :
60478 :
60479 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60480 :
60481 : // ****************************************************************
60482 : // member functions definition specific to each node in the grammar
60483 : // these are the SgEnumSymbolStorageClass parts !!!!
60484 : // ROSETTA generated code. Do not change by hand.
60485 : // ****************************************************************
60486 :
60487 :
60488 : /* #line 60489 "../../../src/frontend/SageIII//StorageClasses.C" */
60489 :
60490 :
60491 : void
60492 88 : SgEnumSymbolStorageClass::pickOutIRNodeData ( SgEnumSymbol* pointer )
60493 : {
60494 88 : SgEnumSymbol* source = (SgEnumSymbol*) (pointer);
60495 : #if FILE_IO_EXTRA_CHECK
60496 88 : assert ( source != NULL ) ;
60497 88 : assert ( source->p_freepointer != NULL) ;
60498 : #endif
60499 88 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60500 88 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60501 88 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60502 88 : storageOf_isModified = source->p_isModified ;
60503 88 : storageOf_containsTransformation = source->p_containsTransformation ;
60504 88 : }
60505 :
60506 : void
60507 0 : SgEnumSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60508 : {
60509 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60510 0 : }
60511 :
60512 : void
60513 2 : SgEnumSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60514 : {
60515 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60516 2 : }
60517 :
60518 : void
60519 1 : SgEnumSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60520 : {
60521 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60522 1 : }
60523 :
60524 :
60525 : void
60526 1 : SgEnumSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60527 : {
60528 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60529 1 : }
60530 :
60531 :
60532 :
60533 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60534 :
60535 :
60536 : // ********************************************************
60537 :
60538 : /* #line 60539 "../../../src/frontend/SageIII//StorageClasses.C" */
60539 :
60540 :
60541 :
60542 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60543 :
60544 : // ****************************************************************
60545 : // member functions definition specific to each node in the grammar
60546 : // these are the SgEnumFieldSymbolStorageClass parts !!!!
60547 : // ROSETTA generated code. Do not change by hand.
60548 : // ****************************************************************
60549 :
60550 :
60551 : /* #line 60552 "../../../src/frontend/SageIII//StorageClasses.C" */
60552 :
60553 :
60554 : void
60555 279 : SgEnumFieldSymbolStorageClass::pickOutIRNodeData ( SgEnumFieldSymbol* pointer )
60556 : {
60557 279 : SgEnumFieldSymbol* source = (SgEnumFieldSymbol*) (pointer);
60558 : #if FILE_IO_EXTRA_CHECK
60559 279 : assert ( source != NULL ) ;
60560 279 : assert ( source->p_freepointer != NULL) ;
60561 : #endif
60562 279 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60563 279 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60564 279 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60565 279 : storageOf_isModified = source->p_isModified ;
60566 279 : storageOf_containsTransformation = source->p_containsTransformation ;
60567 279 : }
60568 :
60569 : void
60570 0 : SgEnumFieldSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60571 : {
60572 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60573 0 : }
60574 :
60575 : void
60576 2 : SgEnumFieldSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60577 : {
60578 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60579 2 : }
60580 :
60581 : void
60582 1 : SgEnumFieldSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60583 : {
60584 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60585 1 : }
60586 :
60587 :
60588 : void
60589 1 : SgEnumFieldSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60590 : {
60591 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60592 1 : }
60593 :
60594 :
60595 :
60596 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60597 :
60598 :
60599 : // ********************************************************
60600 :
60601 : /* #line 60602 "../../../src/frontend/SageIII//StorageClasses.C" */
60602 :
60603 :
60604 :
60605 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60606 :
60607 : // ****************************************************************
60608 : // member functions definition specific to each node in the grammar
60609 : // these are the SgTypedefSymbolStorageClass parts !!!!
60610 : // ROSETTA generated code. Do not change by hand.
60611 : // ****************************************************************
60612 :
60613 :
60614 : /* #line 60615 "../../../src/frontend/SageIII//StorageClasses.C" */
60615 :
60616 :
60617 : void
60618 1719 : SgTypedefSymbolStorageClass::pickOutIRNodeData ( SgTypedefSymbol* pointer )
60619 : {
60620 1719 : SgTypedefSymbol* source = (SgTypedefSymbol*) (pointer);
60621 : #if FILE_IO_EXTRA_CHECK
60622 1719 : assert ( source != NULL ) ;
60623 1719 : assert ( source->p_freepointer != NULL) ;
60624 : #endif
60625 1719 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60626 1719 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60627 1719 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60628 1719 : storageOf_isModified = source->p_isModified ;
60629 1719 : storageOf_containsTransformation = source->p_containsTransformation ;
60630 1719 : }
60631 :
60632 : void
60633 0 : SgTypedefSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60634 : {
60635 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60636 0 : }
60637 :
60638 : void
60639 2 : SgTypedefSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60640 : {
60641 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60642 2 : }
60643 :
60644 : void
60645 2 : SgTypedefSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60646 : {
60647 2 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60648 2 : }
60649 :
60650 :
60651 : void
60652 2 : SgTypedefSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60653 : {
60654 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60655 2 : }
60656 :
60657 :
60658 :
60659 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60660 :
60661 :
60662 : // ********************************************************
60663 :
60664 : /* #line 60665 "../../../src/frontend/SageIII//StorageClasses.C" */
60665 :
60666 :
60667 :
60668 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60669 :
60670 : // ****************************************************************
60671 : // member functions definition specific to each node in the grammar
60672 : // these are the SgTemplateTypedefSymbolStorageClass parts !!!!
60673 : // ROSETTA generated code. Do not change by hand.
60674 : // ****************************************************************
60675 :
60676 :
60677 : /* #line 60678 "../../../src/frontend/SageIII//StorageClasses.C" */
60678 :
60679 :
60680 : void
60681 160 : SgTemplateTypedefSymbolStorageClass::pickOutIRNodeData ( SgTemplateTypedefSymbol* pointer )
60682 : {
60683 160 : SgTemplateTypedefSymbol* source = (SgTemplateTypedefSymbol*) (pointer);
60684 : #if FILE_IO_EXTRA_CHECK
60685 160 : assert ( source != NULL ) ;
60686 160 : assert ( source->p_freepointer != NULL) ;
60687 : #endif
60688 160 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60689 160 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60690 160 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60691 160 : storageOf_isModified = source->p_isModified ;
60692 160 : storageOf_containsTransformation = source->p_containsTransformation ;
60693 160 : }
60694 :
60695 : void
60696 0 : SgTemplateTypedefSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60697 : {
60698 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60699 0 : }
60700 :
60701 : void
60702 2 : SgTemplateTypedefSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60703 : {
60704 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60705 2 : }
60706 :
60707 : void
60708 1 : SgTemplateTypedefSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60709 : {
60710 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60711 1 : }
60712 :
60713 :
60714 : void
60715 1 : SgTemplateTypedefSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60716 : {
60717 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60718 1 : }
60719 :
60720 :
60721 :
60722 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60723 :
60724 :
60725 : // ********************************************************
60726 :
60727 : /* #line 60728 "../../../src/frontend/SageIII//StorageClasses.C" */
60728 :
60729 :
60730 :
60731 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60732 :
60733 : // ****************************************************************
60734 : // member functions definition specific to each node in the grammar
60735 : // these are the SgLabelSymbolStorageClass parts !!!!
60736 : // ROSETTA generated code. Do not change by hand.
60737 : // ****************************************************************
60738 :
60739 :
60740 : /* #line 60741 "../../../src/frontend/SageIII//StorageClasses.C" */
60741 :
60742 :
60743 : void
60744 0 : SgLabelSymbolStorageClass::pickOutIRNodeData ( SgLabelSymbol* pointer )
60745 : {
60746 0 : SgLabelSymbol* source = (SgLabelSymbol*) (pointer);
60747 : #if FILE_IO_EXTRA_CHECK
60748 0 : assert ( source != NULL ) ;
60749 0 : assert ( source->p_freepointer != NULL) ;
60750 : #endif
60751 0 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60752 0 : storageOf_fortran_statement = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_fortran_statement );
60753 0 : storageOf_fortran_alternate_return_parameter = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_fortran_alternate_return_parameter );
60754 0 : storageOf_numeric_label_value = source->p_numeric_label_value ;
60755 0 : storageOf_label_type = source->p_label_type ;
60756 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60757 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60758 0 : storageOf_isModified = source->p_isModified ;
60759 0 : storageOf_containsTransformation = source->p_containsTransformation ;
60760 0 : }
60761 :
60762 : void
60763 0 : SgLabelSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60764 : {
60765 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60766 0 : }
60767 :
60768 : void
60769 2 : SgLabelSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60770 : {
60771 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60772 2 : }
60773 :
60774 : void
60775 0 : SgLabelSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60776 : {
60777 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60778 0 : }
60779 :
60780 :
60781 : void
60782 0 : SgLabelSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60783 : {
60784 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60785 0 : }
60786 :
60787 :
60788 :
60789 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60790 :
60791 :
60792 : // ********************************************************
60793 :
60794 : /* #line 60795 "../../../src/frontend/SageIII//StorageClasses.C" */
60795 :
60796 :
60797 :
60798 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60799 :
60800 : // ****************************************************************
60801 : // member functions definition specific to each node in the grammar
60802 : // these are the SgDefaultSymbolStorageClass parts !!!!
60803 : // ROSETTA generated code. Do not change by hand.
60804 : // ****************************************************************
60805 :
60806 :
60807 : /* #line 60808 "../../../src/frontend/SageIII//StorageClasses.C" */
60808 :
60809 :
60810 : void
60811 0 : SgDefaultSymbolStorageClass::pickOutIRNodeData ( SgDefaultSymbol* pointer )
60812 : {
60813 0 : SgDefaultSymbol* source = (SgDefaultSymbol*) (pointer);
60814 : #if FILE_IO_EXTRA_CHECK
60815 0 : assert ( source != NULL ) ;
60816 0 : assert ( source->p_freepointer != NULL) ;
60817 : #endif
60818 0 : storageOf_type = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_type );
60819 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60820 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60821 0 : storageOf_isModified = source->p_isModified ;
60822 0 : storageOf_containsTransformation = source->p_containsTransformation ;
60823 0 : }
60824 :
60825 : void
60826 0 : SgDefaultSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60827 : {
60828 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60829 0 : }
60830 :
60831 : void
60832 2 : SgDefaultSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60833 : {
60834 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60835 2 : }
60836 :
60837 : void
60838 0 : SgDefaultSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60839 : {
60840 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60841 0 : }
60842 :
60843 :
60844 : void
60845 0 : SgDefaultSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60846 : {
60847 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60848 0 : }
60849 :
60850 :
60851 :
60852 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60853 :
60854 :
60855 : // ********************************************************
60856 :
60857 : /* #line 60858 "../../../src/frontend/SageIII//StorageClasses.C" */
60858 :
60859 :
60860 :
60861 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60862 :
60863 : // ****************************************************************
60864 : // member functions definition specific to each node in the grammar
60865 : // these are the SgNamespaceSymbolStorageClass parts !!!!
60866 : // ROSETTA generated code. Do not change by hand.
60867 : // ****************************************************************
60868 :
60869 :
60870 : /* #line 60871 "../../../src/frontend/SageIII//StorageClasses.C" */
60871 :
60872 :
60873 : void
60874 14 : SgNamespaceSymbolStorageClass::pickOutIRNodeData ( SgNamespaceSymbol* pointer )
60875 : {
60876 14 : SgNamespaceSymbol* source = (SgNamespaceSymbol*) (pointer);
60877 : #if FILE_IO_EXTRA_CHECK
60878 14 : assert ( source != NULL ) ;
60879 14 : assert ( source->p_freepointer != NULL) ;
60880 : #endif
60881 14 : storageOf_name.pickOutIRNodeData( &(source->p_name) );
60882 14 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60883 14 : storageOf_aliasDeclaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_aliasDeclaration );
60884 14 : storageOf_isAlias = source->p_isAlias ;
60885 14 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60886 14 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60887 14 : storageOf_isModified = source->p_isModified ;
60888 14 : storageOf_containsTransformation = source->p_containsTransformation ;
60889 14 : }
60890 :
60891 : void
60892 0 : SgNamespaceSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60893 : {
60894 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
60895 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60896 0 : }
60897 :
60898 : void
60899 2 : SgNamespaceSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60900 : {
60901 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
60902 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60903 2 : }
60904 :
60905 : void
60906 1 : SgNamespaceSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60907 : {
60908 1 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
60909 1 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60910 1 : }
60911 :
60912 :
60913 : void
60914 1 : SgNamespaceSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60915 : {
60916 1 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
60917 1 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60918 1 : }
60919 :
60920 :
60921 :
60922 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60923 :
60924 :
60925 : // ********************************************************
60926 :
60927 : /* #line 60928 "../../../src/frontend/SageIII//StorageClasses.C" */
60928 :
60929 :
60930 :
60931 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60932 :
60933 : // ****************************************************************
60934 : // member functions definition specific to each node in the grammar
60935 : // these are the SgIntrinsicSymbolStorageClass parts !!!!
60936 : // ROSETTA generated code. Do not change by hand.
60937 : // ****************************************************************
60938 :
60939 :
60940 : /* #line 60941 "../../../src/frontend/SageIII//StorageClasses.C" */
60941 :
60942 :
60943 : void
60944 0 : SgIntrinsicSymbolStorageClass::pickOutIRNodeData ( SgIntrinsicSymbol* pointer )
60945 : {
60946 0 : SgIntrinsicSymbol* source = (SgIntrinsicSymbol*) (pointer);
60947 : #if FILE_IO_EXTRA_CHECK
60948 0 : assert ( source != NULL ) ;
60949 0 : assert ( source->p_freepointer != NULL) ;
60950 : #endif
60951 0 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
60952 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
60953 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
60954 0 : storageOf_isModified = source->p_isModified ;
60955 0 : storageOf_containsTransformation = source->p_containsTransformation ;
60956 0 : }
60957 :
60958 : void
60959 0 : SgIntrinsicSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
60960 : {
60961 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
60962 0 : }
60963 :
60964 : void
60965 2 : SgIntrinsicSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
60966 : {
60967 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
60968 2 : }
60969 :
60970 : void
60971 0 : SgIntrinsicSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
60972 : {
60973 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
60974 0 : }
60975 :
60976 :
60977 : void
60978 0 : SgIntrinsicSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
60979 : {
60980 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
60981 0 : }
60982 :
60983 :
60984 :
60985 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60986 :
60987 :
60988 : // ********************************************************
60989 :
60990 : /* #line 60991 "../../../src/frontend/SageIII//StorageClasses.C" */
60991 :
60992 :
60993 :
60994 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
60995 :
60996 : // ****************************************************************
60997 : // member functions definition specific to each node in the grammar
60998 : // these are the SgModuleSymbolStorageClass parts !!!!
60999 : // ROSETTA generated code. Do not change by hand.
61000 : // ****************************************************************
61001 :
61002 :
61003 : /* #line 61004 "../../../src/frontend/SageIII//StorageClasses.C" */
61004 :
61005 :
61006 : void
61007 0 : SgModuleSymbolStorageClass::pickOutIRNodeData ( SgModuleSymbol* pointer )
61008 : {
61009 0 : SgModuleSymbol* source = (SgModuleSymbol*) (pointer);
61010 : #if FILE_IO_EXTRA_CHECK
61011 0 : assert ( source != NULL ) ;
61012 0 : assert ( source->p_freepointer != NULL) ;
61013 : #endif
61014 0 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
61015 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
61016 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
61017 0 : storageOf_isModified = source->p_isModified ;
61018 0 : storageOf_containsTransformation = source->p_containsTransformation ;
61019 0 : }
61020 :
61021 : void
61022 0 : SgModuleSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
61023 : {
61024 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
61025 0 : }
61026 :
61027 : void
61028 2 : SgModuleSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
61029 : {
61030 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
61031 2 : }
61032 :
61033 : void
61034 0 : SgModuleSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
61035 : {
61036 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
61037 0 : }
61038 :
61039 :
61040 : void
61041 0 : SgModuleSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
61042 : {
61043 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
61044 0 : }
61045 :
61046 :
61047 :
61048 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
61049 :
61050 :
61051 : // ********************************************************
61052 :
61053 : /* #line 61054 "../../../src/frontend/SageIII//StorageClasses.C" */
61054 :
61055 :
61056 :
61057 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
61058 :
61059 : // ****************************************************************
61060 : // member functions definition specific to each node in the grammar
61061 : // these are the SgInterfaceSymbolStorageClass parts !!!!
61062 : // ROSETTA generated code. Do not change by hand.
61063 : // ****************************************************************
61064 :
61065 :
61066 : /* #line 61067 "../../../src/frontend/SageIII//StorageClasses.C" */
61067 :
61068 :
61069 : void
61070 0 : SgInterfaceSymbolStorageClass::pickOutIRNodeData ( SgInterfaceSymbol* pointer )
61071 : {
61072 0 : SgInterfaceSymbol* source = (SgInterfaceSymbol*) (pointer);
61073 : #if FILE_IO_EXTRA_CHECK
61074 0 : assert ( source != NULL ) ;
61075 0 : assert ( source->p_freepointer != NULL) ;
61076 : #endif
61077 0 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
61078 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
61079 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
61080 0 : storageOf_isModified = source->p_isModified ;
61081 0 : storageOf_containsTransformation = source->p_containsTransformation ;
61082 0 : }
61083 :
61084 : void
61085 0 : SgInterfaceSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
61086 : {
61087 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
61088 0 : }
61089 :
61090 : void
61091 2 : SgInterfaceSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
61092 : {
61093 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
61094 2 : }
61095 :
61096 : void
61097 0 : SgInterfaceSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
61098 : {
61099 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
61100 0 : }
61101 :
61102 :
61103 : void
61104 0 : SgInterfaceSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
61105 : {
61106 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
61107 0 : }
61108 :
61109 :
61110 :
61111 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
61112 :
61113 :
61114 : // ********************************************************
61115 :
61116 : /* #line 61117 "../../../src/frontend/SageIII//StorageClasses.C" */
61117 :
61118 :
61119 :
61120 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
61121 :
61122 : // ****************************************************************
61123 : // member functions definition specific to each node in the grammar
61124 : // these are the SgCommonSymbolStorageClass parts !!!!
61125 : // ROSETTA generated code. Do not change by hand.
61126 : // ****************************************************************
61127 :
61128 :
61129 : /* #line 61130 "../../../src/frontend/SageIII//StorageClasses.C" */
61130 :
61131 :
61132 : void
61133 0 : SgCommonSymbolStorageClass::pickOutIRNodeData ( SgCommonSymbol* pointer )
61134 : {
61135 0 : SgCommonSymbol* source = (SgCommonSymbol*) (pointer);
61136 : #if FILE_IO_EXTRA_CHECK
61137 0 : assert ( source != NULL ) ;
61138 0 : assert ( source->p_freepointer != NULL) ;
61139 : #endif
61140 0 : storageOf_declaration = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_declaration );
61141 0 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
61142 0 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
61143 0 : storageOf_isModified = source->p_isModified ;
61144 0 : storageOf_containsTransformation = source->p_containsTransformation ;
61145 0 : }
61146 :
61147 : void
61148 0 : SgCommonSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
61149 : {
61150 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
61151 0 : }
61152 :
61153 : void
61154 2 : SgCommonSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
61155 : {
61156 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
61157 2 : }
61158 :
61159 : void
61160 0 : SgCommonSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
61161 : {
61162 0 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
61163 0 : }
61164 :
61165 :
61166 : void
61167 0 : SgCommonSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
61168 : {
61169 0 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
61170 0 : }
61171 :
61172 :
61173 :
61174 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
61175 :
61176 :
61177 : // ********************************************************
61178 :
61179 : /* #line 61180 "../../../src/frontend/SageIII//StorageClasses.C" */
61180 :
61181 :
61182 :
61183 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
61184 :
61185 : // ****************************************************************
61186 : // member functions definition specific to each node in the grammar
61187 : // these are the SgAliasSymbolStorageClass parts !!!!
61188 : // ROSETTA generated code. Do not change by hand.
61189 : // ****************************************************************
61190 :
61191 :
61192 : /* #line 61193 "../../../src/frontend/SageIII//StorageClasses.C" */
61193 :
61194 :
61195 : void
61196 13985 : SgAliasSymbolStorageClass::pickOutIRNodeData ( SgAliasSymbol* pointer )
61197 : {
61198 13985 : SgAliasSymbol* source = (SgAliasSymbol*) (pointer);
61199 : #if FILE_IO_EXTRA_CHECK
61200 13985 : assert ( source != NULL ) ;
61201 13985 : assert ( source->p_freepointer != NULL) ;
61202 : #endif
61203 13985 : storageOf_alias = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_alias );
61204 13985 : storageOf_isRenamed = source->p_isRenamed ;
61205 13985 : storageOf_new_name.pickOutIRNodeData( &(source->p_new_name) );
61206 13985 : SgNodePtrList::iterator i_causal_nodes = source->p_causal_nodes.begin() ;
61207 13985 : unsigned int tempListCountcausal_nodes = 0;
61208 13985 : SgNodePtrList::value_type * tempListcausal_nodes = new SgNodePtrList::value_type[ source->p_causal_nodes.size() ];
61209 19212 : for ( ; i_causal_nodes != source->p_causal_nodes.end(); ++i_causal_nodes )
61210 : {
61211 5227 : tempListcausal_nodes[tempListCountcausal_nodes] = *i_causal_nodes;
61212 5227 : tempListCountcausal_nodes++;
61213 5227 : (*i_causal_nodes) = (SgNodePtrList::value_type)(AST_FILE_IO::getGlobalIndexFromSgClassPointer ( *i_causal_nodes ) );
61214 : }
61215 13985 : storageOf_causal_nodes.storeDataInEasyStorageClass(source->p_causal_nodes);
61216 13985 : tempListCountcausal_nodes = 0;
61217 13985 : i_causal_nodes = source->p_causal_nodes.begin() ;
61218 19212 : for ( ; i_causal_nodes != source->p_causal_nodes.end(); ++i_causal_nodes )
61219 : {
61220 5227 : *i_causal_nodes = tempListcausal_nodes[tempListCountcausal_nodes] ;
61221 5227 : tempListCountcausal_nodes++;
61222 : }
61223 13985 : delete [] tempListcausal_nodes;
61224 13985 : storageOf_attributeMechanism.storeDataInEasyStorageClass(source->p_attributeMechanism);
61225 13985 : storageOf_parent = AST_FILE_IO::getGlobalIndexFromSgClassPointer ( source->p_parent );
61226 13985 : storageOf_isModified = source->p_isModified ;
61227 13985 : storageOf_containsTransformation = source->p_containsTransformation ;
61228 13985 : }
61229 :
61230 : void
61231 0 : SgAliasSymbolStorageClass::arrangeStaticDataOfEasyStorageClassesInOneBlock ( )
61232 : {
61233 0 : SgNameStorageClass :: arrangeStaticDataOfEasyStorageClassesInOneBlock() ;
61234 0 : EasyStorage < SgNodePtrList > :: arrangeMemoryPoolInOneBlock() ;
61235 0 : EasyStorage < AstAttributeMechanism* > :: arrangeMemoryPoolInOneBlock() ;
61236 0 : }
61237 :
61238 : void
61239 2 : SgAliasSymbolStorageClass::deleteStaticDataOfEasyStorageClasses ( )
61240 : {
61241 2 : SgNameStorageClass :: deleteStaticDataOfEasyStorageClasses() ;
61242 2 : EasyStorage < SgNodePtrList > :: deleteMemoryPool() ;
61243 2 : EasyStorage < AstAttributeMechanism* > :: deleteMemoryPool() ;
61244 2 : }
61245 :
61246 : void
61247 3 : SgAliasSymbolStorageClass::writeEasyStorageDataToFile (std::ostream& out)
61248 : {
61249 3 : SgNameStorageClass :: writeEasyStorageDataToFile(out) ;
61250 3 : EasyStorage < SgNodePtrList > :: writeToFile(out) ;
61251 3 : EasyStorage < AstAttributeMechanism* > :: writeToFile(out) ;
61252 3 : }
61253 :
61254 :
61255 : void
61256 2 : SgAliasSymbolStorageClass::readEasyStorageDataFromFile (std::istream& in)
61257 : {
61258 2 : SgNameStorageClass :: readEasyStorageDataFromFile(in) ;
61259 2 : EasyStorage < SgNodePtrList > :: readFromFile(in) ;
61260 2 : EasyStorage < AstAttributeMechanism* > :: readFromFile(in) ;
61261 2 : }
61262 :
61263 :
61264 :
61265 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarStorageClassDefinitionMacros.macro" */
61266 :
61267 :
61268 : // ********************************************************
61269 :
61270 : /* #line 61271 "../../../src/frontend/SageIII//StorageClasses.C" */
61271 :
61272 :
61273 :
61274 : #endif // STORAGE_CLASSES_H
61275 :
|