Line data Source code
1 : // MACHINE GENERATED SOURCE FILE WITH ROSE (Grammar.h)--- DO NOT MODIFY!
2 :
3 : #include "sage3basic.h"
4 :
5 : #ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
6 : #include "AST_FILE_IO.h"
7 : #endif
8 : // The header file ("rose_config.h") should only be included by source files that require it.
9 : #include "rose_config.h"
10 :
11 : #if _MSC_VER
12 : #define USE_CPP_NEW_DELETE_OPERATORS 0
13 : #endif
14 :
15 : #define ROSE_ALLOC_TRACE 0
16 : #undef mprintf
17 : #define mprintf Rose::Diagnostics::mfprintf(Rose::ir_node_mlog[Rose::Diagnostics::DEBUG])
18 :
19 :
20 : using namespace std;
21 :
22 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
23 :
24 : long
25 0 : SgNode::getChildIndex( SgNode* childNode ) const
26 : {
27 : // ------------ checking pointers of SgNode -------------------
28 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
29 0 : int indexCounter = 0;
30 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
31 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
32 : return -1;
33 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
34 : }
35 :
36 : /* #line 37 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
37 :
38 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
39 :
40 : long
41 0 : SgSupport::getChildIndex( SgNode* childNode ) const
42 : {
43 : // ------------ checking pointers of SgSupport -------------------
44 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
45 0 : int indexCounter = 0;
46 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
47 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
48 : return -1;
49 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
50 : }
51 :
52 : /* #line 53 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
53 :
54 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
55 :
56 : long
57 0 : SgModifier::getChildIndex( SgNode* childNode ) const
58 : {
59 : // ------------ checking pointers of SgModifier -------------------
60 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
61 0 : int indexCounter = 0;
62 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
63 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
64 : return -1;
65 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
66 : }
67 :
68 : /* #line 69 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
69 :
70 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
71 :
72 : long
73 0 : SgModifierNodes::getChildIndex( SgNode* childNode ) const
74 : {
75 : // ------------ checking pointers of SgModifierNodes -------------------
76 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
77 0 : int indexCounter = 0;
78 0 : if ( p_next == childNode ) { return indexCounter; } indexCounter++;
79 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
80 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
81 : return -1;
82 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
83 : }
84 :
85 : /* #line 86 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
86 :
87 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
88 :
89 : long
90 0 : SgConstVolatileModifier::getChildIndex( SgNode* childNode ) const
91 : {
92 : // ------------ checking pointers of SgConstVolatileModifier -------------------
93 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
94 0 : int indexCounter = 0;
95 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
96 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
97 : return -1;
98 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
99 : }
100 :
101 : /* #line 102 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
102 :
103 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
104 :
105 : long
106 0 : SgStorageModifier::getChildIndex( SgNode* childNode ) const
107 : {
108 : // ------------ checking pointers of SgStorageModifier -------------------
109 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
110 0 : int indexCounter = 0;
111 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
112 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
113 : return -1;
114 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
115 : }
116 :
117 : /* #line 118 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
118 :
119 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
120 :
121 : long
122 0 : SgAccessModifier::getChildIndex( SgNode* childNode ) const
123 : {
124 : // ------------ checking pointers of SgAccessModifier -------------------
125 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
126 0 : int indexCounter = 0;
127 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
128 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
129 : return -1;
130 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
131 : }
132 :
133 : /* #line 134 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
134 :
135 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
136 :
137 : long
138 0 : SgFunctionModifier::getChildIndex( SgNode* childNode ) const
139 : {
140 : // ------------ checking pointers of SgFunctionModifier -------------------
141 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
142 0 : int indexCounter = 0;
143 0 : if ( p_opencl_vec_type == childNode ) { return indexCounter; } indexCounter++;
144 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
145 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
146 : return -1;
147 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
148 : }
149 :
150 : /* #line 151 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
151 :
152 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
153 :
154 : long
155 0 : SgUPC_AccessModifier::getChildIndex( SgNode* childNode ) const
156 : {
157 : // ------------ checking pointers of SgUPC_AccessModifier -------------------
158 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
159 0 : int indexCounter = 0;
160 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
161 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
162 : return -1;
163 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
164 : }
165 :
166 : /* #line 167 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
167 :
168 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
169 :
170 : long
171 0 : SgSpecialFunctionModifier::getChildIndex( SgNode* childNode ) const
172 : {
173 : // ------------ checking pointers of SgSpecialFunctionModifier -------------------
174 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
175 0 : int indexCounter = 0;
176 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
177 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
178 : return -1;
179 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
180 : }
181 :
182 : /* #line 183 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
183 :
184 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
185 :
186 : long
187 0 : SgElaboratedTypeModifier::getChildIndex( SgNode* childNode ) const
188 : {
189 : // ------------ checking pointers of SgElaboratedTypeModifier -------------------
190 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
191 0 : int indexCounter = 0;
192 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
193 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
194 : return -1;
195 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
196 : }
197 :
198 : /* #line 199 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
199 :
200 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
201 :
202 : long
203 0 : SgLinkageModifier::getChildIndex( SgNode* childNode ) const
204 : {
205 : // ------------ checking pointers of SgLinkageModifier -------------------
206 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
207 0 : int indexCounter = 0;
208 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
209 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
210 : return -1;
211 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
212 : }
213 :
214 : /* #line 215 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
215 :
216 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
217 :
218 : long
219 0 : SgBaseClassModifier::getChildIndex( SgNode* childNode ) const
220 : {
221 : // ------------ checking pointers of SgBaseClassModifier -------------------
222 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
223 0 : int indexCounter = 0;
224 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
225 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
226 : return -1;
227 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
228 : }
229 :
230 : /* #line 231 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
231 :
232 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
233 :
234 : long
235 0 : SgStructureModifier::getChildIndex( SgNode* childNode ) const
236 : {
237 : // ------------ checking pointers of SgStructureModifier -------------------
238 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
239 0 : int indexCounter = 0;
240 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
241 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
242 : return -1;
243 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
244 : }
245 :
246 : /* #line 247 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
247 :
248 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
249 :
250 : long
251 0 : SgTypeModifier::getChildIndex( SgNode* childNode ) const
252 : {
253 : // ------------ checking pointers of SgTypeModifier -------------------
254 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
255 0 : int indexCounter = 0;
256 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
257 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
258 : return -1;
259 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
260 : }
261 :
262 : /* #line 263 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
263 :
264 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
265 :
266 : long
267 0 : SgDeclarationModifier::getChildIndex( SgNode* childNode ) const
268 : {
269 : // ------------ checking pointers of SgDeclarationModifier -------------------
270 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
271 0 : int indexCounter = 0;
272 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
273 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
274 : return -1;
275 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
276 : }
277 :
278 : /* #line 279 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
279 :
280 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
281 :
282 : long
283 0 : SgOpenclAccessModeModifier::getChildIndex( SgNode* childNode ) const
284 : {
285 : // ------------ checking pointers of SgOpenclAccessModeModifier -------------------
286 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
287 0 : int indexCounter = 0;
288 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
289 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
290 : return -1;
291 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
292 : }
293 :
294 : /* #line 295 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
295 :
296 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
297 :
298 : long
299 0 : SgName::getChildIndex( SgNode* childNode ) const
300 : {
301 : // ------------ checking pointers of SgName -------------------
302 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
303 0 : int indexCounter = 0;
304 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
305 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
306 : return -1;
307 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
308 : }
309 :
310 : /* #line 311 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
311 :
312 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
313 :
314 : long
315 5152 : SgSymbolTable::getChildIndex( SgNode* childNode ) const
316 : {
317 : // ------------ checking pointers of SgSymbolTable -------------------
318 5152 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
319 5152 : int indexCounter = 0;
320 5152 : if ( p_table == NULL )
321 : indexCounter++;
322 : else
323 8048560 : for ( rose_hash_multimap::const_iterator it_table= p_table->begin(); it_table != p_table->end(); ++it_table)
324 : {
325 8043520 : if ( it_table->second == childNode ) { return indexCounter; } indexCounter++;
326 : }
327 5152 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
328 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
329 : return -1;
330 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
331 : }
332 :
333 : /* #line 334 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
334 :
335 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
336 :
337 : long
338 0 : SgAttribute::getChildIndex( SgNode* childNode ) const
339 : {
340 : // ------------ checking pointers of SgAttribute -------------------
341 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
342 0 : int indexCounter = 0;
343 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
344 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
345 : return -1;
346 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
347 : }
348 :
349 : /* #line 350 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
350 :
351 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
352 :
353 : long
354 0 : SgPragma::getChildIndex( SgNode* childNode ) const
355 : {
356 : // ------------ checking pointers of SgPragma -------------------
357 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
358 0 : int indexCounter = 0;
359 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
360 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
361 0 : if ( p_args == childNode ) { return indexCounter; } indexCounter++;
362 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
363 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
364 : return -1;
365 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
366 : }
367 :
368 : /* #line 369 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
369 :
370 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
371 :
372 : long
373 0 : SgBitAttribute::getChildIndex( SgNode* childNode ) const
374 : {
375 : // ------------ checking pointers of SgBitAttribute -------------------
376 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
377 0 : int indexCounter = 0;
378 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
379 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
380 : return -1;
381 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
382 : }
383 :
384 : /* #line 385 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
385 :
386 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
387 :
388 : long
389 0 : SgFuncDecl_attr::getChildIndex( SgNode* childNode ) const
390 : {
391 : // ------------ checking pointers of SgFuncDecl_attr -------------------
392 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
393 0 : int indexCounter = 0;
394 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
395 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
396 : return -1;
397 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
398 : }
399 :
400 : /* #line 401 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
401 :
402 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
403 :
404 : long
405 0 : SgClassDecl_attr::getChildIndex( SgNode* childNode ) const
406 : {
407 : // ------------ checking pointers of SgClassDecl_attr -------------------
408 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
409 0 : int indexCounter = 0;
410 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
411 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
412 : return -1;
413 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
414 : }
415 :
416 : /* #line 417 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
417 :
418 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
419 :
420 : long
421 0 : Sg_File_Info::getChildIndex( SgNode* childNode ) const
422 : {
423 : // ------------ checking pointers of Sg_File_Info -------------------
424 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
425 0 : int indexCounter = 0;
426 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
427 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
428 : return -1;
429 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
430 : }
431 :
432 : /* #line 433 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
433 :
434 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
435 :
436 : long
437 0 : SgFile::getChildIndex( SgNode* childNode ) const
438 : {
439 : // ------------ checking pointers of SgFile -------------------
440 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
441 0 : int indexCounter = 0;
442 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
443 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
444 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
445 : return -1;
446 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
447 : }
448 :
449 : /* #line 450 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
450 :
451 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
452 :
453 : long
454 0 : SgSourceFile::getChildIndex( SgNode* childNode ) const
455 : {
456 : // ------------ checking pointers of SgSourceFile -------------------
457 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
458 0 : int indexCounter = 0;
459 0 : if ( p_globalScope == childNode ) { return indexCounter; } indexCounter++;
460 0 : for ( SgModuleStatementPtrList::const_iterator source_module_list_iterator = p_module_list.begin(); source_module_list_iterator != p_module_list.end(); ++source_module_list_iterator)
461 : {
462 0 : if ( *source_module_list_iterator == childNode ) { return indexCounter; } indexCounter++;
463 : }
464 0 : for ( SgTokenPtrList::const_iterator source_token_list_iterator = p_token_list.begin(); source_token_list_iterator != p_token_list.end(); ++source_token_list_iterator)
465 : {
466 0 : if ( *source_token_list_iterator == childNode ) { return indexCounter; } indexCounter++;
467 : }
468 0 : if ( p_temp_holding_scope == childNode ) { return indexCounter; } indexCounter++;
469 0 : if ( p_headerFileReport == childNode ) { return indexCounter; } indexCounter++;
470 0 : if ( p_associated_include_file == childNode ) { return indexCounter; } indexCounter++;
471 0 : for ( SgNodePtrList::const_iterator source_extra_nodes_for_namequal_init_iterator = p_extra_nodes_for_namequal_init.begin(); source_extra_nodes_for_namequal_init_iterator != p_extra_nodes_for_namequal_init.end(); ++source_extra_nodes_for_namequal_init_iterator)
472 : {
473 0 : if ( *source_extra_nodes_for_namequal_init_iterator == childNode ) { return indexCounter; } indexCounter++;
474 : }
475 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
476 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
477 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
478 : return -1;
479 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
480 : }
481 :
482 : /* #line 483 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
483 :
484 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
485 :
486 : long
487 0 : SgUnknownFile::getChildIndex( SgNode* childNode ) const
488 : {
489 : // ------------ checking pointers of SgUnknownFile -------------------
490 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
491 0 : int indexCounter = 0;
492 0 : if ( p_globalScope == childNode ) { return indexCounter; } indexCounter++;
493 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
494 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
495 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
496 : return -1;
497 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
498 : }
499 :
500 : /* #line 501 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
501 :
502 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
503 :
504 : long
505 362 : SgProject::getChildIndex( SgNode* childNode ) const
506 : {
507 : // ------------ checking pointers of SgProject -------------------
508 362 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
509 362 : int indexCounter = 0;
510 362 : if ( p_fileList_ptr == childNode ) { return indexCounter; } indexCounter++;
511 362 : if ( p_directoryList == childNode ) { return indexCounter; } indexCounter++;
512 362 : if ( p_globalScopeAcrossFiles == childNode ) { return indexCounter; } indexCounter++;
513 362 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
514 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
515 : return -1;
516 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
517 : }
518 :
519 : /* #line 520 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
520 :
521 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
522 :
523 : long
524 0 : SgOptions::getChildIndex( SgNode* childNode ) const
525 : {
526 : // ------------ checking pointers of SgOptions -------------------
527 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
528 0 : int indexCounter = 0;
529 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
530 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
531 : return -1;
532 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
533 : }
534 :
535 : /* #line 536 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
536 :
537 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
538 :
539 : long
540 0 : SgUnparse_Info::getChildIndex( SgNode* childNode ) const
541 : {
542 : // ------------ checking pointers of SgUnparse_Info -------------------
543 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
544 0 : int indexCounter = 0;
545 0 : if ( p_declstatement_ptr == childNode ) { return indexCounter; } indexCounter++;
546 0 : if ( p_declaration_of_context == childNode ) { return indexCounter; } indexCounter++;
547 0 : if ( p_current_context == childNode ) { return indexCounter; } indexCounter++;
548 0 : for ( static SgTypePtrList::const_iterator source_structureTagProcessingList_iterator = p_structureTagProcessingList.begin(); source_structureTagProcessingList_iterator != p_structureTagProcessingList.end(); ++source_structureTagProcessingList_iterator)
549 : {
550 0 : if ( *source_structureTagProcessingList_iterator == childNode ) { return indexCounter; } indexCounter++;
551 : }
552 0 : if ( p_current_namespace == childNode ) { return indexCounter; } indexCounter++;
553 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
554 : {
555 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
556 : }
557 0 : if ( p_current_function_call == childNode ) { return indexCounter; } indexCounter++;
558 0 : if ( p_current_scope == childNode ) { return indexCounter; } indexCounter++;
559 0 : if ( p_reference_node_for_qualification == childNode ) { return indexCounter; } indexCounter++;
560 0 : if ( p_current_source_file == childNode ) { return indexCounter; } indexCounter++;
561 0 : if ( p_declstatement_associated_with_type == childNode ) { return indexCounter; } indexCounter++;
562 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
563 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
564 : return -1;
565 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
566 : }
567 :
568 : /* #line 569 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
569 :
570 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
571 :
572 : long
573 0 : SgBaseClass::getChildIndex( SgNode* childNode ) const
574 : {
575 : // ------------ checking pointers of SgBaseClass -------------------
576 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
577 0 : int indexCounter = 0;
578 0 : if ( p_base_class == childNode ) { return indexCounter; } indexCounter++;
579 0 : if ( p_baseClassModifier == childNode ) { return indexCounter; } indexCounter++;
580 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
581 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
582 : return -1;
583 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
584 : }
585 :
586 : /* #line 587 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
587 :
588 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
589 :
590 : long
591 0 : SgExpBaseClass::getChildIndex( SgNode* childNode ) const
592 : {
593 : // ------------ checking pointers of SgExpBaseClass -------------------
594 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
595 0 : int indexCounter = 0;
596 0 : if ( p_base_class_exp == childNode ) { return indexCounter; } indexCounter++;
597 0 : if ( p_base_class == childNode ) { return indexCounter; } indexCounter++;
598 0 : if ( p_baseClassModifier == childNode ) { return indexCounter; } indexCounter++;
599 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
600 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
601 : return -1;
602 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
603 : }
604 :
605 : /* #line 606 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
606 :
607 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
608 :
609 : long
610 0 : SgNonrealBaseClass::getChildIndex( SgNode* childNode ) const
611 : {
612 : // ------------ checking pointers of SgNonrealBaseClass -------------------
613 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
614 0 : int indexCounter = 0;
615 0 : if ( p_base_class_nonreal == childNode ) { return indexCounter; } indexCounter++;
616 0 : if ( p_base_class == childNode ) { return indexCounter; } indexCounter++;
617 0 : if ( p_baseClassModifier == childNode ) { return indexCounter; } indexCounter++;
618 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
619 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
620 : return -1;
621 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
622 : }
623 :
624 : /* #line 625 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
625 :
626 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
627 :
628 : long
629 0 : SgTypedefSeq::getChildIndex( SgNode* childNode ) const
630 : {
631 : // ------------ checking pointers of SgTypedefSeq -------------------
632 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
633 0 : int indexCounter = 0;
634 0 : for ( SgTypePtrList::const_iterator source_typedefs_iterator = p_typedefs.begin(); source_typedefs_iterator != p_typedefs.end(); ++source_typedefs_iterator)
635 : {
636 0 : if ( *source_typedefs_iterator == childNode ) { return indexCounter; } indexCounter++;
637 : }
638 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
639 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
640 : return -1;
641 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
642 : }
643 :
644 : /* #line 645 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
645 :
646 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
647 :
648 : long
649 0 : SgTemplateParameter::getChildIndex( SgNode* childNode ) const
650 : {
651 : // ------------ checking pointers of SgTemplateParameter -------------------
652 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
653 0 : int indexCounter = 0;
654 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
655 0 : if ( p_defaultTypeParameter == childNode ) { return indexCounter; } indexCounter++;
656 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
657 0 : if ( p_defaultExpressionParameter == childNode ) { return indexCounter; } indexCounter++;
658 0 : if ( p_templateDeclaration == childNode ) { return indexCounter; } indexCounter++;
659 0 : if ( p_defaultTemplateDeclarationParameter == childNode ) { return indexCounter; } indexCounter++;
660 0 : if ( p_initializedName == childNode ) { return indexCounter; } indexCounter++;
661 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
662 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
663 : return -1;
664 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
665 : }
666 :
667 : /* #line 668 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
668 :
669 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
670 :
671 : long
672 0 : SgTemplateArgument::getChildIndex( SgNode* childNode ) const
673 : {
674 : // ------------ checking pointers of SgTemplateArgument -------------------
675 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
676 0 : int indexCounter = 0;
677 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
678 0 : if ( p_unparsable_type_alias == childNode ) { return indexCounter; } indexCounter++;
679 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
680 0 : if ( p_templateDeclaration == childNode ) { return indexCounter; } indexCounter++;
681 0 : if ( p_initializedName == childNode ) { return indexCounter; } indexCounter++;
682 0 : if ( p_previous_instance == childNode ) { return indexCounter; } indexCounter++;
683 0 : if ( p_next_instance == childNode ) { return indexCounter; } indexCounter++;
684 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
685 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
686 : return -1;
687 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
688 : }
689 :
690 : /* #line 691 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
691 :
692 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
693 :
694 : long
695 0 : SgDirectory::getChildIndex( SgNode* childNode ) const
696 : {
697 : // ------------ checking pointers of SgDirectory -------------------
698 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
699 0 : int indexCounter = 0;
700 0 : if ( p_fileList == childNode ) { return indexCounter; } indexCounter++;
701 0 : if ( p_directoryList == childNode ) { return indexCounter; } indexCounter++;
702 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
703 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
704 : return -1;
705 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
706 : }
707 :
708 : /* #line 709 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
709 :
710 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
711 :
712 : long
713 2 : SgFileList::getChildIndex( SgNode* childNode ) const
714 : {
715 : // ------------ checking pointers of SgFileList -------------------
716 2 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
717 2 : int indexCounter = 0;
718 6 : for ( SgFilePtrList::const_iterator source_listOfFiles_iterator = p_listOfFiles.begin(); source_listOfFiles_iterator != p_listOfFiles.end(); ++source_listOfFiles_iterator)
719 : {
720 6 : if ( *source_listOfFiles_iterator == childNode ) { return indexCounter; } indexCounter++;
721 : }
722 2 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
723 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
724 : return -1;
725 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
726 : }
727 :
728 : /* #line 729 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
729 :
730 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
731 :
732 : long
733 0 : SgDirectoryList::getChildIndex( SgNode* childNode ) const
734 : {
735 : // ------------ checking pointers of SgDirectoryList -------------------
736 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
737 0 : int indexCounter = 0;
738 0 : for ( SgDirectoryPtrList::const_iterator source_listOfDirectories_iterator = p_listOfDirectories.begin(); source_listOfDirectories_iterator != p_listOfDirectories.end(); ++source_listOfDirectories_iterator)
739 : {
740 0 : if ( *source_listOfDirectories_iterator == childNode ) { return indexCounter; } indexCounter++;
741 : }
742 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
743 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
744 : return -1;
745 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
746 : }
747 :
748 : /* #line 749 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
749 :
750 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
751 :
752 : long
753 0 : SgFunctionParameterTypeList::getChildIndex( SgNode* childNode ) const
754 : {
755 : // ------------ checking pointers of SgFunctionParameterTypeList -------------------
756 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
757 0 : int indexCounter = 0;
758 0 : for ( SgTypePtrList::const_iterator source_arguments_iterator = p_arguments.begin(); source_arguments_iterator != p_arguments.end(); ++source_arguments_iterator)
759 : {
760 0 : if ( *source_arguments_iterator == childNode ) { return indexCounter; } indexCounter++;
761 : }
762 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
763 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
764 : return -1;
765 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
766 : }
767 :
768 : /* #line 769 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
769 :
770 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
771 :
772 : long
773 0 : SgQualifiedName::getChildIndex( SgNode* childNode ) const
774 : {
775 : // ------------ checking pointers of SgQualifiedName -------------------
776 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
777 0 : int indexCounter = 0;
778 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
779 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
780 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
781 : return -1;
782 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
783 : }
784 :
785 : /* #line 786 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
786 :
787 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
788 :
789 : long
790 0 : SgTemplateArgumentList::getChildIndex( SgNode* childNode ) const
791 : {
792 : // ------------ checking pointers of SgTemplateArgumentList -------------------
793 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
794 0 : int indexCounter = 0;
795 0 : for ( SgTemplateArgumentPtrList::const_iterator source_args_iterator = p_args.begin(); source_args_iterator != p_args.end(); ++source_args_iterator)
796 : {
797 0 : if ( *source_args_iterator == childNode ) { return indexCounter; } indexCounter++;
798 : }
799 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
800 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
801 : return -1;
802 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
803 : }
804 :
805 : /* #line 806 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
806 :
807 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
808 :
809 : long
810 0 : SgTemplateParameterList::getChildIndex( SgNode* childNode ) const
811 : {
812 : // ------------ checking pointers of SgTemplateParameterList -------------------
813 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
814 0 : int indexCounter = 0;
815 0 : for ( SgTemplateParameterPtrList::const_iterator source_args_iterator = p_args.begin(); source_args_iterator != p_args.end(); ++source_args_iterator)
816 : {
817 0 : if ( *source_args_iterator == childNode ) { return indexCounter; } indexCounter++;
818 : }
819 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
820 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
821 : return -1;
822 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
823 : }
824 :
825 : /* #line 826 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
826 :
827 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
828 :
829 : long
830 0 : SgGraph::getChildIndex( SgNode* childNode ) const
831 : {
832 : // ------------ checking pointers of SgGraph -------------------
833 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
834 0 : int indexCounter = 0;
835 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
836 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
837 : return -1;
838 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
839 : }
840 :
841 : /* #line 842 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
842 :
843 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
844 :
845 : long
846 0 : SgIncidenceDirectedGraph::getChildIndex( SgNode* childNode ) const
847 : {
848 : // ------------ checking pointers of SgIncidenceDirectedGraph -------------------
849 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
850 0 : int indexCounter = 0;
851 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
852 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
853 : return -1;
854 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
855 : }
856 :
857 : /* #line 858 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
858 :
859 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
860 :
861 : long
862 0 : SgBidirectionalGraph::getChildIndex( SgNode* childNode ) const
863 : {
864 : // ------------ checking pointers of SgBidirectionalGraph -------------------
865 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
866 0 : int indexCounter = 0;
867 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
868 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
869 : return -1;
870 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
871 : }
872 :
873 : /* #line 874 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
874 :
875 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
876 :
877 : long
878 0 : SgStringKeyedBidirectionalGraph::getChildIndex( SgNode* childNode ) const
879 : {
880 : // ------------ checking pointers of SgStringKeyedBidirectionalGraph -------------------
881 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
882 0 : int indexCounter = 0;
883 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
884 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
885 : return -1;
886 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
887 : }
888 :
889 : /* #line 890 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
890 :
891 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
892 :
893 : long
894 0 : SgIntKeyedBidirectionalGraph::getChildIndex( SgNode* childNode ) const
895 : {
896 : // ------------ checking pointers of SgIntKeyedBidirectionalGraph -------------------
897 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
898 0 : int indexCounter = 0;
899 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
900 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
901 : return -1;
902 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
903 : }
904 :
905 : /* #line 906 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
906 :
907 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
908 :
909 : long
910 0 : SgIncidenceUndirectedGraph::getChildIndex( SgNode* childNode ) const
911 : {
912 : // ------------ checking pointers of SgIncidenceUndirectedGraph -------------------
913 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
914 0 : int indexCounter = 0;
915 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
916 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
917 : return -1;
918 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
919 : }
920 :
921 : /* #line 922 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
922 :
923 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
924 :
925 : long
926 0 : SgGraphNode::getChildIndex( SgNode* childNode ) const
927 : {
928 : // ------------ checking pointers of SgGraphNode -------------------
929 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
930 0 : int indexCounter = 0;
931 0 : if ( p_SgNode == childNode ) { return indexCounter; } indexCounter++;
932 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
933 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
934 : return -1;
935 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
936 : }
937 :
938 : /* #line 939 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
939 :
940 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
941 :
942 : long
943 0 : SgGraphEdge::getChildIndex( SgNode* childNode ) const
944 : {
945 : // ------------ checking pointers of SgGraphEdge -------------------
946 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
947 0 : int indexCounter = 0;
948 0 : if ( p_node_A == childNode ) { return indexCounter; } indexCounter++;
949 0 : if ( p_node_B == childNode ) { return indexCounter; } indexCounter++;
950 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
951 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
952 : return -1;
953 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
954 : }
955 :
956 : /* #line 957 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
957 :
958 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
959 :
960 : long
961 0 : SgDirectedGraphEdge::getChildIndex( SgNode* childNode ) const
962 : {
963 : // ------------ checking pointers of SgDirectedGraphEdge -------------------
964 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
965 0 : int indexCounter = 0;
966 0 : if ( p_node_A == childNode ) { return indexCounter; } indexCounter++;
967 0 : if ( p_node_B == childNode ) { return indexCounter; } indexCounter++;
968 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
969 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
970 : return -1;
971 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
972 : }
973 :
974 : /* #line 975 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
975 :
976 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
977 :
978 : long
979 0 : SgUndirectedGraphEdge::getChildIndex( SgNode* childNode ) const
980 : {
981 : // ------------ checking pointers of SgUndirectedGraphEdge -------------------
982 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
983 0 : int indexCounter = 0;
984 0 : if ( p_node_A == childNode ) { return indexCounter; } indexCounter++;
985 0 : if ( p_node_B == childNode ) { return indexCounter; } indexCounter++;
986 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
987 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
988 : return -1;
989 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
990 : }
991 :
992 : /* #line 993 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
993 :
994 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
995 :
996 : long
997 0 : SgGraphNodeList::getChildIndex( SgNode* childNode ) const
998 : {
999 : // ------------ checking pointers of SgGraphNodeList -------------------
1000 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1001 0 : int indexCounter = 0;
1002 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1003 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1004 : return -1;
1005 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1006 : }
1007 :
1008 : /* #line 1009 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1009 :
1010 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1011 :
1012 : long
1013 0 : SgGraphEdgeList::getChildIndex( SgNode* childNode ) const
1014 : {
1015 : // ------------ checking pointers of SgGraphEdgeList -------------------
1016 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1017 0 : int indexCounter = 0;
1018 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1019 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1020 : return -1;
1021 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1022 : }
1023 :
1024 : /* #line 1025 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1025 :
1026 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1027 :
1028 : long
1029 0 : SgTypeTable::getChildIndex( SgNode* childNode ) const
1030 : {
1031 : // ------------ checking pointers of SgTypeTable -------------------
1032 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1033 0 : int indexCounter = 0;
1034 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
1035 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1036 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1037 : return -1;
1038 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1039 : }
1040 :
1041 : /* #line 1042 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1042 :
1043 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1044 :
1045 : long
1046 0 : SgNameGroup::getChildIndex( SgNode* childNode ) const
1047 : {
1048 : // ------------ checking pointers of SgNameGroup -------------------
1049 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1050 0 : int indexCounter = 0;
1051 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1052 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1053 : return -1;
1054 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1055 : }
1056 :
1057 : /* #line 1058 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1058 :
1059 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1060 :
1061 : long
1062 0 : SgDimensionObject::getChildIndex( SgNode* childNode ) const
1063 : {
1064 : // ------------ checking pointers of SgDimensionObject -------------------
1065 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1066 0 : int indexCounter = 0;
1067 0 : if ( p_array == childNode ) { return indexCounter; } indexCounter++;
1068 0 : if ( p_shape == childNode ) { return indexCounter; } indexCounter++;
1069 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1070 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1071 : return -1;
1072 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1073 : }
1074 :
1075 : /* #line 1076 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1076 :
1077 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1078 :
1079 : long
1080 0 : SgFormatItem::getChildIndex( SgNode* childNode ) const
1081 : {
1082 : // ------------ checking pointers of SgFormatItem -------------------
1083 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1084 0 : int indexCounter = 0;
1085 0 : if ( p_data == childNode ) { return indexCounter; } indexCounter++;
1086 0 : if ( p_format_item_list == childNode ) { return indexCounter; } indexCounter++;
1087 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1088 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1089 : return -1;
1090 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1091 : }
1092 :
1093 : /* #line 1094 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1094 :
1095 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1096 :
1097 : long
1098 0 : SgFormatItemList::getChildIndex( SgNode* childNode ) const
1099 : {
1100 : // ------------ checking pointers of SgFormatItemList -------------------
1101 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1102 0 : int indexCounter = 0;
1103 0 : for ( SgFormatItemPtrList::const_iterator source_format_item_list_iterator = p_format_item_list.begin(); source_format_item_list_iterator != p_format_item_list.end(); ++source_format_item_list_iterator)
1104 : {
1105 0 : if ( *source_format_item_list_iterator == childNode ) { return indexCounter; } indexCounter++;
1106 : }
1107 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1108 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1109 : return -1;
1110 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1111 : }
1112 :
1113 : /* #line 1114 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1114 :
1115 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1116 :
1117 : long
1118 0 : SgDataStatementGroup::getChildIndex( SgNode* childNode ) const
1119 : {
1120 : // ------------ checking pointers of SgDataStatementGroup -------------------
1121 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1122 0 : int indexCounter = 0;
1123 0 : for ( SgDataStatementObjectPtrList::const_iterator source_object_list_iterator = p_object_list.begin(); source_object_list_iterator != p_object_list.end(); ++source_object_list_iterator)
1124 : {
1125 0 : if ( *source_object_list_iterator == childNode ) { return indexCounter; } indexCounter++;
1126 : }
1127 0 : for ( SgDataStatementValuePtrList::const_iterator source_value_list_iterator = p_value_list.begin(); source_value_list_iterator != p_value_list.end(); ++source_value_list_iterator)
1128 : {
1129 0 : if ( *source_value_list_iterator == childNode ) { return indexCounter; } indexCounter++;
1130 : }
1131 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1132 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1133 : return -1;
1134 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1135 : }
1136 :
1137 : /* #line 1138 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1138 :
1139 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1140 :
1141 : long
1142 0 : SgDataStatementObject::getChildIndex( SgNode* childNode ) const
1143 : {
1144 : // ------------ checking pointers of SgDataStatementObject -------------------
1145 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1146 0 : int indexCounter = 0;
1147 0 : if ( p_variableReference_list == childNode ) { return indexCounter; } indexCounter++;
1148 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1149 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1150 : return -1;
1151 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1152 : }
1153 :
1154 : /* #line 1155 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1155 :
1156 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1157 :
1158 : long
1159 1586 : SgIncludeFile::getChildIndex( SgNode* childNode ) const
1160 : {
1161 : // ------------ checking pointers of SgIncludeFile -------------------
1162 1586 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1163 1586 : int indexCounter = 0;
1164 1586 : if ( p_source_file == childNode ) { return indexCounter; } indexCounter++;
1165 6612 : for ( SgIncludeFilePtrList::const_iterator source_include_file_list_iterator = p_include_file_list.begin(); source_include_file_list_iterator != p_include_file_list.end(); ++source_include_file_list_iterator)
1166 : {
1167 5026 : if ( *source_include_file_list_iterator == childNode ) { return indexCounter; } indexCounter++;
1168 : }
1169 1586 : if ( p_source_file_of_translation_unit == childNode ) { return indexCounter; } indexCounter++;
1170 1586 : if ( p_including_source_file == childNode ) { return indexCounter; } indexCounter++;
1171 1586 : if ( p_parent_include_file == childNode ) { return indexCounter; } indexCounter++;
1172 1586 : if ( p_firstStatement == childNode ) { return indexCounter; } indexCounter++;
1173 1586 : if ( p_lastStatement == childNode ) { return indexCounter; } indexCounter++;
1174 1586 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1175 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1176 : return -1;
1177 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1178 : }
1179 :
1180 : /* #line 1181 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1181 :
1182 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1183 :
1184 : long
1185 0 : SgDataStatementValue::getChildIndex( SgNode* childNode ) const
1186 : {
1187 : // ------------ checking pointers of SgDataStatementValue -------------------
1188 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1189 0 : int indexCounter = 0;
1190 0 : if ( p_initializer_list == childNode ) { return indexCounter; } indexCounter++;
1191 0 : if ( p_repeat_expression == childNode ) { return indexCounter; } indexCounter++;
1192 0 : if ( p_constant_expression == childNode ) { return indexCounter; } indexCounter++;
1193 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1194 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1195 : return -1;
1196 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1197 : }
1198 :
1199 : /* #line 1200 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1200 :
1201 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1202 :
1203 : long
1204 0 : SgHeaderFileReport::getChildIndex( SgNode* childNode ) const
1205 : {
1206 : // ------------ checking pointers of SgHeaderFileReport -------------------
1207 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1208 0 : int indexCounter = 0;
1209 0 : if ( p_source_file == childNode ) { return indexCounter; } indexCounter++;
1210 0 : for ( SgSourceFilePtrList::const_iterator source_include_file_list_iterator = p_include_file_list.begin(); source_include_file_list_iterator != p_include_file_list.end(); ++source_include_file_list_iterator)
1211 : {
1212 0 : if ( *source_include_file_list_iterator == childNode ) { return indexCounter; } indexCounter++;
1213 : }
1214 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1215 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1216 : return -1;
1217 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1218 : }
1219 :
1220 : /* #line 1221 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1221 :
1222 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1223 :
1224 : long
1225 0 : SgType::getChildIndex( SgNode* childNode ) const
1226 : {
1227 : // ------------ checking pointers of SgType -------------------
1228 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1229 0 : int indexCounter = 0;
1230 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1231 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1232 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1233 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1234 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1235 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1236 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1237 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1238 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1239 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1240 : return -1;
1241 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1242 : }
1243 :
1244 : /* #line 1245 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1245 :
1246 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1247 :
1248 : long
1249 0 : SgTypeUnknown::getChildIndex( SgNode* childNode ) const
1250 : {
1251 : // ------------ checking pointers of SgTypeUnknown -------------------
1252 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1253 0 : int indexCounter = 0;
1254 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1255 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1256 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1257 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1258 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1259 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1260 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1261 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1262 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1263 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1264 : return -1;
1265 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1266 : }
1267 :
1268 : /* #line 1269 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1269 :
1270 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1271 :
1272 : long
1273 0 : SgTypeChar::getChildIndex( SgNode* childNode ) const
1274 : {
1275 : // ------------ checking pointers of SgTypeChar -------------------
1276 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1277 0 : int indexCounter = 0;
1278 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1279 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1280 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1281 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1282 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1283 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1284 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1285 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1286 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1287 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1288 : return -1;
1289 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1290 : }
1291 :
1292 : /* #line 1293 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1293 :
1294 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1295 :
1296 : long
1297 0 : SgTypeSignedChar::getChildIndex( SgNode* childNode ) const
1298 : {
1299 : // ------------ checking pointers of SgTypeSignedChar -------------------
1300 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1301 0 : int indexCounter = 0;
1302 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1303 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1304 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1305 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1306 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1307 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1308 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1309 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1310 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1311 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1312 : return -1;
1313 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1314 : }
1315 :
1316 : /* #line 1317 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1317 :
1318 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1319 :
1320 : long
1321 0 : SgTypeUnsignedChar::getChildIndex( SgNode* childNode ) const
1322 : {
1323 : // ------------ checking pointers of SgTypeUnsignedChar -------------------
1324 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1325 0 : int indexCounter = 0;
1326 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1327 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1328 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1329 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1330 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1331 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1332 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1333 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1334 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1335 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1336 : return -1;
1337 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1338 : }
1339 :
1340 : /* #line 1341 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1341 :
1342 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1343 :
1344 : long
1345 0 : SgTypeShort::getChildIndex( SgNode* childNode ) const
1346 : {
1347 : // ------------ checking pointers of SgTypeShort -------------------
1348 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1349 0 : int indexCounter = 0;
1350 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1351 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1352 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1353 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1354 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1355 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1356 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1357 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1358 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1359 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1360 : return -1;
1361 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1362 : }
1363 :
1364 : /* #line 1365 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1365 :
1366 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1367 :
1368 : long
1369 0 : SgTypeSignedShort::getChildIndex( SgNode* childNode ) const
1370 : {
1371 : // ------------ checking pointers of SgTypeSignedShort -------------------
1372 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1373 0 : int indexCounter = 0;
1374 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1375 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1376 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1377 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1378 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1379 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1380 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1381 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1382 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1383 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1384 : return -1;
1385 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1386 : }
1387 :
1388 : /* #line 1389 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1389 :
1390 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1391 :
1392 : long
1393 0 : SgTypeUnsignedShort::getChildIndex( SgNode* childNode ) const
1394 : {
1395 : // ------------ checking pointers of SgTypeUnsignedShort -------------------
1396 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1397 0 : int indexCounter = 0;
1398 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1399 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1400 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1401 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1402 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1403 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1404 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1405 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1406 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1407 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1408 : return -1;
1409 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1410 : }
1411 :
1412 : /* #line 1413 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1413 :
1414 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1415 :
1416 : long
1417 0 : SgTypeInt::getChildIndex( SgNode* childNode ) const
1418 : {
1419 : // ------------ checking pointers of SgTypeInt -------------------
1420 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1421 0 : int indexCounter = 0;
1422 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1423 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1424 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1425 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1426 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1427 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1428 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1429 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1430 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1431 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1432 : return -1;
1433 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1434 : }
1435 :
1436 : /* #line 1437 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1437 :
1438 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1439 :
1440 : long
1441 0 : SgTypeSignedInt::getChildIndex( SgNode* childNode ) const
1442 : {
1443 : // ------------ checking pointers of SgTypeSignedInt -------------------
1444 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1445 0 : int indexCounter = 0;
1446 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1447 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1448 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1449 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1450 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1451 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1452 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1453 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1454 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1455 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1456 : return -1;
1457 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1458 : }
1459 :
1460 : /* #line 1461 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1461 :
1462 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1463 :
1464 : long
1465 0 : SgTypeUnsignedInt::getChildIndex( SgNode* childNode ) const
1466 : {
1467 : // ------------ checking pointers of SgTypeUnsignedInt -------------------
1468 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1469 0 : int indexCounter = 0;
1470 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1471 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1472 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1473 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1474 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1475 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1476 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1477 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1478 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1479 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1480 : return -1;
1481 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1482 : }
1483 :
1484 : /* #line 1485 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1485 :
1486 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1487 :
1488 : long
1489 0 : SgTypeLong::getChildIndex( SgNode* childNode ) const
1490 : {
1491 : // ------------ checking pointers of SgTypeLong -------------------
1492 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1493 0 : int indexCounter = 0;
1494 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1495 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1496 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1497 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1498 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1499 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1500 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1501 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1502 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1503 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1504 : return -1;
1505 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1506 : }
1507 :
1508 : /* #line 1509 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1509 :
1510 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1511 :
1512 : long
1513 0 : SgTypeSignedLong::getChildIndex( SgNode* childNode ) const
1514 : {
1515 : // ------------ checking pointers of SgTypeSignedLong -------------------
1516 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1517 0 : int indexCounter = 0;
1518 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1519 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1520 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1521 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1522 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1523 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1524 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1525 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1526 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1527 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1528 : return -1;
1529 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1530 : }
1531 :
1532 : /* #line 1533 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1533 :
1534 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1535 :
1536 : long
1537 0 : SgTypeUnsignedLong::getChildIndex( SgNode* childNode ) const
1538 : {
1539 : // ------------ checking pointers of SgTypeUnsignedLong -------------------
1540 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1541 0 : int indexCounter = 0;
1542 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1543 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1544 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1545 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1546 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1547 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1548 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1549 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1550 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1551 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1552 : return -1;
1553 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1554 : }
1555 :
1556 : /* #line 1557 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1557 :
1558 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1559 :
1560 : long
1561 0 : SgTypeVoid::getChildIndex( SgNode* childNode ) const
1562 : {
1563 : // ------------ checking pointers of SgTypeVoid -------------------
1564 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1565 0 : int indexCounter = 0;
1566 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1567 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1568 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1569 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1570 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1571 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1572 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1573 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1574 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1575 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1576 : return -1;
1577 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1578 : }
1579 :
1580 : /* #line 1581 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1581 :
1582 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1583 :
1584 : long
1585 0 : SgTypeGlobalVoid::getChildIndex( SgNode* childNode ) const
1586 : {
1587 : // ------------ checking pointers of SgTypeGlobalVoid -------------------
1588 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1589 0 : int indexCounter = 0;
1590 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1591 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1592 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1593 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1594 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1595 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1596 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1597 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1598 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1599 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1600 : return -1;
1601 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1602 : }
1603 :
1604 : /* #line 1605 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1605 :
1606 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1607 :
1608 : long
1609 0 : SgTypeWchar::getChildIndex( SgNode* childNode ) const
1610 : {
1611 : // ------------ checking pointers of SgTypeWchar -------------------
1612 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1613 0 : int indexCounter = 0;
1614 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1615 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1616 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1617 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1618 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1619 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1620 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1621 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1622 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1623 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1624 : return -1;
1625 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1626 : }
1627 :
1628 : /* #line 1629 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1629 :
1630 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1631 :
1632 : long
1633 0 : SgTypeFloat::getChildIndex( SgNode* childNode ) const
1634 : {
1635 : // ------------ checking pointers of SgTypeFloat -------------------
1636 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1637 0 : int indexCounter = 0;
1638 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1639 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1640 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1641 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1642 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1643 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1644 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1645 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1646 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1647 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1648 : return -1;
1649 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1650 : }
1651 :
1652 : /* #line 1653 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1653 :
1654 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1655 :
1656 : long
1657 0 : SgTypeDouble::getChildIndex( SgNode* childNode ) const
1658 : {
1659 : // ------------ checking pointers of SgTypeDouble -------------------
1660 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1661 0 : int indexCounter = 0;
1662 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1663 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1664 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1665 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1666 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1667 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1668 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1669 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1670 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1671 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1672 : return -1;
1673 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1674 : }
1675 :
1676 : /* #line 1677 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1677 :
1678 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1679 :
1680 : long
1681 0 : SgTypeLongLong::getChildIndex( SgNode* childNode ) const
1682 : {
1683 : // ------------ checking pointers of SgTypeLongLong -------------------
1684 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1685 0 : int indexCounter = 0;
1686 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1687 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1688 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1689 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1690 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1691 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1692 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1693 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1694 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1695 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1696 : return -1;
1697 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1698 : }
1699 :
1700 : /* #line 1701 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1701 :
1702 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1703 :
1704 : long
1705 0 : SgTypeSignedLongLong::getChildIndex( SgNode* childNode ) const
1706 : {
1707 : // ------------ checking pointers of SgTypeSignedLongLong -------------------
1708 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1709 0 : int indexCounter = 0;
1710 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1711 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1712 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1713 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1714 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1715 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1716 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1717 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1718 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1719 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1720 : return -1;
1721 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1722 : }
1723 :
1724 : /* #line 1725 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1725 :
1726 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1727 :
1728 : long
1729 0 : SgTypeUnsignedLongLong::getChildIndex( SgNode* childNode ) const
1730 : {
1731 : // ------------ checking pointers of SgTypeUnsignedLongLong -------------------
1732 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1733 0 : int indexCounter = 0;
1734 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1735 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1736 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1737 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1738 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1739 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1740 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1741 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1742 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1743 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1744 : return -1;
1745 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1746 : }
1747 :
1748 : /* #line 1749 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1749 :
1750 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1751 :
1752 : long
1753 0 : SgTypeSigned128bitInteger::getChildIndex( SgNode* childNode ) const
1754 : {
1755 : // ------------ checking pointers of SgTypeSigned128bitInteger -------------------
1756 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1757 0 : int indexCounter = 0;
1758 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1759 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1760 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1761 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1762 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1763 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1764 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1765 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1766 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1767 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1768 : return -1;
1769 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1770 : }
1771 :
1772 : /* #line 1773 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1773 :
1774 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1775 :
1776 : long
1777 0 : SgTypeUnsigned128bitInteger::getChildIndex( SgNode* childNode ) const
1778 : {
1779 : // ------------ checking pointers of SgTypeUnsigned128bitInteger -------------------
1780 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1781 0 : int indexCounter = 0;
1782 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1783 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1784 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1785 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1786 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1787 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1788 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1789 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1790 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1791 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1792 : return -1;
1793 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1794 : }
1795 :
1796 : /* #line 1797 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1797 :
1798 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1799 :
1800 : long
1801 0 : SgTypeFloat80::getChildIndex( SgNode* childNode ) const
1802 : {
1803 : // ------------ checking pointers of SgTypeFloat80 -------------------
1804 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1805 0 : int indexCounter = 0;
1806 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1807 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1808 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1809 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1810 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1811 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1812 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1813 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1814 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1815 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1816 : return -1;
1817 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1818 : }
1819 :
1820 : /* #line 1821 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1821 :
1822 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1823 :
1824 : long
1825 0 : SgTypeLongDouble::getChildIndex( SgNode* childNode ) const
1826 : {
1827 : // ------------ checking pointers of SgTypeLongDouble -------------------
1828 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1829 0 : int indexCounter = 0;
1830 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1831 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1832 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1833 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1834 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1835 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1836 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1837 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1838 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1839 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1840 : return -1;
1841 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1842 : }
1843 :
1844 : /* #line 1845 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1845 :
1846 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1847 :
1848 : long
1849 0 : SgTypeString::getChildIndex( SgNode* childNode ) const
1850 : {
1851 : // ------------ checking pointers of SgTypeString -------------------
1852 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1853 0 : int indexCounter = 0;
1854 0 : if ( p_lengthExpression == childNode ) { return indexCounter; } indexCounter++;
1855 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1856 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1857 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1858 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1859 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1860 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1861 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1862 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1863 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1864 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1865 : return -1;
1866 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1867 : }
1868 :
1869 : /* #line 1870 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1870 :
1871 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1872 :
1873 : long
1874 0 : SgTypeBool::getChildIndex( SgNode* childNode ) const
1875 : {
1876 : // ------------ checking pointers of SgTypeBool -------------------
1877 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1878 0 : int indexCounter = 0;
1879 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1880 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1881 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1882 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1883 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1884 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1885 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1886 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1887 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1888 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1889 : return -1;
1890 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1891 : }
1892 :
1893 : /* #line 1894 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1894 :
1895 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1896 :
1897 : long
1898 0 : SgPointerType::getChildIndex( SgNode* childNode ) const
1899 : {
1900 : // ------------ checking pointers of SgPointerType -------------------
1901 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1902 0 : int indexCounter = 0;
1903 0 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
1904 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1905 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1906 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1907 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1908 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1909 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1910 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1911 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1912 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1913 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1914 : return -1;
1915 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1916 : }
1917 :
1918 : /* #line 1919 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1919 :
1920 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1921 :
1922 : long
1923 0 : SgPointerMemberType::getChildIndex( SgNode* childNode ) const
1924 : {
1925 : // ------------ checking pointers of SgPointerMemberType -------------------
1926 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1927 0 : int indexCounter = 0;
1928 0 : if ( p_class_type == childNode ) { return indexCounter; } indexCounter++;
1929 0 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
1930 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1931 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1932 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1933 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1934 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1935 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1936 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1937 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1938 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1939 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1940 : return -1;
1941 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1942 : }
1943 :
1944 : /* #line 1945 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1945 :
1946 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1947 :
1948 : long
1949 0 : SgReferenceType::getChildIndex( SgNode* childNode ) const
1950 : {
1951 : // ------------ checking pointers of SgReferenceType -------------------
1952 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1953 0 : int indexCounter = 0;
1954 0 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
1955 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1956 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1957 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1958 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1959 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1960 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1961 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1962 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1963 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1964 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1965 : return -1;
1966 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1967 : }
1968 :
1969 : /* #line 1970 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1970 :
1971 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1972 :
1973 : long
1974 0 : SgNamedType::getChildIndex( SgNode* childNode ) const
1975 : {
1976 : // ------------ checking pointers of SgNamedType -------------------
1977 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
1978 0 : int indexCounter = 0;
1979 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
1980 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
1981 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
1982 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
1983 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
1984 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
1985 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
1986 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
1987 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
1988 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
1989 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
1990 : return -1;
1991 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1992 : }
1993 :
1994 : /* #line 1995 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
1995 :
1996 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
1997 :
1998 : long
1999 0 : SgClassType::getChildIndex( SgNode* childNode ) const
2000 : {
2001 : // ------------ checking pointers of SgClassType -------------------
2002 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2003 0 : int indexCounter = 0;
2004 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
2005 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2006 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2007 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2008 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2009 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2010 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2011 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2012 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2013 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2014 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2015 : return -1;
2016 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2017 : }
2018 :
2019 : /* #line 2020 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2020 :
2021 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2022 :
2023 : long
2024 0 : SgEnumType::getChildIndex( SgNode* childNode ) const
2025 : {
2026 : // ------------ checking pointers of SgEnumType -------------------
2027 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2028 0 : int indexCounter = 0;
2029 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
2030 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2031 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2032 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2033 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2034 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2035 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2036 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2037 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2038 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2039 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2040 : return -1;
2041 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2042 : }
2043 :
2044 : /* #line 2045 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2045 :
2046 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2047 :
2048 : long
2049 0 : SgTypedefType::getChildIndex( SgNode* childNode ) const
2050 : {
2051 : // ------------ checking pointers of SgTypedefType -------------------
2052 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2053 0 : int indexCounter = 0;
2054 0 : if ( p_parent_scope == childNode ) { return indexCounter; } indexCounter++;
2055 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
2056 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2057 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2058 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2059 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2060 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2061 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2062 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2063 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2064 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2065 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2066 : return -1;
2067 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2068 : }
2069 :
2070 : /* #line 2071 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2071 :
2072 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2073 :
2074 : long
2075 0 : SgNonrealType::getChildIndex( SgNode* childNode ) const
2076 : {
2077 : // ------------ checking pointers of SgNonrealType -------------------
2078 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2079 0 : int indexCounter = 0;
2080 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
2081 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2082 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2083 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2084 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2085 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2086 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2087 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2088 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2089 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2090 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2091 : return -1;
2092 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2093 : }
2094 :
2095 : /* #line 2096 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2096 :
2097 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2098 :
2099 : long
2100 0 : SgModifierType::getChildIndex( SgNode* childNode ) const
2101 : {
2102 : // ------------ checking pointers of SgModifierType -------------------
2103 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2104 0 : int indexCounter = 0;
2105 0 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
2106 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2107 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2108 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2109 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2110 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2111 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2112 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2113 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2114 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2115 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2116 : return -1;
2117 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2118 : }
2119 :
2120 : /* #line 2121 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2121 :
2122 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2123 :
2124 : long
2125 0 : SgFunctionType::getChildIndex( SgNode* childNode ) const
2126 : {
2127 : // ------------ checking pointers of SgFunctionType -------------------
2128 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2129 0 : int indexCounter = 0;
2130 0 : if ( p_return_type == childNode ) { return indexCounter; } indexCounter++;
2131 0 : if ( p_orig_return_type == childNode ) { return indexCounter; } indexCounter++;
2132 0 : if ( p_argument_list == childNode ) { return indexCounter; } indexCounter++;
2133 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2134 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2135 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2136 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2137 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2138 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2139 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2140 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2141 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2142 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2143 : return -1;
2144 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2145 : }
2146 :
2147 : /* #line 2148 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2148 :
2149 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2150 :
2151 : long
2152 8415 : SgMemberFunctionType::getChildIndex( SgNode* childNode ) const
2153 : {
2154 : // ------------ checking pointers of SgMemberFunctionType -------------------
2155 8415 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2156 8415 : int indexCounter = 0;
2157 8415 : if ( p_class_type == childNode ) { return indexCounter; } indexCounter++;
2158 8415 : if ( p_return_type == childNode ) { return indexCounter; } indexCounter++;
2159 8415 : if ( p_orig_return_type == childNode ) { return indexCounter; } indexCounter++;
2160 8415 : if ( p_argument_list == childNode ) { return indexCounter; } indexCounter++;
2161 8415 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2162 8415 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2163 8415 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2164 8415 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2165 8415 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2166 8415 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2167 8415 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2168 8415 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2169 8415 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2170 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2171 : return -1;
2172 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2173 : }
2174 :
2175 : /* #line 2176 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2176 :
2177 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2178 :
2179 : long
2180 0 : SgPartialFunctionType::getChildIndex( SgNode* childNode ) const
2181 : {
2182 : // ------------ checking pointers of SgPartialFunctionType -------------------
2183 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2184 0 : int indexCounter = 0;
2185 0 : if ( p_class_type == childNode ) { return indexCounter; } indexCounter++;
2186 0 : if ( p_return_type == childNode ) { return indexCounter; } indexCounter++;
2187 0 : if ( p_orig_return_type == childNode ) { return indexCounter; } indexCounter++;
2188 0 : if ( p_argument_list == childNode ) { return indexCounter; } indexCounter++;
2189 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2190 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2191 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2192 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2193 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2194 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2195 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2196 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2197 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2198 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2199 : return -1;
2200 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2201 : }
2202 :
2203 : /* #line 2204 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2204 :
2205 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2206 :
2207 : long
2208 0 : SgPartialFunctionModifierType::getChildIndex( SgNode* childNode ) const
2209 : {
2210 : // ------------ checking pointers of SgPartialFunctionModifierType -------------------
2211 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2212 0 : int indexCounter = 0;
2213 0 : if ( p_class_type == childNode ) { return indexCounter; } indexCounter++;
2214 0 : if ( p_return_type == childNode ) { return indexCounter; } indexCounter++;
2215 0 : if ( p_orig_return_type == childNode ) { return indexCounter; } indexCounter++;
2216 0 : if ( p_argument_list == childNode ) { return indexCounter; } indexCounter++;
2217 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2218 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2219 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2220 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2221 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2222 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2223 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2224 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2225 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2226 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2227 : return -1;
2228 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2229 : }
2230 :
2231 : /* #line 2232 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2232 :
2233 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2234 :
2235 : long
2236 0 : SgArrayType::getChildIndex( SgNode* childNode ) const
2237 : {
2238 : // ------------ checking pointers of SgArrayType -------------------
2239 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2240 0 : int indexCounter = 0;
2241 0 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
2242 0 : if ( p_index == childNode ) { return indexCounter; } indexCounter++;
2243 0 : if ( p_dim_info == childNode ) { return indexCounter; } indexCounter++;
2244 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2245 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2246 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2247 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2248 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2249 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2250 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2251 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2252 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2253 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2254 : return -1;
2255 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2256 : }
2257 :
2258 : /* #line 2259 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2259 :
2260 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2261 :
2262 : long
2263 0 : SgTypeEllipse::getChildIndex( SgNode* childNode ) const
2264 : {
2265 : // ------------ checking pointers of SgTypeEllipse -------------------
2266 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2267 0 : int indexCounter = 0;
2268 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2269 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2270 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2271 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2272 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2273 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2274 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2275 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2276 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2277 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2278 : return -1;
2279 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2280 : }
2281 :
2282 : /* #line 2283 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2283 :
2284 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2285 :
2286 : long
2287 0 : SgTemplateType::getChildIndex( SgNode* childNode ) const
2288 : {
2289 : // ------------ checking pointers of SgTemplateType -------------------
2290 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2291 0 : int indexCounter = 0;
2292 0 : if ( p_class_type == childNode ) { return indexCounter; } indexCounter++;
2293 0 : if ( p_parent_class_type == childNode ) { return indexCounter; } indexCounter++;
2294 0 : if ( p_template_parameter == childNode ) { return indexCounter; } indexCounter++;
2295 0 : for ( SgTemplateArgumentPtrList::const_iterator source_tpl_args_iterator = p_tpl_args.begin(); source_tpl_args_iterator != p_tpl_args.end(); ++source_tpl_args_iterator)
2296 : {
2297 0 : if ( *source_tpl_args_iterator == childNode ) { return indexCounter; } indexCounter++;
2298 : }
2299 0 : for ( SgTemplateArgumentPtrList::const_iterator source_part_spec_tpl_args_iterator = p_part_spec_tpl_args.begin(); source_part_spec_tpl_args_iterator != p_part_spec_tpl_args.end(); ++source_part_spec_tpl_args_iterator)
2300 : {
2301 0 : if ( *source_part_spec_tpl_args_iterator == childNode ) { return indexCounter; } indexCounter++;
2302 : }
2303 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2304 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2305 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2306 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2307 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2308 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2309 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2310 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2311 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2312 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2313 : return -1;
2314 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2315 : }
2316 :
2317 : /* #line 2318 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2318 :
2319 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2320 :
2321 : long
2322 0 : SgQualifiedNameType::getChildIndex( SgNode* childNode ) const
2323 : {
2324 : // ------------ checking pointers of SgQualifiedNameType -------------------
2325 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2326 0 : int indexCounter = 0;
2327 0 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
2328 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
2329 : {
2330 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
2331 : }
2332 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2333 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2334 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2335 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2336 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2337 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2338 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2339 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2340 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2341 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2342 : return -1;
2343 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2344 : }
2345 :
2346 : /* #line 2347 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2347 :
2348 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2349 :
2350 : long
2351 0 : SgTypeComplex::getChildIndex( SgNode* childNode ) const
2352 : {
2353 : // ------------ checking pointers of SgTypeComplex -------------------
2354 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2355 0 : int indexCounter = 0;
2356 0 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
2357 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2358 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2359 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2360 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2361 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2362 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2363 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2364 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2365 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2366 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2367 : return -1;
2368 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2369 : }
2370 :
2371 : /* #line 2372 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2372 :
2373 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2374 :
2375 : long
2376 0 : SgTypeImaginary::getChildIndex( SgNode* childNode ) const
2377 : {
2378 : // ------------ checking pointers of SgTypeImaginary -------------------
2379 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2380 0 : int indexCounter = 0;
2381 0 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
2382 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2383 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2384 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2385 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2386 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2387 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2388 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2389 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2390 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2391 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2392 : return -1;
2393 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2394 : }
2395 :
2396 : /* #line 2397 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2397 :
2398 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2399 :
2400 : long
2401 1785 : SgTypeDefault::getChildIndex( SgNode* childNode ) const
2402 : {
2403 : // ------------ checking pointers of SgTypeDefault -------------------
2404 1785 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2405 1785 : int indexCounter = 0;
2406 1785 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2407 1785 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2408 1785 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2409 1785 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2410 1785 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2411 1785 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2412 1785 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2413 1785 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2414 1785 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2415 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2416 : return -1;
2417 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2418 : }
2419 :
2420 : /* #line 2421 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2421 :
2422 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2423 :
2424 : long
2425 0 : SgTypeCAFTeam::getChildIndex( SgNode* childNode ) const
2426 : {
2427 : // ------------ checking pointers of SgTypeCAFTeam -------------------
2428 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2429 0 : int indexCounter = 0;
2430 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2431 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2432 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2433 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2434 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2435 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2436 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2437 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2438 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2439 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2440 : return -1;
2441 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2442 : }
2443 :
2444 : /* #line 2445 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2445 :
2446 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2447 :
2448 : long
2449 0 : SgTypeCrayPointer::getChildIndex( SgNode* childNode ) const
2450 : {
2451 : // ------------ checking pointers of SgTypeCrayPointer -------------------
2452 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2453 0 : int indexCounter = 0;
2454 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2455 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2456 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2457 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2458 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2459 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2460 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2461 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2462 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2463 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2464 : return -1;
2465 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2466 : }
2467 :
2468 : /* #line 2469 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2469 :
2470 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2471 :
2472 : long
2473 0 : SgTypeLabel::getChildIndex( SgNode* childNode ) const
2474 : {
2475 : // ------------ checking pointers of SgTypeLabel -------------------
2476 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2477 0 : int indexCounter = 0;
2478 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2479 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2480 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2481 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2482 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2483 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2484 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2485 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2486 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2487 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2488 : return -1;
2489 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2490 : }
2491 :
2492 : /* #line 2493 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2493 :
2494 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2495 :
2496 : long
2497 0 : SgRvalueReferenceType::getChildIndex( SgNode* childNode ) const
2498 : {
2499 : // ------------ checking pointers of SgRvalueReferenceType -------------------
2500 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2501 0 : int indexCounter = 0;
2502 0 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
2503 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2504 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2505 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2506 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2507 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2508 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2509 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2510 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2511 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2512 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2513 : return -1;
2514 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2515 : }
2516 :
2517 : /* #line 2518 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2518 :
2519 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2520 :
2521 : long
2522 0 : SgTypeNullptr::getChildIndex( SgNode* childNode ) const
2523 : {
2524 : // ------------ checking pointers of SgTypeNullptr -------------------
2525 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2526 0 : int indexCounter = 0;
2527 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2528 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2529 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2530 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2531 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2532 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2533 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2534 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2535 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2536 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2537 : return -1;
2538 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2539 : }
2540 :
2541 : /* #line 2542 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2542 :
2543 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2544 :
2545 : long
2546 115 : SgDeclType::getChildIndex( SgNode* childNode ) const
2547 : {
2548 : // ------------ checking pointers of SgDeclType -------------------
2549 115 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2550 115 : int indexCounter = 0;
2551 115 : if ( p_base_expression == childNode ) { return indexCounter; } indexCounter++;
2552 115 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
2553 115 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2554 115 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2555 115 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2556 115 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2557 115 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2558 115 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2559 115 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2560 115 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2561 115 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2562 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2563 : return -1;
2564 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2565 : }
2566 :
2567 : /* #line 2568 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2568 :
2569 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2570 :
2571 : long
2572 0 : SgTypeOfType::getChildIndex( SgNode* childNode ) const
2573 : {
2574 : // ------------ checking pointers of SgTypeOfType -------------------
2575 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2576 0 : int indexCounter = 0;
2577 0 : if ( p_base_expression == childNode ) { return indexCounter; } indexCounter++;
2578 0 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
2579 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2580 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2581 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2582 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2583 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2584 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2585 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2586 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2587 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2588 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2589 : return -1;
2590 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2591 : }
2592 :
2593 : /* #line 2594 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2594 :
2595 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2596 :
2597 : long
2598 0 : SgTypeMatrix::getChildIndex( SgNode* childNode ) const
2599 : {
2600 : // ------------ checking pointers of SgTypeMatrix -------------------
2601 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2602 0 : int indexCounter = 0;
2603 0 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
2604 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2605 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2606 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2607 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2608 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2609 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2610 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2611 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2612 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2613 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2614 : return -1;
2615 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2616 : }
2617 :
2618 : /* #line 2619 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2619 :
2620 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2621 :
2622 : long
2623 0 : SgTypeTuple::getChildIndex( SgNode* childNode ) const
2624 : {
2625 : // ------------ checking pointers of SgTypeTuple -------------------
2626 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2627 0 : int indexCounter = 0;
2628 0 : for ( SgTypePtrList::const_iterator source_types_iterator = p_types.begin(); source_types_iterator != p_types.end(); ++source_types_iterator)
2629 : {
2630 0 : if ( *source_types_iterator == childNode ) { return indexCounter; } indexCounter++;
2631 : }
2632 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2633 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2634 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2635 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2636 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2637 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2638 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2639 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2640 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2641 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2642 : return -1;
2643 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2644 : }
2645 :
2646 : /* #line 2647 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2647 :
2648 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2649 :
2650 : long
2651 0 : SgTypeChar16::getChildIndex( SgNode* childNode ) const
2652 : {
2653 : // ------------ checking pointers of SgTypeChar16 -------------------
2654 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2655 0 : int indexCounter = 0;
2656 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2657 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2658 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2659 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2660 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2661 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2662 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2663 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2664 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2665 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2666 : return -1;
2667 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2668 : }
2669 :
2670 : /* #line 2671 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2671 :
2672 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2673 :
2674 : long
2675 0 : SgTypeChar32::getChildIndex( SgNode* childNode ) const
2676 : {
2677 : // ------------ checking pointers of SgTypeChar32 -------------------
2678 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2679 0 : int indexCounter = 0;
2680 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2681 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2682 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2683 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2684 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2685 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2686 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2687 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2688 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2689 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2690 : return -1;
2691 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2692 : }
2693 :
2694 : /* #line 2695 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2695 :
2696 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2697 :
2698 : long
2699 0 : SgTypeFloat128::getChildIndex( SgNode* childNode ) const
2700 : {
2701 : // ------------ checking pointers of SgTypeFloat128 -------------------
2702 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2703 0 : int indexCounter = 0;
2704 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2705 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2706 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2707 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2708 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2709 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2710 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2711 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2712 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2713 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2714 : return -1;
2715 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2716 : }
2717 :
2718 : /* #line 2719 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2719 :
2720 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2721 :
2722 : long
2723 0 : SgTypeFixed::getChildIndex( SgNode* childNode ) const
2724 : {
2725 : // ------------ checking pointers of SgTypeFixed -------------------
2726 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2727 0 : int indexCounter = 0;
2728 0 : if ( p_scale == childNode ) { return indexCounter; } indexCounter++;
2729 0 : if ( p_fraction == childNode ) { return indexCounter; } indexCounter++;
2730 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2731 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2732 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2733 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2734 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2735 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2736 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2737 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2738 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2739 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2740 : return -1;
2741 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2742 : }
2743 :
2744 : /* #line 2745 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2745 :
2746 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2747 :
2748 : long
2749 0 : SgAutoType::getChildIndex( SgNode* childNode ) const
2750 : {
2751 : // ------------ checking pointers of SgAutoType -------------------
2752 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2753 0 : int indexCounter = 0;
2754 0 : if ( p_ref_to == childNode ) { return indexCounter; } indexCounter++;
2755 0 : if ( p_ptr_to == childNode ) { return indexCounter; } indexCounter++;
2756 0 : if ( p_modifiers == childNode ) { return indexCounter; } indexCounter++;
2757 0 : if ( p_typedefs == childNode ) { return indexCounter; } indexCounter++;
2758 0 : if ( p_rvalue_ref_to == childNode ) { return indexCounter; } indexCounter++;
2759 0 : if ( p_decltype_ref_to == childNode ) { return indexCounter; } indexCounter++;
2760 0 : if ( p_typeof_ref_to == childNode ) { return indexCounter; } indexCounter++;
2761 0 : if ( p_type_kind == childNode ) { return indexCounter; } indexCounter++;
2762 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2763 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2764 : return -1;
2765 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2766 : }
2767 :
2768 : /* #line 2769 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2769 :
2770 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2771 :
2772 : long
2773 0 : SgLocatedNode::getChildIndex( SgNode* childNode ) const
2774 : {
2775 : // ------------ checking pointers of SgLocatedNode -------------------
2776 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2777 0 : int indexCounter = 0;
2778 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2779 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2780 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2781 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2782 : return -1;
2783 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2784 : }
2785 :
2786 : /* #line 2787 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2787 :
2788 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2789 :
2790 : long
2791 0 : SgToken::getChildIndex( SgNode* childNode ) const
2792 : {
2793 : // ------------ checking pointers of SgToken -------------------
2794 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2795 0 : int indexCounter = 0;
2796 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2797 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2798 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2799 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2800 : return -1;
2801 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2802 : }
2803 :
2804 : /* #line 2805 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2805 :
2806 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2807 :
2808 : long
2809 0 : SgLocatedNodeSupport::getChildIndex( SgNode* childNode ) const
2810 : {
2811 : // ------------ checking pointers of SgLocatedNodeSupport -------------------
2812 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2813 0 : int indexCounter = 0;
2814 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2815 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2816 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2817 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2818 : return -1;
2819 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2820 : }
2821 :
2822 : /* #line 2823 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2823 :
2824 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2825 :
2826 : long
2827 1 : SgCommonBlockObject::getChildIndex( SgNode* childNode ) const
2828 : {
2829 : // ------------ checking pointers of SgCommonBlockObject -------------------
2830 1 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2831 1 : int indexCounter = 0;
2832 1 : if ( p_variable_reference_list == childNode ) { return indexCounter; } indexCounter++;
2833 1 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2834 1 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2835 1 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2836 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2837 : return -1;
2838 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2839 : }
2840 :
2841 : /* #line 2842 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2842 :
2843 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2844 :
2845 : long
2846 184 : SgInitializedName::getChildIndex( SgNode* childNode ) const
2847 : {
2848 : // ------------ checking pointers of SgInitializedName -------------------
2849 184 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2850 184 : int indexCounter = 0;
2851 184 : if ( p_typeptr == childNode ) { return indexCounter; } indexCounter++;
2852 184 : if ( p_initptr == childNode ) { return indexCounter; } indexCounter++;
2853 184 : if ( p_prev_decl_item == childNode ) { return indexCounter; } indexCounter++;
2854 184 : if ( p_declptr == childNode ) { return indexCounter; } indexCounter++;
2855 184 : if ( p_storageModifier == childNode ) { return indexCounter; } indexCounter++;
2856 184 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
2857 184 : if ( p_constant_or_type_argument_for_Alignas_keyword == childNode ) { return indexCounter; } indexCounter++;
2858 184 : if ( p_auto_decltype == childNode ) { return indexCounter; } indexCounter++;
2859 184 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2860 184 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2861 184 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2862 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2863 : return -1;
2864 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2865 : }
2866 :
2867 : /* #line 2868 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2868 :
2869 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2870 :
2871 : long
2872 0 : SgInterfaceBody::getChildIndex( SgNode* childNode ) const
2873 : {
2874 : // ------------ checking pointers of SgInterfaceBody -------------------
2875 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2876 0 : int indexCounter = 0;
2877 0 : if ( p_functionDeclaration == childNode ) { return indexCounter; } indexCounter++;
2878 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2879 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2880 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2881 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2882 : return -1;
2883 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2884 : }
2885 :
2886 : /* #line 2887 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2887 :
2888 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2889 :
2890 : long
2891 0 : SgHeaderFileBody::getChildIndex( SgNode* childNode ) const
2892 : {
2893 : // ------------ checking pointers of SgHeaderFileBody -------------------
2894 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2895 0 : int indexCounter = 0;
2896 0 : if ( p_include_file == childNode ) { return indexCounter; } indexCounter++;
2897 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2898 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2899 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2900 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2901 : return -1;
2902 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2903 : }
2904 :
2905 : /* #line 2906 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2906 :
2907 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2908 :
2909 : long
2910 0 : SgRenamePair::getChildIndex( SgNode* childNode ) const
2911 : {
2912 : // ------------ checking pointers of SgRenamePair -------------------
2913 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2914 0 : int indexCounter = 0;
2915 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2916 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2917 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2918 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2919 : return -1;
2920 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2921 : }
2922 :
2923 : /* #line 2924 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2924 :
2925 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2926 :
2927 : long
2928 0 : SgOmpClause::getChildIndex( SgNode* childNode ) const
2929 : {
2930 : // ------------ checking pointers of SgOmpClause -------------------
2931 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2932 0 : int indexCounter = 0;
2933 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2934 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2935 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2936 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2937 : return -1;
2938 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2939 : }
2940 :
2941 : /* #line 2942 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2942 :
2943 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2944 :
2945 : long
2946 0 : SgOmpNowaitClause::getChildIndex( SgNode* childNode ) const
2947 : {
2948 : // ------------ checking pointers of SgOmpNowaitClause -------------------
2949 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2950 0 : int indexCounter = 0;
2951 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2952 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2953 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2954 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2955 : return -1;
2956 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2957 : }
2958 :
2959 : /* #line 2960 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2960 :
2961 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2962 :
2963 : long
2964 0 : SgOmpReadClause::getChildIndex( SgNode* childNode ) const
2965 : {
2966 : // ------------ checking pointers of SgOmpReadClause -------------------
2967 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2968 0 : int indexCounter = 0;
2969 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2970 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2971 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2972 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2973 : return -1;
2974 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2975 : }
2976 :
2977 : /* #line 2978 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2978 :
2979 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2980 :
2981 : long
2982 0 : SgOmpThreadsClause::getChildIndex( SgNode* childNode ) const
2983 : {
2984 : // ------------ checking pointers of SgOmpThreadsClause -------------------
2985 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
2986 0 : int indexCounter = 0;
2987 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2988 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
2989 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
2990 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
2991 : return -1;
2992 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2993 : }
2994 :
2995 : /* #line 2996 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
2996 :
2997 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
2998 :
2999 : long
3000 0 : SgOmpSimdClause::getChildIndex( SgNode* childNode ) const
3001 : {
3002 : // ------------ checking pointers of SgOmpSimdClause -------------------
3003 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3004 0 : int indexCounter = 0;
3005 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3006 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3007 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3008 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3009 : return -1;
3010 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3011 : }
3012 :
3013 : /* #line 3014 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3014 :
3015 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3016 :
3017 : long
3018 0 : SgOmpWriteClause::getChildIndex( SgNode* childNode ) const
3019 : {
3020 : // ------------ checking pointers of SgOmpWriteClause -------------------
3021 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3022 0 : int indexCounter = 0;
3023 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3024 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3025 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3026 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3027 : return -1;
3028 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3029 : }
3030 :
3031 : /* #line 3032 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3032 :
3033 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3034 :
3035 : long
3036 0 : SgOmpUpdateClause::getChildIndex( SgNode* childNode ) const
3037 : {
3038 : // ------------ checking pointers of SgOmpUpdateClause -------------------
3039 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3040 0 : int indexCounter = 0;
3041 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3042 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3043 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3044 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3045 : return -1;
3046 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3047 : }
3048 :
3049 : /* #line 3050 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3050 :
3051 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3052 :
3053 : long
3054 0 : SgOmpDepobjUpdateClause::getChildIndex( SgNode* childNode ) const
3055 : {
3056 : // ------------ checking pointers of SgOmpDepobjUpdateClause -------------------
3057 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3058 0 : int indexCounter = 0;
3059 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3060 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3061 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3062 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3063 : return -1;
3064 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3065 : }
3066 :
3067 : /* #line 3068 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3068 :
3069 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3070 :
3071 : long
3072 0 : SgOmpDestroyClause::getChildIndex( SgNode* childNode ) const
3073 : {
3074 : // ------------ checking pointers of SgOmpDestroyClause -------------------
3075 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3076 0 : int indexCounter = 0;
3077 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3078 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3079 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3080 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3081 : return -1;
3082 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3083 : }
3084 :
3085 : /* #line 3086 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3086 :
3087 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3088 :
3089 : long
3090 0 : SgOmpCaptureClause::getChildIndex( SgNode* childNode ) const
3091 : {
3092 : // ------------ checking pointers of SgOmpCaptureClause -------------------
3093 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3094 0 : int indexCounter = 0;
3095 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3096 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3097 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3098 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3099 : return -1;
3100 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3101 : }
3102 :
3103 : /* #line 3104 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3104 :
3105 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3106 :
3107 : long
3108 0 : SgOmpBeginClause::getChildIndex( SgNode* childNode ) const
3109 : {
3110 : // ------------ checking pointers of SgOmpBeginClause -------------------
3111 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3112 0 : int indexCounter = 0;
3113 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3114 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3115 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3116 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3117 : return -1;
3118 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3119 : }
3120 :
3121 : /* #line 3122 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3122 :
3123 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3124 :
3125 : long
3126 0 : SgOmpEndClause::getChildIndex( SgNode* childNode ) const
3127 : {
3128 : // ------------ checking pointers of SgOmpEndClause -------------------
3129 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3130 0 : int indexCounter = 0;
3131 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3132 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3133 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3134 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3135 : return -1;
3136 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3137 : }
3138 :
3139 : /* #line 3140 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3140 :
3141 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3142 :
3143 : long
3144 0 : SgOmpUntiedClause::getChildIndex( SgNode* childNode ) const
3145 : {
3146 : // ------------ checking pointers of SgOmpUntiedClause -------------------
3147 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3148 0 : int indexCounter = 0;
3149 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3150 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3151 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3152 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3153 : return -1;
3154 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3155 : }
3156 :
3157 : /* #line 3158 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3158 :
3159 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3160 :
3161 : long
3162 0 : SgOmpSeqCstClause::getChildIndex( SgNode* childNode ) const
3163 : {
3164 : // ------------ checking pointers of SgOmpSeqCstClause -------------------
3165 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3166 0 : int indexCounter = 0;
3167 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3168 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3169 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3170 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3171 : return -1;
3172 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3173 : }
3174 :
3175 : /* #line 3176 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3176 :
3177 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3178 :
3179 : long
3180 0 : SgOmpAcqRelClause::getChildIndex( SgNode* childNode ) const
3181 : {
3182 : // ------------ checking pointers of SgOmpAcqRelClause -------------------
3183 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3184 0 : int indexCounter = 0;
3185 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3186 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3187 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3188 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3189 : return -1;
3190 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3191 : }
3192 :
3193 : /* #line 3194 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3194 :
3195 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3196 :
3197 : long
3198 0 : SgOmpReleaseClause::getChildIndex( SgNode* childNode ) const
3199 : {
3200 : // ------------ checking pointers of SgOmpReleaseClause -------------------
3201 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3202 0 : int indexCounter = 0;
3203 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3204 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3205 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3206 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3207 : return -1;
3208 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3209 : }
3210 :
3211 : /* #line 3212 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3212 :
3213 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3214 :
3215 : long
3216 0 : SgOmpAcquireClause::getChildIndex( SgNode* childNode ) const
3217 : {
3218 : // ------------ checking pointers of SgOmpAcquireClause -------------------
3219 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3220 0 : int indexCounter = 0;
3221 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3222 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3223 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3224 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3225 : return -1;
3226 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3227 : }
3228 :
3229 : /* #line 3230 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3230 :
3231 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3232 :
3233 : long
3234 0 : SgOmpRelaxedClause::getChildIndex( SgNode* childNode ) const
3235 : {
3236 : // ------------ checking pointers of SgOmpRelaxedClause -------------------
3237 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3238 0 : int indexCounter = 0;
3239 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3240 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3241 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3242 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3243 : return -1;
3244 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3245 : }
3246 :
3247 : /* #line 3248 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3248 :
3249 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3250 :
3251 : long
3252 0 : SgOmpReverseOffloadClause::getChildIndex( SgNode* childNode ) const
3253 : {
3254 : // ------------ checking pointers of SgOmpReverseOffloadClause -------------------
3255 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3256 0 : int indexCounter = 0;
3257 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3258 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3259 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3260 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3261 : return -1;
3262 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3263 : }
3264 :
3265 : /* #line 3266 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3266 :
3267 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3268 :
3269 : long
3270 0 : SgOmpUnifiedAddressClause::getChildIndex( SgNode* childNode ) const
3271 : {
3272 : // ------------ checking pointers of SgOmpUnifiedAddressClause -------------------
3273 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3274 0 : int indexCounter = 0;
3275 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3276 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3277 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3278 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3279 : return -1;
3280 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3281 : }
3282 :
3283 : /* #line 3284 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3284 :
3285 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3286 :
3287 : long
3288 0 : SgOmpUnifiedSharedMemoryClause::getChildIndex( SgNode* childNode ) const
3289 : {
3290 : // ------------ checking pointers of SgOmpUnifiedSharedMemoryClause -------------------
3291 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3292 0 : int indexCounter = 0;
3293 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3294 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3295 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3296 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3297 : return -1;
3298 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3299 : }
3300 :
3301 : /* #line 3302 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3302 :
3303 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3304 :
3305 : long
3306 0 : SgOmpDynamicAllocatorsClause::getChildIndex( SgNode* childNode ) const
3307 : {
3308 : // ------------ checking pointers of SgOmpDynamicAllocatorsClause -------------------
3309 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3310 0 : int indexCounter = 0;
3311 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3312 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3313 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3314 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3315 : return -1;
3316 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3317 : }
3318 :
3319 : /* #line 3320 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3320 :
3321 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3322 :
3323 : long
3324 0 : SgOmpParallelClause::getChildIndex( SgNode* childNode ) const
3325 : {
3326 : // ------------ checking pointers of SgOmpParallelClause -------------------
3327 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3328 0 : int indexCounter = 0;
3329 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3330 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3331 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3332 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3333 : return -1;
3334 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3335 : }
3336 :
3337 : /* #line 3338 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3338 :
3339 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3340 :
3341 : long
3342 0 : SgOmpSectionsClause::getChildIndex( SgNode* childNode ) const
3343 : {
3344 : // ------------ checking pointers of SgOmpSectionsClause -------------------
3345 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3346 0 : int indexCounter = 0;
3347 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3348 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3349 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3350 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3351 : return -1;
3352 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3353 : }
3354 :
3355 : /* #line 3356 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3356 :
3357 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3358 :
3359 : long
3360 0 : SgOmpForClause::getChildIndex( SgNode* childNode ) const
3361 : {
3362 : // ------------ checking pointers of SgOmpForClause -------------------
3363 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3364 0 : int indexCounter = 0;
3365 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3366 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3367 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3368 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3369 : return -1;
3370 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3371 : }
3372 :
3373 : /* #line 3374 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3374 :
3375 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3376 :
3377 : long
3378 0 : SgOmpTaskgroupClause::getChildIndex( SgNode* childNode ) const
3379 : {
3380 : // ------------ checking pointers of SgOmpTaskgroupClause -------------------
3381 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3382 0 : int indexCounter = 0;
3383 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3384 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3385 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3386 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3387 : return -1;
3388 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3389 : }
3390 :
3391 : /* #line 3392 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3392 :
3393 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3394 :
3395 : long
3396 0 : SgOmpNogroupClause::getChildIndex( SgNode* childNode ) const
3397 : {
3398 : // ------------ checking pointers of SgOmpNogroupClause -------------------
3399 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3400 0 : int indexCounter = 0;
3401 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3402 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3403 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3404 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3405 : return -1;
3406 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3407 : }
3408 :
3409 : /* #line 3410 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3410 :
3411 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3412 :
3413 : long
3414 0 : SgOmpDefaultClause::getChildIndex( SgNode* childNode ) const
3415 : {
3416 : // ------------ checking pointers of SgOmpDefaultClause -------------------
3417 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3418 0 : int indexCounter = 0;
3419 0 : if ( p_variant_directive == childNode ) { return indexCounter; } indexCounter++;
3420 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3421 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3422 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3423 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3424 : return -1;
3425 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3426 : }
3427 :
3428 : /* #line 3429 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3429 :
3430 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3431 :
3432 : long
3433 0 : SgOmpAllocatorClause::getChildIndex( SgNode* childNode ) const
3434 : {
3435 : // ------------ checking pointers of SgOmpAllocatorClause -------------------
3436 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3437 0 : int indexCounter = 0;
3438 0 : if ( p_user_defined_modifier == childNode ) { return indexCounter; } indexCounter++;
3439 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3440 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3441 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3442 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3443 : return -1;
3444 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3445 : }
3446 :
3447 : /* #line 3448 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3448 :
3449 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3450 :
3451 : long
3452 0 : SgOmpAtomicClause::getChildIndex( SgNode* childNode ) const
3453 : {
3454 : // ------------ checking pointers of SgOmpAtomicClause -------------------
3455 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3456 0 : int indexCounter = 0;
3457 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3458 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3459 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3460 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3461 : return -1;
3462 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3463 : }
3464 :
3465 : /* #line 3466 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3466 :
3467 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3468 :
3469 : long
3470 0 : SgOmpProcBindClause::getChildIndex( SgNode* childNode ) const
3471 : {
3472 : // ------------ checking pointers of SgOmpProcBindClause -------------------
3473 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3474 0 : int indexCounter = 0;
3475 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3476 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3477 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3478 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3479 : return -1;
3480 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3481 : }
3482 :
3483 : /* #line 3484 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3484 :
3485 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3486 :
3487 : long
3488 0 : SgOmpBindClause::getChildIndex( SgNode* childNode ) const
3489 : {
3490 : // ------------ checking pointers of SgOmpBindClause -------------------
3491 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3492 0 : int indexCounter = 0;
3493 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3494 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3495 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3496 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3497 : return -1;
3498 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3499 : }
3500 :
3501 : /* #line 3502 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3502 :
3503 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3504 :
3505 : long
3506 0 : SgOmpOrderClause::getChildIndex( SgNode* childNode ) const
3507 : {
3508 : // ------------ checking pointers of SgOmpOrderClause -------------------
3509 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3510 0 : int indexCounter = 0;
3511 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3512 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3513 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3514 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3515 : return -1;
3516 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3517 : }
3518 :
3519 : /* #line 3520 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3520 :
3521 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3522 :
3523 : long
3524 0 : SgOmpDistScheduleClause::getChildIndex( SgNode* childNode ) const
3525 : {
3526 : // ------------ checking pointers of SgOmpDistScheduleClause -------------------
3527 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3528 0 : int indexCounter = 0;
3529 0 : if ( p_chunk_size == childNode ) { return indexCounter; } indexCounter++;
3530 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3531 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3532 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3533 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3534 : return -1;
3535 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3536 : }
3537 :
3538 : /* #line 3539 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3539 :
3540 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3541 :
3542 : long
3543 0 : SgOmpExpressionClause::getChildIndex( SgNode* childNode ) const
3544 : {
3545 : // ------------ checking pointers of SgOmpExpressionClause -------------------
3546 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3547 0 : int indexCounter = 0;
3548 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3549 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3550 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3551 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3552 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3553 : return -1;
3554 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3555 : }
3556 :
3557 : /* #line 3558 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3558 :
3559 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3560 :
3561 : long
3562 0 : SgOmpOrderedClause::getChildIndex( SgNode* childNode ) const
3563 : {
3564 : // ------------ checking pointers of SgOmpOrderedClause -------------------
3565 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3566 0 : int indexCounter = 0;
3567 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3568 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3569 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3570 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3571 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3572 : return -1;
3573 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3574 : }
3575 :
3576 : /* #line 3577 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3577 :
3578 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3579 :
3580 : long
3581 0 : SgOmpCollapseClause::getChildIndex( SgNode* childNode ) const
3582 : {
3583 : // ------------ checking pointers of SgOmpCollapseClause -------------------
3584 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3585 0 : int indexCounter = 0;
3586 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3587 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3588 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3589 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3590 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3591 : return -1;
3592 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3593 : }
3594 :
3595 : /* #line 3596 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3596 :
3597 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3598 :
3599 : long
3600 0 : SgOmpIfClause::getChildIndex( SgNode* childNode ) const
3601 : {
3602 : // ------------ checking pointers of SgOmpIfClause -------------------
3603 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3604 0 : int indexCounter = 0;
3605 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3606 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3607 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3608 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3609 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3610 : return -1;
3611 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3612 : }
3613 :
3614 : /* #line 3615 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3615 :
3616 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3617 :
3618 : long
3619 0 : SgUpirNumUnitsField::getChildIndex( SgNode* childNode ) const
3620 : {
3621 : // ------------ checking pointers of SgUpirNumUnitsField -------------------
3622 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3623 0 : int indexCounter = 0;
3624 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3625 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3626 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3627 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3628 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3629 : return -1;
3630 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3631 : }
3632 :
3633 : /* #line 3634 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3634 :
3635 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3636 :
3637 : long
3638 0 : SgOmpNumTeamsClause::getChildIndex( SgNode* childNode ) const
3639 : {
3640 : // ------------ checking pointers of SgOmpNumTeamsClause -------------------
3641 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3642 0 : int indexCounter = 0;
3643 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3644 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3645 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3646 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3647 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3648 : return -1;
3649 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3650 : }
3651 :
3652 : /* #line 3653 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3653 :
3654 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3655 :
3656 : long
3657 0 : SgOmpThreadLimitClause::getChildIndex( SgNode* childNode ) const
3658 : {
3659 : // ------------ checking pointers of SgOmpThreadLimitClause -------------------
3660 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3661 0 : int indexCounter = 0;
3662 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3663 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3664 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3665 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3666 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3667 : return -1;
3668 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3669 : }
3670 :
3671 : /* #line 3672 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3672 :
3673 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3674 :
3675 : long
3676 0 : SgOmpDeviceClause::getChildIndex( SgNode* childNode ) const
3677 : {
3678 : // ------------ checking pointers of SgOmpDeviceClause -------------------
3679 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3680 0 : int indexCounter = 0;
3681 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3682 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3683 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3684 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3685 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3686 : return -1;
3687 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3688 : }
3689 :
3690 : /* #line 3691 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3691 :
3692 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3693 :
3694 : long
3695 0 : SgOmpHintClause::getChildIndex( SgNode* childNode ) const
3696 : {
3697 : // ------------ checking pointers of SgOmpHintClause -------------------
3698 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3699 0 : int indexCounter = 0;
3700 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3701 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3702 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3703 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3704 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3705 : return -1;
3706 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3707 : }
3708 :
3709 : /* #line 3710 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3710 :
3711 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3712 :
3713 : long
3714 0 : SgOmpGrainsizeClause::getChildIndex( SgNode* childNode ) const
3715 : {
3716 : // ------------ checking pointers of SgOmpGrainsizeClause -------------------
3717 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3718 0 : int indexCounter = 0;
3719 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3720 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3721 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3722 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3723 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3724 : return -1;
3725 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3726 : }
3727 :
3728 : /* #line 3729 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3729 :
3730 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3731 :
3732 : long
3733 0 : SgOmpNumTasksClause::getChildIndex( SgNode* childNode ) const
3734 : {
3735 : // ------------ checking pointers of SgOmpNumTasksClause -------------------
3736 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3737 0 : int indexCounter = 0;
3738 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3739 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3740 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3741 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3742 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3743 : return -1;
3744 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3745 : }
3746 :
3747 : /* #line 3748 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3748 :
3749 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3750 :
3751 : long
3752 0 : SgOmpDetachClause::getChildIndex( SgNode* childNode ) const
3753 : {
3754 : // ------------ checking pointers of SgOmpDetachClause -------------------
3755 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3756 0 : int indexCounter = 0;
3757 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3758 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3759 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3760 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3761 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3762 : return -1;
3763 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3764 : }
3765 :
3766 : /* #line 3767 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3767 :
3768 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3769 :
3770 : long
3771 0 : SgOmpSafelenClause::getChildIndex( SgNode* childNode ) const
3772 : {
3773 : // ------------ checking pointers of SgOmpSafelenClause -------------------
3774 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3775 0 : int indexCounter = 0;
3776 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3777 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3778 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3779 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3780 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3781 : return -1;
3782 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3783 : }
3784 :
3785 : /* #line 3786 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3786 :
3787 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3788 :
3789 : long
3790 0 : SgOmpSimdlenClause::getChildIndex( SgNode* childNode ) const
3791 : {
3792 : // ------------ checking pointers of SgOmpSimdlenClause -------------------
3793 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3794 0 : int indexCounter = 0;
3795 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3796 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3797 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3798 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3799 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3800 : return -1;
3801 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3802 : }
3803 :
3804 : /* #line 3805 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3805 :
3806 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3807 :
3808 : long
3809 0 : SgOmpFinalClause::getChildIndex( SgNode* childNode ) const
3810 : {
3811 : // ------------ checking pointers of SgOmpFinalClause -------------------
3812 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3813 0 : int indexCounter = 0;
3814 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3815 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3816 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3817 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3818 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3819 : return -1;
3820 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3821 : }
3822 :
3823 : /* #line 3824 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3824 :
3825 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3826 :
3827 : long
3828 0 : SgOmpPriorityClause::getChildIndex( SgNode* childNode ) const
3829 : {
3830 : // ------------ checking pointers of SgOmpPriorityClause -------------------
3831 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3832 0 : int indexCounter = 0;
3833 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3834 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3835 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3836 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3837 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3838 : return -1;
3839 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3840 : }
3841 :
3842 : /* #line 3843 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3843 :
3844 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3845 :
3846 : long
3847 0 : SgOmpPartialClause::getChildIndex( SgNode* childNode ) const
3848 : {
3849 : // ------------ checking pointers of SgOmpPartialClause -------------------
3850 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3851 0 : int indexCounter = 0;
3852 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3853 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3854 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3855 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3856 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3857 : return -1;
3858 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3859 : }
3860 :
3861 : /* #line 3862 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3862 :
3863 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3864 :
3865 : long
3866 0 : SgOmpSizesClause::getChildIndex( SgNode* childNode ) const
3867 : {
3868 : // ------------ checking pointers of SgOmpSizesClause -------------------
3869 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3870 0 : int indexCounter = 0;
3871 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
3872 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3873 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3874 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3875 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3876 : return -1;
3877 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3878 : }
3879 :
3880 : /* #line 3881 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3881 :
3882 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3883 :
3884 : long
3885 0 : SgOmpInbranchClause::getChildIndex( SgNode* childNode ) const
3886 : {
3887 : // ------------ checking pointers of SgOmpInbranchClause -------------------
3888 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3889 0 : int indexCounter = 0;
3890 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3891 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3892 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3893 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3894 : return -1;
3895 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3896 : }
3897 :
3898 : /* #line 3899 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3899 :
3900 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3901 :
3902 : long
3903 0 : SgOmpNotinbranchClause::getChildIndex( SgNode* childNode ) const
3904 : {
3905 : // ------------ checking pointers of SgOmpNotinbranchClause -------------------
3906 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3907 0 : int indexCounter = 0;
3908 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3909 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3910 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3911 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3912 : return -1;
3913 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3914 : }
3915 :
3916 : /* #line 3917 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3917 :
3918 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3919 :
3920 : long
3921 0 : SgOmpDefaultmapClause::getChildIndex( SgNode* childNode ) const
3922 : {
3923 : // ------------ checking pointers of SgOmpDefaultmapClause -------------------
3924 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3925 0 : int indexCounter = 0;
3926 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3927 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3928 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3929 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3930 : return -1;
3931 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3932 : }
3933 :
3934 : /* #line 3935 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3935 :
3936 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3937 :
3938 : long
3939 0 : SgOmpAtomicDefaultMemOrderClause::getChildIndex( SgNode* childNode ) const
3940 : {
3941 : // ------------ checking pointers of SgOmpAtomicDefaultMemOrderClause -------------------
3942 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3943 0 : int indexCounter = 0;
3944 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3945 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3946 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3947 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3948 : return -1;
3949 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3950 : }
3951 :
3952 : /* #line 3953 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3953 :
3954 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3955 :
3956 : long
3957 0 : SgOmpExtImplementationDefinedRequirementClause::getChildIndex( SgNode* childNode ) const
3958 : {
3959 : // ------------ checking pointers of SgOmpExtImplementationDefinedRequirementClause -------------------
3960 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3961 0 : int indexCounter = 0;
3962 0 : if ( p_implementation_defined_requirement == childNode ) { return indexCounter; } indexCounter++;
3963 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3964 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3965 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3966 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3967 : return -1;
3968 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3969 : }
3970 :
3971 : /* #line 3972 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3972 :
3973 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3974 :
3975 : long
3976 0 : SgOmpUsesAllocatorsDefination::getChildIndex( SgNode* childNode ) const
3977 : {
3978 : // ------------ checking pointers of SgOmpUsesAllocatorsDefination -------------------
3979 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
3980 0 : int indexCounter = 0;
3981 0 : if ( p_user_defined_allocator == childNode ) { return indexCounter; } indexCounter++;
3982 0 : if ( p_allocator_traits_array == childNode ) { return indexCounter; } indexCounter++;
3983 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3984 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
3985 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
3986 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
3987 : return -1;
3988 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3989 : }
3990 :
3991 : /* #line 3992 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
3992 :
3993 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
3994 :
3995 : long
3996 0 : SgOmpVariablesClause::getChildIndex( SgNode* childNode ) const
3997 : {
3998 : // ------------ checking pointers of SgOmpVariablesClause -------------------
3999 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4000 0 : int indexCounter = 0;
4001 0 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4002 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4003 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4004 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4005 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4006 : return -1;
4007 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4008 : }
4009 :
4010 : /* #line 4011 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4011 :
4012 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4013 :
4014 : long
4015 10 : SgOmpCopyprivateClause::getChildIndex( SgNode* childNode ) const
4016 : {
4017 : // ------------ checking pointers of SgOmpCopyprivateClause -------------------
4018 10 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4019 10 : int indexCounter = 0;
4020 10 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4021 10 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4022 10 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4023 10 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4024 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4025 : return -1;
4026 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4027 : }
4028 :
4029 : /* #line 4030 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4030 :
4031 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4032 :
4033 : long
4034 189 : SgOmpPrivateClause::getChildIndex( SgNode* childNode ) const
4035 : {
4036 : // ------------ checking pointers of SgOmpPrivateClause -------------------
4037 189 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4038 189 : int indexCounter = 0;
4039 189 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4040 189 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4041 189 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4042 189 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4043 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4044 : return -1;
4045 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4046 : }
4047 :
4048 : /* #line 4049 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4049 :
4050 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4051 :
4052 : long
4053 42 : SgOmpFirstprivateClause::getChildIndex( SgNode* childNode ) const
4054 : {
4055 : // ------------ checking pointers of SgOmpFirstprivateClause -------------------
4056 42 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4057 42 : int indexCounter = 0;
4058 42 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4059 42 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4060 42 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4061 42 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4062 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4063 : return -1;
4064 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4065 : }
4066 :
4067 : /* #line 4068 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4068 :
4069 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4070 :
4071 : long
4072 0 : SgOmpNontemporalClause::getChildIndex( SgNode* childNode ) const
4073 : {
4074 : // ------------ checking pointers of SgOmpNontemporalClause -------------------
4075 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4076 0 : int indexCounter = 0;
4077 0 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4078 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4079 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4080 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4081 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4082 : return -1;
4083 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4084 : }
4085 :
4086 : /* #line 4087 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4087 :
4088 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4089 :
4090 : long
4091 0 : SgOmpInclusiveClause::getChildIndex( SgNode* childNode ) const
4092 : {
4093 : // ------------ checking pointers of SgOmpInclusiveClause -------------------
4094 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4095 0 : int indexCounter = 0;
4096 0 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4097 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4098 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4099 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4100 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4101 : return -1;
4102 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4103 : }
4104 :
4105 : /* #line 4106 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4106 :
4107 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4108 :
4109 : long
4110 3 : SgOmpExclusiveClause::getChildIndex( SgNode* childNode ) const
4111 : {
4112 : // ------------ checking pointers of SgOmpExclusiveClause -------------------
4113 3 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4114 3 : int indexCounter = 0;
4115 3 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4116 3 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4117 3 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4118 3 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4119 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4120 : return -1;
4121 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4122 : }
4123 :
4124 : /* #line 4125 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4125 :
4126 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4127 :
4128 : long
4129 0 : SgOmpIsDevicePtrClause::getChildIndex( SgNode* childNode ) const
4130 : {
4131 : // ------------ checking pointers of SgOmpIsDevicePtrClause -------------------
4132 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4133 0 : int indexCounter = 0;
4134 0 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4135 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4136 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4137 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4138 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4139 : return -1;
4140 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4141 : }
4142 :
4143 : /* #line 4144 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4144 :
4145 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4146 :
4147 : long
4148 0 : SgOmpUseDevicePtrClause::getChildIndex( SgNode* childNode ) const
4149 : {
4150 : // ------------ checking pointers of SgOmpUseDevicePtrClause -------------------
4151 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4152 0 : int indexCounter = 0;
4153 0 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4154 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4155 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4156 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4157 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4158 : return -1;
4159 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4160 : }
4161 :
4162 : /* #line 4163 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4163 :
4164 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4165 :
4166 : long
4167 0 : SgOmpUseDeviceAddrClause::getChildIndex( SgNode* childNode ) const
4168 : {
4169 : // ------------ checking pointers of SgOmpUseDeviceAddrClause -------------------
4170 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4171 0 : int indexCounter = 0;
4172 0 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4173 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4174 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4175 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4176 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4177 : return -1;
4178 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4179 : }
4180 :
4181 : /* #line 4182 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4182 :
4183 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4184 :
4185 : long
4186 122 : SgOmpSharedClause::getChildIndex( SgNode* childNode ) const
4187 : {
4188 : // ------------ checking pointers of SgOmpSharedClause -------------------
4189 122 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4190 122 : int indexCounter = 0;
4191 122 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4192 122 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4193 122 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4194 122 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4195 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4196 : return -1;
4197 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4198 : }
4199 :
4200 : /* #line 4201 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4201 :
4202 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4203 :
4204 : long
4205 3 : SgOmpCopyinClause::getChildIndex( SgNode* childNode ) const
4206 : {
4207 : // ------------ checking pointers of SgOmpCopyinClause -------------------
4208 3 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4209 3 : int indexCounter = 0;
4210 3 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4211 3 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4212 3 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4213 3 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4214 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4215 : return -1;
4216 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4217 : }
4218 :
4219 : /* #line 4220 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4220 :
4221 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4222 :
4223 : long
4224 14 : SgOmpLastprivateClause::getChildIndex( SgNode* childNode ) const
4225 : {
4226 : // ------------ checking pointers of SgOmpLastprivateClause -------------------
4227 14 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4228 14 : int indexCounter = 0;
4229 14 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4230 14 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4231 14 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4232 14 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4233 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4234 : return -1;
4235 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4236 : }
4237 :
4238 : /* #line 4239 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4239 :
4240 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4241 :
4242 : long
4243 102 : SgOmpReductionClause::getChildIndex( SgNode* childNode ) const
4244 : {
4245 : // ------------ checking pointers of SgOmpReductionClause -------------------
4246 102 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4247 102 : int indexCounter = 0;
4248 102 : if ( p_user_defined_identifier == childNode ) { return indexCounter; } indexCounter++;
4249 102 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4250 102 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4251 102 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4252 102 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4253 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4254 : return -1;
4255 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4256 : }
4257 :
4258 : /* #line 4259 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4259 :
4260 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4261 :
4262 : long
4263 6 : SgOmpInReductionClause::getChildIndex( SgNode* childNode ) const
4264 : {
4265 : // ------------ checking pointers of SgOmpInReductionClause -------------------
4266 6 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4267 6 : int indexCounter = 0;
4268 6 : if ( p_user_defined_identifier == childNode ) { return indexCounter; } indexCounter++;
4269 6 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4270 6 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4271 6 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4272 6 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4273 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4274 : return -1;
4275 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4276 : }
4277 :
4278 : /* #line 4279 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4279 :
4280 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4281 :
4282 : long
4283 0 : SgOmpTaskReductionClause::getChildIndex( SgNode* childNode ) const
4284 : {
4285 : // ------------ checking pointers of SgOmpTaskReductionClause -------------------
4286 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4287 0 : int indexCounter = 0;
4288 0 : if ( p_user_defined_identifier == childNode ) { return indexCounter; } indexCounter++;
4289 0 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4290 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4291 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4292 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4293 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4294 : return -1;
4295 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4296 : }
4297 :
4298 : /* #line 4299 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4299 :
4300 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4301 :
4302 : long
4303 110 : SgOmpMapClause::getChildIndex( SgNode* childNode ) const
4304 : {
4305 : // ------------ checking pointers of SgOmpMapClause -------------------
4306 110 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4307 110 : int indexCounter = 0;
4308 110 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4309 110 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4310 110 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4311 110 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4312 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4313 : return -1;
4314 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4315 : }
4316 :
4317 : /* #line 4318 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4318 :
4319 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4320 :
4321 : long
4322 66 : SgOmpAllocateClause::getChildIndex( SgNode* childNode ) const
4323 : {
4324 : // ------------ checking pointers of SgOmpAllocateClause -------------------
4325 66 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4326 66 : int indexCounter = 0;
4327 66 : if ( p_user_defined_modifier == childNode ) { return indexCounter; } indexCounter++;
4328 66 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4329 66 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4330 66 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4331 66 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4332 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4333 : return -1;
4334 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4335 : }
4336 :
4337 : /* #line 4338 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4338 :
4339 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4340 :
4341 : long
4342 5 : SgOmpUniformClause::getChildIndex( SgNode* childNode ) const
4343 : {
4344 : // ------------ checking pointers of SgOmpUniformClause -------------------
4345 5 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4346 5 : int indexCounter = 0;
4347 5 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4348 5 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4349 5 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4350 5 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4351 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4352 : return -1;
4353 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4354 : }
4355 :
4356 : /* #line 4357 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4357 :
4358 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4359 :
4360 : long
4361 4 : SgOmpAlignedClause::getChildIndex( SgNode* childNode ) const
4362 : {
4363 : // ------------ checking pointers of SgOmpAlignedClause -------------------
4364 4 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4365 4 : int indexCounter = 0;
4366 4 : if ( p_alignment == childNode ) { return indexCounter; } indexCounter++;
4367 4 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4368 4 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4369 4 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4370 4 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4371 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4372 : return -1;
4373 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4374 : }
4375 :
4376 : /* #line 4377 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4377 :
4378 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4379 :
4380 : long
4381 11 : SgOmpLinearClause::getChildIndex( SgNode* childNode ) const
4382 : {
4383 : // ------------ checking pointers of SgOmpLinearClause -------------------
4384 11 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4385 11 : int indexCounter = 0;
4386 11 : if ( p_step == childNode ) { return indexCounter; } indexCounter++;
4387 11 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4388 11 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4389 11 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4390 11 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4391 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4392 : return -1;
4393 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4394 : }
4395 :
4396 : /* #line 4397 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4397 :
4398 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4399 :
4400 : long
4401 18 : SgOmpDependClause::getChildIndex( SgNode* childNode ) const
4402 : {
4403 : // ------------ checking pointers of SgOmpDependClause -------------------
4404 18 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4405 18 : int indexCounter = 0;
4406 18 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4407 18 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4408 18 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4409 18 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4410 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4411 : return -1;
4412 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4413 : }
4414 :
4415 : /* #line 4416 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4416 :
4417 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4418 :
4419 : long
4420 4 : SgOmpAffinityClause::getChildIndex( SgNode* childNode ) const
4421 : {
4422 : // ------------ checking pointers of SgOmpAffinityClause -------------------
4423 4 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4424 4 : int indexCounter = 0;
4425 4 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4426 4 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4427 4 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4428 4 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4429 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4430 : return -1;
4431 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4432 : }
4433 :
4434 : /* #line 4435 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4435 :
4436 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4437 :
4438 : long
4439 4 : SgOmpToClause::getChildIndex( SgNode* childNode ) const
4440 : {
4441 : // ------------ checking pointers of SgOmpToClause -------------------
4442 4 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4443 4 : int indexCounter = 0;
4444 4 : if ( p_mapper_identifier == childNode ) { return indexCounter; } indexCounter++;
4445 4 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4446 4 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4447 4 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4448 4 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4449 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4450 : return -1;
4451 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4452 : }
4453 :
4454 : /* #line 4455 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4455 :
4456 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4457 :
4458 : long
4459 2 : SgOmpFromClause::getChildIndex( SgNode* childNode ) const
4460 : {
4461 : // ------------ checking pointers of SgOmpFromClause -------------------
4462 2 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4463 2 : int indexCounter = 0;
4464 2 : if ( p_mapper_identifier == childNode ) { return indexCounter; } indexCounter++;
4465 2 : if ( p_variables == childNode ) { return indexCounter; } indexCounter++;
4466 2 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4467 2 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4468 2 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4469 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4470 : return -1;
4471 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4472 : }
4473 :
4474 : /* #line 4475 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4475 :
4476 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4477 :
4478 : long
4479 0 : SgOmpScheduleClause::getChildIndex( SgNode* childNode ) const
4480 : {
4481 : // ------------ checking pointers of SgOmpScheduleClause -------------------
4482 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4483 0 : int indexCounter = 0;
4484 0 : if ( p_chunk_size == childNode ) { return indexCounter; } indexCounter++;
4485 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4486 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4487 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4488 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4489 : return -1;
4490 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4491 : }
4492 :
4493 : /* #line 4494 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4494 :
4495 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4496 :
4497 : long
4498 0 : SgOmpMergeableClause::getChildIndex( SgNode* childNode ) const
4499 : {
4500 : // ------------ checking pointers of SgOmpMergeableClause -------------------
4501 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4502 0 : int indexCounter = 0;
4503 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4504 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4505 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4506 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4507 : return -1;
4508 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4509 : }
4510 :
4511 : /* #line 4512 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4512 :
4513 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4514 :
4515 : long
4516 0 : SgOmpWhenClause::getChildIndex( SgNode* childNode ) const
4517 : {
4518 : // ------------ checking pointers of SgOmpWhenClause -------------------
4519 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4520 0 : int indexCounter = 0;
4521 0 : if ( p_user_condition == childNode ) { return indexCounter; } indexCounter++;
4522 0 : if ( p_user_condition_score == childNode ) { return indexCounter; } indexCounter++;
4523 0 : if ( p_device_arch == childNode ) { return indexCounter; } indexCounter++;
4524 0 : if ( p_device_isa == childNode ) { return indexCounter; } indexCounter++;
4525 0 : if ( p_implementation_user_defined == childNode ) { return indexCounter; } indexCounter++;
4526 0 : if ( p_implementation_extension == childNode ) { return indexCounter; } indexCounter++;
4527 0 : if ( p_variant_directive == childNode ) { return indexCounter; } indexCounter++;
4528 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4529 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4530 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4531 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4532 : return -1;
4533 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4534 : }
4535 :
4536 : /* #line 4537 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4537 :
4538 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4539 :
4540 : long
4541 0 : SgOmpUsesAllocatorsClause::getChildIndex( SgNode* childNode ) const
4542 : {
4543 : // ------------ checking pointers of SgOmpUsesAllocatorsClause -------------------
4544 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4545 0 : int indexCounter = 0;
4546 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4547 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4548 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4549 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4550 : return -1;
4551 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4552 : }
4553 :
4554 : /* #line 4555 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4555 :
4556 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4557 :
4558 : long
4559 0 : SgOmpFullClause::getChildIndex( SgNode* childNode ) const
4560 : {
4561 : // ------------ checking pointers of SgOmpFullClause -------------------
4562 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4563 0 : int indexCounter = 0;
4564 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4565 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4566 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4567 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4568 : return -1;
4569 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4570 : }
4571 :
4572 : /* #line 4573 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4573 :
4574 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4575 :
4576 : long
4577 0 : SgUpirBranchField::getChildIndex( SgNode* childNode ) const
4578 : {
4579 : // ------------ checking pointers of SgUpirBranchField -------------------
4580 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4581 0 : int indexCounter = 0;
4582 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4583 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4584 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4585 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4586 : return -1;
4587 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4588 : }
4589 :
4590 : /* #line 4591 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4591 :
4592 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4593 :
4594 : long
4595 0 : SgUpirNestedLevelField::getChildIndex( SgNode* childNode ) const
4596 : {
4597 : // ------------ checking pointers of SgUpirNestedLevelField -------------------
4598 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4599 0 : int indexCounter = 0;
4600 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4601 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4602 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4603 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4604 : return -1;
4605 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4606 : }
4607 :
4608 : /* #line 4609 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4609 :
4610 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4611 :
4612 : long
4613 0 : SgUpirNestedParentField::getChildIndex( SgNode* childNode ) const
4614 : {
4615 : // ------------ checking pointers of SgUpirNestedParentField -------------------
4616 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4617 0 : int indexCounter = 0;
4618 0 : if ( p_nested_parent == childNode ) { return indexCounter; } indexCounter++;
4619 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4620 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4621 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4622 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4623 : return -1;
4624 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4625 : }
4626 :
4627 : /* #line 4628 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4628 :
4629 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4630 :
4631 : long
4632 0 : SgUpirNestedChildField::getChildIndex( SgNode* childNode ) const
4633 : {
4634 : // ------------ checking pointers of SgUpirNestedChildField -------------------
4635 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4636 0 : int indexCounter = 0;
4637 0 : if ( p_nested_child == childNode ) { return indexCounter; } indexCounter++;
4638 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4639 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4640 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4641 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4642 : return -1;
4643 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4644 : }
4645 :
4646 : /* #line 4647 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4647 :
4648 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4649 :
4650 : long
4651 0 : SgUpirSyncField::getChildIndex( SgNode* childNode ) const
4652 : {
4653 : // ------------ checking pointers of SgUpirSyncField -------------------
4654 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4655 0 : int indexCounter = 0;
4656 0 : if ( p_sync == childNode ) { return indexCounter; } indexCounter++;
4657 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4658 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4659 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4660 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4661 : return -1;
4662 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4663 : }
4664 :
4665 : /* #line 4666 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4666 :
4667 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4668 :
4669 : long
4670 0 : SgUpirDataField::getChildIndex( SgNode* childNode ) const
4671 : {
4672 : // ------------ checking pointers of SgUpirDataField -------------------
4673 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4674 0 : int indexCounter = 0;
4675 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4676 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4677 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4678 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4679 : return -1;
4680 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4681 : }
4682 :
4683 : /* #line 4684 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4684 :
4685 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4686 :
4687 : long
4688 0 : SgUpirTargetField::getChildIndex( SgNode* childNode ) const
4689 : {
4690 : // ------------ checking pointers of SgUpirTargetField -------------------
4691 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4692 0 : int indexCounter = 0;
4693 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4694 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4695 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4696 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4697 : return -1;
4698 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4699 : }
4700 :
4701 : /* #line 4702 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4702 :
4703 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4704 :
4705 : long
4706 0 : SgUpirDataItemField::getChildIndex( SgNode* childNode ) const
4707 : {
4708 : // ------------ checking pointers of SgUpirDataItemField -------------------
4709 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4710 0 : int indexCounter = 0;
4711 0 : if ( p_symbol == childNode ) { return indexCounter; } indexCounter++;
4712 0 : if ( p_mapper == childNode ) { return indexCounter; } indexCounter++;
4713 0 : if ( p_unit_id == childNode ) { return indexCounter; } indexCounter++;
4714 0 : if ( p_user_defined_allocator == childNode ) { return indexCounter; } indexCounter++;
4715 0 : if ( p_user_defined_deallocator == childNode ) { return indexCounter; } indexCounter++;
4716 0 : if ( p_memcpy_helper == childNode ) { return indexCounter; } indexCounter++;
4717 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4718 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4719 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4720 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4721 : return -1;
4722 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4723 : }
4724 :
4725 : /* #line 4726 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4726 :
4727 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4728 :
4729 : long
4730 0 : SgLambdaCapture::getChildIndex( SgNode* childNode ) const
4731 : {
4732 : // ------------ checking pointers of SgLambdaCapture -------------------
4733 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4734 0 : int indexCounter = 0;
4735 0 : if ( p_capture_variable == childNode ) { return indexCounter; } indexCounter++;
4736 0 : if ( p_source_closure_variable == childNode ) { return indexCounter; } indexCounter++;
4737 0 : if ( p_closure_variable == childNode ) { return indexCounter; } indexCounter++;
4738 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4739 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4740 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4741 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4742 : return -1;
4743 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4744 : }
4745 :
4746 : /* #line 4747 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4747 :
4748 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4749 :
4750 : long
4751 0 : SgLambdaCaptureList::getChildIndex( SgNode* childNode ) const
4752 : {
4753 : // ------------ checking pointers of SgLambdaCaptureList -------------------
4754 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4755 0 : int indexCounter = 0;
4756 0 : for ( SgLambdaCapturePtrList::const_iterator source_capture_list_iterator = p_capture_list.begin(); source_capture_list_iterator != p_capture_list.end(); ++source_capture_list_iterator)
4757 : {
4758 0 : if ( *source_capture_list_iterator == childNode ) { return indexCounter; } indexCounter++;
4759 : }
4760 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4761 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4762 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4763 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4764 : return -1;
4765 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4766 : }
4767 :
4768 : /* #line 4769 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4769 :
4770 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4771 :
4772 : long
4773 0 : SgStatement::getChildIndex( SgNode* childNode ) const
4774 : {
4775 : // ------------ checking pointers of SgStatement -------------------
4776 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4777 0 : int indexCounter = 0;
4778 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
4779 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4780 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4781 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4782 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4783 : return -1;
4784 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4785 : }
4786 :
4787 : /* #line 4788 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4788 :
4789 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4790 :
4791 : long
4792 0 : SgScopeStatement::getChildIndex( SgNode* childNode ) const
4793 : {
4794 : // ------------ checking pointers of SgScopeStatement -------------------
4795 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4796 0 : int indexCounter = 0;
4797 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
4798 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
4799 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
4800 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
4801 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4802 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4803 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4804 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4805 : return -1;
4806 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4807 : }
4808 :
4809 : /* #line 4810 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4810 :
4811 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4812 :
4813 : long
4814 5080 : SgGlobal::getChildIndex( SgNode* childNode ) const
4815 : {
4816 : // ------------ checking pointers of SgGlobal -------------------
4817 5080 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4818 5080 : int indexCounter = 0;
4819 19238300 : for ( SgDeclarationStatementPtrList::const_iterator source_declarations_iterator = p_declarations.begin(); source_declarations_iterator != p_declarations.end(); ++source_declarations_iterator)
4820 : {
4821 19233200 : if ( *source_declarations_iterator == childNode ) { return indexCounter; } indexCounter++;
4822 : }
4823 5077 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
4824 5077 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
4825 5077 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
4826 5077 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
4827 5077 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4828 5077 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4829 5080 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4830 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4831 : return -1;
4832 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4833 : }
4834 :
4835 : /* #line 4836 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4836 :
4837 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4838 :
4839 : long
4840 1520 : SgBasicBlock::getChildIndex( SgNode* childNode ) const
4841 : {
4842 : // ------------ checking pointers of SgBasicBlock -------------------
4843 1520 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4844 1520 : int indexCounter = 0;
4845 17041 : for ( SgStatementPtrList::const_iterator source_statements_iterator = p_statements.begin(); source_statements_iterator != p_statements.end(); ++source_statements_iterator)
4846 : {
4847 15749 : if ( *source_statements_iterator == childNode ) { return indexCounter; } indexCounter++;
4848 : }
4849 1292 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
4850 1292 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
4851 1292 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
4852 1292 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
4853 1292 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4854 1292 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4855 1520 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4856 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4857 : return -1;
4858 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4859 : }
4860 :
4861 : /* #line 4862 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4862 :
4863 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4864 :
4865 : long
4866 3615 : SgIfStmt::getChildIndex( SgNode* childNode ) const
4867 : {
4868 : // ------------ checking pointers of SgIfStmt -------------------
4869 3615 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4870 3615 : int indexCounter = 0;
4871 3615 : if ( p_conditional == childNode ) { return indexCounter; } indexCounter++;
4872 3615 : if ( p_true_body == childNode ) { return indexCounter; } indexCounter++;
4873 3615 : if ( p_false_body == childNode ) { return indexCounter; } indexCounter++;
4874 3615 : if ( p_else_numeric_label == childNode ) { return indexCounter; } indexCounter++;
4875 3615 : if ( p_end_numeric_label == childNode ) { return indexCounter; } indexCounter++;
4876 3615 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
4877 3615 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
4878 3615 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
4879 3615 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
4880 3615 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4881 3615 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4882 3615 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4883 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4884 : return -1;
4885 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4886 : }
4887 :
4888 : /* #line 4889 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4889 :
4890 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4891 :
4892 : long
4893 2 : SgForStatement::getChildIndex( SgNode* childNode ) const
4894 : {
4895 : // ------------ checking pointers of SgForStatement -------------------
4896 2 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4897 2 : int indexCounter = 0;
4898 2 : if ( p_for_init_stmt == childNode ) { return indexCounter; } indexCounter++;
4899 2 : if ( p_test == childNode ) { return indexCounter; } indexCounter++;
4900 2 : if ( p_increment == childNode ) { return indexCounter; } indexCounter++;
4901 2 : if ( p_loop_body == childNode ) { return indexCounter; } indexCounter++;
4902 2 : if ( p_else_body == childNode ) { return indexCounter; } indexCounter++;
4903 2 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
4904 2 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
4905 2 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
4906 2 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
4907 2 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4908 2 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4909 2 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4910 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4911 : return -1;
4912 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4913 : }
4914 :
4915 : /* #line 4916 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4916 :
4917 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4918 :
4919 : long
4920 2 : SgFunctionDefinition::getChildIndex( SgNode* childNode ) const
4921 : {
4922 : // ------------ checking pointers of SgFunctionDefinition -------------------
4923 2 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4924 2 : int indexCounter = 0;
4925 2 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
4926 2 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
4927 2 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
4928 2 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
4929 2 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
4930 2 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4931 2 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4932 2 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4933 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4934 : return -1;
4935 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4936 : }
4937 :
4938 : /* #line 4939 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4939 :
4940 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4941 :
4942 : long
4943 0 : SgTemplateFunctionDefinition::getChildIndex( SgNode* childNode ) const
4944 : {
4945 : // ------------ checking pointers of SgTemplateFunctionDefinition -------------------
4946 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4947 0 : int indexCounter = 0;
4948 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
4949 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
4950 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
4951 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
4952 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
4953 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4954 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4955 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4956 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4957 : return -1;
4958 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4959 : }
4960 :
4961 : /* #line 4962 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4962 :
4963 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4964 :
4965 : long
4966 2301 : SgClassDefinition::getChildIndex( SgNode* childNode ) const
4967 : {
4968 : // ------------ checking pointers of SgClassDefinition -------------------
4969 2301 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
4970 2301 : int indexCounter = 0;
4971 30669 : for ( SgDeclarationStatementPtrList::const_iterator source_members_iterator = p_members.begin(); source_members_iterator != p_members.end(); ++source_members_iterator)
4972 : {
4973 28368 : if ( *source_members_iterator == childNode ) { return indexCounter; } indexCounter++;
4974 : }
4975 2616 : for ( SgBaseClassPtrList::const_iterator source_inheritances_iterator = p_inheritances.begin(); source_inheritances_iterator != p_inheritances.end(); ++source_inheritances_iterator)
4976 : {
4977 315 : if ( *source_inheritances_iterator == childNode ) { return indexCounter; } indexCounter++;
4978 : }
4979 2301 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
4980 2301 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
4981 2301 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
4982 2301 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
4983 2301 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4984 2301 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
4985 2301 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
4986 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
4987 : return -1;
4988 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4989 : }
4990 :
4991 : /* #line 4992 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
4992 :
4993 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
4994 :
4995 : long
4996 2239 : SgTemplateInstantiationDefn::getChildIndex( SgNode* childNode ) const
4997 : {
4998 : // ------------ checking pointers of SgTemplateInstantiationDefn -------------------
4999 2239 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5000 2239 : int indexCounter = 0;
5001 68128 : for ( SgDeclarationStatementPtrList::const_iterator source_members_iterator = p_members.begin(); source_members_iterator != p_members.end(); ++source_members_iterator)
5002 : {
5003 65889 : if ( *source_members_iterator == childNode ) { return indexCounter; } indexCounter++;
5004 : }
5005 2842 : for ( SgBaseClassPtrList::const_iterator source_inheritances_iterator = p_inheritances.begin(); source_inheritances_iterator != p_inheritances.end(); ++source_inheritances_iterator)
5006 : {
5007 603 : if ( *source_inheritances_iterator == childNode ) { return indexCounter; } indexCounter++;
5008 : }
5009 2239 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5010 2239 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5011 2239 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5012 2239 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5013 2239 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5014 2239 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5015 2239 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5016 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5017 : return -1;
5018 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5019 : }
5020 :
5021 : /* #line 5022 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5022 :
5023 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5024 :
5025 : long
5026 2205 : SgTemplateClassDefinition::getChildIndex( SgNode* childNode ) const
5027 : {
5028 : // ------------ checking pointers of SgTemplateClassDefinition -------------------
5029 2205 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5030 2205 : int indexCounter = 0;
5031 82875 : for ( SgDeclarationStatementPtrList::const_iterator source_members_iterator = p_members.begin(); source_members_iterator != p_members.end(); ++source_members_iterator)
5032 : {
5033 80670 : if ( *source_members_iterator == childNode ) { return indexCounter; } indexCounter++;
5034 : }
5035 3401 : for ( SgBaseClassPtrList::const_iterator source_inheritances_iterator = p_inheritances.begin(); source_inheritances_iterator != p_inheritances.end(); ++source_inheritances_iterator)
5036 : {
5037 1196 : if ( *source_inheritances_iterator == childNode ) { return indexCounter; } indexCounter++;
5038 : }
5039 2205 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5040 2205 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5041 2205 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5042 2205 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5043 2205 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5044 2205 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5045 2205 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5046 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5047 : return -1;
5048 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5049 : }
5050 :
5051 : /* #line 5052 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5052 :
5053 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5054 :
5055 : long
5056 0 : SgWhileStmt::getChildIndex( SgNode* childNode ) const
5057 : {
5058 : // ------------ checking pointers of SgWhileStmt -------------------
5059 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5060 0 : int indexCounter = 0;
5061 0 : if ( p_condition == childNode ) { return indexCounter; } indexCounter++;
5062 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
5063 0 : if ( p_else_body == childNode ) { return indexCounter; } indexCounter++;
5064 0 : if ( p_end_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5065 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5066 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5067 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5068 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5069 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5070 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5071 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5072 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5073 : return -1;
5074 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5075 : }
5076 :
5077 : /* #line 5078 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5078 :
5079 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5080 :
5081 : long
5082 0 : SgDoWhileStmt::getChildIndex( SgNode* childNode ) const
5083 : {
5084 : // ------------ checking pointers of SgDoWhileStmt -------------------
5085 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5086 0 : int indexCounter = 0;
5087 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
5088 0 : if ( p_condition == childNode ) { return indexCounter; } indexCounter++;
5089 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5090 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5091 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5092 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5093 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5094 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5095 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5096 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5097 : return -1;
5098 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5099 : }
5100 :
5101 : /* #line 5102 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5102 :
5103 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5104 :
5105 : long
5106 0 : SgSwitchStatement::getChildIndex( SgNode* childNode ) const
5107 : {
5108 : // ------------ checking pointers of SgSwitchStatement -------------------
5109 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5110 0 : int indexCounter = 0;
5111 0 : if ( p_item_selector == childNode ) { return indexCounter; } indexCounter++;
5112 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
5113 0 : if ( p_end_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5114 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5115 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5116 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5117 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5118 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5119 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5120 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5121 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5122 : return -1;
5123 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5124 : }
5125 :
5126 : /* #line 5127 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5127 :
5128 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5129 :
5130 : long
5131 0 : SgCatchOptionStmt::getChildIndex( SgNode* childNode ) const
5132 : {
5133 : // ------------ checking pointers of SgCatchOptionStmt -------------------
5134 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5135 0 : int indexCounter = 0;
5136 0 : if ( p_condition == childNode ) { return indexCounter; } indexCounter++;
5137 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
5138 0 : if ( p_trystmt == childNode ) { return indexCounter; } indexCounter++;
5139 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5140 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5141 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5142 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5143 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5144 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5145 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5146 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5147 : return -1;
5148 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5149 : }
5150 :
5151 : /* #line 5152 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5152 :
5153 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5154 :
5155 : long
5156 14555 : SgNamespaceDefinitionStatement::getChildIndex( SgNode* childNode ) const
5157 : {
5158 : // ------------ checking pointers of SgNamespaceDefinitionStatement -------------------
5159 14555 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5160 14555 : int indexCounter = 0;
5161 650228 : for ( SgDeclarationStatementPtrList::const_iterator source_declarations_iterator = p_declarations.begin(); source_declarations_iterator != p_declarations.end(); ++source_declarations_iterator)
5162 : {
5163 635673 : if ( *source_declarations_iterator == childNode ) { return indexCounter; } indexCounter++;
5164 : }
5165 14555 : if ( p_namespaceDeclaration == childNode ) { return indexCounter; } indexCounter++;
5166 14555 : if ( p_previousNamespaceDefinition == childNode ) { return indexCounter; } indexCounter++;
5167 14555 : if ( p_nextNamespaceDefinition == childNode ) { return indexCounter; } indexCounter++;
5168 14555 : if ( p_global_definition == childNode ) { return indexCounter; } indexCounter++;
5169 14555 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5170 14555 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5171 14555 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5172 14555 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5173 14555 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5174 14555 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5175 14555 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5176 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5177 : return -1;
5178 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5179 : }
5180 :
5181 : /* #line 5182 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5182 :
5183 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5184 :
5185 : long
5186 0 : SgBlockDataStatement::getChildIndex( SgNode* childNode ) const
5187 : {
5188 : // ------------ checking pointers of SgBlockDataStatement -------------------
5189 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5190 0 : int indexCounter = 0;
5191 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
5192 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5193 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5194 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5195 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5196 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5197 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5198 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5199 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5200 : return -1;
5201 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5202 : }
5203 :
5204 : /* #line 5205 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5205 :
5206 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5207 :
5208 : long
5209 0 : SgAssociateStatement::getChildIndex( SgNode* childNode ) const
5210 : {
5211 : // ------------ checking pointers of SgAssociateStatement -------------------
5212 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5213 0 : int indexCounter = 0;
5214 0 : for ( SgDeclarationStatementPtrList::const_iterator source_associates_iterator = p_associates.begin(); source_associates_iterator != p_associates.end(); ++source_associates_iterator)
5215 : {
5216 0 : if ( *source_associates_iterator == childNode ) { return indexCounter; } indexCounter++;
5217 : }
5218 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
5219 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5220 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5221 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5222 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5223 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5224 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5225 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5226 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5227 : return -1;
5228 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5229 : }
5230 :
5231 : /* #line 5232 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5232 :
5233 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5234 :
5235 : long
5236 0 : SgFortranDo::getChildIndex( SgNode* childNode ) const
5237 : {
5238 : // ------------ checking pointers of SgFortranDo -------------------
5239 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5240 0 : int indexCounter = 0;
5241 0 : if ( p_initialization == childNode ) { return indexCounter; } indexCounter++;
5242 0 : if ( p_bound == childNode ) { return indexCounter; } indexCounter++;
5243 0 : if ( p_increment == childNode ) { return indexCounter; } indexCounter++;
5244 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
5245 0 : if ( p_end_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5246 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5247 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5248 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5249 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5250 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5251 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5252 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5253 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5254 : return -1;
5255 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5256 : }
5257 :
5258 : /* #line 5259 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5259 :
5260 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5261 :
5262 : long
5263 0 : SgFortranNonblockedDo::getChildIndex( SgNode* childNode ) const
5264 : {
5265 : // ------------ checking pointers of SgFortranNonblockedDo -------------------
5266 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5267 0 : int indexCounter = 0;
5268 0 : if ( p_end_statement == childNode ) { return indexCounter; } indexCounter++;
5269 0 : if ( p_initialization == childNode ) { return indexCounter; } indexCounter++;
5270 0 : if ( p_bound == childNode ) { return indexCounter; } indexCounter++;
5271 0 : if ( p_increment == childNode ) { return indexCounter; } indexCounter++;
5272 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
5273 0 : if ( p_end_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5274 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5275 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5276 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5277 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5278 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5279 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5280 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5281 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5282 : return -1;
5283 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5284 : }
5285 :
5286 : /* #line 5287 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5287 :
5288 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5289 :
5290 : long
5291 0 : SgForAllStatement::getChildIndex( SgNode* childNode ) const
5292 : {
5293 : // ------------ checking pointers of SgForAllStatement -------------------
5294 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5295 0 : int indexCounter = 0;
5296 0 : if ( p_forall_header == childNode ) { return indexCounter; } indexCounter++;
5297 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
5298 0 : if ( p_end_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5299 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5300 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5301 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5302 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5303 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5304 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5305 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5306 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5307 : return -1;
5308 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5309 : }
5310 :
5311 : /* #line 5312 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5312 :
5313 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5314 :
5315 : long
5316 0 : SgUpcForAllStatement::getChildIndex( SgNode* childNode ) const
5317 : {
5318 : // ------------ checking pointers of SgUpcForAllStatement -------------------
5319 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5320 0 : int indexCounter = 0;
5321 0 : if ( p_for_init_stmt == childNode ) { return indexCounter; } indexCounter++;
5322 0 : if ( p_test == childNode ) { return indexCounter; } indexCounter++;
5323 0 : if ( p_increment == childNode ) { return indexCounter; } indexCounter++;
5324 0 : if ( p_affinity == childNode ) { return indexCounter; } indexCounter++;
5325 0 : if ( p_loop_body == childNode ) { return indexCounter; } indexCounter++;
5326 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5327 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5328 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5329 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5330 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5331 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5332 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5333 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5334 : return -1;
5335 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5336 : }
5337 :
5338 : /* #line 5339 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5339 :
5340 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5341 :
5342 : long
5343 0 : SgCAFWithTeamStatement::getChildIndex( SgNode* childNode ) const
5344 : {
5345 : // ------------ checking pointers of SgCAFWithTeamStatement -------------------
5346 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5347 0 : int indexCounter = 0;
5348 0 : if ( p_teamId == childNode ) { return indexCounter; } indexCounter++;
5349 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
5350 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5351 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5352 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5353 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5354 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5355 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5356 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5357 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5358 : return -1;
5359 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5360 : }
5361 :
5362 : /* #line 5363 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5363 :
5364 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5365 :
5366 : long
5367 0 : SgFunctionParameterScope::getChildIndex( SgNode* childNode ) const
5368 : {
5369 : // ------------ checking pointers of SgFunctionParameterScope -------------------
5370 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5371 0 : int indexCounter = 0;
5372 0 : for ( SgDeclarationStatementPtrList::const_iterator source_declarations_iterator = p_declarations.begin(); source_declarations_iterator != p_declarations.end(); ++source_declarations_iterator)
5373 : {
5374 0 : if ( *source_declarations_iterator == childNode ) { return indexCounter; } indexCounter++;
5375 : }
5376 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5377 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5378 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5379 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5380 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5381 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5382 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5383 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5384 : return -1;
5385 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5386 : }
5387 :
5388 : /* #line 5389 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5389 :
5390 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5391 :
5392 : long
5393 89305 : SgDeclarationScope::getChildIndex( SgNode* childNode ) const
5394 : {
5395 : // ------------ checking pointers of SgDeclarationScope -------------------
5396 89305 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5397 89305 : int indexCounter = 0;
5398 89305 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5399 89305 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5400 89305 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5401 89305 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5402 89305 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5403 89305 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5404 89305 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5405 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5406 : return -1;
5407 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5408 : }
5409 :
5410 : /* #line 5411 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5411 :
5412 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5413 :
5414 : long
5415 0 : SgRangeBasedForStatement::getChildIndex( SgNode* childNode ) const
5416 : {
5417 : // ------------ checking pointers of SgRangeBasedForStatement -------------------
5418 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5419 0 : int indexCounter = 0;
5420 0 : if ( p_iterator_declaration == childNode ) { return indexCounter; } indexCounter++;
5421 0 : if ( p_range_declaration == childNode ) { return indexCounter; } indexCounter++;
5422 0 : if ( p_begin_declaration == childNode ) { return indexCounter; } indexCounter++;
5423 0 : if ( p_end_declaration == childNode ) { return indexCounter; } indexCounter++;
5424 0 : if ( p_not_equal_expression == childNode ) { return indexCounter; } indexCounter++;
5425 0 : if ( p_increment_expression == childNode ) { return indexCounter; } indexCounter++;
5426 0 : if ( p_loop_body == childNode ) { return indexCounter; } indexCounter++;
5427 0 : if ( p_symbol_table == childNode ) { return indexCounter; } indexCounter++;
5428 0 : if ( p_type_table == childNode ) { return indexCounter; } indexCounter++;
5429 0 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
5430 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5431 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5432 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5433 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5434 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5435 : return -1;
5436 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5437 : }
5438 :
5439 : /* #line 5440 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5440 :
5441 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5442 :
5443 : long
5444 0 : SgFunctionTypeTable::getChildIndex( SgNode* childNode ) const
5445 : {
5446 : // ------------ checking pointers of SgFunctionTypeTable -------------------
5447 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5448 0 : int indexCounter = 0;
5449 0 : if ( p_function_type_table == childNode ) { return indexCounter; } indexCounter++;
5450 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5451 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5452 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5453 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5454 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5455 : return -1;
5456 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5457 : }
5458 :
5459 : /* #line 5460 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5460 :
5461 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5462 :
5463 : long
5464 0 : SgDeclarationStatement::getChildIndex( SgNode* childNode ) const
5465 : {
5466 : // ------------ checking pointers of SgDeclarationStatement -------------------
5467 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5468 0 : int indexCounter = 0;
5469 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5470 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5471 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5472 : {
5473 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5474 : }
5475 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5476 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5477 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5478 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5479 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5480 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5481 : return -1;
5482 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5483 : }
5484 :
5485 : /* #line 5486 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5486 :
5487 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5488 :
5489 : long
5490 96 : SgFunctionParameterList::getChildIndex( SgNode* childNode ) const
5491 : {
5492 : // ------------ checking pointers of SgFunctionParameterList -------------------
5493 96 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5494 96 : int indexCounter = 0;
5495 209 : for ( SgInitializedNamePtrList::const_iterator source_args_iterator = p_args.begin(); source_args_iterator != p_args.end(); ++source_args_iterator)
5496 : {
5497 113 : if ( *source_args_iterator == childNode ) { return indexCounter; } indexCounter++;
5498 : }
5499 96 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5500 96 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5501 96 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5502 : {
5503 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5504 : }
5505 96 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5506 96 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5507 96 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5508 96 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5509 96 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5510 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5511 : return -1;
5512 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5513 : }
5514 :
5515 : /* #line 5516 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5516 :
5517 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5518 :
5519 : long
5520 575 : SgVariableDeclaration::getChildIndex( SgNode* childNode ) const
5521 : {
5522 : // ------------ checking pointers of SgVariableDeclaration -------------------
5523 575 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5524 575 : int indexCounter = 0;
5525 575 : if ( p_baseTypeDefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5526 1150 : for ( SgInitializedNamePtrList::const_iterator source_variables_iterator = p_variables.begin(); source_variables_iterator != p_variables.end(); ++source_variables_iterator)
5527 : {
5528 575 : if ( *source_variables_iterator == childNode ) { return indexCounter; } indexCounter++;
5529 : }
5530 575 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5531 575 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5532 575 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5533 : {
5534 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5535 : }
5536 575 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5537 575 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5538 575 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5539 575 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5540 575 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5541 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5542 : return -1;
5543 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5544 : }
5545 :
5546 : /* #line 5547 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5547 :
5548 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5549 :
5550 : long
5551 4 : SgTemplateVariableDeclaration::getChildIndex( SgNode* childNode ) const
5552 : {
5553 : // ------------ checking pointers of SgTemplateVariableDeclaration -------------------
5554 4 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5555 4 : int indexCounter = 0;
5556 4 : for ( SgTemplateParameterPtrList::const_iterator source_templateParameters_iterator = p_templateParameters.begin(); source_templateParameters_iterator != p_templateParameters.end(); ++source_templateParameters_iterator)
5557 : {
5558 0 : if ( *source_templateParameters_iterator == childNode ) { return indexCounter; } indexCounter++;
5559 : }
5560 4 : for ( SgTemplateArgumentPtrList::const_iterator source_templateSpecializationArguments_iterator = p_templateSpecializationArguments.begin(); source_templateSpecializationArguments_iterator != p_templateSpecializationArguments.end(); ++source_templateSpecializationArguments_iterator)
5561 : {
5562 0 : if ( *source_templateSpecializationArguments_iterator == childNode ) { return indexCounter; } indexCounter++;
5563 : }
5564 4 : if ( p_nonreal_decl_scope == childNode ) { return indexCounter; } indexCounter++;
5565 4 : if ( p_baseTypeDefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5566 8 : for ( SgInitializedNamePtrList::const_iterator source_variables_iterator = p_variables.begin(); source_variables_iterator != p_variables.end(); ++source_variables_iterator)
5567 : {
5568 4 : if ( *source_variables_iterator == childNode ) { return indexCounter; } indexCounter++;
5569 : }
5570 4 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5571 4 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5572 4 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5573 : {
5574 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5575 : }
5576 4 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5577 4 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5578 4 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5579 4 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5580 4 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5581 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5582 : return -1;
5583 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5584 : }
5585 :
5586 : /* #line 5587 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5587 :
5588 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5589 :
5590 : long
5591 0 : SgVariableDefinition::getChildIndex( SgNode* childNode ) const
5592 : {
5593 : // ------------ checking pointers of SgVariableDefinition -------------------
5594 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5595 0 : int indexCounter = 0;
5596 0 : if ( p_vardefn == childNode ) { return indexCounter; } indexCounter++;
5597 0 : if ( p_bitfield == childNode ) { return indexCounter; } indexCounter++;
5598 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5599 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5600 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5601 : {
5602 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5603 : }
5604 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5605 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5606 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5607 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5608 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5609 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5610 : return -1;
5611 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5612 : }
5613 :
5614 : /* #line 5615 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5615 :
5616 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5617 :
5618 : long
5619 0 : SgClinkageDeclarationStatement::getChildIndex( SgNode* childNode ) const
5620 : {
5621 : // ------------ checking pointers of SgClinkageDeclarationStatement -------------------
5622 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5623 0 : int indexCounter = 0;
5624 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5625 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5626 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5627 : {
5628 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5629 : }
5630 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5631 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5632 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5633 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5634 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5635 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5636 : return -1;
5637 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5638 : }
5639 :
5640 : /* #line 5641 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5641 :
5642 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5643 :
5644 : long
5645 0 : SgClinkageStartStatement::getChildIndex( SgNode* childNode ) const
5646 : {
5647 : // ------------ checking pointers of SgClinkageStartStatement -------------------
5648 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5649 0 : int indexCounter = 0;
5650 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5651 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5652 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5653 : {
5654 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5655 : }
5656 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5657 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5658 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5659 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5660 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5661 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5662 : return -1;
5663 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5664 : }
5665 :
5666 : /* #line 5667 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5667 :
5668 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5669 :
5670 : long
5671 0 : SgClinkageEndStatement::getChildIndex( SgNode* childNode ) const
5672 : {
5673 : // ------------ checking pointers of SgClinkageEndStatement -------------------
5674 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5675 0 : int indexCounter = 0;
5676 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5677 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5678 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5679 : {
5680 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5681 : }
5682 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5683 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5684 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5685 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5686 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5687 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5688 : return -1;
5689 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5690 : }
5691 :
5692 : /* #line 5693 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5693 :
5694 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5695 :
5696 : long
5697 0 : SgEnumDeclaration::getChildIndex( SgNode* childNode ) const
5698 : {
5699 : // ------------ checking pointers of SgEnumDeclaration -------------------
5700 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5701 0 : int indexCounter = 0;
5702 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
5703 0 : if ( p_adaParentType == childNode ) { return indexCounter; } indexCounter++;
5704 0 : for ( SgInitializedNamePtrList::const_iterator source_enumerators_iterator = p_enumerators.begin(); source_enumerators_iterator != p_enumerators.end(); ++source_enumerators_iterator)
5705 : {
5706 0 : if ( *source_enumerators_iterator == childNode ) { return indexCounter; } indexCounter++;
5707 : }
5708 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
5709 0 : if ( p_field_type == childNode ) { return indexCounter; } indexCounter++;
5710 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5711 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5712 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5713 : {
5714 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5715 : }
5716 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5717 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5718 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5719 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5720 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5721 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5722 : return -1;
5723 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5724 : }
5725 :
5726 : /* #line 5727 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5727 :
5728 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5729 :
5730 : long
5731 0 : SgAsmStmt::getChildIndex( SgNode* childNode ) const
5732 : {
5733 : // ------------ checking pointers of SgAsmStmt -------------------
5734 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5735 0 : int indexCounter = 0;
5736 0 : for ( SgExpressionPtrList::const_iterator source_operands_iterator = p_operands.begin(); source_operands_iterator != p_operands.end(); ++source_operands_iterator)
5737 : {
5738 0 : if ( *source_operands_iterator == childNode ) { return indexCounter; } indexCounter++;
5739 : }
5740 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5741 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5742 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5743 : {
5744 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5745 : }
5746 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5747 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5748 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5749 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5750 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5751 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5752 : return -1;
5753 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5754 : }
5755 :
5756 : /* #line 5757 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5757 :
5758 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5759 :
5760 : long
5761 0 : SgAttributeSpecificationStatement::getChildIndex( SgNode* childNode ) const
5762 : {
5763 : // ------------ checking pointers of SgAttributeSpecificationStatement -------------------
5764 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5765 0 : int indexCounter = 0;
5766 0 : if ( p_parameter_list == childNode ) { return indexCounter; } indexCounter++;
5767 0 : for ( SgDataStatementGroupPtrList::const_iterator source_data_statement_group_list_iterator = p_data_statement_group_list.begin(); source_data_statement_group_list_iterator != p_data_statement_group_list.end(); ++source_data_statement_group_list_iterator)
5768 : {
5769 0 : if ( *source_data_statement_group_list_iterator == childNode ) { return indexCounter; } indexCounter++;
5770 : }
5771 0 : if ( p_bind_list == childNode ) { return indexCounter; } indexCounter++;
5772 0 : for ( SgDimensionObjectPtrList::const_iterator source_dimension_object_list_iterator = p_dimension_object_list.begin(); source_dimension_object_list_iterator != p_dimension_object_list.end(); ++source_dimension_object_list_iterator)
5773 : {
5774 0 : if ( *source_dimension_object_list_iterator == childNode ) { return indexCounter; } indexCounter++;
5775 : }
5776 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5777 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5778 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5779 : {
5780 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5781 : }
5782 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5783 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5784 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5785 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5786 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5787 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5788 : return -1;
5789 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5790 : }
5791 :
5792 : /* #line 5793 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5793 :
5794 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5795 :
5796 : long
5797 0 : SgFormatStatement::getChildIndex( SgNode* childNode ) const
5798 : {
5799 : // ------------ checking pointers of SgFormatStatement -------------------
5800 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5801 0 : int indexCounter = 0;
5802 0 : if ( p_format_item_list == childNode ) { return indexCounter; } indexCounter++;
5803 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5804 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5805 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5806 : {
5807 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5808 : }
5809 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5810 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5811 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5812 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5813 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5814 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5815 : return -1;
5816 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5817 : }
5818 :
5819 : /* #line 5820 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5820 :
5821 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5822 :
5823 : long
5824 0 : SgTemplateDeclaration::getChildIndex( SgNode* childNode ) const
5825 : {
5826 : // ------------ checking pointers of SgTemplateDeclaration -------------------
5827 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5828 0 : int indexCounter = 0;
5829 0 : for ( SgTemplateParameterPtrList::const_iterator source_templateParameters_iterator = p_templateParameters.begin(); source_templateParameters_iterator != p_templateParameters.end(); ++source_templateParameters_iterator)
5830 : {
5831 0 : if ( *source_templateParameters_iterator == childNode ) { return indexCounter; } indexCounter++;
5832 : }
5833 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
5834 0 : if ( p_nonreal_decl_scope == childNode ) { return indexCounter; } indexCounter++;
5835 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5836 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5837 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5838 : {
5839 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5840 : }
5841 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5842 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5843 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5844 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5845 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5846 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5847 : return -1;
5848 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5849 : }
5850 :
5851 : /* #line 5852 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5852 :
5853 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5854 :
5855 : long
5856 0 : SgTemplateInstantiationDirectiveStatement::getChildIndex( SgNode* childNode ) const
5857 : {
5858 : // ------------ checking pointers of SgTemplateInstantiationDirectiveStatement -------------------
5859 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5860 0 : int indexCounter = 0;
5861 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
5862 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5863 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5864 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5865 : {
5866 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5867 : }
5868 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5869 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5870 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5871 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5872 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5873 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5874 : return -1;
5875 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5876 : }
5877 :
5878 : /* #line 5879 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5879 :
5880 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5881 :
5882 : long
5883 0 : SgUseStatement::getChildIndex( SgNode* childNode ) const
5884 : {
5885 : // ------------ checking pointers of SgUseStatement -------------------
5886 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5887 0 : int indexCounter = 0;
5888 0 : for ( SgRenamePairPtrList::const_iterator source_rename_list_iterator = p_rename_list.begin(); source_rename_list_iterator != p_rename_list.end(); ++source_rename_list_iterator)
5889 : {
5890 0 : if ( *source_rename_list_iterator == childNode ) { return indexCounter; } indexCounter++;
5891 : }
5892 0 : if ( p_module == childNode ) { return indexCounter; } indexCounter++;
5893 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5894 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5895 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5896 : {
5897 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5898 : }
5899 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5900 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5901 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5902 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5903 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5904 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5905 : return -1;
5906 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5907 : }
5908 :
5909 : /* #line 5910 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5910 :
5911 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5912 :
5913 : long
5914 0 : SgParameterStatement::getChildIndex( SgNode* childNode ) const
5915 : {
5916 : // ------------ checking pointers of SgParameterStatement -------------------
5917 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5918 0 : int indexCounter = 0;
5919 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5920 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5921 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5922 : {
5923 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5924 : }
5925 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5926 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5927 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5928 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5929 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5930 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5931 : return -1;
5932 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5933 : }
5934 :
5935 : /* #line 5936 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5936 :
5937 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5938 :
5939 : long
5940 107 : SgNamespaceDeclarationStatement::getChildIndex( SgNode* childNode ) const
5941 : {
5942 : // ------------ checking pointers of SgNamespaceDeclarationStatement -------------------
5943 107 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5944 107 : int indexCounter = 0;
5945 107 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
5946 107 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5947 107 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5948 107 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5949 : {
5950 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5951 : }
5952 107 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5953 107 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5954 107 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5955 107 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5956 107 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5957 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5958 : return -1;
5959 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5960 : }
5961 :
5962 : /* #line 5963 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5963 :
5964 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5965 :
5966 : long
5967 0 : SgEquivalenceStatement::getChildIndex( SgNode* childNode ) const
5968 : {
5969 : // ------------ checking pointers of SgEquivalenceStatement -------------------
5970 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5971 0 : int indexCounter = 0;
5972 0 : if ( p_equivalence_set_list == childNode ) { return indexCounter; } indexCounter++;
5973 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
5974 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
5975 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
5976 : {
5977 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
5978 : }
5979 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
5980 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
5981 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5982 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
5983 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
5984 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
5985 : return -1;
5986 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5987 : }
5988 :
5989 : /* #line 5990 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
5990 :
5991 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
5992 :
5993 : long
5994 0 : SgInterfaceStatement::getChildIndex( SgNode* childNode ) const
5995 : {
5996 : // ------------ checking pointers of SgInterfaceStatement -------------------
5997 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
5998 0 : int indexCounter = 0;
5999 0 : for ( SgInterfaceBodyPtrList::const_iterator source_interface_body_list_iterator = p_interface_body_list.begin(); source_interface_body_list_iterator != p_interface_body_list.end(); ++source_interface_body_list_iterator)
6000 : {
6001 0 : if ( *source_interface_body_list_iterator == childNode ) { return indexCounter; } indexCounter++;
6002 : }
6003 0 : if ( p_end_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6004 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6005 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6006 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6007 : {
6008 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6009 : }
6010 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6011 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6012 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6013 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6014 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6015 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6016 : return -1;
6017 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6018 : }
6019 :
6020 : /* #line 6021 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6021 :
6022 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6023 :
6024 : long
6025 0 : SgNamespaceAliasDeclarationStatement::getChildIndex( SgNode* childNode ) const
6026 : {
6027 : // ------------ checking pointers of SgNamespaceAliasDeclarationStatement -------------------
6028 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6029 0 : int indexCounter = 0;
6030 0 : if ( p_namespaceDeclaration == childNode ) { return indexCounter; } indexCounter++;
6031 0 : if ( p_namespaceAliasDeclaration == childNode ) { return indexCounter; } indexCounter++;
6032 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6033 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6034 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6035 : {
6036 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6037 : }
6038 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6039 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6040 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6041 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6042 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6043 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6044 : return -1;
6045 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6046 : }
6047 :
6048 : /* #line 6049 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6049 :
6050 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6051 :
6052 : long
6053 0 : SgCommonBlock::getChildIndex( SgNode* childNode ) const
6054 : {
6055 : // ------------ checking pointers of SgCommonBlock -------------------
6056 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6057 0 : int indexCounter = 0;
6058 0 : for ( SgCommonBlockObjectPtrList::const_iterator source_block_list_iterator = p_block_list.begin(); source_block_list_iterator != p_block_list.end(); ++source_block_list_iterator)
6059 : {
6060 0 : if ( *source_block_list_iterator == childNode ) { return indexCounter; } indexCounter++;
6061 : }
6062 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6063 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6064 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6065 : {
6066 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6067 : }
6068 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6069 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6070 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6071 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6072 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6073 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6074 : return -1;
6075 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6076 : }
6077 :
6078 : /* #line 6079 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6079 :
6080 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6081 :
6082 : long
6083 2724 : SgTypedefDeclaration::getChildIndex( SgNode* childNode ) const
6084 : {
6085 : // ------------ checking pointers of SgTypedefDeclaration -------------------
6086 2724 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6087 2724 : int indexCounter = 0;
6088 2724 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
6089 2724 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6090 2724 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
6091 2724 : if ( p_parent_scope == childNode ) { return indexCounter; } indexCounter++;
6092 2724 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6093 2724 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6094 2724 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6095 2724 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6096 : {
6097 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6098 : }
6099 2724 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6100 2724 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6101 2724 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6102 2724 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6103 2724 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6104 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6105 : return -1;
6106 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6107 : }
6108 :
6109 : /* #line 6110 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6110 :
6111 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6112 :
6113 : long
6114 0 : SgTemplateTypedefDeclaration::getChildIndex( SgNode* childNode ) const
6115 : {
6116 : // ------------ checking pointers of SgTemplateTypedefDeclaration -------------------
6117 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6118 0 : int indexCounter = 0;
6119 0 : for ( SgTemplateParameterPtrList::const_iterator source_templateParameters_iterator = p_templateParameters.begin(); source_templateParameters_iterator != p_templateParameters.end(); ++source_templateParameters_iterator)
6120 : {
6121 0 : if ( *source_templateParameters_iterator == childNode ) { return indexCounter; } indexCounter++;
6122 : }
6123 0 : for ( SgTemplateArgumentPtrList::const_iterator source_templateSpecializationArguments_iterator = p_templateSpecializationArguments.begin(); source_templateSpecializationArguments_iterator != p_templateSpecializationArguments.end(); ++source_templateSpecializationArguments_iterator)
6124 : {
6125 0 : if ( *source_templateSpecializationArguments_iterator == childNode ) { return indexCounter; } indexCounter++;
6126 : }
6127 0 : if ( p_nonreal_decl_scope == childNode ) { return indexCounter; } indexCounter++;
6128 0 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
6129 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6130 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
6131 0 : if ( p_parent_scope == childNode ) { return indexCounter; } indexCounter++;
6132 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6133 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6134 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6135 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6136 : {
6137 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6138 : }
6139 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6140 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6141 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6142 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6143 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6144 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6145 : return -1;
6146 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6147 : }
6148 :
6149 : /* #line 6150 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6150 :
6151 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6152 :
6153 : long
6154 452 : SgTemplateInstantiationTypedefDeclaration::getChildIndex( SgNode* childNode ) const
6155 : {
6156 : // ------------ checking pointers of SgTemplateInstantiationTypedefDeclaration -------------------
6157 452 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6158 452 : int indexCounter = 0;
6159 452 : if ( p_templateDeclaration == childNode ) { return indexCounter; } indexCounter++;
6160 1082 : for ( SgTemplateArgumentPtrList::const_iterator source_templateArguments_iterator = p_templateArguments.begin(); source_templateArguments_iterator != p_templateArguments.end(); ++source_templateArguments_iterator)
6161 : {
6162 630 : if ( *source_templateArguments_iterator == childNode ) { return indexCounter; } indexCounter++;
6163 : }
6164 452 : if ( p_base_type == childNode ) { return indexCounter; } indexCounter++;
6165 452 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6166 452 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
6167 452 : if ( p_parent_scope == childNode ) { return indexCounter; } indexCounter++;
6168 452 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6169 452 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6170 452 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6171 452 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6172 : {
6173 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6174 : }
6175 452 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6176 452 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6177 452 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6178 452 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6179 452 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6180 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6181 : return -1;
6182 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6183 : }
6184 :
6185 : /* #line 6186 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6186 :
6187 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6188 :
6189 : long
6190 0 : SgStatementFunctionStatement::getChildIndex( SgNode* childNode ) const
6191 : {
6192 : // ------------ checking pointers of SgStatementFunctionStatement -------------------
6193 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6194 0 : int indexCounter = 0;
6195 0 : if ( p_function == childNode ) { return indexCounter; } indexCounter++;
6196 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
6197 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6198 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6199 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6200 : {
6201 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6202 : }
6203 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6204 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6205 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6206 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6207 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6208 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6209 : return -1;
6210 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6211 : }
6212 :
6213 : /* #line 6214 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6214 :
6215 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6216 :
6217 : long
6218 0 : SgCtorInitializerList::getChildIndex( SgNode* childNode ) const
6219 : {
6220 : // ------------ checking pointers of SgCtorInitializerList -------------------
6221 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6222 0 : int indexCounter = 0;
6223 0 : for ( SgInitializedNamePtrList::const_iterator source_ctors_iterator = p_ctors.begin(); source_ctors_iterator != p_ctors.end(); ++source_ctors_iterator)
6224 : {
6225 0 : if ( *source_ctors_iterator == childNode ) { return indexCounter; } indexCounter++;
6226 : }
6227 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6228 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6229 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6230 : {
6231 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6232 : }
6233 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6234 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6235 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6236 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6237 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6238 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6239 : return -1;
6240 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6241 : }
6242 :
6243 : /* #line 6244 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6244 :
6245 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6246 :
6247 : long
6248 46 : SgPragmaDeclaration::getChildIndex( SgNode* childNode ) const
6249 : {
6250 : // ------------ checking pointers of SgPragmaDeclaration -------------------
6251 46 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6252 46 : int indexCounter = 0;
6253 46 : if ( p_pragma == childNode ) { return indexCounter; } indexCounter++;
6254 46 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6255 46 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6256 46 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6257 : {
6258 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6259 : }
6260 46 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6261 46 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6262 46 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6263 46 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6264 46 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6265 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6266 : return -1;
6267 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6268 : }
6269 :
6270 : /* #line 6271 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6271 :
6272 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6273 :
6274 : long
6275 0 : SgUsingDirectiveStatement::getChildIndex( SgNode* childNode ) const
6276 : {
6277 : // ------------ checking pointers of SgUsingDirectiveStatement -------------------
6278 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6279 0 : int indexCounter = 0;
6280 0 : if ( p_namespaceDeclaration == childNode ) { return indexCounter; } indexCounter++;
6281 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6282 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6283 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6284 : {
6285 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6286 : }
6287 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6288 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6289 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6290 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6291 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6292 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6293 : return -1;
6294 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6295 : }
6296 :
6297 : /* #line 6298 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6298 :
6299 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6300 :
6301 : long
6302 8 : SgClassDeclaration::getChildIndex( SgNode* childNode ) const
6303 : {
6304 : // ------------ checking pointers of SgClassDeclaration -------------------
6305 8 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6306 8 : int indexCounter = 0;
6307 8 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6308 8 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6309 8 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6310 8 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6311 8 : if ( p_adaParentType == childNode ) { return indexCounter; } indexCounter++;
6312 8 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6313 8 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6314 8 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6315 : {
6316 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6317 : }
6318 8 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6319 8 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6320 8 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6321 8 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6322 8 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6323 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6324 : return -1;
6325 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6326 : }
6327 :
6328 : /* #line 6329 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6329 :
6330 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6331 :
6332 : long
6333 1 : SgTemplateClassDeclaration::getChildIndex( SgNode* childNode ) const
6334 : {
6335 : // ------------ checking pointers of SgTemplateClassDeclaration -------------------
6336 1 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6337 1 : int indexCounter = 0;
6338 2 : for ( SgTemplateParameterPtrList::const_iterator source_templateParameters_iterator = p_templateParameters.begin(); source_templateParameters_iterator != p_templateParameters.end(); ++source_templateParameters_iterator)
6339 : {
6340 1 : if ( *source_templateParameters_iterator == childNode ) { return indexCounter; } indexCounter++;
6341 : }
6342 1 : for ( SgTemplateArgumentPtrList::const_iterator source_templateSpecializationArguments_iterator = p_templateSpecializationArguments.begin(); source_templateSpecializationArguments_iterator != p_templateSpecializationArguments.end(); ++source_templateSpecializationArguments_iterator)
6343 : {
6344 0 : if ( *source_templateSpecializationArguments_iterator == childNode ) { return indexCounter; } indexCounter++;
6345 : }
6346 1 : if ( p_nonreal_decl_scope == childNode ) { return indexCounter; } indexCounter++;
6347 1 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6348 1 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6349 1 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6350 1 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6351 1 : if ( p_adaParentType == childNode ) { return indexCounter; } indexCounter++;
6352 1 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6353 1 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6354 1 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6355 : {
6356 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6357 : }
6358 1 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6359 1 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6360 1 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6361 1 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6362 1 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6363 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6364 : return -1;
6365 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6366 : }
6367 :
6368 : /* #line 6369 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6369 :
6370 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6371 :
6372 : long
6373 3383 : SgTemplateInstantiationDecl::getChildIndex( SgNode* childNode ) const
6374 : {
6375 : // ------------ checking pointers of SgTemplateInstantiationDecl -------------------
6376 3383 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6377 3383 : int indexCounter = 0;
6378 3383 : if ( p_templateDeclaration == childNode ) { return indexCounter; } indexCounter++;
6379 11198 : for ( SgTemplateArgumentPtrList::const_iterator source_templateArguments_iterator = p_templateArguments.begin(); source_templateArguments_iterator != p_templateArguments.end(); ++source_templateArguments_iterator)
6380 : {
6381 7815 : if ( *source_templateArguments_iterator == childNode ) { return indexCounter; } indexCounter++;
6382 : }
6383 3383 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6384 3383 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6385 3383 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6386 3383 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6387 3383 : if ( p_adaParentType == childNode ) { return indexCounter; } indexCounter++;
6388 3383 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6389 3383 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6390 3383 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6391 : {
6392 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6393 : }
6394 3383 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6395 3383 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6396 3383 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6397 3383 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6398 3383 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6399 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6400 : return -1;
6401 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6402 : }
6403 :
6404 : /* #line 6405 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6405 :
6406 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6407 :
6408 : long
6409 0 : SgDerivedTypeStatement::getChildIndex( SgNode* childNode ) const
6410 : {
6411 : // ------------ checking pointers of SgDerivedTypeStatement -------------------
6412 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6413 0 : int indexCounter = 0;
6414 0 : if ( p_end_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6415 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6416 0 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6417 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6418 0 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6419 0 : if ( p_adaParentType == childNode ) { return indexCounter; } indexCounter++;
6420 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6421 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6422 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6423 : {
6424 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6425 : }
6426 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6427 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6428 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6429 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6430 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6431 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6432 : return -1;
6433 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6434 : }
6435 :
6436 : /* #line 6437 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6437 :
6438 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6439 :
6440 : long
6441 0 : SgModuleStatement::getChildIndex( SgNode* childNode ) const
6442 : {
6443 : // ------------ checking pointers of SgModuleStatement -------------------
6444 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6445 0 : int indexCounter = 0;
6446 0 : if ( p_end_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6447 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6448 0 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6449 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6450 0 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6451 0 : if ( p_adaParentType == childNode ) { return indexCounter; } indexCounter++;
6452 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6453 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6454 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6455 : {
6456 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6457 : }
6458 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6459 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6460 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6461 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6462 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6463 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6464 : return -1;
6465 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6466 : }
6467 :
6468 : /* #line 6469 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6469 :
6470 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6471 :
6472 : long
6473 0 : SgImplicitStatement::getChildIndex( SgNode* childNode ) const
6474 : {
6475 : // ------------ checking pointers of SgImplicitStatement -------------------
6476 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6477 0 : int indexCounter = 0;
6478 0 : for ( SgInitializedNamePtrList::const_iterator source_variables_iterator = p_variables.begin(); source_variables_iterator != p_variables.end(); ++source_variables_iterator)
6479 : {
6480 0 : if ( *source_variables_iterator == childNode ) { return indexCounter; } indexCounter++;
6481 : }
6482 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6483 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6484 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6485 : {
6486 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6487 : }
6488 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6489 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6490 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6491 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6492 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6493 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6494 : return -1;
6495 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6496 : }
6497 :
6498 : /* #line 6499 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6499 :
6500 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6501 :
6502 : long
6503 0 : SgUsingDeclarationStatement::getChildIndex( SgNode* childNode ) const
6504 : {
6505 : // ------------ checking pointers of SgUsingDeclarationStatement -------------------
6506 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6507 0 : int indexCounter = 0;
6508 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
6509 0 : if ( p_initializedName == childNode ) { return indexCounter; } indexCounter++;
6510 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6511 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6512 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6513 : {
6514 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6515 : }
6516 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6517 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6518 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6519 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6520 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6521 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6522 : return -1;
6523 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6524 : }
6525 :
6526 : /* #line 6527 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6527 :
6528 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6529 :
6530 : long
6531 0 : SgNamelistStatement::getChildIndex( SgNode* childNode ) const
6532 : {
6533 : // ------------ checking pointers of SgNamelistStatement -------------------
6534 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6535 0 : int indexCounter = 0;
6536 0 : for ( SgNameGroupPtrList::const_iterator source_group_list_iterator = p_group_list.begin(); source_group_list_iterator != p_group_list.end(); ++source_group_list_iterator)
6537 : {
6538 0 : if ( *source_group_list_iterator == childNode ) { return indexCounter; } indexCounter++;
6539 : }
6540 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6541 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6542 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6543 : {
6544 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6545 : }
6546 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6547 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6548 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6549 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6550 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6551 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6552 : return -1;
6553 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6554 : }
6555 :
6556 : /* #line 6557 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6557 :
6558 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6559 :
6560 : long
6561 0 : SgImportStatement::getChildIndex( SgNode* childNode ) const
6562 : {
6563 : // ------------ checking pointers of SgImportStatement -------------------
6564 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6565 0 : int indexCounter = 0;
6566 0 : for ( SgExpressionPtrList::const_iterator source_import_list_iterator = p_import_list.begin(); source_import_list_iterator != p_import_list.end(); ++source_import_list_iterator)
6567 : {
6568 0 : if ( *source_import_list_iterator == childNode ) { return indexCounter; } indexCounter++;
6569 : }
6570 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6571 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6572 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6573 : {
6574 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6575 : }
6576 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6577 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6578 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6579 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6580 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6581 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6582 : return -1;
6583 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6584 : }
6585 :
6586 : /* #line 6587 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6587 :
6588 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6589 :
6590 : long
6591 3 : SgFunctionDeclaration::getChildIndex( SgNode* childNode ) const
6592 : {
6593 : // ------------ checking pointers of SgFunctionDeclaration -------------------
6594 3 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6595 3 : int indexCounter = 0;
6596 3 : if ( p_parameterList == childNode ) { return indexCounter; } indexCounter++;
6597 3 : for ( SgTypePtrList::const_iterator source_exceptionSpecification_iterator = p_exceptionSpecification.begin(); source_exceptionSpecification_iterator != p_exceptionSpecification.end(); ++source_exceptionSpecification_iterator)
6598 : {
6599 0 : if ( *source_exceptionSpecification_iterator == childNode ) { return indexCounter; } indexCounter++;
6600 : }
6601 3 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6602 3 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6603 3 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6604 3 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6605 3 : if ( p_type_syntax == childNode ) { return indexCounter; } indexCounter++;
6606 3 : if ( p_parameterList_syntax == childNode ) { return indexCounter; } indexCounter++;
6607 3 : if ( p_functionParameterScope == childNode ) { return indexCounter; } indexCounter++;
6608 3 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6609 3 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6610 3 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6611 : {
6612 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6613 : }
6614 3 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6615 3 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6616 3 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6617 3 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6618 3 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6619 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6620 : return -1;
6621 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6622 : }
6623 :
6624 : /* #line 6625 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6625 :
6626 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6627 :
6628 : long
6629 0 : SgTemplateFunctionDeclaration::getChildIndex( SgNode* childNode ) const
6630 : {
6631 : // ------------ checking pointers of SgTemplateFunctionDeclaration -------------------
6632 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6633 0 : int indexCounter = 0;
6634 0 : for ( SgTemplateParameterPtrList::const_iterator source_templateParameters_iterator = p_templateParameters.begin(); source_templateParameters_iterator != p_templateParameters.end(); ++source_templateParameters_iterator)
6635 : {
6636 0 : if ( *source_templateParameters_iterator == childNode ) { return indexCounter; } indexCounter++;
6637 : }
6638 0 : for ( SgTemplateArgumentPtrList::const_iterator source_templateSpecializationArguments_iterator = p_templateSpecializationArguments.begin(); source_templateSpecializationArguments_iterator != p_templateSpecializationArguments.end(); ++source_templateSpecializationArguments_iterator)
6639 : {
6640 0 : if ( *source_templateSpecializationArguments_iterator == childNode ) { return indexCounter; } indexCounter++;
6641 : }
6642 0 : if ( p_nonreal_decl_scope == childNode ) { return indexCounter; } indexCounter++;
6643 0 : if ( p_parameterList == childNode ) { return indexCounter; } indexCounter++;
6644 0 : for ( SgTypePtrList::const_iterator source_exceptionSpecification_iterator = p_exceptionSpecification.begin(); source_exceptionSpecification_iterator != p_exceptionSpecification.end(); ++source_exceptionSpecification_iterator)
6645 : {
6646 0 : if ( *source_exceptionSpecification_iterator == childNode ) { return indexCounter; } indexCounter++;
6647 : }
6648 0 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6649 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6650 0 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6651 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6652 0 : if ( p_type_syntax == childNode ) { return indexCounter; } indexCounter++;
6653 0 : if ( p_parameterList_syntax == childNode ) { return indexCounter; } indexCounter++;
6654 0 : if ( p_functionParameterScope == childNode ) { return indexCounter; } indexCounter++;
6655 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6656 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6657 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6658 : {
6659 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6660 : }
6661 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6662 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6663 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6664 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6665 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6666 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6667 : return -1;
6668 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6669 : }
6670 :
6671 : /* #line 6672 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6672 :
6673 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6674 :
6675 : long
6676 0 : SgMemberFunctionDeclaration::getChildIndex( SgNode* childNode ) const
6677 : {
6678 : // ------------ checking pointers of SgMemberFunctionDeclaration -------------------
6679 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6680 0 : int indexCounter = 0;
6681 0 : if ( p_CtorInitializerList == childNode ) { return indexCounter; } indexCounter++;
6682 0 : if ( p_associatedClassDeclaration == childNode ) { return indexCounter; } indexCounter++;
6683 0 : if ( p_parameterList == childNode ) { return indexCounter; } indexCounter++;
6684 0 : for ( SgTypePtrList::const_iterator source_exceptionSpecification_iterator = p_exceptionSpecification.begin(); source_exceptionSpecification_iterator != p_exceptionSpecification.end(); ++source_exceptionSpecification_iterator)
6685 : {
6686 0 : if ( *source_exceptionSpecification_iterator == childNode ) { return indexCounter; } indexCounter++;
6687 : }
6688 0 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6689 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6690 0 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6691 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6692 0 : if ( p_type_syntax == childNode ) { return indexCounter; } indexCounter++;
6693 0 : if ( p_parameterList_syntax == childNode ) { return indexCounter; } indexCounter++;
6694 0 : if ( p_functionParameterScope == childNode ) { return indexCounter; } indexCounter++;
6695 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6696 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6697 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6698 : {
6699 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6700 : }
6701 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6702 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6703 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6704 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6705 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6706 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6707 : return -1;
6708 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6709 : }
6710 :
6711 : /* #line 6712 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6712 :
6713 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6714 :
6715 : long
6716 0 : SgTemplateMemberFunctionDeclaration::getChildIndex( SgNode* childNode ) const
6717 : {
6718 : // ------------ checking pointers of SgTemplateMemberFunctionDeclaration -------------------
6719 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6720 0 : int indexCounter = 0;
6721 0 : for ( SgTemplateParameterPtrList::const_iterator source_templateParameters_iterator = p_templateParameters.begin(); source_templateParameters_iterator != p_templateParameters.end(); ++source_templateParameters_iterator)
6722 : {
6723 0 : if ( *source_templateParameters_iterator == childNode ) { return indexCounter; } indexCounter++;
6724 : }
6725 0 : for ( SgTemplateArgumentPtrList::const_iterator source_templateSpecializationArguments_iterator = p_templateSpecializationArguments.begin(); source_templateSpecializationArguments_iterator != p_templateSpecializationArguments.end(); ++source_templateSpecializationArguments_iterator)
6726 : {
6727 0 : if ( *source_templateSpecializationArguments_iterator == childNode ) { return indexCounter; } indexCounter++;
6728 : }
6729 0 : if ( p_nonreal_decl_scope == childNode ) { return indexCounter; } indexCounter++;
6730 0 : if ( p_CtorInitializerList == childNode ) { return indexCounter; } indexCounter++;
6731 0 : if ( p_associatedClassDeclaration == childNode ) { return indexCounter; } indexCounter++;
6732 0 : if ( p_parameterList == childNode ) { return indexCounter; } indexCounter++;
6733 0 : for ( SgTypePtrList::const_iterator source_exceptionSpecification_iterator = p_exceptionSpecification.begin(); source_exceptionSpecification_iterator != p_exceptionSpecification.end(); ++source_exceptionSpecification_iterator)
6734 : {
6735 0 : if ( *source_exceptionSpecification_iterator == childNode ) { return indexCounter; } indexCounter++;
6736 : }
6737 0 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6738 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6739 0 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6740 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6741 0 : if ( p_type_syntax == childNode ) { return indexCounter; } indexCounter++;
6742 0 : if ( p_parameterList_syntax == childNode ) { return indexCounter; } indexCounter++;
6743 0 : if ( p_functionParameterScope == childNode ) { return indexCounter; } indexCounter++;
6744 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6745 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6746 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6747 : {
6748 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6749 : }
6750 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6751 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6752 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6753 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6754 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6755 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6756 : return -1;
6757 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6758 : }
6759 :
6760 : /* #line 6761 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6761 :
6762 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6763 :
6764 : long
6765 254 : SgTemplateInstantiationMemberFunctionDecl::getChildIndex( SgNode* childNode ) const
6766 : {
6767 : // ------------ checking pointers of SgTemplateInstantiationMemberFunctionDecl -------------------
6768 254 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6769 254 : int indexCounter = 0;
6770 254 : if ( p_templateDeclaration == childNode ) { return indexCounter; } indexCounter++;
6771 508 : for ( SgTemplateArgumentPtrList::const_iterator source_templateArguments_iterator = p_templateArguments.begin(); source_templateArguments_iterator != p_templateArguments.end(); ++source_templateArguments_iterator)
6772 : {
6773 254 : if ( *source_templateArguments_iterator == childNode ) { return indexCounter; } indexCounter++;
6774 : }
6775 254 : if ( p_CtorInitializerList == childNode ) { return indexCounter; } indexCounter++;
6776 254 : if ( p_associatedClassDeclaration == childNode ) { return indexCounter; } indexCounter++;
6777 254 : if ( p_parameterList == childNode ) { return indexCounter; } indexCounter++;
6778 254 : for ( SgTypePtrList::const_iterator source_exceptionSpecification_iterator = p_exceptionSpecification.begin(); source_exceptionSpecification_iterator != p_exceptionSpecification.end(); ++source_exceptionSpecification_iterator)
6779 : {
6780 0 : if ( *source_exceptionSpecification_iterator == childNode ) { return indexCounter; } indexCounter++;
6781 : }
6782 254 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6783 254 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6784 254 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6785 254 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6786 254 : if ( p_type_syntax == childNode ) { return indexCounter; } indexCounter++;
6787 254 : if ( p_parameterList_syntax == childNode ) { return indexCounter; } indexCounter++;
6788 254 : if ( p_functionParameterScope == childNode ) { return indexCounter; } indexCounter++;
6789 254 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6790 254 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6791 254 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6792 : {
6793 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6794 : }
6795 254 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6796 254 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6797 254 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6798 254 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6799 254 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6800 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6801 : return -1;
6802 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6803 : }
6804 :
6805 : /* #line 6806 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6806 :
6807 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6808 :
6809 : long
6810 666 : SgTemplateInstantiationFunctionDecl::getChildIndex( SgNode* childNode ) const
6811 : {
6812 : // ------------ checking pointers of SgTemplateInstantiationFunctionDecl -------------------
6813 666 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6814 666 : int indexCounter = 0;
6815 666 : if ( p_templateDeclaration == childNode ) { return indexCounter; } indexCounter++;
6816 2016 : for ( SgTemplateArgumentPtrList::const_iterator source_templateArguments_iterator = p_templateArguments.begin(); source_templateArguments_iterator != p_templateArguments.end(); ++source_templateArguments_iterator)
6817 : {
6818 1350 : if ( *source_templateArguments_iterator == childNode ) { return indexCounter; } indexCounter++;
6819 : }
6820 666 : if ( p_parameterList == childNode ) { return indexCounter; } indexCounter++;
6821 666 : for ( SgTypePtrList::const_iterator source_exceptionSpecification_iterator = p_exceptionSpecification.begin(); source_exceptionSpecification_iterator != p_exceptionSpecification.end(); ++source_exceptionSpecification_iterator)
6822 : {
6823 0 : if ( *source_exceptionSpecification_iterator == childNode ) { return indexCounter; } indexCounter++;
6824 : }
6825 666 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6826 666 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6827 666 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6828 666 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6829 666 : if ( p_type_syntax == childNode ) { return indexCounter; } indexCounter++;
6830 666 : if ( p_parameterList_syntax == childNode ) { return indexCounter; } indexCounter++;
6831 666 : if ( p_functionParameterScope == childNode ) { return indexCounter; } indexCounter++;
6832 666 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6833 666 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6834 666 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6835 : {
6836 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6837 : }
6838 666 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6839 666 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6840 666 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6841 666 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6842 666 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6843 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6844 : return -1;
6845 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6846 : }
6847 :
6848 : /* #line 6849 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6849 :
6850 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6851 :
6852 : long
6853 0 : SgProgramHeaderStatement::getChildIndex( SgNode* childNode ) const
6854 : {
6855 : // ------------ checking pointers of SgProgramHeaderStatement -------------------
6856 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6857 0 : int indexCounter = 0;
6858 0 : if ( p_end_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6859 0 : if ( p_parameterList == childNode ) { return indexCounter; } indexCounter++;
6860 0 : for ( SgTypePtrList::const_iterator source_exceptionSpecification_iterator = p_exceptionSpecification.begin(); source_exceptionSpecification_iterator != p_exceptionSpecification.end(); ++source_exceptionSpecification_iterator)
6861 : {
6862 0 : if ( *source_exceptionSpecification_iterator == childNode ) { return indexCounter; } indexCounter++;
6863 : }
6864 0 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6865 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6866 0 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6867 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6868 0 : if ( p_type_syntax == childNode ) { return indexCounter; } indexCounter++;
6869 0 : if ( p_parameterList_syntax == childNode ) { return indexCounter; } indexCounter++;
6870 0 : if ( p_functionParameterScope == childNode ) { return indexCounter; } indexCounter++;
6871 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6872 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6873 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6874 : {
6875 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6876 : }
6877 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6878 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6879 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6880 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6881 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6882 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6883 : return -1;
6884 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6885 : }
6886 :
6887 : /* #line 6888 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6888 :
6889 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6890 :
6891 : long
6892 0 : SgProcedureHeaderStatement::getChildIndex( SgNode* childNode ) const
6893 : {
6894 : // ------------ checking pointers of SgProcedureHeaderStatement -------------------
6895 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6896 0 : int indexCounter = 0;
6897 0 : if ( p_end_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6898 0 : if ( p_result_name == childNode ) { return indexCounter; } indexCounter++;
6899 0 : if ( p_parameterList == childNode ) { return indexCounter; } indexCounter++;
6900 0 : for ( SgTypePtrList::const_iterator source_exceptionSpecification_iterator = p_exceptionSpecification.begin(); source_exceptionSpecification_iterator != p_exceptionSpecification.end(); ++source_exceptionSpecification_iterator)
6901 : {
6902 0 : if ( *source_exceptionSpecification_iterator == childNode ) { return indexCounter; } indexCounter++;
6903 : }
6904 0 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6905 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6906 0 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6907 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6908 0 : if ( p_type_syntax == childNode ) { return indexCounter; } indexCounter++;
6909 0 : if ( p_parameterList_syntax == childNode ) { return indexCounter; } indexCounter++;
6910 0 : if ( p_functionParameterScope == childNode ) { return indexCounter; } indexCounter++;
6911 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6912 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6913 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6914 : {
6915 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6916 : }
6917 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6918 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6919 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6920 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6921 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6922 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6923 : return -1;
6924 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6925 : }
6926 :
6927 : /* #line 6928 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6928 :
6929 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6930 :
6931 : long
6932 0 : SgEntryStatement::getChildIndex( SgNode* childNode ) const
6933 : {
6934 : // ------------ checking pointers of SgEntryStatement -------------------
6935 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6936 0 : int indexCounter = 0;
6937 0 : if ( p_result_name == childNode ) { return indexCounter; } indexCounter++;
6938 0 : if ( p_parameterList == childNode ) { return indexCounter; } indexCounter++;
6939 0 : for ( SgTypePtrList::const_iterator source_exceptionSpecification_iterator = p_exceptionSpecification.begin(); source_exceptionSpecification_iterator != p_exceptionSpecification.end(); ++source_exceptionSpecification_iterator)
6940 : {
6941 0 : if ( *source_exceptionSpecification_iterator == childNode ) { return indexCounter; } indexCounter++;
6942 : }
6943 0 : if ( p_decoratorList == childNode ) { return indexCounter; } indexCounter++;
6944 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
6945 0 : if ( p_definition == childNode ) { return indexCounter; } indexCounter++;
6946 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
6947 0 : if ( p_type_syntax == childNode ) { return indexCounter; } indexCounter++;
6948 0 : if ( p_parameterList_syntax == childNode ) { return indexCounter; } indexCounter++;
6949 0 : if ( p_functionParameterScope == childNode ) { return indexCounter; } indexCounter++;
6950 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6951 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6952 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6953 : {
6954 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6955 : }
6956 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6957 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6958 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6959 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6960 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6961 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6962 : return -1;
6963 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6964 : }
6965 :
6966 : /* #line 6967 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6967 :
6968 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6969 :
6970 : long
6971 0 : SgContainsStatement::getChildIndex( SgNode* childNode ) const
6972 : {
6973 : // ------------ checking pointers of SgContainsStatement -------------------
6974 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
6975 0 : int indexCounter = 0;
6976 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
6977 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
6978 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
6979 : {
6980 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
6981 : }
6982 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
6983 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
6984 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6985 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
6986 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
6987 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
6988 : return -1;
6989 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6990 : }
6991 :
6992 : /* #line 6993 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
6993 :
6994 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
6995 :
6996 : long
6997 0 : SgC_PreprocessorDirectiveStatement::getChildIndex( SgNode* childNode ) const
6998 : {
6999 : // ------------ checking pointers of SgC_PreprocessorDirectiveStatement -------------------
7000 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7001 0 : int indexCounter = 0;
7002 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7003 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7004 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7005 : {
7006 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7007 : }
7008 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7009 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7010 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7011 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7012 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7013 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7014 : return -1;
7015 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7016 : }
7017 :
7018 : /* #line 7019 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7019 :
7020 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7021 :
7022 : long
7023 0 : SgIncludeDirectiveStatement::getChildIndex( SgNode* childNode ) const
7024 : {
7025 : // ------------ checking pointers of SgIncludeDirectiveStatement -------------------
7026 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7027 0 : int indexCounter = 0;
7028 0 : if ( p_headerFileBody == childNode ) { return indexCounter; } indexCounter++;
7029 0 : if ( p_include_file_heirarchy == childNode ) { return indexCounter; } indexCounter++;
7030 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7031 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7032 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7033 : {
7034 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7035 : }
7036 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7037 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7038 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7039 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7040 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7041 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7042 : return -1;
7043 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7044 : }
7045 :
7046 : /* #line 7047 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7047 :
7048 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7049 :
7050 : long
7051 0 : SgDefineDirectiveStatement::getChildIndex( SgNode* childNode ) const
7052 : {
7053 : // ------------ checking pointers of SgDefineDirectiveStatement -------------------
7054 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7055 0 : int indexCounter = 0;
7056 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7057 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7058 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7059 : {
7060 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7061 : }
7062 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7063 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7064 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7065 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7066 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7067 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7068 : return -1;
7069 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7070 : }
7071 :
7072 : /* #line 7073 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7073 :
7074 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7075 :
7076 : long
7077 0 : SgUndefDirectiveStatement::getChildIndex( SgNode* childNode ) const
7078 : {
7079 : // ------------ checking pointers of SgUndefDirectiveStatement -------------------
7080 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7081 0 : int indexCounter = 0;
7082 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7083 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7084 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7085 : {
7086 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7087 : }
7088 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7089 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7090 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7091 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7092 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7093 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7094 : return -1;
7095 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7096 : }
7097 :
7098 : /* #line 7099 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7099 :
7100 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7101 :
7102 : long
7103 0 : SgIfdefDirectiveStatement::getChildIndex( SgNode* childNode ) const
7104 : {
7105 : // ------------ checking pointers of SgIfdefDirectiveStatement -------------------
7106 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7107 0 : int indexCounter = 0;
7108 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7109 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7110 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7111 : {
7112 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7113 : }
7114 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7115 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7116 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7117 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7118 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7119 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7120 : return -1;
7121 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7122 : }
7123 :
7124 : /* #line 7125 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7125 :
7126 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7127 :
7128 : long
7129 0 : SgIfndefDirectiveStatement::getChildIndex( SgNode* childNode ) const
7130 : {
7131 : // ------------ checking pointers of SgIfndefDirectiveStatement -------------------
7132 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7133 0 : int indexCounter = 0;
7134 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7135 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7136 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7137 : {
7138 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7139 : }
7140 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7141 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7142 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7143 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7144 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7145 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7146 : return -1;
7147 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7148 : }
7149 :
7150 : /* #line 7151 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7151 :
7152 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7153 :
7154 : long
7155 0 : SgIfDirectiveStatement::getChildIndex( SgNode* childNode ) const
7156 : {
7157 : // ------------ checking pointers of SgIfDirectiveStatement -------------------
7158 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7159 0 : int indexCounter = 0;
7160 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7161 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7162 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7163 : {
7164 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7165 : }
7166 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7167 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7168 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7169 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7170 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7171 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7172 : return -1;
7173 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7174 : }
7175 :
7176 : /* #line 7177 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7177 :
7178 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7179 :
7180 : long
7181 0 : SgDeadIfDirectiveStatement::getChildIndex( SgNode* childNode ) const
7182 : {
7183 : // ------------ checking pointers of SgDeadIfDirectiveStatement -------------------
7184 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7185 0 : int indexCounter = 0;
7186 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7187 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7188 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7189 : {
7190 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7191 : }
7192 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7193 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7194 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7195 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7196 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7197 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7198 : return -1;
7199 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7200 : }
7201 :
7202 : /* #line 7203 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7203 :
7204 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7205 :
7206 : long
7207 0 : SgElseDirectiveStatement::getChildIndex( SgNode* childNode ) const
7208 : {
7209 : // ------------ checking pointers of SgElseDirectiveStatement -------------------
7210 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7211 0 : int indexCounter = 0;
7212 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7213 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7214 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7215 : {
7216 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7217 : }
7218 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7219 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7220 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7221 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7222 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7223 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7224 : return -1;
7225 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7226 : }
7227 :
7228 : /* #line 7229 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7229 :
7230 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7231 :
7232 : long
7233 0 : SgElseifDirectiveStatement::getChildIndex( SgNode* childNode ) const
7234 : {
7235 : // ------------ checking pointers of SgElseifDirectiveStatement -------------------
7236 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7237 0 : int indexCounter = 0;
7238 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7239 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7240 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7241 : {
7242 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7243 : }
7244 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7245 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7246 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7247 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7248 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7249 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7250 : return -1;
7251 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7252 : }
7253 :
7254 : /* #line 7255 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7255 :
7256 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7257 :
7258 : long
7259 0 : SgEndifDirectiveStatement::getChildIndex( SgNode* childNode ) const
7260 : {
7261 : // ------------ checking pointers of SgEndifDirectiveStatement -------------------
7262 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7263 0 : int indexCounter = 0;
7264 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7265 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7266 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7267 : {
7268 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7269 : }
7270 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7271 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7272 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7273 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7274 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7275 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7276 : return -1;
7277 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7278 : }
7279 :
7280 : /* #line 7281 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7281 :
7282 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7283 :
7284 : long
7285 0 : SgLineDirectiveStatement::getChildIndex( SgNode* childNode ) const
7286 : {
7287 : // ------------ checking pointers of SgLineDirectiveStatement -------------------
7288 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7289 0 : int indexCounter = 0;
7290 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7291 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7292 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7293 : {
7294 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7295 : }
7296 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7297 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7298 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7299 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7300 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7301 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7302 : return -1;
7303 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7304 : }
7305 :
7306 : /* #line 7307 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7307 :
7308 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7309 :
7310 : long
7311 0 : SgWarningDirectiveStatement::getChildIndex( SgNode* childNode ) const
7312 : {
7313 : // ------------ checking pointers of SgWarningDirectiveStatement -------------------
7314 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7315 0 : int indexCounter = 0;
7316 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7317 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7318 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7319 : {
7320 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7321 : }
7322 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7323 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7324 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7325 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7326 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7327 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7328 : return -1;
7329 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7330 : }
7331 :
7332 : /* #line 7333 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7333 :
7334 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7335 :
7336 : long
7337 0 : SgErrorDirectiveStatement::getChildIndex( SgNode* childNode ) const
7338 : {
7339 : // ------------ checking pointers of SgErrorDirectiveStatement -------------------
7340 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7341 0 : int indexCounter = 0;
7342 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7343 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7344 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7345 : {
7346 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7347 : }
7348 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7349 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7350 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7351 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7352 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7353 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7354 : return -1;
7355 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7356 : }
7357 :
7358 : /* #line 7359 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7359 :
7360 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7361 :
7362 : long
7363 0 : SgEmptyDirectiveStatement::getChildIndex( SgNode* childNode ) const
7364 : {
7365 : // ------------ checking pointers of SgEmptyDirectiveStatement -------------------
7366 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7367 0 : int indexCounter = 0;
7368 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7369 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7370 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7371 : {
7372 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7373 : }
7374 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7375 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7376 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7377 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7378 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7379 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7380 : return -1;
7381 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7382 : }
7383 :
7384 : /* #line 7385 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7385 :
7386 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7387 :
7388 : long
7389 0 : SgIncludeNextDirectiveStatement::getChildIndex( SgNode* childNode ) const
7390 : {
7391 : // ------------ checking pointers of SgIncludeNextDirectiveStatement -------------------
7392 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7393 0 : int indexCounter = 0;
7394 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7395 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7396 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7397 : {
7398 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7399 : }
7400 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7401 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7402 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7403 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7404 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7405 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7406 : return -1;
7407 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7408 : }
7409 :
7410 : /* #line 7411 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7411 :
7412 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7413 :
7414 : long
7415 0 : SgIdentDirectiveStatement::getChildIndex( SgNode* childNode ) const
7416 : {
7417 : // ------------ checking pointers of SgIdentDirectiveStatement -------------------
7418 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7419 0 : int indexCounter = 0;
7420 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7421 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7422 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7423 : {
7424 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7425 : }
7426 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7427 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7428 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7429 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7430 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7431 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7432 : return -1;
7433 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7434 : }
7435 :
7436 : /* #line 7437 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7437 :
7438 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7439 :
7440 : long
7441 0 : SgLinemarkerDirectiveStatement::getChildIndex( SgNode* childNode ) const
7442 : {
7443 : // ------------ checking pointers of SgLinemarkerDirectiveStatement -------------------
7444 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7445 0 : int indexCounter = 0;
7446 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7447 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7448 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7449 : {
7450 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7451 : }
7452 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7453 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7454 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7455 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7456 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7457 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7458 : return -1;
7459 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7460 : }
7461 :
7462 : /* #line 7463 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7463 :
7464 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7465 :
7466 : long
7467 0 : SgOmpThreadprivateStatement::getChildIndex( SgNode* childNode ) const
7468 : {
7469 : // ------------ checking pointers of SgOmpThreadprivateStatement -------------------
7470 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7471 0 : int indexCounter = 0;
7472 0 : for ( SgVarRefExpPtrList::const_iterator source_variables_iterator = p_variables.begin(); source_variables_iterator != p_variables.end(); ++source_variables_iterator)
7473 : {
7474 0 : if ( *source_variables_iterator == childNode ) { return indexCounter; } indexCounter++;
7475 : }
7476 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7477 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7478 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7479 : {
7480 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7481 : }
7482 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7483 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7484 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7485 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7486 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7487 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7488 : return -1;
7489 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7490 : }
7491 :
7492 : /* #line 7493 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7493 :
7494 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7495 :
7496 : long
7497 0 : SgOmpRequiresStatement::getChildIndex( SgNode* childNode ) const
7498 : {
7499 : // ------------ checking pointers of SgOmpRequiresStatement -------------------
7500 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7501 0 : int indexCounter = 0;
7502 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
7503 : {
7504 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
7505 : }
7506 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7507 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7508 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7509 : {
7510 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7511 : }
7512 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7513 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7514 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7515 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7516 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7517 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7518 : return -1;
7519 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7520 : }
7521 :
7522 : /* #line 7523 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7523 :
7524 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7525 :
7526 : long
7527 0 : SgFortranIncludeLine::getChildIndex( SgNode* childNode ) const
7528 : {
7529 : // ------------ checking pointers of SgFortranIncludeLine -------------------
7530 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7531 0 : int indexCounter = 0;
7532 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7533 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7534 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7535 : {
7536 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7537 : }
7538 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7539 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7540 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7541 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7542 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7543 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7544 : return -1;
7545 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7546 : }
7547 :
7548 : /* #line 7549 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7549 :
7550 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7551 :
7552 : long
7553 0 : SgOmpTaskwaitStatement::getChildIndex( SgNode* childNode ) const
7554 : {
7555 : // ------------ checking pointers of SgOmpTaskwaitStatement -------------------
7556 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7557 0 : int indexCounter = 0;
7558 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
7559 : {
7560 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
7561 : }
7562 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7563 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7564 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7565 : {
7566 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7567 : }
7568 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7569 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7570 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7571 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7572 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7573 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7574 : return -1;
7575 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7576 : }
7577 :
7578 : /* #line 7579 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7579 :
7580 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7581 :
7582 : long
7583 0 : SgStmtDeclarationStatement::getChildIndex( SgNode* childNode ) const
7584 : {
7585 : // ------------ checking pointers of SgStmtDeclarationStatement -------------------
7586 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7587 0 : int indexCounter = 0;
7588 0 : if ( p_statement == childNode ) { return indexCounter; } indexCounter++;
7589 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7590 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7591 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7592 : {
7593 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7594 : }
7595 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7596 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7597 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7598 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7599 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7600 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7601 : return -1;
7602 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7603 : }
7604 :
7605 : /* #line 7606 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7606 :
7607 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7608 :
7609 : long
7610 0 : SgStaticAssertionDeclaration::getChildIndex( SgNode* childNode ) const
7611 : {
7612 : // ------------ checking pointers of SgStaticAssertionDeclaration -------------------
7613 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7614 0 : int indexCounter = 0;
7615 0 : if ( p_condition == childNode ) { return indexCounter; } indexCounter++;
7616 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7617 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7618 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7619 : {
7620 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7621 : }
7622 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7623 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7624 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7625 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7626 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7627 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7628 : return -1;
7629 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7630 : }
7631 :
7632 : /* #line 7633 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7633 :
7634 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7635 :
7636 : long
7637 0 : SgOmpDeclareSimdStatement::getChildIndex( SgNode* childNode ) const
7638 : {
7639 : // ------------ checking pointers of SgOmpDeclareSimdStatement -------------------
7640 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7641 0 : int indexCounter = 0;
7642 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
7643 : {
7644 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
7645 : }
7646 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7647 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7648 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7649 : {
7650 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7651 : }
7652 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7653 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7654 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7655 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7656 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7657 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7658 : return -1;
7659 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7660 : }
7661 :
7662 : /* #line 7663 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7663 :
7664 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7665 :
7666 : long
7667 0 : SgMicrosoftAttributeDeclaration::getChildIndex( SgNode* childNode ) const
7668 : {
7669 : // ------------ checking pointers of SgMicrosoftAttributeDeclaration -------------------
7670 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7671 0 : int indexCounter = 0;
7672 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7673 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7674 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7675 : {
7676 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7677 : }
7678 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7679 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7680 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7681 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7682 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7683 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7684 : return -1;
7685 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7686 : }
7687 :
7688 : /* #line 7689 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7689 :
7690 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7691 :
7692 : long
7693 43 : SgNonrealDecl::getChildIndex( SgNode* childNode ) const
7694 : {
7695 : // ------------ checking pointers of SgNonrealDecl -------------------
7696 43 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7697 43 : int indexCounter = 0;
7698 43 : if ( p_nonreal_decl_scope == childNode ) { return indexCounter; } indexCounter++;
7699 43 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
7700 43 : if ( p_templateDeclaration == childNode ) { return indexCounter; } indexCounter++;
7701 43 : for ( SgTemplateArgumentPtrList::const_iterator source_tpl_args_iterator = p_tpl_args.begin(); source_tpl_args_iterator != p_tpl_args.end(); ++source_tpl_args_iterator)
7702 : {
7703 0 : if ( *source_tpl_args_iterator == childNode ) { return indexCounter; } indexCounter++;
7704 : }
7705 43 : for ( SgTemplateParameterPtrList::const_iterator source_tpl_params_iterator = p_tpl_params.begin(); source_tpl_params_iterator != p_tpl_params.end(); ++source_tpl_params_iterator)
7706 : {
7707 0 : if ( *source_tpl_params_iterator == childNode ) { return indexCounter; } indexCounter++;
7708 : }
7709 43 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7710 43 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7711 43 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7712 : {
7713 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7714 : }
7715 43 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7716 43 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7717 43 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7718 43 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7719 43 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7720 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7721 : return -1;
7722 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7723 : }
7724 :
7725 : /* #line 7726 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7726 :
7727 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7728 :
7729 : long
7730 0 : SgEmptyDeclaration::getChildIndex( SgNode* childNode ) const
7731 : {
7732 : // ------------ checking pointers of SgEmptyDeclaration -------------------
7733 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7734 0 : int indexCounter = 0;
7735 0 : if ( p_definingDeclaration == childNode ) { return indexCounter; } indexCounter++;
7736 0 : if ( p_firstNondefiningDeclaration == childNode ) { return indexCounter; } indexCounter++;
7737 0 : for ( SgQualifiedNamePtrList::const_iterator source_qualifiedNameList_iterator = p_qualifiedNameList.begin(); source_qualifiedNameList_iterator != p_qualifiedNameList.end(); ++source_qualifiedNameList_iterator)
7738 : {
7739 0 : if ( *source_qualifiedNameList_iterator == childNode ) { return indexCounter; } indexCounter++;
7740 : }
7741 0 : if ( p_declarationScope == childNode ) { return indexCounter; } indexCounter++;
7742 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7743 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7744 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7745 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7746 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7747 : return -1;
7748 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7749 : }
7750 :
7751 : /* #line 7752 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7752 :
7753 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7754 :
7755 : long
7756 181 : SgExprStatement::getChildIndex( SgNode* childNode ) const
7757 : {
7758 : // ------------ checking pointers of SgExprStatement -------------------
7759 181 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7760 181 : int indexCounter = 0;
7761 181 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
7762 9 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7763 9 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7764 9 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7765 181 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7766 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7767 : return -1;
7768 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7769 : }
7770 :
7771 : /* #line 7772 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7772 :
7773 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7774 :
7775 : long
7776 0 : SgLabelStatement::getChildIndex( SgNode* childNode ) const
7777 : {
7778 : // ------------ checking pointers of SgLabelStatement -------------------
7779 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7780 0 : int indexCounter = 0;
7781 0 : if ( p_scope == childNode ) { return indexCounter; } indexCounter++;
7782 0 : if ( p_statement == childNode ) { return indexCounter; } indexCounter++;
7783 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7784 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7785 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7786 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7787 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7788 : return -1;
7789 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7790 : }
7791 :
7792 : /* #line 7793 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7793 :
7794 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7795 :
7796 : long
7797 0 : SgCaseOptionStmt::getChildIndex( SgNode* childNode ) const
7798 : {
7799 : // ------------ checking pointers of SgCaseOptionStmt -------------------
7800 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7801 0 : int indexCounter = 0;
7802 0 : if ( p_key == childNode ) { return indexCounter; } indexCounter++;
7803 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
7804 0 : if ( p_key_range_end == childNode ) { return indexCounter; } indexCounter++;
7805 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7806 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7807 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7808 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7809 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7810 : return -1;
7811 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7812 : }
7813 :
7814 : /* #line 7815 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7815 :
7816 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7817 :
7818 : long
7819 0 : SgTryStmt::getChildIndex( SgNode* childNode ) const
7820 : {
7821 : // ------------ checking pointers of SgTryStmt -------------------
7822 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7823 0 : int indexCounter = 0;
7824 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
7825 0 : if ( p_catch_statement_seq_root == childNode ) { return indexCounter; } indexCounter++;
7826 0 : if ( p_else_body == childNode ) { return indexCounter; } indexCounter++;
7827 0 : if ( p_finally_body == childNode ) { return indexCounter; } indexCounter++;
7828 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7829 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7830 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7831 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7832 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7833 : return -1;
7834 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7835 : }
7836 :
7837 : /* #line 7838 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7838 :
7839 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7840 :
7841 : long
7842 0 : SgDefaultOptionStmt::getChildIndex( SgNode* childNode ) const
7843 : {
7844 : // ------------ checking pointers of SgDefaultOptionStmt -------------------
7845 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7846 0 : int indexCounter = 0;
7847 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
7848 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7849 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7850 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7851 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7852 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7853 : return -1;
7854 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7855 : }
7856 :
7857 : /* #line 7858 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7858 :
7859 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7860 :
7861 : long
7862 0 : SgBreakStmt::getChildIndex( SgNode* childNode ) const
7863 : {
7864 : // ------------ checking pointers of SgBreakStmt -------------------
7865 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7866 0 : int indexCounter = 0;
7867 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7868 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7869 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7870 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7871 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7872 : return -1;
7873 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7874 : }
7875 :
7876 : /* #line 7877 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7877 :
7878 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7879 :
7880 : long
7881 0 : SgContinueStmt::getChildIndex( SgNode* childNode ) const
7882 : {
7883 : // ------------ checking pointers of SgContinueStmt -------------------
7884 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7885 0 : int indexCounter = 0;
7886 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7887 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7888 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7889 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7890 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7891 : return -1;
7892 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7893 : }
7894 :
7895 : /* #line 7896 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7896 :
7897 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7898 :
7899 : long
7900 20 : SgReturnStmt::getChildIndex( SgNode* childNode ) const
7901 : {
7902 : // ------------ checking pointers of SgReturnStmt -------------------
7903 20 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7904 20 : int indexCounter = 0;
7905 20 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
7906 1 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7907 1 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7908 1 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7909 20 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7910 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7911 : return -1;
7912 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7913 : }
7914 :
7915 : /* #line 7916 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7916 :
7917 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7918 :
7919 : long
7920 0 : SgGotoStatement::getChildIndex( SgNode* childNode ) const
7921 : {
7922 : // ------------ checking pointers of SgGotoStatement -------------------
7923 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7924 0 : int indexCounter = 0;
7925 0 : if ( p_label == childNode ) { return indexCounter; } indexCounter++;
7926 0 : if ( p_label_expression == childNode ) { return indexCounter; } indexCounter++;
7927 0 : if ( p_selector_expression == childNode ) { return indexCounter; } indexCounter++;
7928 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7929 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7930 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7931 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7932 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7933 : return -1;
7934 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7935 : }
7936 :
7937 : /* #line 7938 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7938 :
7939 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7940 :
7941 : long
7942 0 : SgSpawnStmt::getChildIndex( SgNode* childNode ) const
7943 : {
7944 : // ------------ checking pointers of SgSpawnStmt -------------------
7945 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7946 0 : int indexCounter = 0;
7947 0 : if ( p_the_func == childNode ) { return indexCounter; } indexCounter++;
7948 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7949 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7950 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7951 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7952 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7953 : return -1;
7954 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7955 : }
7956 :
7957 : /* #line 7958 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7958 :
7959 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7960 :
7961 : long
7962 0 : SgNullStatement::getChildIndex( SgNode* childNode ) const
7963 : {
7964 : // ------------ checking pointers of SgNullStatement -------------------
7965 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7966 0 : int indexCounter = 0;
7967 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7968 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7969 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7970 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7971 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7972 : return -1;
7973 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7974 : }
7975 :
7976 : /* #line 7977 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7977 :
7978 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7979 :
7980 : long
7981 0 : SgVariantStatement::getChildIndex( SgNode* childNode ) const
7982 : {
7983 : // ------------ checking pointers of SgVariantStatement -------------------
7984 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
7985 0 : int indexCounter = 0;
7986 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
7987 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7988 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
7989 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
7990 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
7991 : return -1;
7992 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7993 : }
7994 :
7995 : /* #line 7996 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
7996 :
7997 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
7998 :
7999 : long
8000 37 : SgForInitStatement::getChildIndex( SgNode* childNode ) const
8001 : {
8002 : // ------------ checking pointers of SgForInitStatement -------------------
8003 37 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8004 37 : int indexCounter = 0;
8005 41 : for ( SgStatementPtrList::const_iterator source_init_stmt_iterator = p_init_stmt.begin(); source_init_stmt_iterator != p_init_stmt.end(); ++source_init_stmt_iterator)
8006 : {
8007 37 : if ( *source_init_stmt_iterator == childNode ) { return indexCounter; } indexCounter++;
8008 : }
8009 4 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8010 4 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8011 4 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8012 37 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8013 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8014 : return -1;
8015 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8016 : }
8017 :
8018 : /* #line 8019 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8019 :
8020 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8021 :
8022 : long
8023 0 : SgCatchStatementSeq::getChildIndex( SgNode* childNode ) const
8024 : {
8025 : // ------------ checking pointers of SgCatchStatementSeq -------------------
8026 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8027 0 : int indexCounter = 0;
8028 0 : for ( SgStatementPtrList::const_iterator source_catch_statement_seq_iterator = p_catch_statement_seq.begin(); source_catch_statement_seq_iterator != p_catch_statement_seq.end(); ++source_catch_statement_seq_iterator)
8029 : {
8030 0 : if ( *source_catch_statement_seq_iterator == childNode ) { return indexCounter; } indexCounter++;
8031 : }
8032 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8033 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8034 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8035 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8036 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8037 : return -1;
8038 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8039 : }
8040 :
8041 : /* #line 8042 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8042 :
8043 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8044 :
8045 : long
8046 0 : SgProcessControlStatement::getChildIndex( SgNode* childNode ) const
8047 : {
8048 : // ------------ checking pointers of SgProcessControlStatement -------------------
8049 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8050 0 : int indexCounter = 0;
8051 0 : if ( p_code == childNode ) { return indexCounter; } indexCounter++;
8052 0 : if ( p_quiet == childNode ) { return indexCounter; } indexCounter++;
8053 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8054 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8055 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8056 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8057 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8058 : return -1;
8059 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8060 : }
8061 :
8062 : /* #line 8063 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8063 :
8064 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8065 :
8066 : long
8067 0 : SgIOStatement::getChildIndex( SgNode* childNode ) const
8068 : {
8069 : // ------------ checking pointers of SgIOStatement -------------------
8070 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8071 0 : int indexCounter = 0;
8072 0 : if ( p_io_stmt_list == childNode ) { return indexCounter; } indexCounter++;
8073 0 : if ( p_unit == childNode ) { return indexCounter; } indexCounter++;
8074 0 : if ( p_iostat == childNode ) { return indexCounter; } indexCounter++;
8075 0 : if ( p_err == childNode ) { return indexCounter; } indexCounter++;
8076 0 : if ( p_iomsg == childNode ) { return indexCounter; } indexCounter++;
8077 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8078 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8079 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8080 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8081 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8082 : return -1;
8083 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8084 : }
8085 :
8086 : /* #line 8087 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8087 :
8088 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8089 :
8090 : long
8091 0 : SgPrintStatement::getChildIndex( SgNode* childNode ) const
8092 : {
8093 : // ------------ checking pointers of SgPrintStatement -------------------
8094 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8095 0 : int indexCounter = 0;
8096 0 : if ( p_format == childNode ) { return indexCounter; } indexCounter++;
8097 0 : if ( p_io_stmt_list == childNode ) { return indexCounter; } indexCounter++;
8098 0 : if ( p_unit == childNode ) { return indexCounter; } indexCounter++;
8099 0 : if ( p_iostat == childNode ) { return indexCounter; } indexCounter++;
8100 0 : if ( p_err == childNode ) { return indexCounter; } indexCounter++;
8101 0 : if ( p_iomsg == childNode ) { return indexCounter; } indexCounter++;
8102 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8103 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8104 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8105 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8106 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8107 : return -1;
8108 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8109 : }
8110 :
8111 : /* #line 8112 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8112 :
8113 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8114 :
8115 : long
8116 0 : SgReadStatement::getChildIndex( SgNode* childNode ) const
8117 : {
8118 : // ------------ checking pointers of SgReadStatement -------------------
8119 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8120 0 : int indexCounter = 0;
8121 0 : if ( p_format == childNode ) { return indexCounter; } indexCounter++;
8122 0 : if ( p_namelist == childNode ) { return indexCounter; } indexCounter++;
8123 0 : if ( p_advance == childNode ) { return indexCounter; } indexCounter++;
8124 0 : if ( p_asynchronous == childNode ) { return indexCounter; } indexCounter++;
8125 0 : if ( p_blank == childNode ) { return indexCounter; } indexCounter++;
8126 0 : if ( p_decimal == childNode ) { return indexCounter; } indexCounter++;
8127 0 : if ( p_delim == childNode ) { return indexCounter; } indexCounter++;
8128 0 : if ( p_end == childNode ) { return indexCounter; } indexCounter++;
8129 0 : if ( p_eor == childNode ) { return indexCounter; } indexCounter++;
8130 0 : if ( p_id == childNode ) { return indexCounter; } indexCounter++;
8131 0 : if ( p_pad == childNode ) { return indexCounter; } indexCounter++;
8132 0 : if ( p_pos == childNode ) { return indexCounter; } indexCounter++;
8133 0 : if ( p_rec == childNode ) { return indexCounter; } indexCounter++;
8134 0 : if ( p_round == childNode ) { return indexCounter; } indexCounter++;
8135 0 : if ( p_sign == childNode ) { return indexCounter; } indexCounter++;
8136 0 : if ( p_size == childNode ) { return indexCounter; } indexCounter++;
8137 0 : if ( p_io_stmt_list == childNode ) { return indexCounter; } indexCounter++;
8138 0 : if ( p_unit == childNode ) { return indexCounter; } indexCounter++;
8139 0 : if ( p_iostat == childNode ) { return indexCounter; } indexCounter++;
8140 0 : if ( p_err == childNode ) { return indexCounter; } indexCounter++;
8141 0 : if ( p_iomsg == childNode ) { return indexCounter; } indexCounter++;
8142 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8143 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8144 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8145 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8146 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8147 : return -1;
8148 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8149 : }
8150 :
8151 : /* #line 8152 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8152 :
8153 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8154 :
8155 : long
8156 0 : SgWriteStatement::getChildIndex( SgNode* childNode ) const
8157 : {
8158 : // ------------ checking pointers of SgWriteStatement -------------------
8159 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8160 0 : int indexCounter = 0;
8161 0 : if ( p_format == childNode ) { return indexCounter; } indexCounter++;
8162 0 : if ( p_namelist == childNode ) { return indexCounter; } indexCounter++;
8163 0 : if ( p_advance == childNode ) { return indexCounter; } indexCounter++;
8164 0 : if ( p_asynchronous == childNode ) { return indexCounter; } indexCounter++;
8165 0 : if ( p_blank == childNode ) { return indexCounter; } indexCounter++;
8166 0 : if ( p_decimal == childNode ) { return indexCounter; } indexCounter++;
8167 0 : if ( p_delim == childNode ) { return indexCounter; } indexCounter++;
8168 0 : if ( p_end == childNode ) { return indexCounter; } indexCounter++;
8169 0 : if ( p_eor == childNode ) { return indexCounter; } indexCounter++;
8170 0 : if ( p_id == childNode ) { return indexCounter; } indexCounter++;
8171 0 : if ( p_pad == childNode ) { return indexCounter; } indexCounter++;
8172 0 : if ( p_pos == childNode ) { return indexCounter; } indexCounter++;
8173 0 : if ( p_rec == childNode ) { return indexCounter; } indexCounter++;
8174 0 : if ( p_round == childNode ) { return indexCounter; } indexCounter++;
8175 0 : if ( p_sign == childNode ) { return indexCounter; } indexCounter++;
8176 0 : if ( p_size == childNode ) { return indexCounter; } indexCounter++;
8177 0 : if ( p_io_stmt_list == childNode ) { return indexCounter; } indexCounter++;
8178 0 : if ( p_unit == childNode ) { return indexCounter; } indexCounter++;
8179 0 : if ( p_iostat == childNode ) { return indexCounter; } indexCounter++;
8180 0 : if ( p_err == childNode ) { return indexCounter; } indexCounter++;
8181 0 : if ( p_iomsg == childNode ) { return indexCounter; } indexCounter++;
8182 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8183 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8184 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8185 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8186 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8187 : return -1;
8188 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8189 : }
8190 :
8191 : /* #line 8192 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8192 :
8193 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8194 :
8195 : long
8196 0 : SgOpenStatement::getChildIndex( SgNode* childNode ) const
8197 : {
8198 : // ------------ checking pointers of SgOpenStatement -------------------
8199 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8200 0 : int indexCounter = 0;
8201 0 : if ( p_file == childNode ) { return indexCounter; } indexCounter++;
8202 0 : if ( p_status == childNode ) { return indexCounter; } indexCounter++;
8203 0 : if ( p_access == childNode ) { return indexCounter; } indexCounter++;
8204 0 : if ( p_form == childNode ) { return indexCounter; } indexCounter++;
8205 0 : if ( p_recl == childNode ) { return indexCounter; } indexCounter++;
8206 0 : if ( p_blank == childNode ) { return indexCounter; } indexCounter++;
8207 0 : if ( p_position == childNode ) { return indexCounter; } indexCounter++;
8208 0 : if ( p_action == childNode ) { return indexCounter; } indexCounter++;
8209 0 : if ( p_delim == childNode ) { return indexCounter; } indexCounter++;
8210 0 : if ( p_pad == childNode ) { return indexCounter; } indexCounter++;
8211 0 : if ( p_round == childNode ) { return indexCounter; } indexCounter++;
8212 0 : if ( p_sign == childNode ) { return indexCounter; } indexCounter++;
8213 0 : if ( p_asynchronous == childNode ) { return indexCounter; } indexCounter++;
8214 0 : if ( p_io_stmt_list == childNode ) { return indexCounter; } indexCounter++;
8215 0 : if ( p_unit == childNode ) { return indexCounter; } indexCounter++;
8216 0 : if ( p_iostat == childNode ) { return indexCounter; } indexCounter++;
8217 0 : if ( p_err == childNode ) { return indexCounter; } indexCounter++;
8218 0 : if ( p_iomsg == childNode ) { return indexCounter; } indexCounter++;
8219 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8220 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8221 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8222 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8223 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8224 : return -1;
8225 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8226 : }
8227 :
8228 : /* #line 8229 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8229 :
8230 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8231 :
8232 : long
8233 0 : SgCloseStatement::getChildIndex( SgNode* childNode ) const
8234 : {
8235 : // ------------ checking pointers of SgCloseStatement -------------------
8236 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8237 0 : int indexCounter = 0;
8238 0 : if ( p_status == childNode ) { return indexCounter; } indexCounter++;
8239 0 : if ( p_io_stmt_list == childNode ) { return indexCounter; } indexCounter++;
8240 0 : if ( p_unit == childNode ) { return indexCounter; } indexCounter++;
8241 0 : if ( p_iostat == childNode ) { return indexCounter; } indexCounter++;
8242 0 : if ( p_err == childNode ) { return indexCounter; } indexCounter++;
8243 0 : if ( p_iomsg == childNode ) { return indexCounter; } indexCounter++;
8244 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8245 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8246 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8247 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8248 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8249 : return -1;
8250 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8251 : }
8252 :
8253 : /* #line 8254 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8254 :
8255 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8256 :
8257 : long
8258 0 : SgInquireStatement::getChildIndex( SgNode* childNode ) const
8259 : {
8260 : // ------------ checking pointers of SgInquireStatement -------------------
8261 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8262 0 : int indexCounter = 0;
8263 0 : if ( p_file == childNode ) { return indexCounter; } indexCounter++;
8264 0 : if ( p_access == childNode ) { return indexCounter; } indexCounter++;
8265 0 : if ( p_form == childNode ) { return indexCounter; } indexCounter++;
8266 0 : if ( p_recl == childNode ) { return indexCounter; } indexCounter++;
8267 0 : if ( p_blank == childNode ) { return indexCounter; } indexCounter++;
8268 0 : if ( p_exist == childNode ) { return indexCounter; } indexCounter++;
8269 0 : if ( p_opened == childNode ) { return indexCounter; } indexCounter++;
8270 0 : if ( p_number == childNode ) { return indexCounter; } indexCounter++;
8271 0 : if ( p_named == childNode ) { return indexCounter; } indexCounter++;
8272 0 : if ( p_name == childNode ) { return indexCounter; } indexCounter++;
8273 0 : if ( p_sequential == childNode ) { return indexCounter; } indexCounter++;
8274 0 : if ( p_direct == childNode ) { return indexCounter; } indexCounter++;
8275 0 : if ( p_formatted == childNode ) { return indexCounter; } indexCounter++;
8276 0 : if ( p_unformatted == childNode ) { return indexCounter; } indexCounter++;
8277 0 : if ( p_nextrec == childNode ) { return indexCounter; } indexCounter++;
8278 0 : if ( p_position == childNode ) { return indexCounter; } indexCounter++;
8279 0 : if ( p_action == childNode ) { return indexCounter; } indexCounter++;
8280 0 : if ( p_read == childNode ) { return indexCounter; } indexCounter++;
8281 0 : if ( p_write == childNode ) { return indexCounter; } indexCounter++;
8282 0 : if ( p_readwrite == childNode ) { return indexCounter; } indexCounter++;
8283 0 : if ( p_delim == childNode ) { return indexCounter; } indexCounter++;
8284 0 : if ( p_pad == childNode ) { return indexCounter; } indexCounter++;
8285 0 : if ( p_asynchronous == childNode ) { return indexCounter; } indexCounter++;
8286 0 : if ( p_decimal == childNode ) { return indexCounter; } indexCounter++;
8287 0 : if ( p_stream == childNode ) { return indexCounter; } indexCounter++;
8288 0 : if ( p_size == childNode ) { return indexCounter; } indexCounter++;
8289 0 : if ( p_pending == childNode ) { return indexCounter; } indexCounter++;
8290 0 : if ( p_iolengthExp == childNode ) { return indexCounter; } indexCounter++;
8291 0 : if ( p_io_stmt_list == childNode ) { return indexCounter; } indexCounter++;
8292 0 : if ( p_unit == childNode ) { return indexCounter; } indexCounter++;
8293 0 : if ( p_iostat == childNode ) { return indexCounter; } indexCounter++;
8294 0 : if ( p_err == childNode ) { return indexCounter; } indexCounter++;
8295 0 : if ( p_iomsg == childNode ) { return indexCounter; } indexCounter++;
8296 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8297 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8298 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8299 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8300 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8301 : return -1;
8302 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8303 : }
8304 :
8305 : /* #line 8306 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8306 :
8307 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8308 :
8309 : long
8310 0 : SgFlushStatement::getChildIndex( SgNode* childNode ) const
8311 : {
8312 : // ------------ checking pointers of SgFlushStatement -------------------
8313 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8314 0 : int indexCounter = 0;
8315 0 : if ( p_io_stmt_list == childNode ) { return indexCounter; } indexCounter++;
8316 0 : if ( p_unit == childNode ) { return indexCounter; } indexCounter++;
8317 0 : if ( p_iostat == childNode ) { return indexCounter; } indexCounter++;
8318 0 : if ( p_err == childNode ) { return indexCounter; } indexCounter++;
8319 0 : if ( p_iomsg == childNode ) { return indexCounter; } indexCounter++;
8320 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8321 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8322 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8323 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8324 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8325 : return -1;
8326 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8327 : }
8328 :
8329 : /* #line 8330 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8330 :
8331 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8332 :
8333 : long
8334 0 : SgBackspaceStatement::getChildIndex( SgNode* childNode ) const
8335 : {
8336 : // ------------ checking pointers of SgBackspaceStatement -------------------
8337 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8338 0 : int indexCounter = 0;
8339 0 : if ( p_io_stmt_list == childNode ) { return indexCounter; } indexCounter++;
8340 0 : if ( p_unit == childNode ) { return indexCounter; } indexCounter++;
8341 0 : if ( p_iostat == childNode ) { return indexCounter; } indexCounter++;
8342 0 : if ( p_err == childNode ) { return indexCounter; } indexCounter++;
8343 0 : if ( p_iomsg == childNode ) { return indexCounter; } indexCounter++;
8344 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8345 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8346 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8347 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8348 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8349 : return -1;
8350 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8351 : }
8352 :
8353 : /* #line 8354 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8354 :
8355 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8356 :
8357 : long
8358 0 : SgRewindStatement::getChildIndex( SgNode* childNode ) const
8359 : {
8360 : // ------------ checking pointers of SgRewindStatement -------------------
8361 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8362 0 : int indexCounter = 0;
8363 0 : if ( p_io_stmt_list == childNode ) { return indexCounter; } indexCounter++;
8364 0 : if ( p_unit == childNode ) { return indexCounter; } indexCounter++;
8365 0 : if ( p_iostat == childNode ) { return indexCounter; } indexCounter++;
8366 0 : if ( p_err == childNode ) { return indexCounter; } indexCounter++;
8367 0 : if ( p_iomsg == childNode ) { return indexCounter; } indexCounter++;
8368 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8369 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8370 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8371 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8372 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8373 : return -1;
8374 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8375 : }
8376 :
8377 : /* #line 8378 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8378 :
8379 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8380 :
8381 : long
8382 0 : SgEndfileStatement::getChildIndex( SgNode* childNode ) const
8383 : {
8384 : // ------------ checking pointers of SgEndfileStatement -------------------
8385 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8386 0 : int indexCounter = 0;
8387 0 : if ( p_io_stmt_list == childNode ) { return indexCounter; } indexCounter++;
8388 0 : if ( p_unit == childNode ) { return indexCounter; } indexCounter++;
8389 0 : if ( p_iostat == childNode ) { return indexCounter; } indexCounter++;
8390 0 : if ( p_err == childNode ) { return indexCounter; } indexCounter++;
8391 0 : if ( p_iomsg == childNode ) { return indexCounter; } indexCounter++;
8392 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8393 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8394 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8395 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8396 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8397 : return -1;
8398 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8399 : }
8400 :
8401 : /* #line 8402 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8402 :
8403 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8404 :
8405 : long
8406 0 : SgWaitStatement::getChildIndex( SgNode* childNode ) const
8407 : {
8408 : // ------------ checking pointers of SgWaitStatement -------------------
8409 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8410 0 : int indexCounter = 0;
8411 0 : if ( p_io_stmt_list == childNode ) { return indexCounter; } indexCounter++;
8412 0 : if ( p_unit == childNode ) { return indexCounter; } indexCounter++;
8413 0 : if ( p_iostat == childNode ) { return indexCounter; } indexCounter++;
8414 0 : if ( p_err == childNode ) { return indexCounter; } indexCounter++;
8415 0 : if ( p_iomsg == childNode ) { return indexCounter; } indexCounter++;
8416 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8417 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8418 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8419 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8420 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8421 : return -1;
8422 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8423 : }
8424 :
8425 : /* #line 8426 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8426 :
8427 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8428 :
8429 : long
8430 0 : SgWhereStatement::getChildIndex( SgNode* childNode ) const
8431 : {
8432 : // ------------ checking pointers of SgWhereStatement -------------------
8433 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8434 0 : int indexCounter = 0;
8435 0 : if ( p_condition == childNode ) { return indexCounter; } indexCounter++;
8436 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
8437 0 : if ( p_elsewhere == childNode ) { return indexCounter; } indexCounter++;
8438 0 : if ( p_end_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8439 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8440 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8441 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8442 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8443 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8444 : return -1;
8445 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8446 : }
8447 :
8448 : /* #line 8449 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8449 :
8450 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8451 :
8452 : long
8453 0 : SgElseWhereStatement::getChildIndex( SgNode* childNode ) const
8454 : {
8455 : // ------------ checking pointers of SgElseWhereStatement -------------------
8456 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8457 0 : int indexCounter = 0;
8458 0 : if ( p_condition == childNode ) { return indexCounter; } indexCounter++;
8459 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
8460 0 : if ( p_elsewhere == childNode ) { return indexCounter; } indexCounter++;
8461 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8462 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8463 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8464 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8465 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8466 : return -1;
8467 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8468 : }
8469 :
8470 : /* #line 8471 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8471 :
8472 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8473 :
8474 : long
8475 0 : SgNullifyStatement::getChildIndex( SgNode* childNode ) const
8476 : {
8477 : // ------------ checking pointers of SgNullifyStatement -------------------
8478 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8479 0 : int indexCounter = 0;
8480 0 : if ( p_pointer_list == childNode ) { return indexCounter; } indexCounter++;
8481 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8482 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8483 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8484 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8485 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8486 : return -1;
8487 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8488 : }
8489 :
8490 : /* #line 8491 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8491 :
8492 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8493 :
8494 : long
8495 0 : SgArithmeticIfStatement::getChildIndex( SgNode* childNode ) const
8496 : {
8497 : // ------------ checking pointers of SgArithmeticIfStatement -------------------
8498 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8499 0 : int indexCounter = 0;
8500 0 : if ( p_conditional == childNode ) { return indexCounter; } indexCounter++;
8501 0 : if ( p_less_label == childNode ) { return indexCounter; } indexCounter++;
8502 0 : if ( p_equal_label == childNode ) { return indexCounter; } indexCounter++;
8503 0 : if ( p_greater_label == childNode ) { return indexCounter; } indexCounter++;
8504 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8505 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8506 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8507 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8508 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8509 : return -1;
8510 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8511 : }
8512 :
8513 : /* #line 8514 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8514 :
8515 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8516 :
8517 : long
8518 0 : SgAssignStatement::getChildIndex( SgNode* childNode ) const
8519 : {
8520 : // ------------ checking pointers of SgAssignStatement -------------------
8521 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8522 0 : int indexCounter = 0;
8523 0 : if ( p_label == childNode ) { return indexCounter; } indexCounter++;
8524 0 : if ( p_value == childNode ) { return indexCounter; } indexCounter++;
8525 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8526 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8527 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8528 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8529 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8530 : return -1;
8531 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8532 : }
8533 :
8534 : /* #line 8535 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8535 :
8536 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8537 :
8538 : long
8539 0 : SgComputedGotoStatement::getChildIndex( SgNode* childNode ) const
8540 : {
8541 : // ------------ checking pointers of SgComputedGotoStatement -------------------
8542 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8543 0 : int indexCounter = 0;
8544 0 : if ( p_labelList == childNode ) { return indexCounter; } indexCounter++;
8545 0 : if ( p_label_index == childNode ) { return indexCounter; } indexCounter++;
8546 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8547 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8548 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8549 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8550 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8551 : return -1;
8552 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8553 : }
8554 :
8555 : /* #line 8556 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8556 :
8557 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8558 :
8559 : long
8560 0 : SgAssignedGotoStatement::getChildIndex( SgNode* childNode ) const
8561 : {
8562 : // ------------ checking pointers of SgAssignedGotoStatement -------------------
8563 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8564 0 : int indexCounter = 0;
8565 0 : if ( p_targets == childNode ) { return indexCounter; } indexCounter++;
8566 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8567 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8568 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8569 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8570 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8571 : return -1;
8572 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8573 : }
8574 :
8575 : /* #line 8576 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8576 :
8577 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8578 :
8579 : long
8580 0 : SgAllocateStatement::getChildIndex( SgNode* childNode ) const
8581 : {
8582 : // ------------ checking pointers of SgAllocateStatement -------------------
8583 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8584 0 : int indexCounter = 0;
8585 0 : if ( p_expr_list == childNode ) { return indexCounter; } indexCounter++;
8586 0 : if ( p_stat_expression == childNode ) { return indexCounter; } indexCounter++;
8587 0 : if ( p_errmsg_expression == childNode ) { return indexCounter; } indexCounter++;
8588 0 : if ( p_source_expression == childNode ) { return indexCounter; } indexCounter++;
8589 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8590 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8591 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8592 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8593 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8594 : return -1;
8595 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8596 : }
8597 :
8598 : /* #line 8599 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8599 :
8600 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8601 :
8602 : long
8603 0 : SgDeallocateStatement::getChildIndex( SgNode* childNode ) const
8604 : {
8605 : // ------------ checking pointers of SgDeallocateStatement -------------------
8606 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8607 0 : int indexCounter = 0;
8608 0 : if ( p_expr_list == childNode ) { return indexCounter; } indexCounter++;
8609 0 : if ( p_stat_expression == childNode ) { return indexCounter; } indexCounter++;
8610 0 : if ( p_errmsg_expression == childNode ) { return indexCounter; } indexCounter++;
8611 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8612 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8613 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8614 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8615 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8616 : return -1;
8617 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8618 : }
8619 :
8620 : /* #line 8621 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8621 :
8622 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8623 :
8624 : long
8625 0 : SgUpcNotifyStatement::getChildIndex( SgNode* childNode ) const
8626 : {
8627 : // ------------ checking pointers of SgUpcNotifyStatement -------------------
8628 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8629 0 : int indexCounter = 0;
8630 0 : if ( p_notify_expression == childNode ) { return indexCounter; } indexCounter++;
8631 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8632 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8633 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8634 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8635 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8636 : return -1;
8637 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8638 : }
8639 :
8640 : /* #line 8641 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8641 :
8642 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8643 :
8644 : long
8645 0 : SgUpcWaitStatement::getChildIndex( SgNode* childNode ) const
8646 : {
8647 : // ------------ checking pointers of SgUpcWaitStatement -------------------
8648 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8649 0 : int indexCounter = 0;
8650 0 : if ( p_wait_expression == childNode ) { return indexCounter; } indexCounter++;
8651 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8652 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8653 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8654 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8655 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8656 : return -1;
8657 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8658 : }
8659 :
8660 : /* #line 8661 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8661 :
8662 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8663 :
8664 : long
8665 0 : SgUpcBarrierStatement::getChildIndex( SgNode* childNode ) const
8666 : {
8667 : // ------------ checking pointers of SgUpcBarrierStatement -------------------
8668 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8669 0 : int indexCounter = 0;
8670 0 : if ( p_barrier_expression == childNode ) { return indexCounter; } indexCounter++;
8671 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8672 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8673 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8674 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8675 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8676 : return -1;
8677 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8678 : }
8679 :
8680 : /* #line 8681 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8681 :
8682 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8683 :
8684 : long
8685 0 : SgUpcFenceStatement::getChildIndex( SgNode* childNode ) const
8686 : {
8687 : // ------------ checking pointers of SgUpcFenceStatement -------------------
8688 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8689 0 : int indexCounter = 0;
8690 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8691 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8692 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8693 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8694 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8695 : return -1;
8696 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8697 : }
8698 :
8699 : /* #line 8700 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8700 :
8701 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8702 :
8703 : long
8704 0 : SgUpirBaseStatement::getChildIndex( SgNode* childNode ) const
8705 : {
8706 : // ------------ checking pointers of SgUpirBaseStatement -------------------
8707 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8708 0 : int indexCounter = 0;
8709 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
8710 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
8711 : {
8712 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
8713 : }
8714 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8715 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8716 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8717 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8718 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8719 : return -1;
8720 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8721 : }
8722 :
8723 : /* #line 8724 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8724 :
8725 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8726 :
8727 : long
8728 0 : SgOmpTaskyieldStatement::getChildIndex( SgNode* childNode ) const
8729 : {
8730 : // ------------ checking pointers of SgOmpTaskyieldStatement -------------------
8731 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8732 0 : int indexCounter = 0;
8733 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
8734 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
8735 : {
8736 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
8737 : }
8738 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8739 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8740 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8741 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8742 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8743 : return -1;
8744 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8745 : }
8746 :
8747 : /* #line 8748 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8748 :
8749 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8750 :
8751 : long
8752 0 : SgOmpBarrierStatement::getChildIndex( SgNode* childNode ) const
8753 : {
8754 : // ------------ checking pointers of SgOmpBarrierStatement -------------------
8755 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8756 0 : int indexCounter = 0;
8757 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
8758 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
8759 : {
8760 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
8761 : }
8762 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8763 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8764 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8765 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8766 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8767 : return -1;
8768 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8769 : }
8770 :
8771 : /* #line 8772 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8772 :
8773 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8774 :
8775 : long
8776 0 : SgUpirBodyStatement::getChildIndex( SgNode* childNode ) const
8777 : {
8778 : // ------------ checking pointers of SgUpirBodyStatement -------------------
8779 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8780 0 : int indexCounter = 0;
8781 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
8782 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
8783 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
8784 : {
8785 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
8786 : }
8787 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8788 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8789 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8790 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8791 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8792 : return -1;
8793 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8794 : }
8795 :
8796 : /* #line 8797 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8797 :
8798 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8799 :
8800 : long
8801 0 : SgOmpMasterStatement::getChildIndex( SgNode* childNode ) const
8802 : {
8803 : // ------------ checking pointers of SgOmpMasterStatement -------------------
8804 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8805 0 : int indexCounter = 0;
8806 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
8807 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
8808 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
8809 : {
8810 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
8811 : }
8812 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8813 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8814 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8815 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8816 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8817 : return -1;
8818 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8819 : }
8820 :
8821 : /* #line 8822 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8822 :
8823 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8824 :
8825 : long
8826 0 : SgOmpSectionStatement::getChildIndex( SgNode* childNode ) const
8827 : {
8828 : // ------------ checking pointers of SgOmpSectionStatement -------------------
8829 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8830 0 : int indexCounter = 0;
8831 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
8832 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
8833 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
8834 : {
8835 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
8836 : }
8837 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8838 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8839 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8840 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8841 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8842 : return -1;
8843 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8844 : }
8845 :
8846 : /* #line 8847 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8847 :
8848 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8849 :
8850 : long
8851 0 : SgOmpWorkshareStatement::getChildIndex( SgNode* childNode ) const
8852 : {
8853 : // ------------ checking pointers of SgOmpWorkshareStatement -------------------
8854 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8855 0 : int indexCounter = 0;
8856 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
8857 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
8858 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
8859 : {
8860 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
8861 : }
8862 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8863 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8864 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8865 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8866 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8867 : return -1;
8868 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8869 : }
8870 :
8871 : /* #line 8872 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8872 :
8873 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8874 :
8875 : long
8876 0 : SgUpirFieldBodyStatement::getChildIndex( SgNode* childNode ) const
8877 : {
8878 : // ------------ checking pointers of SgUpirFieldBodyStatement -------------------
8879 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8880 0 : int indexCounter = 0;
8881 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
8882 : {
8883 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
8884 : }
8885 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
8886 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
8887 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
8888 : {
8889 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
8890 : }
8891 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8892 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8893 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8894 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8895 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8896 : return -1;
8897 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8898 : }
8899 :
8900 : /* #line 8901 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8901 :
8902 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8903 :
8904 : long
8905 96 : SgUpirSpmdStatement::getChildIndex( SgNode* childNode ) const
8906 : {
8907 : // ------------ checking pointers of SgUpirSpmdStatement -------------------
8908 96 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8909 96 : int indexCounter = 0;
8910 109 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
8911 : {
8912 13 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
8913 : }
8914 96 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
8915 96 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
8916 96 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
8917 : {
8918 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
8919 : }
8920 96 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8921 96 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8922 96 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8923 96 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8924 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8925 : return -1;
8926 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8927 : }
8928 :
8929 : /* #line 8930 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8930 :
8931 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8932 :
8933 : long
8934 0 : SgOmpTeamsStatement::getChildIndex( SgNode* childNode ) const
8935 : {
8936 : // ------------ checking pointers of SgOmpTeamsStatement -------------------
8937 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8938 0 : int indexCounter = 0;
8939 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
8940 : {
8941 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
8942 : }
8943 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
8944 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
8945 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
8946 : {
8947 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
8948 : }
8949 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8950 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8951 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8952 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8953 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8954 : return -1;
8955 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8956 : }
8957 :
8958 : /* #line 8959 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8959 :
8960 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8961 :
8962 : long
8963 0 : SgOmpSingleStatement::getChildIndex( SgNode* childNode ) const
8964 : {
8965 : // ------------ checking pointers of SgOmpSingleStatement -------------------
8966 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8967 0 : int indexCounter = 0;
8968 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
8969 : {
8970 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
8971 : }
8972 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
8973 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
8974 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
8975 : {
8976 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
8977 : }
8978 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
8979 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8980 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
8981 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
8982 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
8983 : return -1;
8984 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8985 : }
8986 :
8987 : /* #line 8988 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
8988 :
8989 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
8990 :
8991 : long
8992 0 : SgOmpAtomicStatement::getChildIndex( SgNode* childNode ) const
8993 : {
8994 : // ------------ checking pointers of SgOmpAtomicStatement -------------------
8995 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
8996 0 : int indexCounter = 0;
8997 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
8998 : {
8999 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9000 : }
9001 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9002 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9003 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9004 : {
9005 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9006 : }
9007 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9008 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9009 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9010 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9011 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9012 : return -1;
9013 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9014 : }
9015 :
9016 : /* #line 9017 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9017 :
9018 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9019 :
9020 : long
9021 0 : SgOmpScanStatement::getChildIndex( SgNode* childNode ) const
9022 : {
9023 : // ------------ checking pointers of SgOmpScanStatement -------------------
9024 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9025 0 : int indexCounter = 0;
9026 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9027 : {
9028 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9029 : }
9030 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9031 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9032 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9033 : {
9034 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9035 : }
9036 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9037 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9038 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9039 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9040 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9041 : return -1;
9042 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9043 : }
9044 :
9045 : /* #line 9046 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9046 :
9047 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9048 :
9049 : long
9050 0 : SgOmpMetadirectiveStatement::getChildIndex( SgNode* childNode ) const
9051 : {
9052 : // ------------ checking pointers of SgOmpMetadirectiveStatement -------------------
9053 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9054 0 : int indexCounter = 0;
9055 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9056 : {
9057 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9058 : }
9059 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9060 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9061 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9062 : {
9063 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9064 : }
9065 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9066 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9067 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9068 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9069 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9070 : return -1;
9071 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9072 : }
9073 :
9074 : /* #line 9075 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9075 :
9076 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9077 :
9078 : long
9079 0 : SgOmpLoopStatement::getChildIndex( SgNode* childNode ) const
9080 : {
9081 : // ------------ checking pointers of SgOmpLoopStatement -------------------
9082 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9083 0 : int indexCounter = 0;
9084 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9085 : {
9086 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9087 : }
9088 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9089 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9090 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9091 : {
9092 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9093 : }
9094 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9095 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9096 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9097 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9098 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9099 : return -1;
9100 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9101 : }
9102 :
9103 : /* #line 9104 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9104 :
9105 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9106 :
9107 : long
9108 0 : SgOmpOrderedStatement::getChildIndex( SgNode* childNode ) const
9109 : {
9110 : // ------------ checking pointers of SgOmpOrderedStatement -------------------
9111 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9112 0 : int indexCounter = 0;
9113 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9114 : {
9115 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9116 : }
9117 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9118 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9119 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9120 : {
9121 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9122 : }
9123 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9124 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9125 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9126 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9127 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9128 : return -1;
9129 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9130 : }
9131 :
9132 : /* #line 9133 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9133 :
9134 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9135 :
9136 : long
9137 0 : SgOmpTaskgroupStatement::getChildIndex( SgNode* childNode ) const
9138 : {
9139 : // ------------ checking pointers of SgOmpTaskgroupStatement -------------------
9140 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9141 0 : int indexCounter = 0;
9142 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9143 : {
9144 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9145 : }
9146 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9147 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9148 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9149 : {
9150 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9151 : }
9152 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9153 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9154 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9155 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9156 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9157 : return -1;
9158 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9159 : }
9160 :
9161 : /* #line 9162 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9162 :
9163 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9164 :
9165 : long
9166 0 : SgOmpTaskloopStatement::getChildIndex( SgNode* childNode ) const
9167 : {
9168 : // ------------ checking pointers of SgOmpTaskloopStatement -------------------
9169 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9170 0 : int indexCounter = 0;
9171 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9172 : {
9173 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9174 : }
9175 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9176 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9177 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9178 : {
9179 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9180 : }
9181 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9182 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9183 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9184 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9185 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9186 : return -1;
9187 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9188 : }
9189 :
9190 : /* #line 9191 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9191 :
9192 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9193 :
9194 : long
9195 0 : SgOmpDepobjStatement::getChildIndex( SgNode* childNode ) const
9196 : {
9197 : // ------------ checking pointers of SgOmpDepobjStatement -------------------
9198 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9199 0 : int indexCounter = 0;
9200 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9201 : {
9202 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9203 : }
9204 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9205 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9206 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9207 : {
9208 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9209 : }
9210 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9211 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9212 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9213 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9214 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9215 : return -1;
9216 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9217 : }
9218 :
9219 : /* #line 9220 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9220 :
9221 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9222 :
9223 : long
9224 0 : SgOmpTargetEnterDataStatement::getChildIndex( SgNode* childNode ) const
9225 : {
9226 : // ------------ checking pointers of SgOmpTargetEnterDataStatement -------------------
9227 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9228 0 : int indexCounter = 0;
9229 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9230 : {
9231 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9232 : }
9233 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9234 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9235 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9236 : {
9237 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9238 : }
9239 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9240 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9241 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9242 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9243 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9244 : return -1;
9245 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9246 : }
9247 :
9248 : /* #line 9249 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9249 :
9250 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9251 :
9252 : long
9253 0 : SgOmpTargetExitDataStatement::getChildIndex( SgNode* childNode ) const
9254 : {
9255 : // ------------ checking pointers of SgOmpTargetExitDataStatement -------------------
9256 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9257 0 : int indexCounter = 0;
9258 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9259 : {
9260 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9261 : }
9262 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9263 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9264 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9265 : {
9266 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9267 : }
9268 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9269 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9270 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9271 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9272 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9273 : return -1;
9274 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9275 : }
9276 :
9277 : /* #line 9278 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9278 :
9279 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9280 :
9281 : long
9282 0 : SgOmpParallelMasterStatement::getChildIndex( SgNode* childNode ) const
9283 : {
9284 : // ------------ checking pointers of SgOmpParallelMasterStatement -------------------
9285 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9286 0 : int indexCounter = 0;
9287 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9288 : {
9289 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9290 : }
9291 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9292 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9293 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9294 : {
9295 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9296 : }
9297 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9298 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9299 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9300 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9301 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9302 : return -1;
9303 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9304 : }
9305 :
9306 : /* #line 9307 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9307 :
9308 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9309 :
9310 : long
9311 0 : SgOmpMasterTaskloopStatement::getChildIndex( SgNode* childNode ) const
9312 : {
9313 : // ------------ checking pointers of SgOmpMasterTaskloopStatement -------------------
9314 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9315 0 : int indexCounter = 0;
9316 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9317 : {
9318 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9319 : }
9320 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9321 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9322 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9323 : {
9324 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9325 : }
9326 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9327 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9328 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9329 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9330 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9331 : return -1;
9332 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9333 : }
9334 :
9335 : /* #line 9336 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9336 :
9337 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9338 :
9339 : long
9340 0 : SgOmpTaskStatement::getChildIndex( SgNode* childNode ) const
9341 : {
9342 : // ------------ checking pointers of SgOmpTaskStatement -------------------
9343 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9344 0 : int indexCounter = 0;
9345 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9346 : {
9347 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9348 : }
9349 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9350 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9351 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9352 : {
9353 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9354 : }
9355 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9356 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9357 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9358 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9359 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9360 : return -1;
9361 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9362 : }
9363 :
9364 : /* #line 9365 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9365 :
9366 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9367 :
9368 : long
9369 0 : SgOmpDoStatement::getChildIndex( SgNode* childNode ) const
9370 : {
9371 : // ------------ checking pointers of SgOmpDoStatement -------------------
9372 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9373 0 : int indexCounter = 0;
9374 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9375 : {
9376 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9377 : }
9378 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9379 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9380 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9381 : {
9382 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9383 : }
9384 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9385 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9386 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9387 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9388 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9389 : return -1;
9390 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9391 : }
9392 :
9393 : /* #line 9394 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9394 :
9395 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9396 :
9397 : long
9398 0 : SgOmpSectionsStatement::getChildIndex( SgNode* childNode ) const
9399 : {
9400 : // ------------ checking pointers of SgOmpSectionsStatement -------------------
9401 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9402 0 : int indexCounter = 0;
9403 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9404 : {
9405 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9406 : }
9407 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9408 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9409 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9410 : {
9411 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9412 : }
9413 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9414 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9415 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9416 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9417 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9418 : return -1;
9419 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9420 : }
9421 :
9422 : /* #line 9423 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9423 :
9424 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9425 :
9426 : long
9427 0 : SgUpirTaskStatement::getChildIndex( SgNode* childNode ) const
9428 : {
9429 : // ------------ checking pointers of SgUpirTaskStatement -------------------
9430 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9431 0 : int indexCounter = 0;
9432 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9433 : {
9434 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9435 : }
9436 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9437 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9438 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9439 : {
9440 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9441 : }
9442 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9443 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9444 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9445 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9446 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9447 : return -1;
9448 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9449 : }
9450 :
9451 : /* #line 9452 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9452 :
9453 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9454 :
9455 : long
9456 0 : SgOmpTargetDataStatement::getChildIndex( SgNode* childNode ) const
9457 : {
9458 : // ------------ checking pointers of SgOmpTargetDataStatement -------------------
9459 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9460 0 : int indexCounter = 0;
9461 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9462 : {
9463 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9464 : }
9465 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9466 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9467 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9468 : {
9469 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9470 : }
9471 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9472 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9473 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9474 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9475 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9476 : return -1;
9477 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9478 : }
9479 :
9480 : /* #line 9481 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9481 :
9482 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9483 :
9484 : long
9485 0 : SgOmpTargetParallelForStatement::getChildIndex( SgNode* childNode ) const
9486 : {
9487 : // ------------ checking pointers of SgOmpTargetParallelForStatement -------------------
9488 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9489 0 : int indexCounter = 0;
9490 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9491 : {
9492 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9493 : }
9494 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9495 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9496 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9497 : {
9498 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9499 : }
9500 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9501 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9502 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9503 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9504 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9505 : return -1;
9506 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9507 : }
9508 :
9509 : /* #line 9510 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9510 :
9511 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9512 :
9513 : long
9514 0 : SgOmpParallelLoopStatement::getChildIndex( SgNode* childNode ) const
9515 : {
9516 : // ------------ checking pointers of SgOmpParallelLoopStatement -------------------
9517 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9518 0 : int indexCounter = 0;
9519 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9520 : {
9521 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9522 : }
9523 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9524 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9525 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9526 : {
9527 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9528 : }
9529 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9530 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9531 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9532 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9533 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9534 : return -1;
9535 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9536 : }
9537 :
9538 : /* #line 9539 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9539 :
9540 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9541 :
9542 : long
9543 0 : SgOmpTargetParallelStatement::getChildIndex( SgNode* childNode ) const
9544 : {
9545 : // ------------ checking pointers of SgOmpTargetParallelStatement -------------------
9546 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9547 0 : int indexCounter = 0;
9548 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9549 : {
9550 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9551 : }
9552 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9553 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9554 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9555 : {
9556 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9557 : }
9558 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9559 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9560 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9561 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9562 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9563 : return -1;
9564 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9565 : }
9566 :
9567 : /* #line 9568 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9568 :
9569 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9570 :
9571 : long
9572 0 : SgOmpTargetParallelForSimdStatement::getChildIndex( SgNode* childNode ) const
9573 : {
9574 : // ------------ checking pointers of SgOmpTargetParallelForSimdStatement -------------------
9575 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9576 0 : int indexCounter = 0;
9577 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9578 : {
9579 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9580 : }
9581 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9582 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9583 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9584 : {
9585 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9586 : }
9587 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9588 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9589 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9590 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9591 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9592 : return -1;
9593 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9594 : }
9595 :
9596 : /* #line 9597 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9597 :
9598 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9599 :
9600 : long
9601 0 : SgOmpTargetParallelLoopStatement::getChildIndex( SgNode* childNode ) const
9602 : {
9603 : // ------------ checking pointers of SgOmpTargetParallelLoopStatement -------------------
9604 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9605 0 : int indexCounter = 0;
9606 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9607 : {
9608 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9609 : }
9610 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9611 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9612 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9613 : {
9614 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9615 : }
9616 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9617 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9618 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9619 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9620 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9621 : return -1;
9622 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9623 : }
9624 :
9625 : /* #line 9626 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9626 :
9627 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9628 :
9629 : long
9630 0 : SgOmpTargetSimdStatement::getChildIndex( SgNode* childNode ) const
9631 : {
9632 : // ------------ checking pointers of SgOmpTargetSimdStatement -------------------
9633 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9634 0 : int indexCounter = 0;
9635 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9636 : {
9637 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9638 : }
9639 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9640 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9641 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9642 : {
9643 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9644 : }
9645 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9646 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9647 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9648 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9649 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9650 : return -1;
9651 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9652 : }
9653 :
9654 : /* #line 9655 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9655 :
9656 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9657 :
9658 : long
9659 0 : SgOmpTargetTeamsStatement::getChildIndex( SgNode* childNode ) const
9660 : {
9661 : // ------------ checking pointers of SgOmpTargetTeamsStatement -------------------
9662 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9663 0 : int indexCounter = 0;
9664 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9665 : {
9666 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9667 : }
9668 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9669 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9670 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9671 : {
9672 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9673 : }
9674 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9675 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9676 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9677 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9678 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9679 : return -1;
9680 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9681 : }
9682 :
9683 : /* #line 9684 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9684 :
9685 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9686 :
9687 : long
9688 0 : SgOmpTargetTeamsDistributeStatement::getChildIndex( SgNode* childNode ) const
9689 : {
9690 : // ------------ checking pointers of SgOmpTargetTeamsDistributeStatement -------------------
9691 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9692 0 : int indexCounter = 0;
9693 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9694 : {
9695 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9696 : }
9697 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9698 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9699 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9700 : {
9701 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9702 : }
9703 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9704 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9705 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9706 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9707 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9708 : return -1;
9709 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9710 : }
9711 :
9712 : /* #line 9713 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9713 :
9714 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9715 :
9716 : long
9717 0 : SgOmpTargetTeamsDistributeSimdStatement::getChildIndex( SgNode* childNode ) const
9718 : {
9719 : // ------------ checking pointers of SgOmpTargetTeamsDistributeSimdStatement -------------------
9720 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9721 0 : int indexCounter = 0;
9722 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9723 : {
9724 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9725 : }
9726 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9727 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9728 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9729 : {
9730 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9731 : }
9732 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9733 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9734 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9735 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9736 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9737 : return -1;
9738 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9739 : }
9740 :
9741 : /* #line 9742 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9742 :
9743 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9744 :
9745 : long
9746 0 : SgOmpTargetTeamsLoopStatement::getChildIndex( SgNode* childNode ) const
9747 : {
9748 : // ------------ checking pointers of SgOmpTargetTeamsLoopStatement -------------------
9749 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9750 0 : int indexCounter = 0;
9751 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9752 : {
9753 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9754 : }
9755 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9756 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9757 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9758 : {
9759 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9760 : }
9761 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9762 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9763 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9764 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9765 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9766 : return -1;
9767 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9768 : }
9769 :
9770 : /* #line 9771 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9771 :
9772 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9773 :
9774 : long
9775 0 : SgOmpTargetTeamsDistributeParallelForStatement::getChildIndex( SgNode* childNode ) const
9776 : {
9777 : // ------------ checking pointers of SgOmpTargetTeamsDistributeParallelForStatement -------------------
9778 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9779 0 : int indexCounter = 0;
9780 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9781 : {
9782 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9783 : }
9784 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9785 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9786 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9787 : {
9788 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9789 : }
9790 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9791 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9792 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9793 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9794 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9795 : return -1;
9796 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9797 : }
9798 :
9799 : /* #line 9800 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9800 :
9801 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9802 :
9803 : long
9804 0 : SgOmpTargetTeamsDistributeParallelForSimdStatement::getChildIndex( SgNode* childNode ) const
9805 : {
9806 : // ------------ checking pointers of SgOmpTargetTeamsDistributeParallelForSimdStatement -------------------
9807 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9808 0 : int indexCounter = 0;
9809 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9810 : {
9811 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9812 : }
9813 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9814 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9815 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9816 : {
9817 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9818 : }
9819 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9820 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9821 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9822 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9823 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9824 : return -1;
9825 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9826 : }
9827 :
9828 : /* #line 9829 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9829 :
9830 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9831 :
9832 : long
9833 0 : SgOmpDistributeSimdStatement::getChildIndex( SgNode* childNode ) const
9834 : {
9835 : // ------------ checking pointers of SgOmpDistributeSimdStatement -------------------
9836 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9837 0 : int indexCounter = 0;
9838 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9839 : {
9840 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9841 : }
9842 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9843 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9844 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9845 : {
9846 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9847 : }
9848 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9849 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9850 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9851 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9852 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9853 : return -1;
9854 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9855 : }
9856 :
9857 : /* #line 9858 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9858 :
9859 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9860 :
9861 : long
9862 0 : SgOmpDistributeParallelForStatement::getChildIndex( SgNode* childNode ) const
9863 : {
9864 : // ------------ checking pointers of SgOmpDistributeParallelForStatement -------------------
9865 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9866 0 : int indexCounter = 0;
9867 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9868 : {
9869 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9870 : }
9871 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9872 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9873 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9874 : {
9875 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9876 : }
9877 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9878 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9879 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9880 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9881 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9882 : return -1;
9883 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9884 : }
9885 :
9886 : /* #line 9887 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9887 :
9888 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9889 :
9890 : long
9891 0 : SgOmpDistributeParallelForSimdStatement::getChildIndex( SgNode* childNode ) const
9892 : {
9893 : // ------------ checking pointers of SgOmpDistributeParallelForSimdStatement -------------------
9894 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9895 0 : int indexCounter = 0;
9896 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9897 : {
9898 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9899 : }
9900 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9901 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9902 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9903 : {
9904 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9905 : }
9906 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9907 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9908 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9909 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9910 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9911 : return -1;
9912 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9913 : }
9914 :
9915 : /* #line 9916 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9916 :
9917 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9918 :
9919 : long
9920 0 : SgOmpTaskloopSimdStatement::getChildIndex( SgNode* childNode ) const
9921 : {
9922 : // ------------ checking pointers of SgOmpTaskloopSimdStatement -------------------
9923 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9924 0 : int indexCounter = 0;
9925 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9926 : {
9927 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9928 : }
9929 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9930 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9931 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9932 : {
9933 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9934 : }
9935 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9936 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9937 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9938 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9939 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9940 : return -1;
9941 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9942 : }
9943 :
9944 : /* #line 9945 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9945 :
9946 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9947 :
9948 : long
9949 0 : SgOmpMasterTaskloopSimdStatement::getChildIndex( SgNode* childNode ) const
9950 : {
9951 : // ------------ checking pointers of SgOmpMasterTaskloopSimdStatement -------------------
9952 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9953 0 : int indexCounter = 0;
9954 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9955 : {
9956 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9957 : }
9958 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9959 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9960 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9961 : {
9962 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9963 : }
9964 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9965 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9966 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9967 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9968 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9969 : return -1;
9970 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9971 : }
9972 :
9973 : /* #line 9974 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
9974 :
9975 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
9976 :
9977 : long
9978 0 : SgOmpParallelMasterTaskloopStatement::getChildIndex( SgNode* childNode ) const
9979 : {
9980 : // ------------ checking pointers of SgOmpParallelMasterTaskloopStatement -------------------
9981 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
9982 0 : int indexCounter = 0;
9983 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
9984 : {
9985 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
9986 : }
9987 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
9988 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
9989 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
9990 : {
9991 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
9992 : }
9993 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
9994 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9995 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
9996 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
9997 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
9998 : return -1;
9999 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10000 : }
10001 :
10002 : /* #line 10003 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10003 :
10004 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10005 :
10006 : long
10007 0 : SgOmpParallelMasterTaskloopSimdStatement::getChildIndex( SgNode* childNode ) const
10008 : {
10009 : // ------------ checking pointers of SgOmpParallelMasterTaskloopSimdStatement -------------------
10010 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10011 0 : int indexCounter = 0;
10012 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10013 : {
10014 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10015 : }
10016 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10017 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10018 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10019 : {
10020 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10021 : }
10022 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10023 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10024 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10025 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10026 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10027 : return -1;
10028 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10029 : }
10030 :
10031 : /* #line 10032 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10032 :
10033 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10034 :
10035 : long
10036 0 : SgOmpTeamsDistributeStatement::getChildIndex( SgNode* childNode ) const
10037 : {
10038 : // ------------ checking pointers of SgOmpTeamsDistributeStatement -------------------
10039 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10040 0 : int indexCounter = 0;
10041 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10042 : {
10043 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10044 : }
10045 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10046 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10047 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10048 : {
10049 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10050 : }
10051 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10052 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10053 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10054 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10055 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10056 : return -1;
10057 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10058 : }
10059 :
10060 : /* #line 10061 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10061 :
10062 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10063 :
10064 : long
10065 0 : SgOmpTeamsDistributeSimdStatement::getChildIndex( SgNode* childNode ) const
10066 : {
10067 : // ------------ checking pointers of SgOmpTeamsDistributeSimdStatement -------------------
10068 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10069 0 : int indexCounter = 0;
10070 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10071 : {
10072 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10073 : }
10074 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10075 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10076 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10077 : {
10078 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10079 : }
10080 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10081 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10082 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10083 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10084 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10085 : return -1;
10086 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10087 : }
10088 :
10089 : /* #line 10090 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10090 :
10091 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10092 :
10093 : long
10094 0 : SgOmpTeamsDistributeParallelForStatement::getChildIndex( SgNode* childNode ) const
10095 : {
10096 : // ------------ checking pointers of SgOmpTeamsDistributeParallelForStatement -------------------
10097 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10098 0 : int indexCounter = 0;
10099 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10100 : {
10101 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10102 : }
10103 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10104 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10105 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10106 : {
10107 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10108 : }
10109 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10110 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10111 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10112 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10113 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10114 : return -1;
10115 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10116 : }
10117 :
10118 : /* #line 10119 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10119 :
10120 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10121 :
10122 : long
10123 0 : SgOmpTeamsDistributeParallelForSimdStatement::getChildIndex( SgNode* childNode ) const
10124 : {
10125 : // ------------ checking pointers of SgOmpTeamsDistributeParallelForSimdStatement -------------------
10126 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10127 0 : int indexCounter = 0;
10128 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10129 : {
10130 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10131 : }
10132 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10133 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10134 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10135 : {
10136 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10137 : }
10138 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10139 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10140 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10141 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10142 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10143 : return -1;
10144 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10145 : }
10146 :
10147 : /* #line 10148 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10148 :
10149 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10150 :
10151 : long
10152 0 : SgOmpTeamsLoopStatement::getChildIndex( SgNode* childNode ) const
10153 : {
10154 : // ------------ checking pointers of SgOmpTeamsLoopStatement -------------------
10155 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10156 0 : int indexCounter = 0;
10157 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10158 : {
10159 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10160 : }
10161 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10162 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10163 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10164 : {
10165 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10166 : }
10167 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10168 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10169 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10170 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10171 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10172 : return -1;
10173 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10174 : }
10175 :
10176 : /* #line 10177 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10177 :
10178 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10179 :
10180 : long
10181 0 : SgOmpForSimdStatement::getChildIndex( SgNode* childNode ) const
10182 : {
10183 : // ------------ checking pointers of SgOmpForSimdStatement -------------------
10184 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10185 0 : int indexCounter = 0;
10186 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10187 : {
10188 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10189 : }
10190 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10191 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10192 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10193 : {
10194 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10195 : }
10196 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10197 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10198 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10199 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10200 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10201 : return -1;
10202 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10203 : }
10204 :
10205 : /* #line 10206 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10206 :
10207 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10208 :
10209 : long
10210 0 : SgOmpCriticalStatement::getChildIndex( SgNode* childNode ) const
10211 : {
10212 : // ------------ checking pointers of SgOmpCriticalStatement -------------------
10213 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10214 0 : int indexCounter = 0;
10215 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10216 : {
10217 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10218 : }
10219 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10220 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10221 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10222 : {
10223 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10224 : }
10225 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10226 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10227 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10228 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10229 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10230 : return -1;
10231 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10232 : }
10233 :
10234 : /* #line 10235 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10235 :
10236 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10237 :
10238 : long
10239 0 : SgOmpDistributeStatement::getChildIndex( SgNode* childNode ) const
10240 : {
10241 : // ------------ checking pointers of SgOmpDistributeStatement -------------------
10242 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10243 0 : int indexCounter = 0;
10244 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10245 : {
10246 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10247 : }
10248 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10249 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10250 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10251 : {
10252 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10253 : }
10254 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10255 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10256 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10257 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10258 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10259 : return -1;
10260 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10261 : }
10262 :
10263 : /* #line 10264 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10264 :
10265 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10266 :
10267 : long
10268 0 : SgOmpUnrollStatement::getChildIndex( SgNode* childNode ) const
10269 : {
10270 : // ------------ checking pointers of SgOmpUnrollStatement -------------------
10271 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10272 0 : int indexCounter = 0;
10273 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10274 : {
10275 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10276 : }
10277 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10278 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10279 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10280 : {
10281 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10282 : }
10283 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10284 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10285 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10286 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10287 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10288 : return -1;
10289 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10290 : }
10291 :
10292 : /* #line 10293 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10293 :
10294 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10295 :
10296 : long
10297 0 : SgOmpTileStatement::getChildIndex( SgNode* childNode ) const
10298 : {
10299 : // ------------ checking pointers of SgOmpTileStatement -------------------
10300 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10301 0 : int indexCounter = 0;
10302 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10303 : {
10304 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10305 : }
10306 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10307 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10308 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10309 : {
10310 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10311 : }
10312 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10313 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10314 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10315 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10316 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10317 : return -1;
10318 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10319 : }
10320 :
10321 : /* #line 10322 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10322 :
10323 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10324 :
10325 : long
10326 0 : SgUpirLoopStatement::getChildIndex( SgNode* childNode ) const
10327 : {
10328 : // ------------ checking pointers of SgUpirLoopStatement -------------------
10329 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10330 0 : int indexCounter = 0;
10331 0 : if ( p_induction == childNode ) { return indexCounter; } indexCounter++;
10332 0 : if ( p_lower_bound == childNode ) { return indexCounter; } indexCounter++;
10333 0 : if ( p_upper_bound == childNode ) { return indexCounter; } indexCounter++;
10334 0 : if ( p_step == childNode ) { return indexCounter; } indexCounter++;
10335 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10336 : {
10337 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10338 : }
10339 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10340 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10341 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10342 : {
10343 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10344 : }
10345 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10346 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10347 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10348 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10349 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10350 : return -1;
10351 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10352 : }
10353 :
10354 : /* #line 10355 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10355 :
10356 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10357 :
10358 : long
10359 0 : SgUpirFieldStatement::getChildIndex( SgNode* childNode ) const
10360 : {
10361 : // ------------ checking pointers of SgUpirFieldStatement -------------------
10362 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10363 0 : int indexCounter = 0;
10364 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10365 : {
10366 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10367 : }
10368 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10369 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10370 : {
10371 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10372 : }
10373 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10374 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10375 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10376 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10377 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10378 : return -1;
10379 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10380 : }
10381 :
10382 : /* #line 10383 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10383 :
10384 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10385 :
10386 : long
10387 0 : SgOmpCancelStatement::getChildIndex( SgNode* childNode ) const
10388 : {
10389 : // ------------ checking pointers of SgOmpCancelStatement -------------------
10390 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10391 0 : int indexCounter = 0;
10392 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10393 : {
10394 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10395 : }
10396 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10397 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10398 : {
10399 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10400 : }
10401 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10402 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10403 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10404 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10405 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10406 : return -1;
10407 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10408 : }
10409 :
10410 : /* #line 10411 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10411 :
10412 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10413 :
10414 : long
10415 0 : SgOmpCancellationPointStatement::getChildIndex( SgNode* childNode ) const
10416 : {
10417 : // ------------ checking pointers of SgOmpCancellationPointStatement -------------------
10418 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10419 0 : int indexCounter = 0;
10420 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10421 : {
10422 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10423 : }
10424 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10425 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10426 : {
10427 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10428 : }
10429 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10430 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10431 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10432 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10433 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10434 : return -1;
10435 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10436 : }
10437 :
10438 : /* #line 10439 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10439 :
10440 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10441 :
10442 : long
10443 0 : SgOmpTargetUpdateStatement::getChildIndex( SgNode* childNode ) const
10444 : {
10445 : // ------------ checking pointers of SgOmpTargetUpdateStatement -------------------
10446 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10447 0 : int indexCounter = 0;
10448 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10449 : {
10450 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10451 : }
10452 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10453 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10454 : {
10455 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10456 : }
10457 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10458 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10459 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10460 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10461 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10462 : return -1;
10463 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10464 : }
10465 :
10466 : /* #line 10467 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10467 :
10468 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10469 :
10470 : long
10471 0 : SgOmpFlushStatement::getChildIndex( SgNode* childNode ) const
10472 : {
10473 : // ------------ checking pointers of SgOmpFlushStatement -------------------
10474 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10475 0 : int indexCounter = 0;
10476 0 : for ( SgVarRefExpPtrList::const_iterator source_variables_iterator = p_variables.begin(); source_variables_iterator != p_variables.end(); ++source_variables_iterator)
10477 : {
10478 0 : if ( *source_variables_iterator == childNode ) { return indexCounter; } indexCounter++;
10479 : }
10480 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10481 : {
10482 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10483 : }
10484 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10485 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10486 : {
10487 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10488 : }
10489 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10490 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10491 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10492 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10493 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10494 : return -1;
10495 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10496 : }
10497 :
10498 : /* #line 10499 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10499 :
10500 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10501 :
10502 : long
10503 0 : SgOmpAllocateStatement::getChildIndex( SgNode* childNode ) const
10504 : {
10505 : // ------------ checking pointers of SgOmpAllocateStatement -------------------
10506 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10507 0 : int indexCounter = 0;
10508 0 : for ( SgVarRefExpPtrList::const_iterator source_variables_iterator = p_variables.begin(); source_variables_iterator != p_variables.end(); ++source_variables_iterator)
10509 : {
10510 0 : if ( *source_variables_iterator == childNode ) { return indexCounter; } indexCounter++;
10511 : }
10512 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10513 : {
10514 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10515 : }
10516 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10517 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10518 : {
10519 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10520 : }
10521 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10522 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10523 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10524 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10525 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10526 : return -1;
10527 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10528 : }
10529 :
10530 : /* #line 10531 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10531 :
10532 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10533 :
10534 : long
10535 0 : SgOmpOrderedDependStatement::getChildIndex( SgNode* childNode ) const
10536 : {
10537 : // ------------ checking pointers of SgOmpOrderedDependStatement -------------------
10538 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10539 0 : int indexCounter = 0;
10540 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10541 : {
10542 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10543 : }
10544 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10545 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10546 : {
10547 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10548 : }
10549 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10550 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10551 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10552 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10553 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10554 : return -1;
10555 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10556 : }
10557 :
10558 : /* #line 10559 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10559 :
10560 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10561 :
10562 : long
10563 0 : SgUpirSyncStatement::getChildIndex( SgNode* childNode ) const
10564 : {
10565 : // ------------ checking pointers of SgUpirSyncStatement -------------------
10566 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10567 0 : int indexCounter = 0;
10568 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10569 : {
10570 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10571 : }
10572 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10573 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10574 : {
10575 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10576 : }
10577 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10578 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10579 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10580 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10581 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10582 : return -1;
10583 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10584 : }
10585 :
10586 : /* #line 10587 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10587 :
10588 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10589 :
10590 : long
10591 199 : SgUpirLoopParallelStatement::getChildIndex( SgNode* childNode ) const
10592 : {
10593 : // ------------ checking pointers of SgUpirLoopParallelStatement -------------------
10594 199 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10595 199 : int indexCounter = 0;
10596 199 : if ( p_worksharing == childNode ) { return indexCounter; } indexCounter++;
10597 199 : if ( p_simd == childNode ) { return indexCounter; } indexCounter++;
10598 199 : if ( p_taskloop == childNode ) { return indexCounter; } indexCounter++;
10599 199 : if ( p_loop == childNode ) { return indexCounter; } indexCounter++;
10600 461 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10601 : {
10602 262 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10603 : }
10604 199 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10605 199 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10606 : {
10607 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10608 : }
10609 199 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10610 199 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10611 199 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10612 199 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10613 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10614 : return -1;
10615 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10616 : }
10617 :
10618 : /* #line 10619 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10619 :
10620 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10621 :
10622 : long
10623 0 : SgUpirWorksharingStatement::getChildIndex( SgNode* childNode ) const
10624 : {
10625 : // ------------ checking pointers of SgUpirWorksharingStatement -------------------
10626 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10627 0 : int indexCounter = 0;
10628 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10629 : {
10630 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10631 : }
10632 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10633 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10634 : {
10635 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10636 : }
10637 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10638 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10639 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10640 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10641 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10642 : return -1;
10643 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10644 : }
10645 :
10646 : /* #line 10647 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10647 :
10648 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10649 :
10650 : long
10651 0 : SgUpirSimdStatement::getChildIndex( SgNode* childNode ) const
10652 : {
10653 : // ------------ checking pointers of SgUpirSimdStatement -------------------
10654 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10655 0 : int indexCounter = 0;
10656 0 : for ( SgOmpClausePtrList::const_iterator source_clauses_iterator = p_clauses.begin(); source_clauses_iterator != p_clauses.end(); ++source_clauses_iterator)
10657 : {
10658 0 : if ( *source_clauses_iterator == childNode ) { return indexCounter; } indexCounter++;
10659 : }
10660 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10661 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10662 : {
10663 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10664 : }
10665 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10666 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10667 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10668 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10669 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10670 : return -1;
10671 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10672 : }
10673 :
10674 : /* #line 10675 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10675 :
10676 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10677 :
10678 : long
10679 0 : SgOmpDeclareMapperStatement::getChildIndex( SgNode* childNode ) const
10680 : {
10681 : // ------------ checking pointers of SgOmpDeclareMapperStatement -------------------
10682 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10683 0 : int indexCounter = 0;
10684 0 : if ( p_upir_parent == childNode ) { return indexCounter; } indexCounter++;
10685 0 : for ( SgStatementPtrList::const_iterator source_upir_children_iterator = p_upir_children.begin(); source_upir_children_iterator != p_upir_children.end(); ++source_upir_children_iterator)
10686 : {
10687 0 : if ( *source_upir_children_iterator == childNode ) { return indexCounter; } indexCounter++;
10688 : }
10689 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10690 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10691 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10692 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10693 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10694 : return -1;
10695 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10696 : }
10697 :
10698 : /* #line 10699 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10699 :
10700 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10701 :
10702 : long
10703 0 : SgSequenceStatement::getChildIndex( SgNode* childNode ) const
10704 : {
10705 : // ------------ checking pointers of SgSequenceStatement -------------------
10706 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10707 0 : int indexCounter = 0;
10708 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10709 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10710 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10711 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10712 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10713 : return -1;
10714 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10715 : }
10716 :
10717 : /* #line 10718 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10718 :
10719 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10720 :
10721 : long
10722 0 : SgWithStatement::getChildIndex( SgNode* childNode ) const
10723 : {
10724 : // ------------ checking pointers of SgWithStatement -------------------
10725 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10726 0 : int indexCounter = 0;
10727 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
10728 0 : if ( p_body == childNode ) { return indexCounter; } indexCounter++;
10729 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10730 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10731 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10732 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10733 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10734 : return -1;
10735 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10736 : }
10737 :
10738 : /* #line 10739 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10739 :
10740 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10741 :
10742 : long
10743 0 : SgPassStatement::getChildIndex( SgNode* childNode ) const
10744 : {
10745 : // ------------ checking pointers of SgPassStatement -------------------
10746 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10747 0 : int indexCounter = 0;
10748 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10749 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10750 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10751 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10752 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10753 : return -1;
10754 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10755 : }
10756 :
10757 : /* #line 10758 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10758 :
10759 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10760 :
10761 : long
10762 0 : SgAssertStmt::getChildIndex( SgNode* childNode ) const
10763 : {
10764 : // ------------ checking pointers of SgAssertStmt -------------------
10765 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10766 0 : int indexCounter = 0;
10767 0 : if ( p_test == childNode ) { return indexCounter; } indexCounter++;
10768 0 : if ( p_exception_argument == childNode ) { return indexCounter; } indexCounter++;
10769 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10770 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10771 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10772 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10773 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10774 : return -1;
10775 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10776 : }
10777 :
10778 : /* #line 10779 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10779 :
10780 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10781 :
10782 : long
10783 0 : SgExecStatement::getChildIndex( SgNode* childNode ) const
10784 : {
10785 : // ------------ checking pointers of SgExecStatement -------------------
10786 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10787 0 : int indexCounter = 0;
10788 0 : if ( p_executable == childNode ) { return indexCounter; } indexCounter++;
10789 0 : if ( p_globals == childNode ) { return indexCounter; } indexCounter++;
10790 0 : if ( p_locals == childNode ) { return indexCounter; } indexCounter++;
10791 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10792 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10793 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10794 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10795 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10796 : return -1;
10797 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10798 : }
10799 :
10800 : /* #line 10801 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10801 :
10802 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10803 :
10804 : long
10805 0 : SgImageControlStatement::getChildIndex( SgNode* childNode ) const
10806 : {
10807 : // ------------ checking pointers of SgImageControlStatement -------------------
10808 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10809 0 : int indexCounter = 0;
10810 0 : if ( p_stat == childNode ) { return indexCounter; } indexCounter++;
10811 0 : if ( p_err_msg == childNode ) { return indexCounter; } indexCounter++;
10812 0 : if ( p_acquired_lock == childNode ) { return indexCounter; } indexCounter++;
10813 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10814 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10815 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10816 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10817 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10818 : return -1;
10819 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10820 : }
10821 :
10822 : /* #line 10823 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10823 :
10824 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10825 :
10826 : long
10827 0 : SgSyncAllStatement::getChildIndex( SgNode* childNode ) const
10828 : {
10829 : // ------------ checking pointers of SgSyncAllStatement -------------------
10830 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10831 0 : int indexCounter = 0;
10832 0 : if ( p_stat == childNode ) { return indexCounter; } indexCounter++;
10833 0 : if ( p_err_msg == childNode ) { return indexCounter; } indexCounter++;
10834 0 : if ( p_acquired_lock == childNode ) { return indexCounter; } indexCounter++;
10835 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10836 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10837 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10838 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10839 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10840 : return -1;
10841 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10842 : }
10843 :
10844 : /* #line 10845 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10845 :
10846 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10847 :
10848 : long
10849 0 : SgSyncImagesStatement::getChildIndex( SgNode* childNode ) const
10850 : {
10851 : // ------------ checking pointers of SgSyncImagesStatement -------------------
10852 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10853 0 : int indexCounter = 0;
10854 0 : if ( p_image_set == childNode ) { return indexCounter; } indexCounter++;
10855 0 : if ( p_stat == childNode ) { return indexCounter; } indexCounter++;
10856 0 : if ( p_err_msg == childNode ) { return indexCounter; } indexCounter++;
10857 0 : if ( p_acquired_lock == childNode ) { return indexCounter; } indexCounter++;
10858 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10859 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10860 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10861 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10862 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10863 : return -1;
10864 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10865 : }
10866 :
10867 : /* #line 10868 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10868 :
10869 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10870 :
10871 : long
10872 0 : SgSyncMemoryStatement::getChildIndex( SgNode* childNode ) const
10873 : {
10874 : // ------------ checking pointers of SgSyncMemoryStatement -------------------
10875 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10876 0 : int indexCounter = 0;
10877 0 : if ( p_stat == childNode ) { return indexCounter; } indexCounter++;
10878 0 : if ( p_err_msg == childNode ) { return indexCounter; } indexCounter++;
10879 0 : if ( p_acquired_lock == childNode ) { return indexCounter; } indexCounter++;
10880 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10881 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10882 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10883 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10884 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10885 : return -1;
10886 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10887 : }
10888 :
10889 : /* #line 10890 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10890 :
10891 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10892 :
10893 : long
10894 0 : SgSyncTeamStatement::getChildIndex( SgNode* childNode ) const
10895 : {
10896 : // ------------ checking pointers of SgSyncTeamStatement -------------------
10897 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10898 0 : int indexCounter = 0;
10899 0 : if ( p_team_value == childNode ) { return indexCounter; } indexCounter++;
10900 0 : if ( p_stat == childNode ) { return indexCounter; } indexCounter++;
10901 0 : if ( p_err_msg == childNode ) { return indexCounter; } indexCounter++;
10902 0 : if ( p_acquired_lock == childNode ) { return indexCounter; } indexCounter++;
10903 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10904 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10905 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10906 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10907 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10908 : return -1;
10909 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10910 : }
10911 :
10912 : /* #line 10913 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10913 :
10914 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10915 :
10916 : long
10917 0 : SgLockStatement::getChildIndex( SgNode* childNode ) const
10918 : {
10919 : // ------------ checking pointers of SgLockStatement -------------------
10920 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10921 0 : int indexCounter = 0;
10922 0 : if ( p_lock_variable == childNode ) { return indexCounter; } indexCounter++;
10923 0 : if ( p_stat == childNode ) { return indexCounter; } indexCounter++;
10924 0 : if ( p_err_msg == childNode ) { return indexCounter; } indexCounter++;
10925 0 : if ( p_acquired_lock == childNode ) { return indexCounter; } indexCounter++;
10926 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10927 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10928 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10929 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10930 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10931 : return -1;
10932 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10933 : }
10934 :
10935 : /* #line 10936 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10936 :
10937 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10938 :
10939 : long
10940 0 : SgUnlockStatement::getChildIndex( SgNode* childNode ) const
10941 : {
10942 : // ------------ checking pointers of SgUnlockStatement -------------------
10943 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10944 0 : int indexCounter = 0;
10945 0 : if ( p_lock_variable == childNode ) { return indexCounter; } indexCounter++;
10946 0 : if ( p_stat == childNode ) { return indexCounter; } indexCounter++;
10947 0 : if ( p_err_msg == childNode ) { return indexCounter; } indexCounter++;
10948 0 : if ( p_acquired_lock == childNode ) { return indexCounter; } indexCounter++;
10949 0 : if ( p_numeric_label == childNode ) { return indexCounter; } indexCounter++;
10950 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10951 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10952 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10953 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10954 : return -1;
10955 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10956 : }
10957 :
10958 : /* #line 10959 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10959 :
10960 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10961 :
10962 : long
10963 0 : SgExpression::getChildIndex( SgNode* childNode ) const
10964 : {
10965 : // ------------ checking pointers of SgExpression -------------------
10966 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10967 0 : int indexCounter = 0;
10968 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
10969 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10970 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10971 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10972 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10973 : return -1;
10974 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10975 : }
10976 :
10977 : /* #line 10978 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10978 :
10979 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10980 :
10981 : long
10982 0 : SgUnaryOp::getChildIndex( SgNode* childNode ) const
10983 : {
10984 : // ------------ checking pointers of SgUnaryOp -------------------
10985 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
10986 0 : int indexCounter = 0;
10987 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
10988 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
10989 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
10990 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10991 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
10992 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
10993 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
10994 : return -1;
10995 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
10996 : }
10997 :
10998 : /* #line 10999 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
10999 :
11000 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11001 :
11002 : long
11003 0 : SgExpressionRoot::getChildIndex( SgNode* childNode ) const
11004 : {
11005 : // ------------ checking pointers of SgExpressionRoot -------------------
11006 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11007 0 : int indexCounter = 0;
11008 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11009 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11010 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11011 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11012 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11013 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11014 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11015 : return -1;
11016 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11017 : }
11018 :
11019 : /* #line 11020 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11020 :
11021 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11022 :
11023 : long
11024 2 : SgMinusOp::getChildIndex( SgNode* childNode ) const
11025 : {
11026 : // ------------ checking pointers of SgMinusOp -------------------
11027 2 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11028 2 : int indexCounter = 0;
11029 2 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11030 2 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11031 2 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11032 2 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11033 2 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11034 2 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11035 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11036 : return -1;
11037 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11038 : }
11039 :
11040 : /* #line 11041 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11041 :
11042 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11043 :
11044 : long
11045 0 : SgUnaryAddOp::getChildIndex( SgNode* childNode ) const
11046 : {
11047 : // ------------ checking pointers of SgUnaryAddOp -------------------
11048 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11049 0 : int indexCounter = 0;
11050 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11051 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11052 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11053 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11054 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11055 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11056 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11057 : return -1;
11058 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11059 : }
11060 :
11061 : /* #line 11062 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11062 :
11063 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11064 :
11065 : long
11066 0 : SgNotOp::getChildIndex( SgNode* childNode ) const
11067 : {
11068 : // ------------ checking pointers of SgNotOp -------------------
11069 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11070 0 : int indexCounter = 0;
11071 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11072 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11073 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11074 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11075 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11076 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11077 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11078 : return -1;
11079 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11080 : }
11081 :
11082 : /* #line 11083 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11083 :
11084 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11085 :
11086 : long
11087 0 : SgPointerDerefExp::getChildIndex( SgNode* childNode ) const
11088 : {
11089 : // ------------ checking pointers of SgPointerDerefExp -------------------
11090 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11091 0 : int indexCounter = 0;
11092 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11093 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11094 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11095 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11096 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11097 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11098 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11099 : return -1;
11100 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11101 : }
11102 :
11103 : /* #line 11104 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11104 :
11105 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11106 :
11107 : long
11108 0 : SgAddressOfOp::getChildIndex( SgNode* childNode ) const
11109 : {
11110 : // ------------ checking pointers of SgAddressOfOp -------------------
11111 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11112 0 : int indexCounter = 0;
11113 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11114 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11115 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11116 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11117 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11118 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11119 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11120 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11121 : return -1;
11122 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11123 : }
11124 :
11125 : /* #line 11126 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11126 :
11127 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11128 :
11129 : long
11130 0 : SgMinusMinusOp::getChildIndex( SgNode* childNode ) const
11131 : {
11132 : // ------------ checking pointers of SgMinusMinusOp -------------------
11133 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11134 0 : int indexCounter = 0;
11135 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11136 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11137 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11138 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11139 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11140 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11141 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11142 : return -1;
11143 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11144 : }
11145 :
11146 : /* #line 11147 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11147 :
11148 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11149 :
11150 : long
11151 4 : SgPlusPlusOp::getChildIndex( SgNode* childNode ) const
11152 : {
11153 : // ------------ checking pointers of SgPlusPlusOp -------------------
11154 4 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11155 4 : int indexCounter = 0;
11156 4 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11157 4 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11158 4 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11159 4 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11160 4 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11161 4 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11162 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11163 : return -1;
11164 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11165 : }
11166 :
11167 : /* #line 11168 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11168 :
11169 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11170 :
11171 : long
11172 0 : SgBitComplementOp::getChildIndex( SgNode* childNode ) const
11173 : {
11174 : // ------------ checking pointers of SgBitComplementOp -------------------
11175 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11176 0 : int indexCounter = 0;
11177 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11178 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11179 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11180 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11181 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11182 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11183 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11184 : return -1;
11185 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11186 : }
11187 :
11188 : /* #line 11189 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11189 :
11190 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11191 :
11192 : long
11193 0 : SgCastExp::getChildIndex( SgNode* childNode ) const
11194 : {
11195 : // ------------ checking pointers of SgCastExp -------------------
11196 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11197 0 : int indexCounter = 0;
11198 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11199 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11200 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11201 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11202 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11203 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11204 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11205 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11206 : return -1;
11207 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11208 : }
11209 :
11210 : /* #line 11211 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11211 :
11212 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11213 :
11214 : long
11215 0 : SgThrowOp::getChildIndex( SgNode* childNode ) const
11216 : {
11217 : // ------------ checking pointers of SgThrowOp -------------------
11218 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11219 0 : int indexCounter = 0;
11220 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11221 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11222 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11223 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11224 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11225 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11226 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11227 : return -1;
11228 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11229 : }
11230 :
11231 : /* #line 11232 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11232 :
11233 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11234 :
11235 : long
11236 0 : SgRealPartOp::getChildIndex( SgNode* childNode ) const
11237 : {
11238 : // ------------ checking pointers of SgRealPartOp -------------------
11239 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11240 0 : int indexCounter = 0;
11241 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11242 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11243 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11244 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11245 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11246 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11247 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11248 : return -1;
11249 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11250 : }
11251 :
11252 : /* #line 11253 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11253 :
11254 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11255 :
11256 : long
11257 0 : SgImagPartOp::getChildIndex( SgNode* childNode ) const
11258 : {
11259 : // ------------ checking pointers of SgImagPartOp -------------------
11260 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11261 0 : int indexCounter = 0;
11262 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11263 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11264 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11265 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11266 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11267 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11268 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11269 : return -1;
11270 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11271 : }
11272 :
11273 : /* #line 11274 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11274 :
11275 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11276 :
11277 : long
11278 0 : SgConjugateOp::getChildIndex( SgNode* childNode ) const
11279 : {
11280 : // ------------ checking pointers of SgConjugateOp -------------------
11281 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11282 0 : int indexCounter = 0;
11283 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11284 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11285 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11286 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11287 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11288 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11289 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11290 : return -1;
11291 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11292 : }
11293 :
11294 : /* #line 11295 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11295 :
11296 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11297 :
11298 : long
11299 0 : SgUserDefinedUnaryOp::getChildIndex( SgNode* childNode ) const
11300 : {
11301 : // ------------ checking pointers of SgUserDefinedUnaryOp -------------------
11302 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11303 0 : int indexCounter = 0;
11304 0 : if ( p_symbol == childNode ) { return indexCounter; } indexCounter++;
11305 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11306 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11307 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11308 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11309 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11310 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11311 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11312 : return -1;
11313 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11314 : }
11315 :
11316 : /* #line 11317 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11317 :
11318 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11319 :
11320 : long
11321 0 : SgMatrixTransposeOp::getChildIndex( SgNode* childNode ) const
11322 : {
11323 : // ------------ checking pointers of SgMatrixTransposeOp -------------------
11324 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11325 0 : int indexCounter = 0;
11326 0 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
11327 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11328 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11329 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11330 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11331 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11332 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11333 : return -1;
11334 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11335 : }
11336 :
11337 : /* #line 11338 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11338 :
11339 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11340 :
11341 : long
11342 0 : SgBinaryOp::getChildIndex( SgNode* childNode ) const
11343 : {
11344 : // ------------ checking pointers of SgBinaryOp -------------------
11345 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11346 0 : int indexCounter = 0;
11347 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11348 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11349 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11350 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11351 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11352 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11353 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11354 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11355 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11356 : return -1;
11357 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11358 : }
11359 :
11360 : /* #line 11361 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11361 :
11362 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11363 :
11364 : long
11365 0 : SgArrowExp::getChildIndex( SgNode* childNode ) const
11366 : {
11367 : // ------------ checking pointers of SgArrowExp -------------------
11368 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11369 0 : int indexCounter = 0;
11370 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11371 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11372 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11373 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11374 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11375 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11376 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11377 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11378 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11379 : return -1;
11380 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11381 : }
11382 :
11383 : /* #line 11384 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11384 :
11385 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11386 :
11387 : long
11388 0 : SgDotExp::getChildIndex( SgNode* childNode ) const
11389 : {
11390 : // ------------ checking pointers of SgDotExp -------------------
11391 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11392 0 : int indexCounter = 0;
11393 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11394 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11395 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11396 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11397 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11398 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11399 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11400 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11401 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11402 : return -1;
11403 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11404 : }
11405 :
11406 : /* #line 11407 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11407 :
11408 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11409 :
11410 : long
11411 0 : SgDotStarOp::getChildIndex( SgNode* childNode ) const
11412 : {
11413 : // ------------ checking pointers of SgDotStarOp -------------------
11414 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11415 0 : int indexCounter = 0;
11416 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11417 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11418 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11419 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11420 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11421 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11422 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11423 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11424 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11425 : return -1;
11426 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11427 : }
11428 :
11429 : /* #line 11430 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11430 :
11431 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11432 :
11433 : long
11434 0 : SgArrowStarOp::getChildIndex( SgNode* childNode ) const
11435 : {
11436 : // ------------ checking pointers of SgArrowStarOp -------------------
11437 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11438 0 : int indexCounter = 0;
11439 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11440 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11441 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11442 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11443 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11444 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11445 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11446 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11447 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11448 : return -1;
11449 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11450 : }
11451 :
11452 : /* #line 11453 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11453 :
11454 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11455 :
11456 : long
11457 0 : SgEqualityOp::getChildIndex( SgNode* childNode ) const
11458 : {
11459 : // ------------ checking pointers of SgEqualityOp -------------------
11460 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11461 0 : int indexCounter = 0;
11462 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11463 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11464 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11465 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11466 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11467 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11468 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11469 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11470 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11471 : return -1;
11472 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11473 : }
11474 :
11475 : /* #line 11476 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11476 :
11477 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11478 :
11479 : long
11480 4 : SgLessThanOp::getChildIndex( SgNode* childNode ) const
11481 : {
11482 : // ------------ checking pointers of SgLessThanOp -------------------
11483 4 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11484 4 : int indexCounter = 0;
11485 4 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11486 4 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11487 4 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11488 4 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11489 4 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11490 4 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11491 4 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11492 4 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11493 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11494 : return -1;
11495 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11496 : }
11497 :
11498 : /* #line 11499 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11499 :
11500 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11501 :
11502 : long
11503 0 : SgGreaterThanOp::getChildIndex( SgNode* childNode ) const
11504 : {
11505 : // ------------ checking pointers of SgGreaterThanOp -------------------
11506 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11507 0 : int indexCounter = 0;
11508 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11509 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11510 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11511 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11512 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11513 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11514 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11515 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11516 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11517 : return -1;
11518 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11519 : }
11520 :
11521 : /* #line 11522 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11522 :
11523 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11524 :
11525 : long
11526 0 : SgNotEqualOp::getChildIndex( SgNode* childNode ) const
11527 : {
11528 : // ------------ checking pointers of SgNotEqualOp -------------------
11529 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11530 0 : int indexCounter = 0;
11531 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11532 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11533 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11534 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11535 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11536 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11537 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11538 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11539 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11540 : return -1;
11541 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11542 : }
11543 :
11544 : /* #line 11545 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11545 :
11546 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11547 :
11548 : long
11549 2 : SgLessOrEqualOp::getChildIndex( SgNode* childNode ) const
11550 : {
11551 : // ------------ checking pointers of SgLessOrEqualOp -------------------
11552 2 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11553 2 : int indexCounter = 0;
11554 2 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11555 2 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11556 2 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11557 2 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11558 2 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11559 2 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11560 2 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11561 2 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11562 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11563 : return -1;
11564 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11565 : }
11566 :
11567 : /* #line 11568 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11568 :
11569 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11570 :
11571 : long
11572 2 : SgGreaterOrEqualOp::getChildIndex( SgNode* childNode ) const
11573 : {
11574 : // ------------ checking pointers of SgGreaterOrEqualOp -------------------
11575 2 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11576 2 : int indexCounter = 0;
11577 2 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11578 2 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11579 2 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11580 2 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11581 2 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11582 2 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11583 2 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11584 2 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11585 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11586 : return -1;
11587 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11588 : }
11589 :
11590 : /* #line 11591 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11591 :
11592 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11593 :
11594 : long
11595 4 : SgAddOp::getChildIndex( SgNode* childNode ) const
11596 : {
11597 : // ------------ checking pointers of SgAddOp -------------------
11598 4 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11599 4 : int indexCounter = 0;
11600 4 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11601 4 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11602 4 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11603 4 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11604 4 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11605 4 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11606 4 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11607 4 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11608 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11609 : return -1;
11610 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11611 : }
11612 :
11613 : /* #line 11614 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11614 :
11615 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11616 :
11617 : long
11618 4 : SgSubtractOp::getChildIndex( SgNode* childNode ) const
11619 : {
11620 : // ------------ checking pointers of SgSubtractOp -------------------
11621 4 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11622 4 : int indexCounter = 0;
11623 4 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11624 4 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11625 4 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11626 4 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11627 4 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11628 4 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11629 4 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11630 4 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11631 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11632 : return -1;
11633 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11634 : }
11635 :
11636 : /* #line 11637 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11637 :
11638 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11639 :
11640 : long
11641 8 : SgMultiplyOp::getChildIndex( SgNode* childNode ) const
11642 : {
11643 : // ------------ checking pointers of SgMultiplyOp -------------------
11644 8 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11645 8 : int indexCounter = 0;
11646 8 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11647 8 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11648 8 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11649 8 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11650 8 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11651 8 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11652 8 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11653 8 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11654 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11655 : return -1;
11656 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11657 : }
11658 :
11659 : /* #line 11660 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11660 :
11661 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11662 :
11663 : long
11664 0 : SgDivideOp::getChildIndex( SgNode* childNode ) const
11665 : {
11666 : // ------------ checking pointers of SgDivideOp -------------------
11667 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11668 0 : int indexCounter = 0;
11669 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11670 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11671 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11672 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11673 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11674 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11675 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11676 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11677 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11678 : return -1;
11679 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11680 : }
11681 :
11682 : /* #line 11683 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11683 :
11684 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11685 :
11686 : long
11687 0 : SgIntegerDivideOp::getChildIndex( SgNode* childNode ) const
11688 : {
11689 : // ------------ checking pointers of SgIntegerDivideOp -------------------
11690 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11691 0 : int indexCounter = 0;
11692 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11693 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11694 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11695 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11696 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11697 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11698 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11699 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11700 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11701 : return -1;
11702 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11703 : }
11704 :
11705 : /* #line 11706 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11706 :
11707 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11708 :
11709 : long
11710 0 : SgModOp::getChildIndex( SgNode* childNode ) const
11711 : {
11712 : // ------------ checking pointers of SgModOp -------------------
11713 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11714 0 : int indexCounter = 0;
11715 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11716 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11717 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11718 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11719 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11720 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11721 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11722 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11723 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11724 : return -1;
11725 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11726 : }
11727 :
11728 : /* #line 11729 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11729 :
11730 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11731 :
11732 : long
11733 0 : SgAndOp::getChildIndex( SgNode* childNode ) const
11734 : {
11735 : // ------------ checking pointers of SgAndOp -------------------
11736 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11737 0 : int indexCounter = 0;
11738 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11739 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11740 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11741 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11742 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11743 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11744 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11745 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11746 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11747 : return -1;
11748 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11749 : }
11750 :
11751 : /* #line 11752 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11752 :
11753 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11754 :
11755 : long
11756 0 : SgOrOp::getChildIndex( SgNode* childNode ) const
11757 : {
11758 : // ------------ checking pointers of SgOrOp -------------------
11759 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11760 0 : int indexCounter = 0;
11761 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11762 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11763 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11764 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11765 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11766 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11767 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11768 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11769 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11770 : return -1;
11771 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11772 : }
11773 :
11774 : /* #line 11775 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11775 :
11776 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11777 :
11778 : long
11779 0 : SgBitXorOp::getChildIndex( SgNode* childNode ) const
11780 : {
11781 : // ------------ checking pointers of SgBitXorOp -------------------
11782 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11783 0 : int indexCounter = 0;
11784 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11785 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11786 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11787 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11788 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11789 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11790 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11791 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11792 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11793 : return -1;
11794 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11795 : }
11796 :
11797 : /* #line 11798 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11798 :
11799 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11800 :
11801 : long
11802 0 : SgBitAndOp::getChildIndex( SgNode* childNode ) const
11803 : {
11804 : // ------------ checking pointers of SgBitAndOp -------------------
11805 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11806 0 : int indexCounter = 0;
11807 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11808 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11809 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11810 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11811 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11812 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11813 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11814 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11815 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11816 : return -1;
11817 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11818 : }
11819 :
11820 : /* #line 11821 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11821 :
11822 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11823 :
11824 : long
11825 0 : SgBitOrOp::getChildIndex( SgNode* childNode ) const
11826 : {
11827 : // ------------ checking pointers of SgBitOrOp -------------------
11828 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11829 0 : int indexCounter = 0;
11830 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11831 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11832 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11833 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11834 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11835 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11836 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11837 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11838 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11839 : return -1;
11840 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11841 : }
11842 :
11843 : /* #line 11844 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11844 :
11845 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11846 :
11847 : long
11848 0 : SgBitEqvOp::getChildIndex( SgNode* childNode ) const
11849 : {
11850 : // ------------ checking pointers of SgBitEqvOp -------------------
11851 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11852 0 : int indexCounter = 0;
11853 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11854 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11855 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11856 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11857 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11858 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11859 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11860 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11861 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11862 : return -1;
11863 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11864 : }
11865 :
11866 : /* #line 11867 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11867 :
11868 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11869 :
11870 : long
11871 0 : SgCommaOpExp::getChildIndex( SgNode* childNode ) const
11872 : {
11873 : // ------------ checking pointers of SgCommaOpExp -------------------
11874 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11875 0 : int indexCounter = 0;
11876 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11877 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11878 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11879 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11880 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11881 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11882 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11883 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11884 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11885 : return -1;
11886 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11887 : }
11888 :
11889 : /* #line 11890 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11890 :
11891 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11892 :
11893 : long
11894 0 : SgLshiftOp::getChildIndex( SgNode* childNode ) const
11895 : {
11896 : // ------------ checking pointers of SgLshiftOp -------------------
11897 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11898 0 : int indexCounter = 0;
11899 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11900 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11901 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11902 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11903 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11904 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11905 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11906 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11907 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11908 : return -1;
11909 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11910 : }
11911 :
11912 : /* #line 11913 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11913 :
11914 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11915 :
11916 : long
11917 0 : SgRshiftOp::getChildIndex( SgNode* childNode ) const
11918 : {
11919 : // ------------ checking pointers of SgRshiftOp -------------------
11920 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11921 0 : int indexCounter = 0;
11922 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11923 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11924 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11925 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11926 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11927 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11928 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11929 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11930 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11931 : return -1;
11932 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11933 : }
11934 :
11935 : /* #line 11936 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11936 :
11937 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11938 :
11939 : long
11940 2 : SgPntrArrRefExp::getChildIndex( SgNode* childNode ) const
11941 : {
11942 : // ------------ checking pointers of SgPntrArrRefExp -------------------
11943 2 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11944 2 : int indexCounter = 0;
11945 2 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11946 2 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11947 2 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11948 2 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11949 2 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11950 2 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11951 2 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11952 2 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11953 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11954 : return -1;
11955 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11956 : }
11957 :
11958 : /* #line 11959 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11959 :
11960 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11961 :
11962 : long
11963 0 : SgScopeOp::getChildIndex( SgNode* childNode ) const
11964 : {
11965 : // ------------ checking pointers of SgScopeOp -------------------
11966 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11967 0 : int indexCounter = 0;
11968 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11969 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11970 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11971 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11972 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11973 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11974 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11975 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11976 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
11977 : return -1;
11978 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11979 : }
11980 :
11981 : /* #line 11982 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
11982 :
11983 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
11984 :
11985 : long
11986 19 : SgAssignOp::getChildIndex( SgNode* childNode ) const
11987 : {
11988 : // ------------ checking pointers of SgAssignOp -------------------
11989 19 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
11990 19 : int indexCounter = 0;
11991 19 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11992 19 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
11993 19 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
11994 19 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
11995 19 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
11996 19 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11997 19 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
11998 19 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
11999 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12000 : return -1;
12001 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12002 : }
12003 :
12004 : /* #line 12005 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12005 :
12006 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12007 :
12008 : long
12009 0 : SgExponentiationOp::getChildIndex( SgNode* childNode ) const
12010 : {
12011 : // ------------ checking pointers of SgExponentiationOp -------------------
12012 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12013 0 : int indexCounter = 0;
12014 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12015 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12016 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12017 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12018 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12019 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12020 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12021 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12022 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12023 : return -1;
12024 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12025 : }
12026 :
12027 : /* #line 12028 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12028 :
12029 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12030 :
12031 : long
12032 0 : SgConcatenationOp::getChildIndex( SgNode* childNode ) const
12033 : {
12034 : // ------------ checking pointers of SgConcatenationOp -------------------
12035 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12036 0 : int indexCounter = 0;
12037 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12038 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12039 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12040 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12041 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12042 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12043 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12044 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12045 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12046 : return -1;
12047 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12048 : }
12049 :
12050 : /* #line 12051 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12051 :
12052 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12053 :
12054 : long
12055 0 : SgPointerAssignOp::getChildIndex( SgNode* childNode ) const
12056 : {
12057 : // ------------ checking pointers of SgPointerAssignOp -------------------
12058 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12059 0 : int indexCounter = 0;
12060 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12061 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12062 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12063 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12064 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12065 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12066 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12067 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12068 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12069 : return -1;
12070 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12071 : }
12072 :
12073 : /* #line 12074 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12074 :
12075 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12076 :
12077 : long
12078 0 : SgUserDefinedBinaryOp::getChildIndex( SgNode* childNode ) const
12079 : {
12080 : // ------------ checking pointers of SgUserDefinedBinaryOp -------------------
12081 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12082 0 : int indexCounter = 0;
12083 0 : if ( p_symbol == childNode ) { return indexCounter; } indexCounter++;
12084 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12085 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12086 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12087 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12088 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12089 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12090 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12091 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12092 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12093 : return -1;
12094 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12095 : }
12096 :
12097 : /* #line 12098 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12098 :
12099 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12100 :
12101 : long
12102 0 : SgCompoundAssignOp::getChildIndex( SgNode* childNode ) const
12103 : {
12104 : // ------------ checking pointers of SgCompoundAssignOp -------------------
12105 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12106 0 : int indexCounter = 0;
12107 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12108 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12109 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12110 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12111 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12112 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12113 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12114 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12115 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12116 : return -1;
12117 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12118 : }
12119 :
12120 : /* #line 12121 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12121 :
12122 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12123 :
12124 : long
12125 3 : SgPlusAssignOp::getChildIndex( SgNode* childNode ) const
12126 : {
12127 : // ------------ checking pointers of SgPlusAssignOp -------------------
12128 3 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12129 3 : int indexCounter = 0;
12130 3 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12131 3 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12132 3 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12133 3 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12134 3 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12135 3 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12136 3 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12137 3 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12138 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12139 : return -1;
12140 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12141 : }
12142 :
12143 : /* #line 12144 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12144 :
12145 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12146 :
12147 : long
12148 0 : SgMinusAssignOp::getChildIndex( SgNode* childNode ) const
12149 : {
12150 : // ------------ checking pointers of SgMinusAssignOp -------------------
12151 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12152 0 : int indexCounter = 0;
12153 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12154 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12155 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12156 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12157 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12158 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12159 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12160 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12161 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12162 : return -1;
12163 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12164 : }
12165 :
12166 : /* #line 12167 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12167 :
12168 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12169 :
12170 : long
12171 0 : SgAndAssignOp::getChildIndex( SgNode* childNode ) const
12172 : {
12173 : // ------------ checking pointers of SgAndAssignOp -------------------
12174 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12175 0 : int indexCounter = 0;
12176 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12177 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12178 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12179 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12180 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12181 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12182 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12183 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12184 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12185 : return -1;
12186 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12187 : }
12188 :
12189 : /* #line 12190 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12190 :
12191 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12192 :
12193 : long
12194 0 : SgIorAssignOp::getChildIndex( SgNode* childNode ) const
12195 : {
12196 : // ------------ checking pointers of SgIorAssignOp -------------------
12197 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12198 0 : int indexCounter = 0;
12199 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12200 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12201 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12202 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12203 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12204 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12205 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12206 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12207 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12208 : return -1;
12209 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12210 : }
12211 :
12212 : /* #line 12213 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12213 :
12214 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12215 :
12216 : long
12217 0 : SgMultAssignOp::getChildIndex( SgNode* childNode ) const
12218 : {
12219 : // ------------ checking pointers of SgMultAssignOp -------------------
12220 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12221 0 : int indexCounter = 0;
12222 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12223 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12224 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12225 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12226 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12227 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12228 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12229 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12230 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12231 : return -1;
12232 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12233 : }
12234 :
12235 : /* #line 12236 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12236 :
12237 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12238 :
12239 : long
12240 0 : SgDivAssignOp::getChildIndex( SgNode* childNode ) const
12241 : {
12242 : // ------------ checking pointers of SgDivAssignOp -------------------
12243 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12244 0 : int indexCounter = 0;
12245 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12246 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12247 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12248 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12249 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12250 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12251 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12252 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12253 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12254 : return -1;
12255 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12256 : }
12257 :
12258 : /* #line 12259 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12259 :
12260 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12261 :
12262 : long
12263 0 : SgModAssignOp::getChildIndex( SgNode* childNode ) const
12264 : {
12265 : // ------------ checking pointers of SgModAssignOp -------------------
12266 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12267 0 : int indexCounter = 0;
12268 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12269 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12270 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12271 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12272 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12273 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12274 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12275 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12276 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12277 : return -1;
12278 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12279 : }
12280 :
12281 : /* #line 12282 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12282 :
12283 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12284 :
12285 : long
12286 0 : SgXorAssignOp::getChildIndex( SgNode* childNode ) const
12287 : {
12288 : // ------------ checking pointers of SgXorAssignOp -------------------
12289 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12290 0 : int indexCounter = 0;
12291 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12292 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12293 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12294 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12295 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12296 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12297 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12298 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12299 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12300 : return -1;
12301 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12302 : }
12303 :
12304 : /* #line 12305 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12305 :
12306 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12307 :
12308 : long
12309 0 : SgLshiftAssignOp::getChildIndex( SgNode* childNode ) const
12310 : {
12311 : // ------------ checking pointers of SgLshiftAssignOp -------------------
12312 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12313 0 : int indexCounter = 0;
12314 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12315 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12316 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12317 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12318 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12319 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12320 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12321 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12322 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12323 : return -1;
12324 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12325 : }
12326 :
12327 : /* #line 12328 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12328 :
12329 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12330 :
12331 : long
12332 0 : SgRshiftAssignOp::getChildIndex( SgNode* childNode ) const
12333 : {
12334 : // ------------ checking pointers of SgRshiftAssignOp -------------------
12335 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12336 0 : int indexCounter = 0;
12337 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12338 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12339 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12340 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12341 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12342 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12343 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12344 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12345 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12346 : return -1;
12347 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12348 : }
12349 :
12350 : /* #line 12351 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12351 :
12352 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12353 :
12354 : long
12355 0 : SgIntegerDivideAssignOp::getChildIndex( SgNode* childNode ) const
12356 : {
12357 : // ------------ checking pointers of SgIntegerDivideAssignOp -------------------
12358 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12359 0 : int indexCounter = 0;
12360 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12361 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12362 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12363 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12364 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12365 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12366 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12367 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12368 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12369 : return -1;
12370 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12371 : }
12372 :
12373 : /* #line 12374 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12374 :
12375 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12376 :
12377 : long
12378 0 : SgExponentiationAssignOp::getChildIndex( SgNode* childNode ) const
12379 : {
12380 : // ------------ checking pointers of SgExponentiationAssignOp -------------------
12381 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12382 0 : int indexCounter = 0;
12383 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12384 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12385 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12386 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12387 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12388 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12389 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12390 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12391 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12392 : return -1;
12393 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12394 : }
12395 :
12396 : /* #line 12397 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12397 :
12398 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12399 :
12400 : long
12401 0 : SgMembershipOp::getChildIndex( SgNode* childNode ) const
12402 : {
12403 : // ------------ checking pointers of SgMembershipOp -------------------
12404 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12405 0 : int indexCounter = 0;
12406 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12407 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12408 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12409 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12410 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12411 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12412 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12413 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12414 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12415 : return -1;
12416 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12417 : }
12418 :
12419 : /* #line 12420 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12420 :
12421 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12422 :
12423 : long
12424 0 : SgSpaceshipOp::getChildIndex( SgNode* childNode ) const
12425 : {
12426 : // ------------ checking pointers of SgSpaceshipOp -------------------
12427 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12428 0 : int indexCounter = 0;
12429 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12430 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12431 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12432 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12433 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12434 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12435 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12436 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12437 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12438 : return -1;
12439 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12440 : }
12441 :
12442 : /* #line 12443 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12443 :
12444 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12445 :
12446 : long
12447 0 : SgNonMembershipOp::getChildIndex( SgNode* childNode ) const
12448 : {
12449 : // ------------ checking pointers of SgNonMembershipOp -------------------
12450 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12451 0 : int indexCounter = 0;
12452 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12453 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12454 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12455 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12456 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12457 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12458 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12459 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12460 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12461 : return -1;
12462 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12463 : }
12464 :
12465 : /* #line 12466 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12466 :
12467 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12468 :
12469 : long
12470 0 : SgIsOp::getChildIndex( SgNode* childNode ) const
12471 : {
12472 : // ------------ checking pointers of SgIsOp -------------------
12473 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12474 0 : int indexCounter = 0;
12475 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12476 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12477 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12478 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12479 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12480 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12481 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12482 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12483 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12484 : return -1;
12485 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12486 : }
12487 :
12488 : /* #line 12489 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12489 :
12490 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12491 :
12492 : long
12493 0 : SgIsNotOp::getChildIndex( SgNode* childNode ) const
12494 : {
12495 : // ------------ checking pointers of SgIsNotOp -------------------
12496 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12497 0 : int indexCounter = 0;
12498 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12499 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12500 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12501 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12502 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12503 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12504 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12505 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12506 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12507 : return -1;
12508 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12509 : }
12510 :
12511 : /* #line 12512 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12512 :
12513 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12514 :
12515 : long
12516 0 : SgElementwiseOp::getChildIndex( SgNode* childNode ) const
12517 : {
12518 : // ------------ checking pointers of SgElementwiseOp -------------------
12519 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12520 0 : int indexCounter = 0;
12521 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12522 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12523 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12524 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12525 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12526 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12527 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12528 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12529 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12530 : return -1;
12531 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12532 : }
12533 :
12534 : /* #line 12535 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12535 :
12536 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12537 :
12538 : long
12539 0 : SgElementwiseMultiplyOp::getChildIndex( SgNode* childNode ) const
12540 : {
12541 : // ------------ checking pointers of SgElementwiseMultiplyOp -------------------
12542 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12543 0 : int indexCounter = 0;
12544 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12545 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12546 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12547 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12548 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12549 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12550 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12551 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12552 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12553 : return -1;
12554 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12555 : }
12556 :
12557 : /* #line 12558 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12558 :
12559 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12560 :
12561 : long
12562 0 : SgElementwisePowerOp::getChildIndex( SgNode* childNode ) const
12563 : {
12564 : // ------------ checking pointers of SgElementwisePowerOp -------------------
12565 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12566 0 : int indexCounter = 0;
12567 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12568 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12569 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12570 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12571 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12572 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12573 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12574 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12575 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12576 : return -1;
12577 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12578 : }
12579 :
12580 : /* #line 12581 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12581 :
12582 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12583 :
12584 : long
12585 0 : SgElementwiseLeftDivideOp::getChildIndex( SgNode* childNode ) const
12586 : {
12587 : // ------------ checking pointers of SgElementwiseLeftDivideOp -------------------
12588 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12589 0 : int indexCounter = 0;
12590 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12591 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12592 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12593 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12594 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12595 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12596 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12597 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12598 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12599 : return -1;
12600 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12601 : }
12602 :
12603 : /* #line 12604 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12604 :
12605 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12606 :
12607 : long
12608 0 : SgElementwiseDivideOp::getChildIndex( SgNode* childNode ) const
12609 : {
12610 : // ------------ checking pointers of SgElementwiseDivideOp -------------------
12611 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12612 0 : int indexCounter = 0;
12613 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12614 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12615 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12616 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12617 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12618 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12619 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12620 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12621 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12622 : return -1;
12623 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12624 : }
12625 :
12626 : /* #line 12627 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12627 :
12628 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12629 :
12630 : long
12631 0 : SgElementwiseAddOp::getChildIndex( SgNode* childNode ) const
12632 : {
12633 : // ------------ checking pointers of SgElementwiseAddOp -------------------
12634 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12635 0 : int indexCounter = 0;
12636 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12637 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12638 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12639 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12640 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12641 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12642 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12643 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12644 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12645 : return -1;
12646 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12647 : }
12648 :
12649 : /* #line 12650 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12650 :
12651 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12652 :
12653 : long
12654 0 : SgElementwiseSubtractOp::getChildIndex( SgNode* childNode ) const
12655 : {
12656 : // ------------ checking pointers of SgElementwiseSubtractOp -------------------
12657 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12658 0 : int indexCounter = 0;
12659 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12660 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12661 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12662 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12663 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12664 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12665 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12666 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12667 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12668 : return -1;
12669 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12670 : }
12671 :
12672 : /* #line 12673 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12673 :
12674 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12675 :
12676 : long
12677 0 : SgPowerOp::getChildIndex( SgNode* childNode ) const
12678 : {
12679 : // ------------ checking pointers of SgPowerOp -------------------
12680 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12681 0 : int indexCounter = 0;
12682 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12683 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12684 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12685 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12686 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12687 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12688 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12689 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12690 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12691 : return -1;
12692 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12693 : }
12694 :
12695 : /* #line 12696 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12696 :
12697 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12698 :
12699 : long
12700 0 : SgLeftDivideOp::getChildIndex( SgNode* childNode ) const
12701 : {
12702 : // ------------ checking pointers of SgLeftDivideOp -------------------
12703 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12704 0 : int indexCounter = 0;
12705 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12706 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12707 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12708 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12709 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12710 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12711 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12712 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12713 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12714 : return -1;
12715 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12716 : }
12717 :
12718 : /* #line 12719 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12719 :
12720 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12721 :
12722 : long
12723 0 : SgSIMDBinaryOp::getChildIndex( SgNode* childNode ) const
12724 : {
12725 : // ------------ checking pointers of SgSIMDBinaryOp -------------------
12726 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12727 0 : int indexCounter = 0;
12728 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12729 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12730 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12731 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12732 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12733 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12734 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12735 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12736 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12737 : return -1;
12738 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12739 : }
12740 :
12741 : /* #line 12742 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12742 :
12743 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12744 :
12745 : long
12746 0 : SgSIMDAddOp::getChildIndex( SgNode* childNode ) const
12747 : {
12748 : // ------------ checking pointers of SgSIMDAddOp -------------------
12749 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12750 0 : int indexCounter = 0;
12751 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12752 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12753 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12754 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12755 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12756 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12757 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12758 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12759 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12760 : return -1;
12761 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12762 : }
12763 :
12764 : /* #line 12765 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12765 :
12766 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12767 :
12768 : long
12769 0 : SgSIMDSubOp::getChildIndex( SgNode* childNode ) const
12770 : {
12771 : // ------------ checking pointers of SgSIMDSubOp -------------------
12772 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12773 0 : int indexCounter = 0;
12774 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12775 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12776 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12777 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12778 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12779 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12780 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12781 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12782 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12783 : return -1;
12784 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12785 : }
12786 :
12787 : /* #line 12788 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12788 :
12789 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12790 :
12791 : long
12792 0 : SgSIMDMulOp::getChildIndex( SgNode* childNode ) const
12793 : {
12794 : // ------------ checking pointers of SgSIMDMulOp -------------------
12795 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12796 0 : int indexCounter = 0;
12797 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12798 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12799 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12800 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12801 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12802 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12803 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12804 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12805 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12806 : return -1;
12807 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12808 : }
12809 :
12810 : /* #line 12811 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12811 :
12812 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12813 :
12814 : long
12815 0 : SgSIMDDivOp::getChildIndex( SgNode* childNode ) const
12816 : {
12817 : // ------------ checking pointers of SgSIMDDivOp -------------------
12818 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12819 0 : int indexCounter = 0;
12820 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12821 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12822 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12823 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12824 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12825 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12826 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12827 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12828 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12829 : return -1;
12830 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12831 : }
12832 :
12833 : /* #line 12834 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12834 :
12835 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12836 :
12837 : long
12838 0 : SgSIMDFmaOp::getChildIndex( SgNode* childNode ) const
12839 : {
12840 : // ------------ checking pointers of SgSIMDFmaOp -------------------
12841 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12842 0 : int indexCounter = 0;
12843 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12844 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12845 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12846 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12847 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12848 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12849 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12850 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12851 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12852 : return -1;
12853 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12854 : }
12855 :
12856 : /* #line 12857 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12857 :
12858 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12859 :
12860 : long
12861 0 : SgSIMDLoad::getChildIndex( SgNode* childNode ) const
12862 : {
12863 : // ------------ checking pointers of SgSIMDLoad -------------------
12864 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12865 0 : int indexCounter = 0;
12866 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12867 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12868 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12869 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12870 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12871 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12872 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12873 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12874 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12875 : return -1;
12876 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12877 : }
12878 :
12879 : /* #line 12880 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12880 :
12881 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12882 :
12883 : long
12884 0 : SgSIMDBroadcast::getChildIndex( SgNode* childNode ) const
12885 : {
12886 : // ------------ checking pointers of SgSIMDBroadcast -------------------
12887 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12888 0 : int indexCounter = 0;
12889 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12890 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12891 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12892 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12893 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12894 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12895 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12896 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12897 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12898 : return -1;
12899 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12900 : }
12901 :
12902 : /* #line 12903 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12903 :
12904 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12905 :
12906 : long
12907 0 : SgSIMDStore::getChildIndex( SgNode* childNode ) const
12908 : {
12909 : // ------------ checking pointers of SgSIMDStore -------------------
12910 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12911 0 : int indexCounter = 0;
12912 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12913 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12914 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12915 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12916 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12917 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12918 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12919 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12920 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12921 : return -1;
12922 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12923 : }
12924 :
12925 : /* #line 12926 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12926 :
12927 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12928 :
12929 : long
12930 0 : SgSIMDPartialStore::getChildIndex( SgNode* childNode ) const
12931 : {
12932 : // ------------ checking pointers of SgSIMDPartialStore -------------------
12933 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12934 0 : int indexCounter = 0;
12935 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12936 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12937 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12938 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12939 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12940 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12941 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12942 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12943 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12944 : return -1;
12945 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12946 : }
12947 :
12948 : /* #line 12949 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12949 :
12950 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12951 :
12952 : long
12953 0 : SgSIMDScalarStore::getChildIndex( SgNode* childNode ) const
12954 : {
12955 : // ------------ checking pointers of SgSIMDScalarStore -------------------
12956 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12957 0 : int indexCounter = 0;
12958 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12959 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12960 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12961 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12962 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12963 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12964 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12965 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12966 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12967 : return -1;
12968 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12969 : }
12970 :
12971 : /* #line 12972 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12972 :
12973 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12974 :
12975 : long
12976 0 : SgSIMDGather::getChildIndex( SgNode* childNode ) const
12977 : {
12978 : // ------------ checking pointers of SgSIMDGather -------------------
12979 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
12980 0 : int indexCounter = 0;
12981 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12982 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
12983 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
12984 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
12985 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
12986 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12987 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
12988 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
12989 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
12990 : return -1;
12991 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12992 : }
12993 :
12994 : /* #line 12995 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
12995 :
12996 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
12997 :
12998 : long
12999 0 : SgSIMDExplicitGather::getChildIndex( SgNode* childNode ) const
13000 : {
13001 : // ------------ checking pointers of SgSIMDExplicitGather -------------------
13002 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13003 0 : int indexCounter = 0;
13004 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
13005 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
13006 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
13007 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13008 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13009 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13010 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13011 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13012 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13013 : return -1;
13014 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13015 : }
13016 :
13017 : /* #line 13018 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13018 :
13019 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13020 :
13021 : long
13022 0 : SgSIMDScatter::getChildIndex( SgNode* childNode ) const
13023 : {
13024 : // ------------ checking pointers of SgSIMDScatter -------------------
13025 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13026 0 : int indexCounter = 0;
13027 0 : if ( p_lhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
13028 0 : if ( p_rhs_operand_i == childNode ) { return indexCounter; } indexCounter++;
13029 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
13030 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13031 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13032 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13033 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13034 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13035 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13036 : return -1;
13037 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13038 : }
13039 :
13040 : /* #line 13041 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13041 :
13042 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13043 :
13044 : long
13045 9 : SgExprListExp::getChildIndex( SgNode* childNode ) const
13046 : {
13047 : // ------------ checking pointers of SgExprListExp -------------------
13048 9 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13049 9 : int indexCounter = 0;
13050 14 : for ( SgExpressionPtrList::const_iterator source_expressions_iterator = p_expressions.begin(); source_expressions_iterator != p_expressions.end(); ++source_expressions_iterator)
13051 : {
13052 5 : if ( *source_expressions_iterator == childNode ) { return indexCounter; } indexCounter++;
13053 : }
13054 9 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13055 9 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13056 9 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13057 9 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13058 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13059 : return -1;
13060 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13061 : }
13062 :
13063 : /* #line 13064 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13064 :
13065 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13066 :
13067 : long
13068 0 : SgListExp::getChildIndex( SgNode* childNode ) const
13069 : {
13070 : // ------------ checking pointers of SgListExp -------------------
13071 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13072 0 : int indexCounter = 0;
13073 0 : for ( SgExpressionPtrList::const_iterator source_expressions_iterator = p_expressions.begin(); source_expressions_iterator != p_expressions.end(); ++source_expressions_iterator)
13074 : {
13075 0 : if ( *source_expressions_iterator == childNode ) { return indexCounter; } indexCounter++;
13076 : }
13077 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13078 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13079 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13080 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13081 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13082 : return -1;
13083 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13084 : }
13085 :
13086 : /* #line 13087 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13087 :
13088 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13089 :
13090 : long
13091 0 : SgTupleExp::getChildIndex( SgNode* childNode ) const
13092 : {
13093 : // ------------ checking pointers of SgTupleExp -------------------
13094 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13095 0 : int indexCounter = 0;
13096 0 : for ( SgExpressionPtrList::const_iterator source_expressions_iterator = p_expressions.begin(); source_expressions_iterator != p_expressions.end(); ++source_expressions_iterator)
13097 : {
13098 0 : if ( *source_expressions_iterator == childNode ) { return indexCounter; } indexCounter++;
13099 : }
13100 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13101 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13102 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13103 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13104 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13105 : return -1;
13106 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13107 : }
13108 :
13109 : /* #line 13110 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13110 :
13111 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13112 :
13113 : long
13114 0 : SgMatrixExp::getChildIndex( SgNode* childNode ) const
13115 : {
13116 : // ------------ checking pointers of SgMatrixExp -------------------
13117 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13118 0 : int indexCounter = 0;
13119 0 : for ( SgExpressionPtrList::const_iterator source_expressions_iterator = p_expressions.begin(); source_expressions_iterator != p_expressions.end(); ++source_expressions_iterator)
13120 : {
13121 0 : if ( *source_expressions_iterator == childNode ) { return indexCounter; } indexCounter++;
13122 : }
13123 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13124 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13125 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13126 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13127 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13128 : return -1;
13129 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13130 : }
13131 :
13132 : /* #line 13133 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13133 :
13134 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13135 :
13136 : long
13137 79 : SgVarRefExp::getChildIndex( SgNode* childNode ) const
13138 : {
13139 : // ------------ checking pointers of SgVarRefExp -------------------
13140 79 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13141 79 : int indexCounter = 0;
13142 79 : if ( p_symbol == childNode ) { return indexCounter; } indexCounter++;
13143 79 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13144 79 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13145 79 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13146 79 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13147 79 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13148 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13149 : return -1;
13150 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13151 : }
13152 :
13153 : /* #line 13154 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13154 :
13155 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13156 :
13157 : long
13158 0 : SgClassNameRefExp::getChildIndex( SgNode* childNode ) const
13159 : {
13160 : // ------------ checking pointers of SgClassNameRefExp -------------------
13161 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13162 0 : int indexCounter = 0;
13163 0 : if ( p_symbol == childNode ) { return indexCounter; } indexCounter++;
13164 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13165 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13166 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13167 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13168 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13169 : return -1;
13170 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13171 : }
13172 :
13173 : /* #line 13174 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13174 :
13175 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13176 :
13177 : long
13178 6 : SgFunctionRefExp::getChildIndex( SgNode* childNode ) const
13179 : {
13180 : // ------------ checking pointers of SgFunctionRefExp -------------------
13181 6 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13182 6 : int indexCounter = 0;
13183 6 : if ( p_symbol_i == childNode ) { return indexCounter; } indexCounter++;
13184 6 : if ( p_function_type == childNode ) { return indexCounter; } indexCounter++;
13185 6 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13186 6 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13187 6 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13188 6 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13189 6 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13190 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13191 : return -1;
13192 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13193 : }
13194 :
13195 : /* #line 13196 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13196 :
13197 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13198 :
13199 : long
13200 0 : SgMemberFunctionRefExp::getChildIndex( SgNode* childNode ) const
13201 : {
13202 : // ------------ checking pointers of SgMemberFunctionRefExp -------------------
13203 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13204 0 : int indexCounter = 0;
13205 0 : if ( p_symbol_i == childNode ) { return indexCounter; } indexCounter++;
13206 0 : if ( p_function_type == childNode ) { return indexCounter; } indexCounter++;
13207 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13208 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13209 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13210 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13211 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13212 : return -1;
13213 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13214 : }
13215 :
13216 : /* #line 13217 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13217 :
13218 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13219 :
13220 : long
13221 0 : SgValueExp::getChildIndex( SgNode* childNode ) const
13222 : {
13223 : // ------------ checking pointers of SgValueExp -------------------
13224 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13225 0 : int indexCounter = 0;
13226 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13227 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13228 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13229 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13230 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13231 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13232 : return -1;
13233 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13234 : }
13235 :
13236 : /* #line 13237 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13237 :
13238 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13239 :
13240 : long
13241 0 : SgBoolValExp::getChildIndex( SgNode* childNode ) const
13242 : {
13243 : // ------------ checking pointers of SgBoolValExp -------------------
13244 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13245 0 : int indexCounter = 0;
13246 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13247 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13248 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13249 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13250 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13251 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13252 : return -1;
13253 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13254 : }
13255 :
13256 : /* #line 13257 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13257 :
13258 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13259 :
13260 : long
13261 0 : SgStringVal::getChildIndex( SgNode* childNode ) const
13262 : {
13263 : // ------------ checking pointers of SgStringVal -------------------
13264 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13265 0 : int indexCounter = 0;
13266 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13267 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13268 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13269 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13270 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13271 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13272 : return -1;
13273 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13274 : }
13275 :
13276 : /* #line 13277 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13277 :
13278 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13279 :
13280 : long
13281 0 : SgShortVal::getChildIndex( SgNode* childNode ) const
13282 : {
13283 : // ------------ checking pointers of SgShortVal -------------------
13284 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13285 0 : int indexCounter = 0;
13286 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13287 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13288 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13289 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13290 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13291 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13292 : return -1;
13293 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13294 : }
13295 :
13296 : /* #line 13297 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13297 :
13298 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13299 :
13300 : long
13301 0 : SgCharVal::getChildIndex( SgNode* childNode ) const
13302 : {
13303 : // ------------ checking pointers of SgCharVal -------------------
13304 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13305 0 : int indexCounter = 0;
13306 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13307 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13308 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13309 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13310 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13311 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13312 : return -1;
13313 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13314 : }
13315 :
13316 : /* #line 13317 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13317 :
13318 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13319 :
13320 : long
13321 0 : SgUnsignedCharVal::getChildIndex( SgNode* childNode ) const
13322 : {
13323 : // ------------ checking pointers of SgUnsignedCharVal -------------------
13324 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13325 0 : int indexCounter = 0;
13326 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13327 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13328 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13329 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13330 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13331 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13332 : return -1;
13333 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13334 : }
13335 :
13336 : /* #line 13337 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13337 :
13338 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13339 :
13340 : long
13341 0 : SgWcharVal::getChildIndex( SgNode* childNode ) const
13342 : {
13343 : // ------------ checking pointers of SgWcharVal -------------------
13344 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13345 0 : int indexCounter = 0;
13346 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13347 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13348 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13349 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13350 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13351 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13352 : return -1;
13353 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13354 : }
13355 :
13356 : /* #line 13357 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13357 :
13358 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13359 :
13360 : long
13361 0 : SgUnsignedShortVal::getChildIndex( SgNode* childNode ) const
13362 : {
13363 : // ------------ checking pointers of SgUnsignedShortVal -------------------
13364 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13365 0 : int indexCounter = 0;
13366 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13367 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13368 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13369 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13370 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13371 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13372 : return -1;
13373 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13374 : }
13375 :
13376 : /* #line 13377 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13377 :
13378 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13379 :
13380 : long
13381 57 : SgIntVal::getChildIndex( SgNode* childNode ) const
13382 : {
13383 : // ------------ checking pointers of SgIntVal -------------------
13384 57 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13385 57 : int indexCounter = 0;
13386 57 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13387 57 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13388 57 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13389 57 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13390 57 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13391 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13392 : return -1;
13393 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13394 : }
13395 :
13396 : /* #line 13397 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13397 :
13398 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13399 :
13400 : long
13401 0 : SgEnumVal::getChildIndex( SgNode* childNode ) const
13402 : {
13403 : // ------------ checking pointers of SgEnumVal -------------------
13404 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13405 0 : int indexCounter = 0;
13406 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
13407 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13408 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13409 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13410 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13411 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13412 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13413 : return -1;
13414 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13415 : }
13416 :
13417 : /* #line 13418 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13418 :
13419 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13420 :
13421 : long
13422 0 : SgUnsignedIntVal::getChildIndex( SgNode* childNode ) const
13423 : {
13424 : // ------------ checking pointers of SgUnsignedIntVal -------------------
13425 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13426 0 : int indexCounter = 0;
13427 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13428 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13429 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13430 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13431 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13432 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13433 : return -1;
13434 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13435 : }
13436 :
13437 : /* #line 13438 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13438 :
13439 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13440 :
13441 : long
13442 0 : SgLongIntVal::getChildIndex( SgNode* childNode ) const
13443 : {
13444 : // ------------ checking pointers of SgLongIntVal -------------------
13445 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13446 0 : int indexCounter = 0;
13447 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13448 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13449 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13450 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13451 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13452 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13453 : return -1;
13454 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13455 : }
13456 :
13457 : /* #line 13458 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13458 :
13459 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13460 :
13461 : long
13462 0 : SgLongLongIntVal::getChildIndex( SgNode* childNode ) const
13463 : {
13464 : // ------------ checking pointers of SgLongLongIntVal -------------------
13465 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13466 0 : int indexCounter = 0;
13467 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13468 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13469 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13470 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13471 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13472 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13473 : return -1;
13474 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13475 : }
13476 :
13477 : /* #line 13478 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13478 :
13479 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13480 :
13481 : long
13482 0 : SgUnsignedLongLongIntVal::getChildIndex( SgNode* childNode ) const
13483 : {
13484 : // ------------ checking pointers of SgUnsignedLongLongIntVal -------------------
13485 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13486 0 : int indexCounter = 0;
13487 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13488 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13489 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13490 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13491 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13492 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13493 : return -1;
13494 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13495 : }
13496 :
13497 : /* #line 13498 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13498 :
13499 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13500 :
13501 : long
13502 0 : SgUnsignedLongVal::getChildIndex( SgNode* childNode ) const
13503 : {
13504 : // ------------ checking pointers of SgUnsignedLongVal -------------------
13505 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13506 0 : int indexCounter = 0;
13507 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13508 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13509 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13510 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13511 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13512 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13513 : return -1;
13514 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13515 : }
13516 :
13517 : /* #line 13518 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13518 :
13519 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13520 :
13521 : long
13522 0 : SgFloatVal::getChildIndex( SgNode* childNode ) const
13523 : {
13524 : // ------------ checking pointers of SgFloatVal -------------------
13525 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13526 0 : int indexCounter = 0;
13527 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13528 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13529 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13530 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13531 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13532 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13533 : return -1;
13534 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13535 : }
13536 :
13537 : /* #line 13538 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13538 :
13539 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13540 :
13541 : long
13542 4 : SgDoubleVal::getChildIndex( SgNode* childNode ) const
13543 : {
13544 : // ------------ checking pointers of SgDoubleVal -------------------
13545 4 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13546 4 : int indexCounter = 0;
13547 4 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13548 4 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13549 4 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13550 4 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13551 4 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13552 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13553 : return -1;
13554 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13555 : }
13556 :
13557 : /* #line 13558 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13558 :
13559 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13560 :
13561 : long
13562 0 : SgLongDoubleVal::getChildIndex( SgNode* childNode ) const
13563 : {
13564 : // ------------ checking pointers of SgLongDoubleVal -------------------
13565 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13566 0 : int indexCounter = 0;
13567 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13568 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13569 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13570 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13571 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13572 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13573 : return -1;
13574 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13575 : }
13576 :
13577 : /* #line 13578 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13578 :
13579 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13580 :
13581 : long
13582 0 : SgComplexVal::getChildIndex( SgNode* childNode ) const
13583 : {
13584 : // ------------ checking pointers of SgComplexVal -------------------
13585 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13586 0 : int indexCounter = 0;
13587 0 : if ( p_real_value == childNode ) { return indexCounter; } indexCounter++;
13588 0 : if ( p_imaginary_value == childNode ) { return indexCounter; } indexCounter++;
13589 0 : if ( p_precisionType == childNode ) { return indexCounter; } indexCounter++;
13590 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13591 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13592 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13593 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13594 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13595 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13596 : return -1;
13597 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13598 : }
13599 :
13600 : /* #line 13601 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13601 :
13602 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13603 :
13604 : long
13605 0 : SgUpcThreads::getChildIndex( SgNode* childNode ) const
13606 : {
13607 : // ------------ checking pointers of SgUpcThreads -------------------
13608 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13609 0 : int indexCounter = 0;
13610 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13611 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13612 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13613 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13614 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13615 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13616 : return -1;
13617 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13618 : }
13619 :
13620 : /* #line 13621 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13621 :
13622 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13623 :
13624 : long
13625 0 : SgUpcMythread::getChildIndex( SgNode* childNode ) const
13626 : {
13627 : // ------------ checking pointers of SgUpcMythread -------------------
13628 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13629 0 : int indexCounter = 0;
13630 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13631 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13632 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13633 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13634 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13635 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13636 : return -1;
13637 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13638 : }
13639 :
13640 : /* #line 13641 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13641 :
13642 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13643 :
13644 : long
13645 0 : SgTemplateParameterVal::getChildIndex( SgNode* childNode ) const
13646 : {
13647 : // ------------ checking pointers of SgTemplateParameterVal -------------------
13648 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13649 0 : int indexCounter = 0;
13650 0 : if ( p_valueType == childNode ) { return indexCounter; } indexCounter++;
13651 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13652 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13653 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13654 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13655 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13656 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13657 : return -1;
13658 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13659 : }
13660 :
13661 : /* #line 13662 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13662 :
13663 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13664 :
13665 : long
13666 0 : SgNullptrValExp::getChildIndex( SgNode* childNode ) const
13667 : {
13668 : // ------------ checking pointers of SgNullptrValExp -------------------
13669 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13670 0 : int indexCounter = 0;
13671 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13672 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13673 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13674 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13675 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13676 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13677 : return -1;
13678 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13679 : }
13680 :
13681 : /* #line 13682 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13682 :
13683 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13684 :
13685 : long
13686 0 : SgChar16Val::getChildIndex( SgNode* childNode ) const
13687 : {
13688 : // ------------ checking pointers of SgChar16Val -------------------
13689 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13690 0 : int indexCounter = 0;
13691 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13692 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13693 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13694 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13695 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13696 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13697 : return -1;
13698 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13699 : }
13700 :
13701 : /* #line 13702 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13702 :
13703 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13704 :
13705 : long
13706 0 : SgChar32Val::getChildIndex( SgNode* childNode ) const
13707 : {
13708 : // ------------ checking pointers of SgChar32Val -------------------
13709 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13710 0 : int indexCounter = 0;
13711 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13712 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13713 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13714 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13715 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13716 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13717 : return -1;
13718 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13719 : }
13720 :
13721 : /* #line 13722 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13722 :
13723 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13724 :
13725 : long
13726 0 : SgFloat80Val::getChildIndex( SgNode* childNode ) const
13727 : {
13728 : // ------------ checking pointers of SgFloat80Val -------------------
13729 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13730 0 : int indexCounter = 0;
13731 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13732 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13733 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13734 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13735 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13736 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13737 : return -1;
13738 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13739 : }
13740 :
13741 : /* #line 13742 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13742 :
13743 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13744 :
13745 : long
13746 0 : SgFloat128Val::getChildIndex( SgNode* childNode ) const
13747 : {
13748 : // ------------ checking pointers of SgFloat128Val -------------------
13749 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13750 0 : int indexCounter = 0;
13751 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13752 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13753 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13754 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13755 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13756 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13757 : return -1;
13758 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13759 : }
13760 :
13761 : /* #line 13762 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13762 :
13763 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13764 :
13765 : long
13766 0 : SgVoidVal::getChildIndex( SgNode* childNode ) const
13767 : {
13768 : // ------------ checking pointers of SgVoidVal -------------------
13769 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13770 0 : int indexCounter = 0;
13771 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
13772 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13773 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13774 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13775 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13776 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13777 : return -1;
13778 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13779 : }
13780 :
13781 : /* #line 13782 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13782 :
13783 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13784 :
13785 : long
13786 0 : SgCallExpression::getChildIndex( SgNode* childNode ) const
13787 : {
13788 : // ------------ checking pointers of SgCallExpression -------------------
13789 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13790 0 : int indexCounter = 0;
13791 0 : if ( p_function == childNode ) { return indexCounter; } indexCounter++;
13792 0 : if ( p_args == childNode ) { return indexCounter; } indexCounter++;
13793 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
13794 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13795 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13796 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13797 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13798 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13799 : return -1;
13800 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13801 : }
13802 :
13803 : /* #line 13804 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13804 :
13805 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13806 :
13807 : long
13808 4 : SgFunctionCallExp::getChildIndex( SgNode* childNode ) const
13809 : {
13810 : // ------------ checking pointers of SgFunctionCallExp -------------------
13811 4 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13812 4 : int indexCounter = 0;
13813 4 : if ( p_function == childNode ) { return indexCounter; } indexCounter++;
13814 4 : if ( p_args == childNode ) { return indexCounter; } indexCounter++;
13815 4 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
13816 4 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13817 4 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13818 4 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13819 4 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13820 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13821 : return -1;
13822 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13823 : }
13824 :
13825 : /* #line 13826 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13826 :
13827 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13828 :
13829 : long
13830 0 : SgCudaKernelCallExp::getChildIndex( SgNode* childNode ) const
13831 : {
13832 : // ------------ checking pointers of SgCudaKernelCallExp -------------------
13833 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13834 0 : int indexCounter = 0;
13835 0 : if ( p_exec_config == childNode ) { return indexCounter; } indexCounter++;
13836 0 : if ( p_function == childNode ) { return indexCounter; } indexCounter++;
13837 0 : if ( p_args == childNode ) { return indexCounter; } indexCounter++;
13838 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
13839 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13840 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13841 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13842 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13843 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13844 : return -1;
13845 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13846 : }
13847 :
13848 : /* #line 13849 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13849 :
13850 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13851 :
13852 : long
13853 4 : SgSizeOfOp::getChildIndex( SgNode* childNode ) const
13854 : {
13855 : // ------------ checking pointers of SgSizeOfOp -------------------
13856 4 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13857 4 : int indexCounter = 0;
13858 4 : if ( p_operand_expr == childNode ) { return indexCounter; } indexCounter++;
13859 4 : if ( p_operand_type == childNode ) { return indexCounter; } indexCounter++;
13860 4 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
13861 4 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13862 4 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13863 4 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13864 4 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13865 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13866 : return -1;
13867 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13868 : }
13869 :
13870 : /* #line 13871 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13871 :
13872 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13873 :
13874 : long
13875 0 : SgUpcLocalsizeofExpression::getChildIndex( SgNode* childNode ) const
13876 : {
13877 : // ------------ checking pointers of SgUpcLocalsizeofExpression -------------------
13878 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13879 0 : int indexCounter = 0;
13880 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
13881 0 : if ( p_operand_type == childNode ) { return indexCounter; } indexCounter++;
13882 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
13883 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13884 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13885 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13886 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13887 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13888 : return -1;
13889 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13890 : }
13891 :
13892 : /* #line 13893 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13893 :
13894 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13895 :
13896 : long
13897 0 : SgUpcBlocksizeofExpression::getChildIndex( SgNode* childNode ) const
13898 : {
13899 : // ------------ checking pointers of SgUpcBlocksizeofExpression -------------------
13900 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13901 0 : int indexCounter = 0;
13902 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
13903 0 : if ( p_operand_type == childNode ) { return indexCounter; } indexCounter++;
13904 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
13905 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13906 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13907 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13908 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13909 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13910 : return -1;
13911 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13912 : }
13913 :
13914 : /* #line 13915 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13915 :
13916 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13917 :
13918 : long
13919 0 : SgUpcElemsizeofExpression::getChildIndex( SgNode* childNode ) const
13920 : {
13921 : // ------------ checking pointers of SgUpcElemsizeofExpression -------------------
13922 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13923 0 : int indexCounter = 0;
13924 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
13925 0 : if ( p_operand_type == childNode ) { return indexCounter; } indexCounter++;
13926 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
13927 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13928 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13929 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13930 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13931 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13932 : return -1;
13933 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13934 : }
13935 :
13936 : /* #line 13937 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13937 :
13938 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13939 :
13940 : long
13941 0 : SgSuperExp::getChildIndex( SgNode* childNode ) const
13942 : {
13943 : // ------------ checking pointers of SgSuperExp -------------------
13944 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13945 0 : int indexCounter = 0;
13946 0 : if ( p_class_symbol == childNode ) { return indexCounter; } indexCounter++;
13947 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13948 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13949 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13950 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13951 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13952 : return -1;
13953 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13954 : }
13955 :
13956 : /* #line 13957 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13957 :
13958 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13959 :
13960 : long
13961 0 : SgTypeIdOp::getChildIndex( SgNode* childNode ) const
13962 : {
13963 : // ------------ checking pointers of SgTypeIdOp -------------------
13964 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13965 0 : int indexCounter = 0;
13966 0 : if ( p_operand_expr == childNode ) { return indexCounter; } indexCounter++;
13967 0 : if ( p_operand_type == childNode ) { return indexCounter; } indexCounter++;
13968 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13969 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13970 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13971 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13972 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13973 : return -1;
13974 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13975 : }
13976 :
13977 : /* #line 13978 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
13978 :
13979 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13980 :
13981 : long
13982 0 : SgConditionalExp::getChildIndex( SgNode* childNode ) const
13983 : {
13984 : // ------------ checking pointers of SgConditionalExp -------------------
13985 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
13986 0 : int indexCounter = 0;
13987 0 : if ( p_conditional_exp == childNode ) { return indexCounter; } indexCounter++;
13988 0 : if ( p_true_exp == childNode ) { return indexCounter; } indexCounter++;
13989 0 : if ( p_false_exp == childNode ) { return indexCounter; } indexCounter++;
13990 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
13991 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
13992 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13993 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
13994 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
13995 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
13996 : return -1;
13997 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
13998 : }
13999 :
14000 : /* #line 14001 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14001 :
14002 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14003 :
14004 : long
14005 0 : SgNewExp::getChildIndex( SgNode* childNode ) const
14006 : {
14007 : // ------------ checking pointers of SgNewExp -------------------
14008 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14009 0 : int indexCounter = 0;
14010 0 : if ( p_specified_type == childNode ) { return indexCounter; } indexCounter++;
14011 0 : if ( p_placement_args == childNode ) { return indexCounter; } indexCounter++;
14012 0 : if ( p_constructor_args == childNode ) { return indexCounter; } indexCounter++;
14013 0 : if ( p_builtin_args == childNode ) { return indexCounter; } indexCounter++;
14014 0 : if ( p_newOperatorDeclaration == childNode ) { return indexCounter; } indexCounter++;
14015 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14016 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14017 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14018 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14019 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14020 : return -1;
14021 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14022 : }
14023 :
14024 : /* #line 14025 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14025 :
14026 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14027 :
14028 : long
14029 0 : SgDeleteExp::getChildIndex( SgNode* childNode ) const
14030 : {
14031 : // ------------ checking pointers of SgDeleteExp -------------------
14032 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14033 0 : int indexCounter = 0;
14034 0 : if ( p_variable == childNode ) { return indexCounter; } indexCounter++;
14035 0 : if ( p_deleteOperatorDeclaration == childNode ) { return indexCounter; } indexCounter++;
14036 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14037 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14038 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14039 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14040 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14041 : return -1;
14042 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14043 : }
14044 :
14045 : /* #line 14046 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14046 :
14047 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14048 :
14049 : long
14050 0 : SgThisExp::getChildIndex( SgNode* childNode ) const
14051 : {
14052 : // ------------ checking pointers of SgThisExp -------------------
14053 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14054 0 : int indexCounter = 0;
14055 0 : if ( p_class_symbol == childNode ) { return indexCounter; } indexCounter++;
14056 0 : if ( p_nonreal_symbol == childNode ) { return indexCounter; } indexCounter++;
14057 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14058 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14059 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14060 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14061 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14062 : return -1;
14063 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14064 : }
14065 :
14066 : /* #line 14067 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14067 :
14068 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14069 :
14070 : long
14071 0 : SgRefExp::getChildIndex( SgNode* childNode ) const
14072 : {
14073 : // ------------ checking pointers of SgRefExp -------------------
14074 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14075 0 : int indexCounter = 0;
14076 0 : if ( p_type_name == childNode ) { return indexCounter; } indexCounter++;
14077 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14078 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14079 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14080 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14081 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14082 : return -1;
14083 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14084 : }
14085 :
14086 : /* #line 14087 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14087 :
14088 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14089 :
14090 : long
14091 0 : SgInitializer::getChildIndex( SgNode* childNode ) const
14092 : {
14093 : // ------------ checking pointers of SgInitializer -------------------
14094 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14095 0 : int indexCounter = 0;
14096 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14097 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14098 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14099 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14100 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14101 : return -1;
14102 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14103 : }
14104 :
14105 : /* #line 14106 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14106 :
14107 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14108 :
14109 : long
14110 0 : SgAggregateInitializer::getChildIndex( SgNode* childNode ) const
14111 : {
14112 : // ------------ checking pointers of SgAggregateInitializer -------------------
14113 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14114 0 : int indexCounter = 0;
14115 0 : if ( p_initializers == childNode ) { return indexCounter; } indexCounter++;
14116 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
14117 0 : if ( p_originalExpressionTree == childNode ) { return indexCounter; } indexCounter++;
14118 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14119 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14120 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14121 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14122 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14123 : return -1;
14124 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14125 : }
14126 :
14127 : /* #line 14128 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14128 :
14129 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14130 :
14131 : long
14132 0 : SgCompoundInitializer::getChildIndex( SgNode* childNode ) const
14133 : {
14134 : // ------------ checking pointers of SgCompoundInitializer -------------------
14135 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14136 0 : int indexCounter = 0;
14137 0 : if ( p_initializers == childNode ) { return indexCounter; } indexCounter++;
14138 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
14139 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14140 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14141 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14142 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14143 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14144 : return -1;
14145 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14146 : }
14147 :
14148 : /* #line 14149 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14149 :
14150 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14151 :
14152 : long
14153 0 : SgConstructorInitializer::getChildIndex( SgNode* childNode ) const
14154 : {
14155 : // ------------ checking pointers of SgConstructorInitializer -------------------
14156 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14157 0 : int indexCounter = 0;
14158 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
14159 0 : if ( p_args == childNode ) { return indexCounter; } indexCounter++;
14160 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
14161 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14162 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14163 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14164 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14165 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14166 : return -1;
14167 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14168 : }
14169 :
14170 : /* #line 14171 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14171 :
14172 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14173 :
14174 : long
14175 16 : SgAssignInitializer::getChildIndex( SgNode* childNode ) const
14176 : {
14177 : // ------------ checking pointers of SgAssignInitializer -------------------
14178 16 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14179 16 : int indexCounter = 0;
14180 16 : if ( p_operand_i == childNode ) { return indexCounter; } indexCounter++;
14181 16 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
14182 16 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14183 16 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14184 16 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14185 16 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14186 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14187 : return -1;
14188 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14189 : }
14190 :
14191 : /* #line 14192 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14192 :
14193 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14194 :
14195 : long
14196 0 : SgDesignatedInitializer::getChildIndex( SgNode* childNode ) const
14197 : {
14198 : // ------------ checking pointers of SgDesignatedInitializer -------------------
14199 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14200 0 : int indexCounter = 0;
14201 0 : if ( p_designatorList == childNode ) { return indexCounter; } indexCounter++;
14202 0 : if ( p_memberInit == childNode ) { return indexCounter; } indexCounter++;
14203 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14204 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14205 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14206 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14207 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14208 : return -1;
14209 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14210 : }
14211 :
14212 : /* #line 14213 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14213 :
14214 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14215 :
14216 : long
14217 0 : SgBracedInitializer::getChildIndex( SgNode* childNode ) const
14218 : {
14219 : // ------------ checking pointers of SgBracedInitializer -------------------
14220 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14221 0 : int indexCounter = 0;
14222 0 : if ( p_initializers == childNode ) { return indexCounter; } indexCounter++;
14223 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
14224 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14225 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14226 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14227 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14228 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14229 : return -1;
14230 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14231 : }
14232 :
14233 : /* #line 14234 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14234 :
14235 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14236 :
14237 : long
14238 0 : SgVarArgStartOp::getChildIndex( SgNode* childNode ) const
14239 : {
14240 : // ------------ checking pointers of SgVarArgStartOp -------------------
14241 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14242 0 : int indexCounter = 0;
14243 0 : if ( p_lhs_operand == childNode ) { return indexCounter; } indexCounter++;
14244 0 : if ( p_rhs_operand == childNode ) { return indexCounter; } indexCounter++;
14245 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
14246 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14247 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14248 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14249 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14250 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14251 : return -1;
14252 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14253 : }
14254 :
14255 : /* #line 14256 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14256 :
14257 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14258 :
14259 : long
14260 0 : SgVarArgOp::getChildIndex( SgNode* childNode ) const
14261 : {
14262 : // ------------ checking pointers of SgVarArgOp -------------------
14263 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14264 0 : int indexCounter = 0;
14265 0 : if ( p_operand_expr == childNode ) { return indexCounter; } indexCounter++;
14266 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
14267 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14268 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14269 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14270 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14271 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14272 : return -1;
14273 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14274 : }
14275 :
14276 : /* #line 14277 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14277 :
14278 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14279 :
14280 : long
14281 0 : SgVarArgEndOp::getChildIndex( SgNode* childNode ) const
14282 : {
14283 : // ------------ checking pointers of SgVarArgEndOp -------------------
14284 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14285 0 : int indexCounter = 0;
14286 0 : if ( p_operand_expr == childNode ) { return indexCounter; } indexCounter++;
14287 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
14288 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14289 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14290 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14291 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14292 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14293 : return -1;
14294 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14295 : }
14296 :
14297 : /* #line 14298 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14298 :
14299 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14300 :
14301 : long
14302 0 : SgVarArgCopyOp::getChildIndex( SgNode* childNode ) const
14303 : {
14304 : // ------------ checking pointers of SgVarArgCopyOp -------------------
14305 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14306 0 : int indexCounter = 0;
14307 0 : if ( p_lhs_operand == childNode ) { return indexCounter; } indexCounter++;
14308 0 : if ( p_rhs_operand == childNode ) { return indexCounter; } indexCounter++;
14309 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
14310 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14311 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14312 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14313 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14314 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14315 : return -1;
14316 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14317 : }
14318 :
14319 : /* #line 14320 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14320 :
14321 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14322 :
14323 : long
14324 0 : SgVarArgStartOneOperandOp::getChildIndex( SgNode* childNode ) const
14325 : {
14326 : // ------------ checking pointers of SgVarArgStartOneOperandOp -------------------
14327 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14328 0 : int indexCounter = 0;
14329 0 : if ( p_operand_expr == childNode ) { return indexCounter; } indexCounter++;
14330 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
14331 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14332 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14333 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14334 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14335 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14336 : return -1;
14337 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14338 : }
14339 :
14340 : /* #line 14341 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14341 :
14342 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14343 :
14344 : long
14345 2 : SgNullExpression::getChildIndex( SgNode* childNode ) const
14346 : {
14347 : // ------------ checking pointers of SgNullExpression -------------------
14348 2 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14349 2 : int indexCounter = 0;
14350 2 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14351 2 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14352 2 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14353 2 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14354 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14355 : return -1;
14356 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14357 : }
14358 :
14359 : /* #line 14360 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14360 :
14361 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14362 :
14363 : long
14364 0 : SgVariantExpression::getChildIndex( SgNode* childNode ) const
14365 : {
14366 : // ------------ checking pointers of SgVariantExpression -------------------
14367 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14368 0 : int indexCounter = 0;
14369 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14370 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14371 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14372 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14373 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14374 : return -1;
14375 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14376 : }
14377 :
14378 : /* #line 14379 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14379 :
14380 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14381 :
14382 : long
14383 0 : SgSubscriptExpression::getChildIndex( SgNode* childNode ) const
14384 : {
14385 : // ------------ checking pointers of SgSubscriptExpression -------------------
14386 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14387 0 : int indexCounter = 0;
14388 0 : if ( p_lowerBound == childNode ) { return indexCounter; } indexCounter++;
14389 0 : if ( p_upperBound == childNode ) { return indexCounter; } indexCounter++;
14390 0 : if ( p_stride == childNode ) { return indexCounter; } indexCounter++;
14391 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14392 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14393 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14394 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14395 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14396 : return -1;
14397 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14398 : }
14399 :
14400 : /* #line 14401 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14401 :
14402 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14403 :
14404 : long
14405 0 : SgColonShapeExp::getChildIndex( SgNode* childNode ) const
14406 : {
14407 : // ------------ checking pointers of SgColonShapeExp -------------------
14408 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14409 0 : int indexCounter = 0;
14410 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14411 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14412 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14413 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14414 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14415 : return -1;
14416 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14417 : }
14418 :
14419 : /* #line 14420 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14420 :
14421 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14422 :
14423 : long
14424 0 : SgAsteriskShapeExp::getChildIndex( SgNode* childNode ) const
14425 : {
14426 : // ------------ checking pointers of SgAsteriskShapeExp -------------------
14427 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14428 0 : int indexCounter = 0;
14429 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14430 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14431 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14432 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14433 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14434 : return -1;
14435 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14436 : }
14437 :
14438 : /* #line 14439 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14439 :
14440 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14441 :
14442 : long
14443 0 : SgImpliedDo::getChildIndex( SgNode* childNode ) const
14444 : {
14445 : // ------------ checking pointers of SgImpliedDo -------------------
14446 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14447 0 : int indexCounter = 0;
14448 0 : if ( p_do_var_initialization == childNode ) { return indexCounter; } indexCounter++;
14449 0 : if ( p_last_val == childNode ) { return indexCounter; } indexCounter++;
14450 0 : if ( p_increment == childNode ) { return indexCounter; } indexCounter++;
14451 0 : if ( p_object_list == childNode ) { return indexCounter; } indexCounter++;
14452 0 : if ( p_implied_do_scope == childNode ) { return indexCounter; } indexCounter++;
14453 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14454 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14455 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14456 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14457 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14458 : return -1;
14459 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14460 : }
14461 :
14462 : /* #line 14463 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14463 :
14464 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14465 :
14466 : long
14467 0 : SgIOItemExpression::getChildIndex( SgNode* childNode ) const
14468 : {
14469 : // ------------ checking pointers of SgIOItemExpression -------------------
14470 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14471 0 : int indexCounter = 0;
14472 0 : if ( p_io_item == childNode ) { return indexCounter; } indexCounter++;
14473 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14474 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14475 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14476 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14477 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14478 : return -1;
14479 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14480 : }
14481 :
14482 : /* #line 14483 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14483 :
14484 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14485 :
14486 : long
14487 0 : SgStatementExpression::getChildIndex( SgNode* childNode ) const
14488 : {
14489 : // ------------ checking pointers of SgStatementExpression -------------------
14490 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14491 0 : int indexCounter = 0;
14492 0 : if ( p_statement == childNode ) { return indexCounter; } indexCounter++;
14493 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14494 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14495 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14496 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14497 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14498 : return -1;
14499 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14500 : }
14501 :
14502 : /* #line 14503 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14503 :
14504 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14505 :
14506 : long
14507 0 : SgAsmOp::getChildIndex( SgNode* childNode ) const
14508 : {
14509 : // ------------ checking pointers of SgAsmOp -------------------
14510 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14511 0 : int indexCounter = 0;
14512 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
14513 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14514 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14515 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14516 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14517 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14518 : return -1;
14519 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14520 : }
14521 :
14522 : /* #line 14523 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14523 :
14524 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14525 :
14526 : long
14527 0 : SgLabelRefExp::getChildIndex( SgNode* childNode ) const
14528 : {
14529 : // ------------ checking pointers of SgLabelRefExp -------------------
14530 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14531 0 : int indexCounter = 0;
14532 0 : if ( p_symbol == childNode ) { return indexCounter; } indexCounter++;
14533 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14534 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14535 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14536 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14537 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14538 : return -1;
14539 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14540 : }
14541 :
14542 : /* #line 14543 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14543 :
14544 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14545 :
14546 : long
14547 0 : SgActualArgumentExpression::getChildIndex( SgNode* childNode ) const
14548 : {
14549 : // ------------ checking pointers of SgActualArgumentExpression -------------------
14550 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14551 0 : int indexCounter = 0;
14552 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
14553 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14554 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14555 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14556 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14557 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14558 : return -1;
14559 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14560 : }
14561 :
14562 : /* #line 14563 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14563 :
14564 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14565 :
14566 : long
14567 0 : SgUnknownArrayOrFunctionReference::getChildIndex( SgNode* childNode ) const
14568 : {
14569 : // ------------ checking pointers of SgUnknownArrayOrFunctionReference -------------------
14570 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14571 0 : int indexCounter = 0;
14572 0 : if ( p_named_reference == childNode ) { return indexCounter; } indexCounter++;
14573 0 : if ( p_expression_list == childNode ) { return indexCounter; } indexCounter++;
14574 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14575 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14576 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14577 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14578 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14579 : return -1;
14580 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14581 : }
14582 :
14583 : /* #line 14584 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14584 :
14585 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14586 :
14587 : long
14588 0 : SgPseudoDestructorRefExp::getChildIndex( SgNode* childNode ) const
14589 : {
14590 : // ------------ checking pointers of SgPseudoDestructorRefExp -------------------
14591 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14592 0 : int indexCounter = 0;
14593 0 : if ( p_object_type == childNode ) { return indexCounter; } indexCounter++;
14594 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
14595 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14596 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14597 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14598 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14599 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14600 : return -1;
14601 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14602 : }
14603 :
14604 : /* #line 14605 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14605 :
14606 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14607 :
14608 : long
14609 0 : SgCAFCoExpression::getChildIndex( SgNode* childNode ) const
14610 : {
14611 : // ------------ checking pointers of SgCAFCoExpression -------------------
14612 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14613 0 : int indexCounter = 0;
14614 0 : if ( p_teamId == childNode ) { return indexCounter; } indexCounter++;
14615 0 : if ( p_teamRank == childNode ) { return indexCounter; } indexCounter++;
14616 0 : if ( p_referData == childNode ) { return indexCounter; } indexCounter++;
14617 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14618 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14619 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14620 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14621 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14622 : return -1;
14623 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14624 : }
14625 :
14626 : /* #line 14627 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14627 :
14628 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14629 :
14630 : long
14631 0 : SgCudaKernelExecConfig::getChildIndex( SgNode* childNode ) const
14632 : {
14633 : // ------------ checking pointers of SgCudaKernelExecConfig -------------------
14634 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14635 0 : int indexCounter = 0;
14636 0 : if ( p_grid == childNode ) { return indexCounter; } indexCounter++;
14637 0 : if ( p_blocks == childNode ) { return indexCounter; } indexCounter++;
14638 0 : if ( p_shared == childNode ) { return indexCounter; } indexCounter++;
14639 0 : if ( p_stream == childNode ) { return indexCounter; } indexCounter++;
14640 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14641 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14642 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14643 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14644 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14645 : return -1;
14646 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14647 : }
14648 :
14649 : /* #line 14650 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14650 :
14651 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14652 :
14653 : long
14654 0 : SgLambdaRefExp::getChildIndex( SgNode* childNode ) const
14655 : {
14656 : // ------------ checking pointers of SgLambdaRefExp -------------------
14657 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14658 0 : int indexCounter = 0;
14659 0 : if ( p_functionDeclaration == childNode ) { return indexCounter; } indexCounter++;
14660 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14661 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14662 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14663 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14664 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14665 : return -1;
14666 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14667 : }
14668 :
14669 : /* #line 14670 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14670 :
14671 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14672 :
14673 : long
14674 0 : SgDictionaryExp::getChildIndex( SgNode* childNode ) const
14675 : {
14676 : // ------------ checking pointers of SgDictionaryExp -------------------
14677 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14678 0 : int indexCounter = 0;
14679 0 : for ( SgKeyDatumPairPtrList::const_iterator source_key_datum_pairs_iterator = p_key_datum_pairs.begin(); source_key_datum_pairs_iterator != p_key_datum_pairs.end(); ++source_key_datum_pairs_iterator)
14680 : {
14681 0 : if ( *source_key_datum_pairs_iterator == childNode ) { return indexCounter; } indexCounter++;
14682 : }
14683 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14684 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14685 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14686 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14687 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14688 : return -1;
14689 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14690 : }
14691 :
14692 : /* #line 14693 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14693 :
14694 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14695 :
14696 : long
14697 0 : SgKeyDatumPair::getChildIndex( SgNode* childNode ) const
14698 : {
14699 : // ------------ checking pointers of SgKeyDatumPair -------------------
14700 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14701 0 : int indexCounter = 0;
14702 0 : if ( p_key == childNode ) { return indexCounter; } indexCounter++;
14703 0 : if ( p_datum == childNode ) { return indexCounter; } indexCounter++;
14704 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14705 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14706 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14707 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14708 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14709 : return -1;
14710 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14711 : }
14712 :
14713 : /* #line 14714 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14714 :
14715 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14716 :
14717 : long
14718 0 : SgComprehension::getChildIndex( SgNode* childNode ) const
14719 : {
14720 : // ------------ checking pointers of SgComprehension -------------------
14721 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14722 0 : int indexCounter = 0;
14723 0 : if ( p_target == childNode ) { return indexCounter; } indexCounter++;
14724 0 : if ( p_iter == childNode ) { return indexCounter; } indexCounter++;
14725 0 : if ( p_filters == childNode ) { return indexCounter; } indexCounter++;
14726 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14727 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14728 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14729 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14730 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14731 : return -1;
14732 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14733 : }
14734 :
14735 : /* #line 14736 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14736 :
14737 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14738 :
14739 : long
14740 0 : SgListComprehension::getChildIndex( SgNode* childNode ) const
14741 : {
14742 : // ------------ checking pointers of SgListComprehension -------------------
14743 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14744 0 : int indexCounter = 0;
14745 0 : if ( p_element == childNode ) { return indexCounter; } indexCounter++;
14746 0 : if ( p_generators == childNode ) { return indexCounter; } indexCounter++;
14747 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14748 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14749 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14750 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14751 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14752 : return -1;
14753 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14754 : }
14755 :
14756 : /* #line 14757 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14757 :
14758 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14759 :
14760 : long
14761 0 : SgSetComprehension::getChildIndex( SgNode* childNode ) const
14762 : {
14763 : // ------------ checking pointers of SgSetComprehension -------------------
14764 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14765 0 : int indexCounter = 0;
14766 0 : if ( p_element == childNode ) { return indexCounter; } indexCounter++;
14767 0 : if ( p_generators == childNode ) { return indexCounter; } indexCounter++;
14768 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14769 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14770 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14771 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14772 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14773 : return -1;
14774 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14775 : }
14776 :
14777 : /* #line 14778 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14778 :
14779 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14780 :
14781 : long
14782 0 : SgDictionaryComprehension::getChildIndex( SgNode* childNode ) const
14783 : {
14784 : // ------------ checking pointers of SgDictionaryComprehension -------------------
14785 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14786 0 : int indexCounter = 0;
14787 0 : if ( p_element == childNode ) { return indexCounter; } indexCounter++;
14788 0 : if ( p_generators == childNode ) { return indexCounter; } indexCounter++;
14789 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14790 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14791 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14792 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14793 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14794 : return -1;
14795 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14796 : }
14797 :
14798 : /* #line 14799 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14799 :
14800 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14801 :
14802 : long
14803 0 : SgNaryOp::getChildIndex( SgNode* childNode ) const
14804 : {
14805 : // ------------ checking pointers of SgNaryOp -------------------
14806 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14807 0 : int indexCounter = 0;
14808 0 : for ( SgExpressionPtrList::const_iterator source_operands_iterator = p_operands.begin(); source_operands_iterator != p_operands.end(); ++source_operands_iterator)
14809 : {
14810 0 : if ( *source_operands_iterator == childNode ) { return indexCounter; } indexCounter++;
14811 : }
14812 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14813 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14814 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14815 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14816 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14817 : return -1;
14818 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14819 : }
14820 :
14821 : /* #line 14822 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14822 :
14823 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14824 :
14825 : long
14826 0 : SgNaryBooleanOp::getChildIndex( SgNode* childNode ) const
14827 : {
14828 : // ------------ checking pointers of SgNaryBooleanOp -------------------
14829 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14830 0 : int indexCounter = 0;
14831 0 : for ( SgExpressionPtrList::const_iterator source_operands_iterator = p_operands.begin(); source_operands_iterator != p_operands.end(); ++source_operands_iterator)
14832 : {
14833 0 : if ( *source_operands_iterator == childNode ) { return indexCounter; } indexCounter++;
14834 : }
14835 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14836 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14837 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14838 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14839 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14840 : return -1;
14841 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14842 : }
14843 :
14844 : /* #line 14845 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14845 :
14846 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14847 :
14848 : long
14849 0 : SgNaryComparisonOp::getChildIndex( SgNode* childNode ) const
14850 : {
14851 : // ------------ checking pointers of SgNaryComparisonOp -------------------
14852 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14853 0 : int indexCounter = 0;
14854 0 : for ( SgExpressionPtrList::const_iterator source_operands_iterator = p_operands.begin(); source_operands_iterator != p_operands.end(); ++source_operands_iterator)
14855 : {
14856 0 : if ( *source_operands_iterator == childNode ) { return indexCounter; } indexCounter++;
14857 : }
14858 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14859 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14860 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14861 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14862 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14863 : return -1;
14864 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14865 : }
14866 :
14867 : /* #line 14868 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14868 :
14869 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14870 :
14871 : long
14872 0 : SgStringConversion::getChildIndex( SgNode* childNode ) const
14873 : {
14874 : // ------------ checking pointers of SgStringConversion -------------------
14875 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14876 0 : int indexCounter = 0;
14877 0 : if ( p_expression == childNode ) { return indexCounter; } indexCounter++;
14878 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14879 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14880 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14881 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14882 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14883 : return -1;
14884 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14885 : }
14886 :
14887 : /* #line 14888 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14888 :
14889 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14890 :
14891 : long
14892 0 : SgYieldExpression::getChildIndex( SgNode* childNode ) const
14893 : {
14894 : // ------------ checking pointers of SgYieldExpression -------------------
14895 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14896 0 : int indexCounter = 0;
14897 0 : if ( p_value == childNode ) { return indexCounter; } indexCounter++;
14898 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14899 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14900 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14901 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14902 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14903 : return -1;
14904 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14905 : }
14906 :
14907 : /* #line 14908 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14908 :
14909 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14910 :
14911 : long
14912 0 : SgTemplateFunctionRefExp::getChildIndex( SgNode* childNode ) const
14913 : {
14914 : // ------------ checking pointers of SgTemplateFunctionRefExp -------------------
14915 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14916 0 : int indexCounter = 0;
14917 0 : if ( p_symbol_i == childNode ) { return indexCounter; } indexCounter++;
14918 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14919 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14920 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14921 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14922 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14923 : return -1;
14924 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14925 : }
14926 :
14927 : /* #line 14928 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14928 :
14929 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14930 :
14931 : long
14932 0 : SgTemplateMemberFunctionRefExp::getChildIndex( SgNode* childNode ) const
14933 : {
14934 : // ------------ checking pointers of SgTemplateMemberFunctionRefExp -------------------
14935 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14936 0 : int indexCounter = 0;
14937 0 : if ( p_symbol_i == childNode ) { return indexCounter; } indexCounter++;
14938 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14939 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14940 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14941 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14942 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14943 : return -1;
14944 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14945 : }
14946 :
14947 : /* #line 14948 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14948 :
14949 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14950 :
14951 : long
14952 0 : SgAlignOfOp::getChildIndex( SgNode* childNode ) const
14953 : {
14954 : // ------------ checking pointers of SgAlignOfOp -------------------
14955 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14956 0 : int indexCounter = 0;
14957 0 : if ( p_operand_expr == childNode ) { return indexCounter; } indexCounter++;
14958 0 : if ( p_operand_type == childNode ) { return indexCounter; } indexCounter++;
14959 0 : if ( p_expression_type == childNode ) { return indexCounter; } indexCounter++;
14960 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14961 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14962 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14963 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14964 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14965 : return -1;
14966 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14967 : }
14968 :
14969 : /* #line 14970 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14970 :
14971 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14972 :
14973 : long
14974 0 : SgRangeExp::getChildIndex( SgNode* childNode ) const
14975 : {
14976 : // ------------ checking pointers of SgRangeExp -------------------
14977 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
14978 0 : int indexCounter = 0;
14979 0 : if ( p_start == childNode ) { return indexCounter; } indexCounter++;
14980 0 : if ( p_end == childNode ) { return indexCounter; } indexCounter++;
14981 0 : if ( p_stride == childNode ) { return indexCounter; } indexCounter++;
14982 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
14983 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14984 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
14985 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
14986 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
14987 : return -1;
14988 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14989 : }
14990 :
14991 : /* #line 14992 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
14992 :
14993 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
14994 :
14995 : long
14996 0 : SgMagicColonExp::getChildIndex( SgNode* childNode ) const
14997 : {
14998 : // ------------ checking pointers of SgMagicColonExp -------------------
14999 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15000 0 : int indexCounter = 0;
15001 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
15002 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15003 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15004 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15005 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15006 : return -1;
15007 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15008 : }
15009 :
15010 : /* #line 15011 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15011 :
15012 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15013 :
15014 : long
15015 0 : SgTypeTraitBuiltinOperator::getChildIndex( SgNode* childNode ) const
15016 : {
15017 : // ------------ checking pointers of SgTypeTraitBuiltinOperator -------------------
15018 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15019 0 : int indexCounter = 0;
15020 0 : for ( SgNodePtrList::const_iterator source_args_iterator = p_args.begin(); source_args_iterator != p_args.end(); ++source_args_iterator)
15021 : {
15022 0 : if ( *source_args_iterator == childNode ) { return indexCounter; } indexCounter++;
15023 : }
15024 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
15025 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15026 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15027 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15028 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15029 : return -1;
15030 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15031 : }
15032 :
15033 : /* #line 15034 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15034 :
15035 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15036 :
15037 : long
15038 0 : SgCompoundLiteralExp::getChildIndex( SgNode* childNode ) const
15039 : {
15040 : // ------------ checking pointers of SgCompoundLiteralExp -------------------
15041 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15042 0 : int indexCounter = 0;
15043 0 : if ( p_symbol == childNode ) { return indexCounter; } indexCounter++;
15044 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
15045 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15046 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15047 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15048 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15049 : return -1;
15050 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15051 : }
15052 :
15053 : /* #line 15054 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15054 :
15055 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15056 :
15057 : long
15058 0 : SgTypeExpression::getChildIndex( SgNode* childNode ) const
15059 : {
15060 : // ------------ checking pointers of SgTypeExpression -------------------
15061 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15062 0 : int indexCounter = 0;
15063 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
15064 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
15065 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15066 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15067 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15068 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15069 : return -1;
15070 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15071 : }
15072 :
15073 : /* #line 15074 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15074 :
15075 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15076 :
15077 : long
15078 0 : SgClassExp::getChildIndex( SgNode* childNode ) const
15079 : {
15080 : // ------------ checking pointers of SgClassExp -------------------
15081 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15082 0 : int indexCounter = 0;
15083 0 : if ( p_class_symbol == childNode ) { return indexCounter; } indexCounter++;
15084 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
15085 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15086 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15087 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15088 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15089 : return -1;
15090 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15091 : }
15092 :
15093 : /* #line 15094 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15094 :
15095 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15096 :
15097 : long
15098 0 : SgFunctionParameterRefExp::getChildIndex( SgNode* childNode ) const
15099 : {
15100 : // ------------ checking pointers of SgFunctionParameterRefExp -------------------
15101 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15102 0 : int indexCounter = 0;
15103 0 : if ( p_parameter_expression == childNode ) { return indexCounter; } indexCounter++;
15104 0 : if ( p_parameter_type == childNode ) { return indexCounter; } indexCounter++;
15105 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
15106 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15107 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15108 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15109 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15110 : return -1;
15111 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15112 : }
15113 :
15114 : /* #line 15115 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15115 :
15116 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15117 :
15118 : long
15119 0 : SgLambdaExp::getChildIndex( SgNode* childNode ) const
15120 : {
15121 : // ------------ checking pointers of SgLambdaExp -------------------
15122 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15123 0 : int indexCounter = 0;
15124 0 : if ( p_lambda_capture_list == childNode ) { return indexCounter; } indexCounter++;
15125 0 : if ( p_lambda_closure_class == childNode ) { return indexCounter; } indexCounter++;
15126 0 : if ( p_lambda_function == childNode ) { return indexCounter; } indexCounter++;
15127 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
15128 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15129 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15130 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15131 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15132 : return -1;
15133 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15134 : }
15135 :
15136 : /* #line 15137 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15137 :
15138 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15139 :
15140 : long
15141 0 : SgNoexceptOp::getChildIndex( SgNode* childNode ) const
15142 : {
15143 : // ------------ checking pointers of SgNoexceptOp -------------------
15144 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15145 0 : int indexCounter = 0;
15146 0 : if ( p_operand_expr == childNode ) { return indexCounter; } indexCounter++;
15147 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
15148 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15149 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15150 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15151 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15152 : return -1;
15153 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15154 : }
15155 :
15156 : /* #line 15157 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15157 :
15158 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15159 :
15160 : long
15161 0 : SgNonrealRefExp::getChildIndex( SgNode* childNode ) const
15162 : {
15163 : // ------------ checking pointers of SgNonrealRefExp -------------------
15164 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15165 0 : int indexCounter = 0;
15166 0 : if ( p_symbol == childNode ) { return indexCounter; } indexCounter++;
15167 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
15168 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15169 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15170 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15171 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15172 : return -1;
15173 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15174 : }
15175 :
15176 : /* #line 15177 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15177 :
15178 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15179 :
15180 : long
15181 0 : SgFoldExpression::getChildIndex( SgNode* childNode ) const
15182 : {
15183 : // ------------ checking pointers of SgFoldExpression -------------------
15184 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15185 0 : int indexCounter = 0;
15186 0 : if ( p_operands == childNode ) { return indexCounter; } indexCounter++;
15187 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
15188 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15189 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15190 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15191 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15192 : return -1;
15193 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15194 : }
15195 :
15196 : /* #line 15197 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15197 :
15198 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15199 :
15200 : long
15201 0 : SgAwaitExpression::getChildIndex( SgNode* childNode ) const
15202 : {
15203 : // ------------ checking pointers of SgAwaitExpression -------------------
15204 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15205 0 : int indexCounter = 0;
15206 0 : if ( p_value == childNode ) { return indexCounter; } indexCounter++;
15207 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
15208 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15209 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15210 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15211 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15212 : return -1;
15213 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15214 : }
15215 :
15216 : /* #line 15217 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15217 :
15218 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15219 :
15220 : long
15221 0 : SgChooseExpression::getChildIndex( SgNode* childNode ) const
15222 : {
15223 : // ------------ checking pointers of SgChooseExpression -------------------
15224 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15225 0 : int indexCounter = 0;
15226 0 : if ( p_value == childNode ) { return indexCounter; } indexCounter++;
15227 0 : if ( p_operatorPosition == childNode ) { return indexCounter; } indexCounter++;
15228 0 : if ( p_startOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15229 0 : if ( p_endOfConstruct == childNode ) { return indexCounter; } indexCounter++;
15230 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15231 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15232 : return -1;
15233 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15234 : }
15235 :
15236 : /* #line 15237 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15237 :
15238 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15239 :
15240 : long
15241 0 : SgSymbol::getChildIndex( SgNode* childNode ) const
15242 : {
15243 : // ------------ checking pointers of SgSymbol -------------------
15244 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15245 0 : int indexCounter = 0;
15246 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15247 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15248 : return -1;
15249 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15250 : }
15251 :
15252 : /* #line 15253 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15253 :
15254 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15255 :
15256 : long
15257 0 : SgVariableSymbol::getChildIndex( SgNode* childNode ) const
15258 : {
15259 : // ------------ checking pointers of SgVariableSymbol -------------------
15260 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15261 0 : int indexCounter = 0;
15262 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15263 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15264 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15265 : return -1;
15266 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15267 : }
15268 :
15269 : /* #line 15270 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15270 :
15271 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15272 :
15273 : long
15274 0 : SgTemplateVariableSymbol::getChildIndex( SgNode* childNode ) const
15275 : {
15276 : // ------------ checking pointers of SgTemplateVariableSymbol -------------------
15277 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15278 0 : int indexCounter = 0;
15279 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15280 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15281 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15282 : return -1;
15283 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15284 : }
15285 :
15286 : /* #line 15287 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15287 :
15288 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15289 :
15290 : long
15291 0 : SgNonrealSymbol::getChildIndex( SgNode* childNode ) const
15292 : {
15293 : // ------------ checking pointers of SgNonrealSymbol -------------------
15294 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15295 0 : int indexCounter = 0;
15296 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15297 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15298 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15299 : return -1;
15300 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15301 : }
15302 :
15303 : /* #line 15304 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15304 :
15305 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15306 :
15307 : long
15308 0 : SgFunctionSymbol::getChildIndex( SgNode* childNode ) const
15309 : {
15310 : // ------------ checking pointers of SgFunctionSymbol -------------------
15311 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15312 0 : int indexCounter = 0;
15313 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15314 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15315 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15316 : return -1;
15317 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15318 : }
15319 :
15320 : /* #line 15321 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15321 :
15322 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15323 :
15324 : long
15325 0 : SgMemberFunctionSymbol::getChildIndex( SgNode* childNode ) const
15326 : {
15327 : // ------------ checking pointers of SgMemberFunctionSymbol -------------------
15328 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15329 0 : int indexCounter = 0;
15330 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15331 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15332 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15333 : return -1;
15334 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15335 : }
15336 :
15337 : /* #line 15338 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15338 :
15339 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15340 :
15341 : long
15342 0 : SgTemplateMemberFunctionSymbol::getChildIndex( SgNode* childNode ) const
15343 : {
15344 : // ------------ checking pointers of SgTemplateMemberFunctionSymbol -------------------
15345 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15346 0 : int indexCounter = 0;
15347 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15348 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15349 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15350 : return -1;
15351 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15352 : }
15353 :
15354 : /* #line 15355 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15355 :
15356 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15357 :
15358 : long
15359 0 : SgTemplateFunctionSymbol::getChildIndex( SgNode* childNode ) const
15360 : {
15361 : // ------------ checking pointers of SgTemplateFunctionSymbol -------------------
15362 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15363 0 : int indexCounter = 0;
15364 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15365 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15366 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15367 : return -1;
15368 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15369 : }
15370 :
15371 : /* #line 15372 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15372 :
15373 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15374 :
15375 : long
15376 0 : SgRenameSymbol::getChildIndex( SgNode* childNode ) const
15377 : {
15378 : // ------------ checking pointers of SgRenameSymbol -------------------
15379 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15380 0 : int indexCounter = 0;
15381 0 : if ( p_original_symbol == childNode ) { return indexCounter; } indexCounter++;
15382 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15383 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15384 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15385 : return -1;
15386 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15387 : }
15388 :
15389 : /* #line 15390 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15390 :
15391 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15392 :
15393 : long
15394 0 : SgFunctionTypeSymbol::getChildIndex( SgNode* childNode ) const
15395 : {
15396 : // ------------ checking pointers of SgFunctionTypeSymbol -------------------
15397 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15398 0 : int indexCounter = 0;
15399 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
15400 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15401 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15402 : return -1;
15403 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15404 : }
15405 :
15406 : /* #line 15407 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15407 :
15408 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15409 :
15410 : long
15411 0 : SgClassSymbol::getChildIndex( SgNode* childNode ) const
15412 : {
15413 : // ------------ checking pointers of SgClassSymbol -------------------
15414 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15415 0 : int indexCounter = 0;
15416 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15417 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15418 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15419 : return -1;
15420 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15421 : }
15422 :
15423 : /* #line 15424 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15424 :
15425 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15426 :
15427 : long
15428 0 : SgTemplateClassSymbol::getChildIndex( SgNode* childNode ) const
15429 : {
15430 : // ------------ checking pointers of SgTemplateClassSymbol -------------------
15431 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15432 0 : int indexCounter = 0;
15433 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15434 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15435 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15436 : return -1;
15437 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15438 : }
15439 :
15440 : /* #line 15441 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15441 :
15442 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15443 :
15444 : long
15445 0 : SgTemplateSymbol::getChildIndex( SgNode* childNode ) const
15446 : {
15447 : // ------------ checking pointers of SgTemplateSymbol -------------------
15448 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15449 0 : int indexCounter = 0;
15450 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15451 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15452 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15453 : return -1;
15454 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15455 : }
15456 :
15457 : /* #line 15458 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15458 :
15459 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15460 :
15461 : long
15462 0 : SgEnumSymbol::getChildIndex( SgNode* childNode ) const
15463 : {
15464 : // ------------ checking pointers of SgEnumSymbol -------------------
15465 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15466 0 : int indexCounter = 0;
15467 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15468 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15469 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15470 : return -1;
15471 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15472 : }
15473 :
15474 : /* #line 15475 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15475 :
15476 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15477 :
15478 : long
15479 0 : SgEnumFieldSymbol::getChildIndex( SgNode* childNode ) const
15480 : {
15481 : // ------------ checking pointers of SgEnumFieldSymbol -------------------
15482 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15483 0 : int indexCounter = 0;
15484 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15485 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15486 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15487 : return -1;
15488 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15489 : }
15490 :
15491 : /* #line 15492 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15492 :
15493 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15494 :
15495 : long
15496 0 : SgTypedefSymbol::getChildIndex( SgNode* childNode ) const
15497 : {
15498 : // ------------ checking pointers of SgTypedefSymbol -------------------
15499 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15500 0 : int indexCounter = 0;
15501 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15502 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15503 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15504 : return -1;
15505 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15506 : }
15507 :
15508 : /* #line 15509 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15509 :
15510 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15511 :
15512 : long
15513 0 : SgTemplateTypedefSymbol::getChildIndex( SgNode* childNode ) const
15514 : {
15515 : // ------------ checking pointers of SgTemplateTypedefSymbol -------------------
15516 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15517 0 : int indexCounter = 0;
15518 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15519 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15520 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15521 : return -1;
15522 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15523 : }
15524 :
15525 : /* #line 15526 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15526 :
15527 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15528 :
15529 : long
15530 0 : SgLabelSymbol::getChildIndex( SgNode* childNode ) const
15531 : {
15532 : // ------------ checking pointers of SgLabelSymbol -------------------
15533 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15534 0 : int indexCounter = 0;
15535 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15536 0 : if ( p_fortran_statement == childNode ) { return indexCounter; } indexCounter++;
15537 0 : if ( p_fortran_alternate_return_parameter == childNode ) { return indexCounter; } indexCounter++;
15538 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15539 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15540 : return -1;
15541 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15542 : }
15543 :
15544 : /* #line 15545 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15545 :
15546 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15547 :
15548 : long
15549 0 : SgDefaultSymbol::getChildIndex( SgNode* childNode ) const
15550 : {
15551 : // ------------ checking pointers of SgDefaultSymbol -------------------
15552 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15553 0 : int indexCounter = 0;
15554 0 : if ( p_type == childNode ) { return indexCounter; } indexCounter++;
15555 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15556 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15557 : return -1;
15558 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15559 : }
15560 :
15561 : /* #line 15562 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15562 :
15563 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15564 :
15565 : long
15566 0 : SgNamespaceSymbol::getChildIndex( SgNode* childNode ) const
15567 : {
15568 : // ------------ checking pointers of SgNamespaceSymbol -------------------
15569 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15570 0 : int indexCounter = 0;
15571 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15572 0 : if ( p_aliasDeclaration == childNode ) { return indexCounter; } indexCounter++;
15573 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15574 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15575 : return -1;
15576 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15577 : }
15578 :
15579 : /* #line 15580 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15580 :
15581 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15582 :
15583 : long
15584 0 : SgIntrinsicSymbol::getChildIndex( SgNode* childNode ) const
15585 : {
15586 : // ------------ checking pointers of SgIntrinsicSymbol -------------------
15587 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15588 0 : int indexCounter = 0;
15589 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15590 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15591 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15592 : return -1;
15593 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15594 : }
15595 :
15596 : /* #line 15597 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15597 :
15598 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15599 :
15600 : long
15601 0 : SgModuleSymbol::getChildIndex( SgNode* childNode ) const
15602 : {
15603 : // ------------ checking pointers of SgModuleSymbol -------------------
15604 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15605 0 : int indexCounter = 0;
15606 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15607 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15608 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15609 : return -1;
15610 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15611 : }
15612 :
15613 : /* #line 15614 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15614 :
15615 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15616 :
15617 : long
15618 0 : SgInterfaceSymbol::getChildIndex( SgNode* childNode ) const
15619 : {
15620 : // ------------ checking pointers of SgInterfaceSymbol -------------------
15621 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15622 0 : int indexCounter = 0;
15623 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15624 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15625 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15626 : return -1;
15627 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15628 : }
15629 :
15630 : /* #line 15631 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15631 :
15632 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15633 :
15634 : long
15635 0 : SgCommonSymbol::getChildIndex( SgNode* childNode ) const
15636 : {
15637 : // ------------ checking pointers of SgCommonSymbol -------------------
15638 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15639 0 : int indexCounter = 0;
15640 0 : if ( p_declaration == childNode ) { return indexCounter; } indexCounter++;
15641 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15642 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15643 : return -1;
15644 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15645 : }
15646 :
15647 : /* #line 15648 "../../../src/frontend/SageIII//Cxx_GrammarGetChildIndex.C" */
15648 :
15649 : /* #line 1 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15650 :
15651 : long
15652 0 : SgAliasSymbol::getChildIndex( SgNode* childNode ) const
15653 : {
15654 : // ------------ checking pointers of SgAliasSymbol -------------------
15655 0 : ROSE_ASSERT ( p_freepointer == AST_FileIO::IS_VALID_POINTER() );
15656 0 : int indexCounter = 0;
15657 0 : if ( p_alias == childNode ) { return indexCounter; } indexCounter++;
15658 0 : for ( SgNodePtrList::const_iterator source_causal_nodes_iterator = p_causal_nodes.begin(); source_causal_nodes_iterator != p_causal_nodes.end(); ++source_causal_nodes_iterator)
15659 : {
15660 0 : if ( *source_causal_nodes_iterator == childNode ) { return indexCounter; } indexCounter++;
15661 : }
15662 0 : if ( p_parent == childNode ) { return indexCounter; } indexCounter++;
15663 : // Child not found, return -1 (default value for returnValue) as index position to signal this.
15664 : return -1;
15665 : /* #line 8 "/home/yyan7/compiler/rexompiler/src/ROSETTA/Grammar/grammarGetChildIndex.macro" */
15666 : }
15667 :
15668 :
|