File: tree_cst_cst.hpp

package info (click to toggle)
foundry 0.0.20130809-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 632 kB
  • ctags: 2,340
  • sloc: cpp: 6,376; yacc: 366; makefile: 192; lex: 184
file content (1559 lines) | stat: -rw-r--r-- 75,551 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
#ifndef tree_cst_cst_hpp_
#define tree_cst_cst_hpp_ 1

#include <string>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive_ptr.hpp>
#include <list>
namespace foundry {
namespace tree {
namespace cst {
struct node;
typedef boost::intrusive_ptr<node> node_ptr;
typedef node *node_weak_ptr;
struct node_const_visitor;
struct declarations;
typedef boost::intrusive_ptr<declarations> declarations_ptr;
typedef declarations *declarations_weak_ptr;
struct declarations_1;
typedef boost::intrusive_ptr<declarations_1> declarations_1_ptr;
typedef declarations_1 *declarations_1_weak_ptr;
struct declarations_2;
typedef boost::intrusive_ptr<declarations_2> declarations_2_ptr;
typedef declarations_2 *declarations_2_weak_ptr;
struct declaration;
typedef boost::intrusive_ptr<declaration> declaration_ptr;
typedef declaration *declaration_weak_ptr;
struct declaration_1;
typedef boost::intrusive_ptr<declaration_1> declaration_1_ptr;
typedef declaration_1 *declaration_1_weak_ptr;
struct declaration_2;
typedef boost::intrusive_ptr<declaration_2> declaration_2_ptr;
typedef declaration_2 *declaration_2_weak_ptr;
struct namespace_member_declaration;
typedef boost::intrusive_ptr<namespace_member_declaration> namespace_member_declaration_ptr;
typedef namespace_member_declaration *namespace_member_declaration_weak_ptr;
struct namespace_member_declaration_1;
typedef boost::intrusive_ptr<namespace_member_declaration_1> namespace_member_declaration_1_ptr;
typedef namespace_member_declaration_1 *namespace_member_declaration_1_weak_ptr;
struct namespace_member_declaration_2;
typedef boost::intrusive_ptr<namespace_member_declaration_2> namespace_member_declaration_2_ptr;
typedef namespace_member_declaration_2 *namespace_member_declaration_2_weak_ptr;
struct namespace_member_declaration_3;
typedef boost::intrusive_ptr<namespace_member_declaration_3> namespace_member_declaration_3_ptr;
typedef namespace_member_declaration_3 *namespace_member_declaration_3_weak_ptr;
struct group_member_declarations;
typedef boost::intrusive_ptr<group_member_declarations> group_member_declarations_ptr;
typedef group_member_declarations *group_member_declarations_weak_ptr;
struct group_member_declarations_1;
typedef boost::intrusive_ptr<group_member_declarations_1> group_member_declarations_1_ptr;
typedef group_member_declarations_1 *group_member_declarations_1_weak_ptr;
struct group_member_declarations_2;
typedef boost::intrusive_ptr<group_member_declarations_2> group_member_declarations_2_ptr;
typedef group_member_declarations_2 *group_member_declarations_2_weak_ptr;
struct group_member_declaration;
typedef boost::intrusive_ptr<group_member_declaration> group_member_declaration_ptr;
typedef group_member_declaration *group_member_declaration_weak_ptr;
struct group_member_declaration_1;
typedef boost::intrusive_ptr<group_member_declaration_1> group_member_declaration_1_ptr;
typedef group_member_declaration_1 *group_member_declaration_1_weak_ptr;
struct group_member_declaration_2;
typedef boost::intrusive_ptr<group_member_declaration_2> group_member_declaration_2_ptr;
typedef group_member_declaration_2 *group_member_declaration_2_weak_ptr;
struct group_member_declaration_3;
typedef boost::intrusive_ptr<group_member_declaration_3> group_member_declaration_3_ptr;
typedef group_member_declaration_3 *group_member_declaration_3_weak_ptr;
struct node_declaration;
typedef boost::intrusive_ptr<node_declaration> node_declaration_ptr;
typedef node_declaration *node_declaration_weak_ptr;
struct node_declaration_1;
typedef boost::intrusive_ptr<node_declaration_1> node_declaration_1_ptr;
typedef node_declaration_1 *node_declaration_1_weak_ptr;
struct node_declaration_2;
typedef boost::intrusive_ptr<node_declaration_2> node_declaration_2_ptr;
typedef node_declaration_2 *node_declaration_2_weak_ptr;
struct node_declaration_3;
typedef boost::intrusive_ptr<node_declaration_3> node_declaration_3_ptr;
typedef node_declaration_3 *node_declaration_3_weak_ptr;
struct visitor_declaration;
typedef boost::intrusive_ptr<visitor_declaration> visitor_declaration_ptr;
typedef visitor_declaration *visitor_declaration_weak_ptr;
struct visitor_declaration_1;
typedef boost::intrusive_ptr<visitor_declaration_1> visitor_declaration_1_ptr;
typedef visitor_declaration_1 *visitor_declaration_1_weak_ptr;
struct visitor_declaration_2;
typedef boost::intrusive_ptr<visitor_declaration_2> visitor_declaration_2_ptr;
typedef visitor_declaration_2 *visitor_declaration_2_weak_ptr;
struct visitor_declaration_3;
typedef boost::intrusive_ptr<visitor_declaration_3> visitor_declaration_3_ptr;
typedef visitor_declaration_3 *visitor_declaration_3_weak_ptr;
struct visitor_declaration_4;
typedef boost::intrusive_ptr<visitor_declaration_4> visitor_declaration_4_ptr;
typedef visitor_declaration_4 *visitor_declaration_4_weak_ptr;
struct visitor_declaration_5;
typedef boost::intrusive_ptr<visitor_declaration_5> visitor_declaration_5_ptr;
typedef visitor_declaration_5 *visitor_declaration_5_weak_ptr;
struct visitor_declaration_6;
typedef boost::intrusive_ptr<visitor_declaration_6> visitor_declaration_6_ptr;
typedef visitor_declaration_6 *visitor_declaration_6_weak_ptr;
struct member_declarations;
typedef boost::intrusive_ptr<member_declarations> member_declarations_ptr;
typedef member_declarations *member_declarations_weak_ptr;
struct member_declarations_1;
typedef boost::intrusive_ptr<member_declarations_1> member_declarations_1_ptr;
typedef member_declarations_1 *member_declarations_1_weak_ptr;
struct member_declarations_2;
typedef boost::intrusive_ptr<member_declarations_2> member_declarations_2_ptr;
typedef member_declarations_2 *member_declarations_2_weak_ptr;
struct member_declarations_3;
typedef boost::intrusive_ptr<member_declarations_3> member_declarations_3_ptr;
typedef member_declarations_3 *member_declarations_3_weak_ptr;
struct member_declaration;
typedef boost::intrusive_ptr<member_declaration> member_declaration_ptr;
typedef member_declaration *member_declaration_weak_ptr;
struct member_declaration_1;
typedef boost::intrusive_ptr<member_declaration_1> member_declaration_1_ptr;
typedef member_declaration_1 *member_declaration_1_weak_ptr;
struct member_declaration_2;
typedef boost::intrusive_ptr<member_declaration_2> member_declaration_2_ptr;
typedef member_declaration_2 *member_declaration_2_weak_ptr;
struct member_declaration_3;
typedef boost::intrusive_ptr<member_declaration_3> member_declaration_3_ptr;
typedef member_declaration_3 *member_declaration_3_weak_ptr;
struct member_directive;
typedef boost::intrusive_ptr<member_directive> member_directive_ptr;
typedef member_directive *member_directive_weak_ptr;
struct member_directive_1;
typedef boost::intrusive_ptr<member_directive_1> member_directive_1_ptr;
typedef member_directive_1 *member_directive_1_weak_ptr;
struct member_directive_2;
typedef boost::intrusive_ptr<member_directive_2> member_directive_2_ptr;
typedef member_directive_2 *member_directive_2_weak_ptr;
struct member_directive_3;
typedef boost::intrusive_ptr<member_directive_3> member_directive_3_ptr;
typedef member_directive_3 *member_directive_3_weak_ptr;
struct member_directive_4;
typedef boost::intrusive_ptr<member_directive_4> member_directive_4_ptr;
typedef member_directive_4 *member_directive_4_weak_ptr;
struct member_directive_5;
typedef boost::intrusive_ptr<member_directive_5> member_directive_5_ptr;
typedef member_directive_5 *member_directive_5_weak_ptr;
struct member_directive_6;
typedef boost::intrusive_ptr<member_directive_6> member_directive_6_ptr;
typedef member_directive_6 *member_directive_6_weak_ptr;
struct member_directive_7;
typedef boost::intrusive_ptr<member_directive_7> member_directive_7_ptr;
typedef member_directive_7 *member_directive_7_weak_ptr;
struct parameter_list;
typedef boost::intrusive_ptr<parameter_list> parameter_list_ptr;
typedef parameter_list *parameter_list_weak_ptr;
struct parameter_list_1;
typedef boost::intrusive_ptr<parameter_list_1> parameter_list_1_ptr;
typedef parameter_list_1 *parameter_list_1_weak_ptr;
struct parameter_list_2;
typedef boost::intrusive_ptr<parameter_list_2> parameter_list_2_ptr;
typedef parameter_list_2 *parameter_list_2_weak_ptr;
struct parameter_list_3;
typedef boost::intrusive_ptr<parameter_list_3> parameter_list_3_ptr;
typedef parameter_list_3 *parameter_list_3_weak_ptr;
struct parameters;
typedef boost::intrusive_ptr<parameters> parameters_ptr;
typedef parameters *parameters_weak_ptr;
struct parameters_1;
typedef boost::intrusive_ptr<parameters_1> parameters_1_ptr;
typedef parameters_1 *parameters_1_weak_ptr;
struct parameters_2;
typedef boost::intrusive_ptr<parameters_2> parameters_2_ptr;
typedef parameters_2 *parameters_2_weak_ptr;
struct parameter;
typedef boost::intrusive_ptr<parameter> parameter_ptr;
typedef parameter *parameter_weak_ptr;
struct parameter_1;
typedef boost::intrusive_ptr<parameter_1> parameter_1_ptr;
typedef parameter_1 *parameter_1_weak_ptr;
struct parameter_2;
typedef boost::intrusive_ptr<parameter_2> parameter_2_ptr;
typedef parameter_2 *parameter_2_weak_ptr;
struct void_or_nothing;
typedef boost::intrusive_ptr<void_or_nothing> void_or_nothing_ptr;
typedef void_or_nothing *void_or_nothing_weak_ptr;
struct void_or_nothing_1;
typedef boost::intrusive_ptr<void_or_nothing_1> void_or_nothing_1_ptr;
typedef void_or_nothing_1 *void_or_nothing_1_weak_ptr;
struct void_or_nothing_2;
typedef boost::intrusive_ptr<void_or_nothing_2> void_or_nothing_2_ptr;
typedef void_or_nothing_2 *void_or_nothing_2_weak_ptr;
struct declarator;
typedef boost::intrusive_ptr<declarator> declarator_ptr;
typedef declarator *declarator_weak_ptr;
struct declarator_1;
typedef boost::intrusive_ptr<declarator_1> declarator_1_ptr;
typedef declarator_1 *declarator_1_weak_ptr;
struct declarator_2;
typedef boost::intrusive_ptr<declarator_2> declarator_2_ptr;
typedef declarator_2 *declarator_2_weak_ptr;
struct declarator_3;
typedef boost::intrusive_ptr<declarator_3> declarator_3_ptr;
typedef declarator_3 *declarator_3_weak_ptr;
struct declarator_4;
typedef boost::intrusive_ptr<declarator_4> declarator_4_ptr;
typedef declarator_4 *declarator_4_weak_ptr;
struct reference;
typedef boost::intrusive_ptr<reference> reference_ptr;
typedef reference *reference_weak_ptr;
struct reference_1;
typedef boost::intrusive_ptr<reference_1> reference_1_ptr;
typedef reference_1 *reference_1_weak_ptr;
struct reference_2;
typedef boost::intrusive_ptr<reference_2> reference_2_ptr;
typedef reference_2 *reference_2_weak_ptr;
struct pointer;
typedef boost::intrusive_ptr<pointer> pointer_ptr;
typedef pointer *pointer_weak_ptr;
struct pointer_1;
typedef boost::intrusive_ptr<pointer_1> pointer_1_ptr;
typedef pointer_1 *pointer_1_weak_ptr;
struct pointer_2;
typedef boost::intrusive_ptr<pointer_2> pointer_2_ptr;
typedef pointer_2 *pointer_2_weak_ptr;
struct type_qualifiers;
typedef boost::intrusive_ptr<type_qualifiers> type_qualifiers_ptr;
typedef type_qualifiers *type_qualifiers_weak_ptr;
struct type_qualifiers_1;
typedef boost::intrusive_ptr<type_qualifiers_1> type_qualifiers_1_ptr;
typedef type_qualifiers_1 *type_qualifiers_1_weak_ptr;
struct type_qualifiers_2;
typedef boost::intrusive_ptr<type_qualifiers_2> type_qualifiers_2_ptr;
typedef type_qualifiers_2 *type_qualifiers_2_weak_ptr;
struct type_qualifier;
typedef boost::intrusive_ptr<type_qualifier> type_qualifier_ptr;
typedef type_qualifier *type_qualifier_weak_ptr;
struct type_qualifier_1;
typedef boost::intrusive_ptr<type_qualifier_1> type_qualifier_1_ptr;
typedef type_qualifier_1 *type_qualifier_1_weak_ptr;
struct type_qualifier_2;
typedef boost::intrusive_ptr<type_qualifier_2> type_qualifier_2_ptr;
typedef type_qualifier_2 *type_qualifier_2_weak_ptr;
struct arrays;
typedef boost::intrusive_ptr<arrays> arrays_ptr;
typedef arrays *arrays_weak_ptr;
struct arrays_1;
typedef boost::intrusive_ptr<arrays_1> arrays_1_ptr;
typedef arrays_1 *arrays_1_weak_ptr;
struct arrays_2;
typedef boost::intrusive_ptr<arrays_2> arrays_2_ptr;
typedef arrays_2 *arrays_2_weak_ptr;
struct bounded_arrays;
typedef boost::intrusive_ptr<bounded_arrays> bounded_arrays_ptr;
typedef bounded_arrays *bounded_arrays_weak_ptr;
struct bounded_arrays_1;
typedef boost::intrusive_ptr<bounded_arrays_1> bounded_arrays_1_ptr;
typedef bounded_arrays_1 *bounded_arrays_1_weak_ptr;
struct bounded_arrays_2;
typedef boost::intrusive_ptr<bounded_arrays_2> bounded_arrays_2_ptr;
typedef bounded_arrays_2 *bounded_arrays_2_weak_ptr;
struct type;
typedef boost::intrusive_ptr<type> type_ptr;
typedef type *type_weak_ptr;
struct type_1;
typedef boost::intrusive_ptr<type_1> type_1_ptr;
typedef type_1 *type_1_weak_ptr;
struct type_2;
typedef boost::intrusive_ptr<type_2> type_2_ptr;
typedef type_2 *type_2_weak_ptr;
struct type_3;
typedef boost::intrusive_ptr<type_3> type_3_ptr;
typedef type_3 *type_3_weak_ptr;
struct type_4;
typedef boost::intrusive_ptr<type_4> type_4_ptr;
typedef type_4 *type_4_weak_ptr;
struct type_5;
typedef boost::intrusive_ptr<type_5> type_5_ptr;
typedef type_5 *type_5_weak_ptr;
struct template_argument_list;
typedef boost::intrusive_ptr<template_argument_list> template_argument_list_ptr;
typedef template_argument_list *template_argument_list_weak_ptr;
struct template_argument_list_1;
typedef boost::intrusive_ptr<template_argument_list_1> template_argument_list_1_ptr;
typedef template_argument_list_1 *template_argument_list_1_weak_ptr;
struct template_argument_list_2;
typedef boost::intrusive_ptr<template_argument_list_2> template_argument_list_2_ptr;
typedef template_argument_list_2 *template_argument_list_2_weak_ptr;
struct template_arguments;
typedef boost::intrusive_ptr<template_arguments> template_arguments_ptr;
typedef template_arguments *template_arguments_weak_ptr;
struct template_arguments_1;
typedef boost::intrusive_ptr<template_arguments_1> template_arguments_1_ptr;
typedef template_arguments_1 *template_arguments_1_weak_ptr;
struct template_arguments_2;
typedef boost::intrusive_ptr<template_arguments_2> template_arguments_2_ptr;
typedef template_arguments_2 *template_arguments_2_weak_ptr;
struct template_argument;
typedef boost::intrusive_ptr<template_argument> template_argument_ptr;
typedef template_argument *template_argument_weak_ptr;
struct template_argument_1;
typedef boost::intrusive_ptr<template_argument_1> template_argument_1_ptr;
typedef template_argument_1 *template_argument_1_weak_ptr;
struct template_argument_2;
typedef boost::intrusive_ptr<template_argument_2> template_argument_2_ptr;
typedef template_argument_2 *template_argument_2_weak_ptr;
struct template_argument_3;
typedef boost::intrusive_ptr<template_argument_3> template_argument_3_ptr;
typedef template_argument_3 *template_argument_3_weak_ptr;
struct template_argument_4;
typedef boost::intrusive_ptr<template_argument_4> template_argument_4_ptr;
typedef template_argument_4 *template_argument_4_weak_ptr;
struct scope;
typedef boost::intrusive_ptr<scope> scope_ptr;
typedef scope *scope_weak_ptr;
struct scope_1;
typedef boost::intrusive_ptr<scope_1> scope_1_ptr;
typedef scope_1 *scope_1_weak_ptr;
struct scope_2;
typedef boost::intrusive_ptr<scope_2> scope_2_ptr;
typedef scope_2 *scope_2_weak_ptr;
struct literal;
typedef boost::intrusive_ptr<literal> literal_ptr;
typedef literal *literal_weak_ptr;
struct literal_1;
typedef boost::intrusive_ptr<literal_1> literal_1_ptr;
typedef literal_1 *literal_1_weak_ptr;
struct literal_2;
typedef boost::intrusive_ptr<literal_2> literal_2_ptr;
typedef literal_2 *literal_2_weak_ptr;
struct boolean_literal;
typedef boost::intrusive_ptr<boolean_literal> boolean_literal_ptr;
typedef boolean_literal *boolean_literal_weak_ptr;
struct boolean_literal_1;
typedef boost::intrusive_ptr<boolean_literal_1> boolean_literal_1_ptr;
typedef boolean_literal_1 *boolean_literal_1_weak_ptr;
struct boolean_literal_2;
typedef boost::intrusive_ptr<boolean_literal_2> boolean_literal_2_ptr;
typedef boolean_literal_2 *boolean_literal_2_weak_ptr;
struct start;
typedef boost::intrusive_ptr<start> start_ptr;
typedef start *start_weak_ptr;
struct namespace_declaration;
typedef boost::intrusive_ptr<namespace_declaration> namespace_declaration_ptr;
typedef namespace_declaration *namespace_declaration_weak_ptr;
struct group_declaration;
typedef boost::intrusive_ptr<group_declaration> group_declaration_ptr;
typedef group_declaration *group_declaration_weak_ptr;
struct data_member_declaration;
typedef boost::intrusive_ptr<data_member_declaration> data_member_declaration_ptr;
typedef data_member_declaration *data_member_declaration_weak_ptr;
struct constructor_declaration;
typedef boost::intrusive_ptr<constructor_declaration> constructor_declaration_ptr;
typedef constructor_declaration *constructor_declaration_weak_ptr;
struct destructor_declaration;
typedef boost::intrusive_ptr<destructor_declaration> destructor_declaration_ptr;
typedef destructor_declaration *destructor_declaration_weak_ptr;
struct bounded_array;
typedef boost::intrusive_ptr<bounded_array> bounded_array_ptr;
typedef bounded_array *bounded_array_weak_ptr;
struct unbounded_array;
typedef boost::intrusive_ptr<unbounded_array> unbounded_array_ptr;
typedef unbounded_array *unbounded_array_weak_ptr;
struct template_name;
typedef boost::intrusive_ptr<template_name> template_name_ptr;
typedef template_name *template_name_weak_ptr;
struct scoped_name;
typedef boost::intrusive_ptr<scoped_name> scoped_name_ptr;
typedef scoped_name *scoped_name_weak_ptr;
struct integer_literal;
typedef boost::intrusive_ptr<integer_literal> integer_literal_ptr;
typedef integer_literal *integer_literal_weak_ptr;
}
}
}
namespace foundry {
namespace tree {
namespace cst {
struct node {
        node(void) throw() : refcount(0) { }
        virtual ~node(void) throw() { }
        virtual void apply(node_const_visitor &) const = 0;
        unsigned int refcount;
};
inline void intrusive_ptr_add_ref(node *n) { ++n->refcount; }
inline void intrusive_ptr_release(node *n) { if(!--n->refcount) delete n; }
class node_const_visitor
{
public:
        virtual ~node_const_visitor(void) throw() { }
        inline void descend(node const &n) { n.apply(*this); }
        template<typename T>
        inline void descend(boost::intrusive_ptr<T> const &p) { if(p) descend(*p); }
        virtual void visit(declarations_1 const &) = 0;
        inline void descend(declarations_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<declarations_1> const &p) { if(p) descend(*p); }
        virtual void visit(declarations_2 const &) = 0;
        inline void descend(declarations_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<declarations_2> const &p) { if(p) descend(*p); }
        virtual void visit(declaration_1 const &) = 0;
        inline void descend(declaration_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<declaration_1> const &p) { if(p) descend(*p); }
        virtual void visit(declaration_2 const &) = 0;
        inline void descend(declaration_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<declaration_2> const &p) { if(p) descend(*p); }
        virtual void visit(namespace_member_declaration_1 const &) = 0;
        inline void descend(namespace_member_declaration_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<namespace_member_declaration_1> const &p) { if(p) descend(*p); }
        virtual void visit(namespace_member_declaration_2 const &) = 0;
        inline void descend(namespace_member_declaration_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<namespace_member_declaration_2> const &p) { if(p) descend(*p); }
        virtual void visit(namespace_member_declaration_3 const &) = 0;
        inline void descend(namespace_member_declaration_3 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<namespace_member_declaration_3> const &p) { if(p) descend(*p); }
        virtual void visit(group_member_declarations_1 const &) = 0;
        inline void descend(group_member_declarations_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<group_member_declarations_1> const &p) { if(p) descend(*p); }
        virtual void visit(group_member_declarations_2 const &) = 0;
        inline void descend(group_member_declarations_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<group_member_declarations_2> const &p) { if(p) descend(*p); }
        virtual void visit(group_member_declaration_1 const &) = 0;
        inline void descend(group_member_declaration_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<group_member_declaration_1> const &p) { if(p) descend(*p); }
        virtual void visit(group_member_declaration_2 const &) = 0;
        inline void descend(group_member_declaration_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<group_member_declaration_2> const &p) { if(p) descend(*p); }
        virtual void visit(group_member_declaration_3 const &) = 0;
        inline void descend(group_member_declaration_3 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<group_member_declaration_3> const &p) { if(p) descend(*p); }
        virtual void visit(node_declaration_1 const &) = 0;
        inline void descend(node_declaration_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<node_declaration_1> const &p) { if(p) descend(*p); }
        virtual void visit(node_declaration_2 const &) = 0;
        inline void descend(node_declaration_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<node_declaration_2> const &p) { if(p) descend(*p); }
        virtual void visit(node_declaration_3 const &) = 0;
        inline void descend(node_declaration_3 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<node_declaration_3> const &p) { if(p) descend(*p); }
        virtual void visit(visitor_declaration_1 const &) = 0;
        inline void descend(visitor_declaration_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<visitor_declaration_1> const &p) { if(p) descend(*p); }
        virtual void visit(visitor_declaration_2 const &) = 0;
        inline void descend(visitor_declaration_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<visitor_declaration_2> const &p) { if(p) descend(*p); }
        virtual void visit(visitor_declaration_3 const &) = 0;
        inline void descend(visitor_declaration_3 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<visitor_declaration_3> const &p) { if(p) descend(*p); }
        virtual void visit(visitor_declaration_4 const &) = 0;
        inline void descend(visitor_declaration_4 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<visitor_declaration_4> const &p) { if(p) descend(*p); }
        virtual void visit(visitor_declaration_5 const &) = 0;
        inline void descend(visitor_declaration_5 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<visitor_declaration_5> const &p) { if(p) descend(*p); }
        virtual void visit(visitor_declaration_6 const &) = 0;
        inline void descend(visitor_declaration_6 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<visitor_declaration_6> const &p) { if(p) descend(*p); }
        virtual void visit(member_declarations_1 const &) = 0;
        inline void descend(member_declarations_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_declarations_1> const &p) { if(p) descend(*p); }
        virtual void visit(member_declarations_2 const &) = 0;
        inline void descend(member_declarations_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_declarations_2> const &p) { if(p) descend(*p); }
        virtual void visit(member_declarations_3 const &) = 0;
        inline void descend(member_declarations_3 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_declarations_3> const &p) { if(p) descend(*p); }
        virtual void visit(member_declaration_1 const &) = 0;
        inline void descend(member_declaration_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_declaration_1> const &p) { if(p) descend(*p); }
        virtual void visit(member_declaration_2 const &) = 0;
        inline void descend(member_declaration_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_declaration_2> const &p) { if(p) descend(*p); }
        virtual void visit(member_declaration_3 const &) = 0;
        inline void descend(member_declaration_3 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_declaration_3> const &p) { if(p) descend(*p); }
        virtual void visit(member_directive_1 const &) = 0;
        inline void descend(member_directive_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_directive_1> const &p) { if(p) descend(*p); }
        virtual void visit(member_directive_2 const &) = 0;
        inline void descend(member_directive_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_directive_2> const &p) { if(p) descend(*p); }
        virtual void visit(member_directive_3 const &) = 0;
        inline void descend(member_directive_3 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_directive_3> const &p) { if(p) descend(*p); }
        virtual void visit(member_directive_4 const &) = 0;
        inline void descend(member_directive_4 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_directive_4> const &p) { if(p) descend(*p); }
        virtual void visit(member_directive_5 const &) = 0;
        inline void descend(member_directive_5 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_directive_5> const &p) { if(p) descend(*p); }
        virtual void visit(member_directive_6 const &) = 0;
        inline void descend(member_directive_6 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_directive_6> const &p) { if(p) descend(*p); }
        virtual void visit(member_directive_7 const &) = 0;
        inline void descend(member_directive_7 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<member_directive_7> const &p) { if(p) descend(*p); }
        virtual void visit(parameter_list_1 const &) = 0;
        inline void descend(parameter_list_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<parameter_list_1> const &p) { if(p) descend(*p); }
        virtual void visit(parameter_list_2 const &) = 0;
        inline void descend(parameter_list_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<parameter_list_2> const &p) { if(p) descend(*p); }
        virtual void visit(parameter_list_3 const &) = 0;
        inline void descend(parameter_list_3 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<parameter_list_3> const &p) { if(p) descend(*p); }
        virtual void visit(parameters_1 const &) = 0;
        inline void descend(parameters_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<parameters_1> const &p) { if(p) descend(*p); }
        virtual void visit(parameters_2 const &) = 0;
        inline void descend(parameters_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<parameters_2> const &p) { if(p) descend(*p); }
        virtual void visit(parameter_1 const &) = 0;
        inline void descend(parameter_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<parameter_1> const &p) { if(p) descend(*p); }
        virtual void visit(parameter_2 const &) = 0;
        inline void descend(parameter_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<parameter_2> const &p) { if(p) descend(*p); }
        virtual void visit(void_or_nothing_1 const &) = 0;
        inline void descend(void_or_nothing_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<void_or_nothing_1> const &p) { if(p) descend(*p); }
        virtual void visit(void_or_nothing_2 const &) = 0;
        inline void descend(void_or_nothing_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<void_or_nothing_2> const &p) { if(p) descend(*p); }
        virtual void visit(declarator_1 const &) = 0;
        inline void descend(declarator_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<declarator_1> const &p) { if(p) descend(*p); }
        virtual void visit(declarator_2 const &) = 0;
        inline void descend(declarator_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<declarator_2> const &p) { if(p) descend(*p); }
        virtual void visit(declarator_3 const &) = 0;
        inline void descend(declarator_3 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<declarator_3> const &p) { if(p) descend(*p); }
        virtual void visit(declarator_4 const &) = 0;
        inline void descend(declarator_4 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<declarator_4> const &p) { if(p) descend(*p); }
        virtual void visit(reference_1 const &) = 0;
        inline void descend(reference_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<reference_1> const &p) { if(p) descend(*p); }
        virtual void visit(reference_2 const &) = 0;
        inline void descend(reference_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<reference_2> const &p) { if(p) descend(*p); }
        virtual void visit(pointer_1 const &) = 0;
        inline void descend(pointer_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<pointer_1> const &p) { if(p) descend(*p); }
        virtual void visit(pointer_2 const &) = 0;
        inline void descend(pointer_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<pointer_2> const &p) { if(p) descend(*p); }
        virtual void visit(type_qualifiers_1 const &) = 0;
        inline void descend(type_qualifiers_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<type_qualifiers_1> const &p) { if(p) descend(*p); }
        virtual void visit(type_qualifiers_2 const &) = 0;
        inline void descend(type_qualifiers_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<type_qualifiers_2> const &p) { if(p) descend(*p); }
        virtual void visit(type_qualifier_1 const &) = 0;
        inline void descend(type_qualifier_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<type_qualifier_1> const &p) { if(p) descend(*p); }
        virtual void visit(type_qualifier_2 const &) = 0;
        inline void descend(type_qualifier_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<type_qualifier_2> const &p) { if(p) descend(*p); }
        virtual void visit(arrays_1 const &) = 0;
        inline void descend(arrays_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<arrays_1> const &p) { if(p) descend(*p); }
        virtual void visit(arrays_2 const &) = 0;
        inline void descend(arrays_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<arrays_2> const &p) { if(p) descend(*p); }
        virtual void visit(bounded_arrays_1 const &) = 0;
        inline void descend(bounded_arrays_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<bounded_arrays_1> const &p) { if(p) descend(*p); }
        virtual void visit(bounded_arrays_2 const &) = 0;
        inline void descend(bounded_arrays_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<bounded_arrays_2> const &p) { if(p) descend(*p); }
        virtual void visit(type_1 const &) = 0;
        inline void descend(type_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<type_1> const &p) { if(p) descend(*p); }
        virtual void visit(type_2 const &) = 0;
        inline void descend(type_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<type_2> const &p) { if(p) descend(*p); }
        virtual void visit(type_3 const &) = 0;
        inline void descend(type_3 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<type_3> const &p) { if(p) descend(*p); }
        virtual void visit(type_4 const &) = 0;
        inline void descend(type_4 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<type_4> const &p) { if(p) descend(*p); }
        virtual void visit(type_5 const &) = 0;
        inline void descend(type_5 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<type_5> const &p) { if(p) descend(*p); }
        virtual void visit(template_argument_list_1 const &) = 0;
        inline void descend(template_argument_list_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<template_argument_list_1> const &p) { if(p) descend(*p); }
        virtual void visit(template_argument_list_2 const &) = 0;
        inline void descend(template_argument_list_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<template_argument_list_2> const &p) { if(p) descend(*p); }
        virtual void visit(template_arguments_1 const &) = 0;
        inline void descend(template_arguments_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<template_arguments_1> const &p) { if(p) descend(*p); }
        virtual void visit(template_arguments_2 const &) = 0;
        inline void descend(template_arguments_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<template_arguments_2> const &p) { if(p) descend(*p); }
        virtual void visit(template_argument_1 const &) = 0;
        inline void descend(template_argument_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<template_argument_1> const &p) { if(p) descend(*p); }
        virtual void visit(template_argument_2 const &) = 0;
        inline void descend(template_argument_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<template_argument_2> const &p) { if(p) descend(*p); }
        virtual void visit(template_argument_3 const &) = 0;
        inline void descend(template_argument_3 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<template_argument_3> const &p) { if(p) descend(*p); }
        virtual void visit(template_argument_4 const &) = 0;
        inline void descend(template_argument_4 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<template_argument_4> const &p) { if(p) descend(*p); }
        virtual void visit(scope_1 const &) = 0;
        inline void descend(scope_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<scope_1> const &p) { if(p) descend(*p); }
        virtual void visit(scope_2 const &) = 0;
        inline void descend(scope_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<scope_2> const &p) { if(p) descend(*p); }
        virtual void visit(literal_1 const &) = 0;
        inline void descend(literal_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<literal_1> const &p) { if(p) descend(*p); }
        virtual void visit(literal_2 const &) = 0;
        inline void descend(literal_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<literal_2> const &p) { if(p) descend(*p); }
        virtual void visit(boolean_literal_1 const &) = 0;
        inline void descend(boolean_literal_1 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<boolean_literal_1> const &p) { if(p) descend(*p); }
        virtual void visit(boolean_literal_2 const &) = 0;
        inline void descend(boolean_literal_2 const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<boolean_literal_2> const &p) { if(p) descend(*p); }
        virtual void visit(start const &) = 0;
        inline void descend(start const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<start> const &p) { if(p) descend(*p); }
        virtual void visit(namespace_declaration const &) = 0;
        inline void descend(namespace_declaration const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<namespace_declaration> const &p) { if(p) descend(*p); }
        virtual void visit(group_declaration const &) = 0;
        inline void descend(group_declaration const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<group_declaration> const &p) { if(p) descend(*p); }
        virtual void visit(data_member_declaration const &) = 0;
        inline void descend(data_member_declaration const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<data_member_declaration> const &p) { if(p) descend(*p); }
        virtual void visit(constructor_declaration const &) = 0;
        inline void descend(constructor_declaration const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<constructor_declaration> const &p) { if(p) descend(*p); }
        virtual void visit(destructor_declaration const &) = 0;
        inline void descend(destructor_declaration const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<destructor_declaration> const &p) { if(p) descend(*p); }
        virtual void visit(bounded_array const &) = 0;
        inline void descend(bounded_array const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<bounded_array> const &p) { if(p) descend(*p); }
        virtual void visit(unbounded_array const &) = 0;
        inline void descend(unbounded_array const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<unbounded_array> const &p) { if(p) descend(*p); }
        virtual void visit(template_name const &) = 0;
        inline void descend(template_name const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<template_name> const &p) { if(p) descend(*p); }
        virtual void visit(scoped_name const &) = 0;
        inline void descend(scoped_name const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<scoped_name> const &p) { if(p) descend(*p); }
        virtual void visit(integer_literal const &) = 0;
        inline void descend(integer_literal const &n) { visit(n); }
        inline void descend(boost::intrusive_ptr<integer_literal> const &p) { if(p) descend(*p); }
};
struct declarations : node {
        declarations(void) throw() { }
        virtual ~declarations(void) throw() { }
        using node::apply;
};
struct declarations_1 : declarations
{
        declarations_1() throw() { }
        virtual ~declarations_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct declarations_2 : declarations
{
        declarations_2(boost::intrusive_ptr< ::foundry::tree::cst::declarations>  _1, boost::intrusive_ptr< ::foundry::tree::cst::declaration>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~declarations_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::declarations>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::declaration>  _2;
};
struct declaration : node {
        declaration(void) throw() { }
        virtual ~declaration(void) throw() { }
        using node::apply;
};
struct declaration_1 : declaration
{
        declaration_1(boost::intrusive_ptr< ::foundry::tree::cst::namespace_declaration>  _1) throw() : 
                _1(_1) { }
        virtual ~declaration_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::namespace_declaration>  _1;
};
struct declaration_2 : declaration
{
        declaration_2(boost::intrusive_ptr< ::foundry::tree::cst::namespace_member_declaration>  _1) throw() : 
                _1(_1) { }
        virtual ~declaration_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::namespace_member_declaration>  _1;
};
struct namespace_member_declaration : node {
        namespace_member_declaration(void) throw() { }
        virtual ~namespace_member_declaration(void) throw() { }
        using node::apply;
};
struct namespace_member_declaration_1 : namespace_member_declaration
{
        namespace_member_declaration_1(boost::intrusive_ptr< ::foundry::tree::cst::group_declaration>  _1) throw() : 
                _1(_1) { }
        virtual ~namespace_member_declaration_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::group_declaration>  _1;
};
struct namespace_member_declaration_2 : namespace_member_declaration
{
        namespace_member_declaration_2(boost::intrusive_ptr< ::foundry::tree::cst::node_declaration>  _1) throw() : 
                _1(_1) { }
        virtual ~namespace_member_declaration_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::node_declaration>  _1;
};
struct namespace_member_declaration_3 : namespace_member_declaration
{
        namespace_member_declaration_3(boost::intrusive_ptr< ::foundry::tree::cst::visitor_declaration>  _1) throw() : 
                _1(_1) { }
        virtual ~namespace_member_declaration_3(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::visitor_declaration>  _1;
};
struct group_member_declarations : node {
        group_member_declarations(void) throw() { }
        virtual ~group_member_declarations(void) throw() { }
        using node::apply;
};
struct group_member_declarations_1 : group_member_declarations
{
        group_member_declarations_1() throw() { }
        virtual ~group_member_declarations_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct group_member_declarations_2 : group_member_declarations
{
        group_member_declarations_2(boost::intrusive_ptr< ::foundry::tree::cst::group_member_declarations>  _1, boost::intrusive_ptr< ::foundry::tree::cst::group_member_declaration>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~group_member_declarations_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::group_member_declarations>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::group_member_declaration>  _2;
};
struct group_member_declaration : node {
        group_member_declaration(void) throw() { }
        virtual ~group_member_declaration(void) throw() { }
        using node::apply;
};
struct group_member_declaration_1 : group_member_declaration
{
        group_member_declaration_1(boost::intrusive_ptr< ::foundry::tree::cst::group_declaration>  _1) throw() : 
                _1(_1) { }
        virtual ~group_member_declaration_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::group_declaration>  _1;
};
struct group_member_declaration_2 : group_member_declaration
{
        group_member_declaration_2(boost::intrusive_ptr< ::foundry::tree::cst::node_declaration>  _1) throw() : 
                _1(_1) { }
        virtual ~group_member_declaration_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::node_declaration>  _1;
};
struct group_member_declaration_3 : group_member_declaration
{
        group_member_declaration_3(boost::intrusive_ptr< ::foundry::tree::cst::visitor_declaration>  _1) throw() : 
                _1(_1) { }
        virtual ~group_member_declaration_3(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::visitor_declaration>  _1;
};
struct node_declaration : node {
        node_declaration(void) throw() { }
        virtual ~node_declaration(void) throw() { }
        using node::apply;
};
struct node_declaration_1 : node_declaration
{
        node_declaration_1(std::string _1, boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~node_declaration_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        std::string _1;
        boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _2;
};
struct node_declaration_2 : node_declaration
{
        node_declaration_2(boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _1) throw() : 
                _1(_1) { }
        virtual ~node_declaration_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _1;
};
struct node_declaration_3 : node_declaration
{
        node_declaration_3(boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _1) throw() : 
                _1(_1) { }
        virtual ~node_declaration_3(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _1;
};
struct visitor_declaration : node {
        visitor_declaration(void) throw() { }
        virtual ~visitor_declaration(void) throw() { }
        using node::apply;
};
struct visitor_declaration_1 : visitor_declaration
{
        visitor_declaration_1(std::string _1, boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~visitor_declaration_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        std::string _1;
        boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _2;
};
struct visitor_declaration_2 : visitor_declaration
{
        visitor_declaration_2(std::string _1, boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~visitor_declaration_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        std::string _1;
        boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _2;
};
struct visitor_declaration_3 : visitor_declaration
{
        visitor_declaration_3(std::string _1) throw() : 
                _1(_1) { }
        virtual ~visitor_declaration_3(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        std::string _1;
};
struct visitor_declaration_4 : visitor_declaration
{
        visitor_declaration_4(std::string _1) throw() : 
                _1(_1) { }
        virtual ~visitor_declaration_4(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        std::string _1;
};
struct visitor_declaration_5 : visitor_declaration
{
        visitor_declaration_5() throw() { }
        virtual ~visitor_declaration_5(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct visitor_declaration_6 : visitor_declaration
{
        visitor_declaration_6() throw() { }
        virtual ~visitor_declaration_6(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct member_declarations : node {
        member_declarations(void) throw() { }
        virtual ~member_declarations(void) throw() { }
        using node::apply;
};
struct member_declarations_1 : member_declarations
{
        member_declarations_1() throw() { }
        virtual ~member_declarations_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct member_declarations_2 : member_declarations
{
        member_declarations_2(boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _1, boost::intrusive_ptr< ::foundry::tree::cst::member_declaration>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~member_declarations_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::member_declaration>  _2;
};
struct member_declarations_3 : member_declarations
{
        member_declarations_3(boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _1, boost::intrusive_ptr< ::foundry::tree::cst::member_directive>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~member_declarations_3(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::member_declarations>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::member_directive>  _2;
};
struct member_declaration : node {
        member_declaration(void) throw() { }
        virtual ~member_declaration(void) throw() { }
        using node::apply;
};
struct member_declaration_1 : member_declaration
{
        member_declaration_1(boost::intrusive_ptr< ::foundry::tree::cst::data_member_declaration>  _1) throw() : 
                _1(_1) { }
        virtual ~member_declaration_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::data_member_declaration>  _1;
};
struct member_declaration_2 : member_declaration
{
        member_declaration_2(boost::intrusive_ptr< ::foundry::tree::cst::constructor_declaration>  _1) throw() : 
                _1(_1) { }
        virtual ~member_declaration_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::constructor_declaration>  _1;
};
struct member_declaration_3 : member_declaration
{
        member_declaration_3(boost::intrusive_ptr< ::foundry::tree::cst::destructor_declaration>  _1) throw() : 
                _1(_1) { }
        virtual ~member_declaration_3(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::destructor_declaration>  _1;
};
struct member_directive : node {
        member_directive(void) throw() { }
        virtual ~member_directive(void) throw() { }
        using node::apply;
};
struct member_directive_1 : member_directive
{
        member_directive_1() throw() { }
        virtual ~member_directive_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct member_directive_2 : member_directive
{
        member_directive_2() throw() { }
        virtual ~member_directive_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct member_directive_3 : member_directive
{
        member_directive_3() throw() { }
        virtual ~member_directive_3(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct member_directive_4 : member_directive
{
        member_directive_4() throw() { }
        virtual ~member_directive_4(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct member_directive_5 : member_directive
{
        member_directive_5(boost::intrusive_ptr< ::foundry::tree::cst::type>  _1, boost::intrusive_ptr< ::foundry::tree::cst::reference>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~member_directive_5(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::type>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::reference>  _2;
};
struct member_directive_6 : member_directive
{
        member_directive_6(std::string _1) throw() : 
                _1(_1) { }
        virtual ~member_directive_6(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        std::string _1;
};
struct member_directive_7 : member_directive
{
        member_directive_7(std::string _1) throw() : 
                _1(_1) { }
        virtual ~member_directive_7(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        std::string _1;
};
struct parameter_list : node {
        parameter_list(void) throw() { }
        virtual ~parameter_list(void) throw() { }
        using node::apply;
};
struct parameter_list_1 : parameter_list
{
        parameter_list_1() throw() { }
        virtual ~parameter_list_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct parameter_list_2 : parameter_list
{
        parameter_list_2() throw() { }
        virtual ~parameter_list_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct parameter_list_3 : parameter_list
{
        parameter_list_3(boost::intrusive_ptr< ::foundry::tree::cst::parameters>  _1, boost::intrusive_ptr< ::foundry::tree::cst::parameter>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~parameter_list_3(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::parameters>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::parameter>  _2;
};
struct parameters : node {
        parameters(void) throw() { }
        virtual ~parameters(void) throw() { }
        using node::apply;
};
struct parameters_1 : parameters
{
        parameters_1() throw() { }
        virtual ~parameters_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct parameters_2 : parameters
{
        parameters_2(boost::intrusive_ptr< ::foundry::tree::cst::parameters>  _1, boost::intrusive_ptr< ::foundry::tree::cst::parameter>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~parameters_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::parameters>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::parameter>  _2;
};
struct parameter : node {
        parameter(void) throw() { }
        virtual ~parameter(void) throw() { }
        using node::apply;
};
struct parameter_1 : parameter
{
        parameter_1(boost::intrusive_ptr< ::foundry::tree::cst::type>  _1, boost::intrusive_ptr< ::foundry::tree::cst::reference>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~parameter_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::type>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::reference>  _2;
};
struct parameter_2 : parameter
{
        parameter_2(boost::intrusive_ptr< ::foundry::tree::cst::type>  _1, boost::intrusive_ptr< ::foundry::tree::cst::declarator>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~parameter_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::type>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::declarator>  _2;
};
struct void_or_nothing : node {
        void_or_nothing(void) throw() { }
        virtual ~void_or_nothing(void) throw() { }
        using node::apply;
};
struct void_or_nothing_1 : void_or_nothing
{
        void_or_nothing_1() throw() { }
        virtual ~void_or_nothing_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct void_or_nothing_2 : void_or_nothing
{
        void_or_nothing_2() throw() { }
        virtual ~void_or_nothing_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct declarator : node {
        declarator(void) throw() { }
        virtual ~declarator(void) throw() { }
        using node::apply;
};
struct declarator_1 : declarator
{
        declarator_1(boost::intrusive_ptr< ::foundry::tree::cst::reference>  _1, std::string _2, boost::intrusive_ptr< ::foundry::tree::cst::arrays>  _3) throw() : 
                _1(_1), _2(_2), _3(_3) { }
        virtual ~declarator_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::reference>  _1;
        std::string _2;
        boost::intrusive_ptr< ::foundry::tree::cst::arrays>  _3;
};
struct declarator_2 : declarator
{
        declarator_2(boost::intrusive_ptr< ::foundry::tree::cst::reference>  _1, boost::intrusive_ptr< ::foundry::tree::cst::arrays>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~declarator_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::reference>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::arrays>  _2;
};
struct declarator_3 : declarator
{
        declarator_3(boost::intrusive_ptr< ::foundry::tree::cst::reference>  _1, boost::intrusive_ptr< ::foundry::tree::cst::arrays>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~declarator_3(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::reference>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::arrays>  _2;
};
struct declarator_4 : declarator
{
        declarator_4(boost::intrusive_ptr< ::foundry::tree::cst::reference>  _1, boost::intrusive_ptr< ::foundry::tree::cst::arrays>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~declarator_4(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::reference>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::arrays>  _2;
};
struct reference : node {
        reference(void) throw() { }
        virtual ~reference(void) throw() { }
        using node::apply;
};
struct reference_1 : reference
{
        reference_1(boost::intrusive_ptr< ::foundry::tree::cst::pointer>  _1) throw() : 
                _1(_1) { }
        virtual ~reference_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::pointer>  _1;
};
struct reference_2 : reference
{
        reference_2(boost::intrusive_ptr< ::foundry::tree::cst::pointer>  _1) throw() : 
                _1(_1) { }
        virtual ~reference_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::pointer>  _1;
};
struct pointer : node {
        pointer(void) throw() { }
        virtual ~pointer(void) throw() { }
        using node::apply;
};
struct pointer_1 : pointer
{
        pointer_1() throw() { }
        virtual ~pointer_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct pointer_2 : pointer
{
        pointer_2(boost::intrusive_ptr< ::foundry::tree::cst::pointer>  _1, boost::intrusive_ptr< ::foundry::tree::cst::type_qualifiers>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~pointer_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::pointer>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::type_qualifiers>  _2;
};
struct type_qualifiers : node {
        type_qualifiers(void) throw() { }
        virtual ~type_qualifiers(void) throw() { }
        using node::apply;
};
struct type_qualifiers_1 : type_qualifiers
{
        type_qualifiers_1() throw() { }
        virtual ~type_qualifiers_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct type_qualifiers_2 : type_qualifiers
{
        type_qualifiers_2(boost::intrusive_ptr< ::foundry::tree::cst::type_qualifiers>  _1, boost::intrusive_ptr< ::foundry::tree::cst::type_qualifier>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~type_qualifiers_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::type_qualifiers>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::type_qualifier>  _2;
};
struct type_qualifier : node {
        type_qualifier(void) throw() { }
        virtual ~type_qualifier(void) throw() { }
        using node::apply;
};
struct type_qualifier_1 : type_qualifier
{
        type_qualifier_1() throw() { }
        virtual ~type_qualifier_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct type_qualifier_2 : type_qualifier
{
        type_qualifier_2() throw() { }
        virtual ~type_qualifier_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct arrays : node {
        arrays(void) throw() { }
        virtual ~arrays(void) throw() { }
        using node::apply;
};
struct arrays_1 : arrays
{
        arrays_1(boost::intrusive_ptr< ::foundry::tree::cst::bounded_arrays>  _1) throw() : 
                _1(_1) { }
        virtual ~arrays_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::bounded_arrays>  _1;
};
struct arrays_2 : arrays
{
        arrays_2(boost::intrusive_ptr< ::foundry::tree::cst::bounded_arrays>  _1, boost::intrusive_ptr< ::foundry::tree::cst::unbounded_array>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~arrays_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::bounded_arrays>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::unbounded_array>  _2;
};
struct bounded_arrays : node {
        bounded_arrays(void) throw() { }
        virtual ~bounded_arrays(void) throw() { }
        using node::apply;
};
struct bounded_arrays_1 : bounded_arrays
{
        bounded_arrays_1() throw() { }
        virtual ~bounded_arrays_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct bounded_arrays_2 : bounded_arrays
{
        bounded_arrays_2(boost::intrusive_ptr< ::foundry::tree::cst::bounded_arrays>  _1, boost::intrusive_ptr< ::foundry::tree::cst::bounded_array>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~bounded_arrays_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::bounded_arrays>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::bounded_array>  _2;
};
struct type : node {
        type(void) throw() { }
        virtual ~type(void) throw() { }
        using node::apply;
};
struct type_1 : type
{
        type_1(boost::intrusive_ptr< ::foundry::tree::cst::template_name>  _1) throw() : 
                _1(_1) { }
        virtual ~type_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::template_name>  _1;
};
struct type_2 : type
{
        type_2(boost::intrusive_ptr< ::foundry::tree::cst::scoped_name>  _1) throw() : 
                _1(_1) { }
        virtual ~type_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::scoped_name>  _1;
};
struct type_3 : type
{
        type_3() throw() { }
        virtual ~type_3(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct type_4 : type
{
        type_4() throw() { }
        virtual ~type_4(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct type_5 : type
{
        type_5() throw() { }
        virtual ~type_5(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct template_argument_list : node {
        template_argument_list(void) throw() { }
        virtual ~template_argument_list(void) throw() { }
        using node::apply;
};
struct template_argument_list_1 : template_argument_list
{
        template_argument_list_1() throw() { }
        virtual ~template_argument_list_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct template_argument_list_2 : template_argument_list
{
        template_argument_list_2(boost::intrusive_ptr< ::foundry::tree::cst::template_arguments>  _1) throw() : 
                _1(_1) { }
        virtual ~template_argument_list_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::template_arguments>  _1;
};
struct template_arguments : node {
        template_arguments(void) throw() { }
        virtual ~template_arguments(void) throw() { }
        using node::apply;
};
struct template_arguments_1 : template_arguments
{
        template_arguments_1(boost::intrusive_ptr< ::foundry::tree::cst::template_argument>  _1) throw() : 
                _1(_1) { }
        virtual ~template_arguments_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::template_argument>  _1;
};
struct template_arguments_2 : template_arguments
{
        template_arguments_2(boost::intrusive_ptr< ::foundry::tree::cst::template_arguments>  _1, boost::intrusive_ptr< ::foundry::tree::cst::template_argument>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~template_arguments_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::template_arguments>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::template_argument>  _2;
};
struct template_argument : node {
        template_argument(void) throw() { }
        virtual ~template_argument(void) throw() { }
        using node::apply;
};
struct template_argument_1 : template_argument
{
        template_argument_1(boost::intrusive_ptr< ::foundry::tree::cst::type>  _1) throw() : 
                _1(_1) { }
        virtual ~template_argument_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::type>  _1;
};
struct template_argument_2 : template_argument
{
        template_argument_2() throw() { }
        virtual ~template_argument_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct template_argument_3 : template_argument
{
        template_argument_3() throw() { }
        virtual ~template_argument_3(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct template_argument_4 : template_argument
{
        template_argument_4(boost::intrusive_ptr< ::foundry::tree::cst::literal>  _1) throw() : 
                _1(_1) { }
        virtual ~template_argument_4(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::literal>  _1;
};
struct scope : node {
        scope(void) throw() { }
        virtual ~scope(void) throw() { }
        using node::apply;
};
struct scope_1 : scope
{
        scope_1() throw() { }
        virtual ~scope_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct scope_2 : scope
{
        scope_2(boost::intrusive_ptr< ::foundry::tree::cst::scope>  _1, std::string _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~scope_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::scope>  _1;
        std::string _2;
};
struct literal : node {
        literal(void) throw() { }
        virtual ~literal(void) throw() { }
        using node::apply;
};
struct literal_1 : literal
{
        literal_1(boost::intrusive_ptr< ::foundry::tree::cst::boolean_literal>  _1) throw() : 
                _1(_1) { }
        virtual ~literal_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::boolean_literal>  _1;
};
struct literal_2 : literal
{
        literal_2(boost::intrusive_ptr< ::foundry::tree::cst::integer_literal>  _1) throw() : 
                _1(_1) { }
        virtual ~literal_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::integer_literal>  _1;
};
struct boolean_literal : node {
        boolean_literal(void) throw() { }
        virtual ~boolean_literal(void) throw() { }
        using node::apply;
};
struct boolean_literal_1 : boolean_literal
{
        boolean_literal_1() throw() { }
        virtual ~boolean_literal_1(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct boolean_literal_2 : boolean_literal
{
        boolean_literal_2() throw() { }
        virtual ~boolean_literal_2(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct start : node
{
        start(boost::intrusive_ptr< ::foundry::tree::cst::declarations>  _1) throw() : 
                _1(_1) { }
        virtual ~start(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::declarations>  _1;
};
struct namespace_declaration : node
{
        namespace_declaration(std::string _1, boost::intrusive_ptr< ::foundry::tree::cst::declarations>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~namespace_declaration(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        std::string _1;
        boost::intrusive_ptr< ::foundry::tree::cst::declarations>  _2;
};
struct group_declaration : node
{
        group_declaration(std::string _1, boost::intrusive_ptr< ::foundry::tree::cst::group_member_declarations>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~group_declaration(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        std::string _1;
        boost::intrusive_ptr< ::foundry::tree::cst::group_member_declarations>  _2;
};
struct data_member_declaration : node
{
        data_member_declaration(boost::intrusive_ptr< ::foundry::tree::cst::type>  _1, boost::intrusive_ptr< ::foundry::tree::cst::type_qualifiers>  _2, boost::intrusive_ptr< ::foundry::tree::cst::declarator>  _3) throw() : 
                _1(_1), _2(_2), _3(_3) { }
        virtual ~data_member_declaration(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::type>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::type_qualifiers>  _2;
        boost::intrusive_ptr< ::foundry::tree::cst::declarator>  _3;
};
struct constructor_declaration : node
{
        constructor_declaration(boost::intrusive_ptr< ::foundry::tree::cst::scoped_name>  _1, boost::intrusive_ptr< ::foundry::tree::cst::parameter_list>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~constructor_declaration(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::scoped_name>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::parameter_list>  _2;
};
struct destructor_declaration : node
{
        destructor_declaration(std::string _1, boost::intrusive_ptr< ::foundry::tree::cst::void_or_nothing>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~destructor_declaration(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        std::string _1;
        boost::intrusive_ptr< ::foundry::tree::cst::void_or_nothing>  _2;
};
struct bounded_array : node
{
        bounded_array(boost::intrusive_ptr< ::foundry::tree::cst::integer_literal>  _1) throw() : 
                _1(_1) { }
        virtual ~bounded_array(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::integer_literal>  _1;
};
struct unbounded_array : node
{
        unbounded_array() throw() { }
        virtual ~unbounded_array(void) throw() { }
        virtual void apply(node_const_visitor &) const;
};
struct template_name : node
{
        template_name(boost::intrusive_ptr< ::foundry::tree::cst::scoped_name>  _1, boost::intrusive_ptr< ::foundry::tree::cst::template_argument_list>  _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~template_name(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::scoped_name>  _1;
        boost::intrusive_ptr< ::foundry::tree::cst::template_argument_list>  _2;
};
struct scoped_name : node
{
        scoped_name(boost::intrusive_ptr< ::foundry::tree::cst::scope>  _1, std::string _2) throw() : 
                _1(_1), _2(_2) { }
        virtual ~scoped_name(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        boost::intrusive_ptr< ::foundry::tree::cst::scope>  _1;
        std::string _2;
};
struct integer_literal : node
{
        integer_literal(std::string _1) throw() : 
                _1(_1) { }
        virtual ~integer_literal(void) throw() { }
        virtual void apply(node_const_visitor &) const;
        std::string _1;
};
}
}
}
#endif