summaryrefslogtreecommitdiff
path: root/src/vhdl/nodes_meta.adb
blob: cbe86fbc3fed876263fdf405372214e2de801b0a (plain)
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
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
--  Meta description of nodes.
--  Copyright (C) 2014 Tristan Gingold
--
--  GHDL is free software; you can redistribute it and/or modify it under
--  the terms of the GNU General Public License as published by the Free
--  Software Foundation; either version 2, or (at your option) any later
--  version.
--
--  GHDL is distributed in the hope that it will be useful, but WITHOUT ANY
--  WARRANTY; without even the implied warranty of MERCHANTABILITY or
--  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
--  for more details.
--
--  You should have received a copy of the GNU General Public License
--  along with GHDL; see the file COPYING.  If not, write to the Free
--  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
--  02111-1307, USA.

package body Nodes_Meta is
   Fields_Type : constant array (Fields_Enum) of Types_Enum :=
     (
      Field_First_Design_Unit => Type_Iir,
      Field_Last_Design_Unit => Type_Iir,
      Field_Library_Declaration => Type_Iir,
      Field_File_Checksum => Type_File_Checksum_Id,
      Field_Analysis_Time_Stamp => Type_Time_Stamp_Id,
      Field_Library => Type_Iir,
      Field_File_Dependence_List => Type_Iir_List,
      Field_Design_File_Filename => Type_Name_Id,
      Field_Design_File_Directory => Type_Name_Id,
      Field_Design_File => Type_Iir,
      Field_Design_File_Chain => Type_Iir,
      Field_Library_Directory => Type_Name_Id,
      Field_Date => Type_Date_Type,
      Field_Context_Items => Type_Iir,
      Field_Dependence_List => Type_Iir_List,
      Field_Analysis_Checks_List => Type_Iir_List,
      Field_Date_State => Type_Date_State_Type,
      Field_Guarded_Target_State => Type_Tri_State_Type,
      Field_Library_Unit => Type_Iir,
      Field_Hash_Chain => Type_Iir,
      Field_Design_Unit_Source_Pos => Type_Source_Ptr,
      Field_Design_Unit_Source_Line => Type_Int32,
      Field_Design_Unit_Source_Col => Type_Int32,
      Field_Value => Type_Iir_Int64,
      Field_Enum_Pos => Type_Iir_Int32,
      Field_Physical_Literal => Type_Iir,
      Field_Physical_Unit_Value => Type_Iir,
      Field_Fp_Value => Type_Iir_Fp64,
      Field_Simple_Aggregate_List => Type_Iir_List,
      Field_String8_Id => Type_String8_Id,
      Field_String_Length => Type_Int32,
      Field_Bit_String_Base => Type_Base_Type,
      Field_Has_Signed => Type_Boolean,
      Field_Has_Sign => Type_Boolean,
      Field_Has_Length => Type_Boolean,
      Field_Literal_Origin => Type_Iir,
      Field_Range_Origin => Type_Iir,
      Field_Literal_Subtype => Type_Iir,
      Field_Entity_Class => Type_Token_Type,
      Field_Entity_Name_List => Type_Iir_List,
      Field_Attribute_Designator => Type_Iir,
      Field_Attribute_Specification_Chain => Type_Iir,
      Field_Attribute_Specification => Type_Iir,
      Field_Signal_List => Type_Iir_List,
      Field_Designated_Entity => Type_Iir,
      Field_Formal => Type_Iir,
      Field_Actual => Type_Iir,
      Field_In_Conversion => Type_Iir,
      Field_Out_Conversion => Type_Iir,
      Field_Whole_Association_Flag => Type_Boolean,
      Field_Collapse_Signal_Flag => Type_Boolean,
      Field_Artificial_Flag => Type_Boolean,
      Field_Open_Flag => Type_Boolean,
      Field_After_Drivers_Flag => Type_Boolean,
      Field_We_Value => Type_Iir,
      Field_Time => Type_Iir,
      Field_Associated_Expr => Type_Iir,
      Field_Associated_Chain => Type_Iir,
      Field_Choice_Name => Type_Iir,
      Field_Choice_Expression => Type_Iir,
      Field_Choice_Range => Type_Iir,
      Field_Same_Alternative_Flag => Type_Boolean,
      Field_Architecture => Type_Iir,
      Field_Block_Specification => Type_Iir,
      Field_Prev_Block_Configuration => Type_Iir,
      Field_Configuration_Item_Chain => Type_Iir,
      Field_Attribute_Value_Chain => Type_Iir,
      Field_Spec_Chain => Type_Iir,
      Field_Attribute_Value_Spec_Chain => Type_Iir,
      Field_Entity_Name => Type_Iir,
      Field_Package => Type_Iir,
      Field_Package_Body => Type_Iir,
      Field_Need_Body => Type_Boolean,
      Field_Block_Configuration => Type_Iir,
      Field_Concurrent_Statement_Chain => Type_Iir,
      Field_Chain => Type_Iir,
      Field_Port_Chain => Type_Iir,
      Field_Generic_Chain => Type_Iir,
      Field_Type => Type_Iir,
      Field_Subtype_Indication => Type_Iir,
      Field_Discrete_Range => Type_Iir,
      Field_Type_Definition => Type_Iir,
      Field_Subtype_Definition => Type_Iir,
      Field_Nature => Type_Iir,
      Field_Mode => Type_Iir_Mode,
      Field_Guarded_Signal_Flag => Type_Boolean,
      Field_Signal_Kind => Type_Iir_Signal_Kind,
      Field_Base_Name => Type_Iir,
      Field_Interface_Declaration_Chain => Type_Iir,
      Field_Subprogram_Specification => Type_Iir,
      Field_Sequential_Statement_Chain => Type_Iir,
      Field_Subprogram_Body => Type_Iir,
      Field_Overload_Number => Type_Iir_Int32,
      Field_Subprogram_Depth => Type_Iir_Int32,
      Field_Subprogram_Hash => Type_Iir_Int32,
      Field_Impure_Depth => Type_Iir_Int32,
      Field_Return_Type => Type_Iir,
      Field_Implicit_Definition => Type_Iir_Predefined_Functions,
      Field_Type_Reference => Type_Iir,
      Field_Default_Value => Type_Iir,
      Field_Deferred_Declaration => Type_Iir,
      Field_Deferred_Declaration_Flag => Type_Boolean,
      Field_Shared_Flag => Type_Boolean,
      Field_Design_Unit => Type_Iir,
      Field_Block_Statement => Type_Iir,
      Field_Signal_Driver => Type_Iir,
      Field_Declaration_Chain => Type_Iir,
      Field_File_Logical_Name => Type_Iir,
      Field_File_Open_Kind => Type_Iir,
      Field_Element_Position => Type_Iir_Index32,
      Field_Element_Declaration => Type_Iir,
      Field_Selected_Element => Type_Iir,
      Field_Use_Clause_Chain => Type_Iir,
      Field_Context_Reference_Chain => Type_Iir,
      Field_Selected_Name => Type_Iir,
      Field_Type_Declarator => Type_Iir,
      Field_Enumeration_Literal_List => Type_Iir_List,
      Field_Entity_Class_Entry_Chain => Type_Iir,
      Field_Group_Constituent_List => Type_Iir_List,
      Field_Unit_Chain => Type_Iir,
      Field_Primary_Unit => Type_Iir,
      Field_Identifier => Type_Name_Id,
      Field_Label => Type_Name_Id,
      Field_Visible_Flag => Type_Boolean,
      Field_Range_Constraint => Type_Iir,
      Field_Direction => Type_Iir_Direction,
      Field_Left_Limit => Type_Iir,
      Field_Right_Limit => Type_Iir,
      Field_Base_Type => Type_Iir,
      Field_Resolution_Indication => Type_Iir,
      Field_Record_Element_Resolution_Chain => Type_Iir,
      Field_Tolerance => Type_Iir,
      Field_Plus_Terminal => Type_Iir,
      Field_Minus_Terminal => Type_Iir,
      Field_Simultaneous_Left => Type_Iir,
      Field_Simultaneous_Right => Type_Iir,
      Field_Text_File_Flag => Type_Boolean,
      Field_Only_Characters_Flag => Type_Boolean,
      Field_Type_Staticness => Type_Iir_Staticness,
      Field_Constraint_State => Type_Iir_Constraint,
      Field_Index_Subtype_List => Type_Iir_List,
      Field_Index_Subtype_Definition_List => Type_Iir_List,
      Field_Element_Subtype_Indication => Type_Iir,
      Field_Element_Subtype => Type_Iir,
      Field_Index_Constraint_List => Type_Iir_List,
      Field_Array_Element_Constraint => Type_Iir,
      Field_Elements_Declaration_List => Type_Iir_List,
      Field_Designated_Type => Type_Iir,
      Field_Designated_Subtype_Indication => Type_Iir,
      Field_Index_List => Type_Iir_List,
      Field_Reference => Type_Iir,
      Field_Nature_Declarator => Type_Iir,
      Field_Across_Type => Type_Iir,
      Field_Through_Type => Type_Iir,
      Field_Target => Type_Iir,
      Field_Waveform_Chain => Type_Iir,
      Field_Guard => Type_Iir,
      Field_Delay_Mechanism => Type_Iir_Delay_Mechanism,
      Field_Reject_Time_Expression => Type_Iir,
      Field_Sensitivity_List => Type_Iir_List,
      Field_Process_Origin => Type_Iir,
      Field_Condition_Clause => Type_Iir,
      Field_Timeout_Clause => Type_Iir,
      Field_Postponed_Flag => Type_Boolean,
      Field_Callees_List => Type_Iir_List,
      Field_Passive_Flag => Type_Boolean,
      Field_Resolution_Function_Flag => Type_Boolean,
      Field_Wait_State => Type_Tri_State_Type,
      Field_All_Sensitized_State => Type_Iir_All_Sensitized,
      Field_Seen_Flag => Type_Boolean,
      Field_Pure_Flag => Type_Boolean,
      Field_Foreign_Flag => Type_Boolean,
      Field_Resolved_Flag => Type_Boolean,
      Field_Signal_Type_Flag => Type_Boolean,
      Field_Has_Signal_Flag => Type_Boolean,
      Field_Purity_State => Type_Iir_Pure_State,
      Field_Elab_Flag => Type_Boolean,
      Field_Index_Constraint_Flag => Type_Boolean,
      Field_Assertion_Condition => Type_Iir,
      Field_Report_Expression => Type_Iir,
      Field_Severity_Expression => Type_Iir,
      Field_Instantiated_Unit => Type_Iir,
      Field_Generic_Map_Aspect_Chain => Type_Iir,
      Field_Port_Map_Aspect_Chain => Type_Iir,
      Field_Configuration_Name => Type_Iir,
      Field_Component_Configuration => Type_Iir,
      Field_Configuration_Specification => Type_Iir,
      Field_Default_Binding_Indication => Type_Iir,
      Field_Default_Configuration_Declaration => Type_Iir,
      Field_Expression => Type_Iir,
      Field_Allocator_Designated_Type => Type_Iir,
      Field_Selected_Waveform_Chain => Type_Iir,
      Field_Conditional_Waveform_Chain => Type_Iir,
      Field_Guard_Expression => Type_Iir,
      Field_Guard_Decl => Type_Iir,
      Field_Guard_Sensitivity_List => Type_Iir_List,
      Field_Block_Block_Configuration => Type_Iir,
      Field_Package_Header => Type_Iir,
      Field_Block_Header => Type_Iir,
      Field_Uninstantiated_Package_Name => Type_Iir,
      Field_Generate_Block_Configuration => Type_Iir,
      Field_Generate_Statement_Body => Type_Iir,
      Field_Alternative_Label => Type_Name_Id,
      Field_Generate_Else_Clause => Type_Iir,
      Field_Condition => Type_Iir,
      Field_Else_Clause => Type_Iir,
      Field_Parameter_Specification => Type_Iir,
      Field_Parent => Type_Iir,
      Field_Loop_Label => Type_Iir,
      Field_Component_Name => Type_Iir,
      Field_Instantiation_List => Type_Iir_List,
      Field_Entity_Aspect => Type_Iir,
      Field_Default_Entity_Aspect => Type_Iir,
      Field_Default_Generic_Map_Aspect_Chain => Type_Iir,
      Field_Default_Port_Map_Aspect_Chain => Type_Iir,
      Field_Binding_Indication => Type_Iir,
      Field_Named_Entity => Type_Iir,
      Field_Alias_Declaration => Type_Iir,
      Field_Expr_Staticness => Type_Iir_Staticness,
      Field_Has_Implicit_Conversion => Type_Boolean,
      Field_Error_Origin => Type_Iir,
      Field_Operand => Type_Iir,
      Field_Left => Type_Iir,
      Field_Right => Type_Iir,
      Field_Unit_Name => Type_Iir,
      Field_Name => Type_Iir,
      Field_Group_Template_Name => Type_Iir,
      Field_Name_Staticness => Type_Iir_Staticness,
      Field_Prefix => Type_Iir,
      Field_Signature_Prefix => Type_Iir,
      Field_External_Pathname => Type_Iir,
      Field_Pathname_Suffix => Type_Iir,
      Field_Pathname_Expression => Type_Iir,
      Field_Slice_Subtype => Type_Iir,
      Field_Suffix => Type_Iir,
      Field_Index_Subtype => Type_Iir,
      Field_Parameter => Type_Iir,
      Field_Actual_Type => Type_Iir,
      Field_Associated_Interface => Type_Iir,
      Field_Association_Chain => Type_Iir,
      Field_Individual_Association_Chain => Type_Iir,
      Field_Aggregate_Info => Type_Iir,
      Field_Sub_Aggregate_Info => Type_Iir,
      Field_Aggr_Dynamic_Flag => Type_Boolean,
      Field_Aggr_Min_Length => Type_Iir_Int32,
      Field_Aggr_Low_Limit => Type_Iir,
      Field_Aggr_High_Limit => Type_Iir,
      Field_Aggr_Others_Flag => Type_Boolean,
      Field_Aggr_Named_Flag => Type_Boolean,
      Field_Value_Staticness => Type_Iir_Staticness,
      Field_Association_Choices_Chain => Type_Iir,
      Field_Case_Statement_Alternative_Chain => Type_Iir,
      Field_Choice_Staticness => Type_Iir_Staticness,
      Field_Procedure_Call => Type_Iir,
      Field_Implementation => Type_Iir,
      Field_Parameter_Association_Chain => Type_Iir,
      Field_Method_Object => Type_Iir,
      Field_Subtype_Type_Mark => Type_Iir,
      Field_Type_Conversion_Subtype => Type_Iir,
      Field_Type_Mark => Type_Iir,
      Field_File_Type_Mark => Type_Iir,
      Field_Return_Type_Mark => Type_Iir,
      Field_Incomplete_Type_List => Type_Iir_List,
      Field_Has_Disconnect_Flag => Type_Boolean,
      Field_Has_Active_Flag => Type_Boolean,
      Field_Is_Within_Flag => Type_Boolean,
      Field_Type_Marks_List => Type_Iir_List,
      Field_Implicit_Alias_Flag => Type_Boolean,
      Field_Alias_Signature => Type_Iir,
      Field_Attribute_Signature => Type_Iir,
      Field_Overload_List => Type_Iir_List,
      Field_Simple_Name_Identifier => Type_Name_Id,
      Field_Simple_Name_Subtype => Type_Iir,
      Field_Protected_Type_Body => Type_Iir,
      Field_Protected_Type_Declaration => Type_Iir,
      Field_End_Location => Type_Location_Type,
      Field_Use_Flag => Type_Boolean,
      Field_End_Has_Reserved_Id => Type_Boolean,
      Field_End_Has_Identifier => Type_Boolean,
      Field_End_Has_Postponed => Type_Boolean,
      Field_Has_Label => Type_Boolean,
      Field_Has_Begin => Type_Boolean,
      Field_Has_End => Type_Boolean,
      Field_Has_Is => Type_Boolean,
      Field_Has_Pure => Type_Boolean,
      Field_Has_Body => Type_Boolean,
      Field_Has_Identifier_List => Type_Boolean,
      Field_Has_Mode => Type_Boolean,
      Field_Has_Class => Type_Boolean,
      Field_Is_Ref => Type_Boolean,
      Field_Psl_Property => Type_PSL_Node,
      Field_Psl_Declaration => Type_PSL_Node,
      Field_Psl_Expression => Type_PSL_Node,
      Field_Psl_Boolean => Type_PSL_Node,
      Field_PSL_Clock => Type_PSL_Node,
      Field_PSL_NFA => Type_PSL_NFA
     );

   function Get_Field_Type (F : Fields_Enum) return Types_Enum is
   begin
      return Fields_Type (F);
   end Get_Field_Type;

   function Get_Field_Image (F : Fields_Enum) return String is
   begin
      case F is
         when Field_First_Design_Unit =>
            return "first_design_unit";
         when Field_Last_Design_Unit =>
            return "last_design_unit";
         when Field_Library_Declaration =>
            return "library_declaration";
         when Field_File_Checksum =>
            return "file_checksum";
         when Field_Analysis_Time_Stamp =>
            return "analysis_time_stamp";
         when Field_Library =>
            return "library";
         when Field_File_Dependence_List =>
            return "file_dependence_list";
         when Field_Design_File_Filename =>
            return "design_file_filename";
         when Field_Design_File_Directory =>
            return "design_file_directory";
         when Field_Design_File =>
            return "design_file";
         when Field_Design_File_Chain =>
            return "design_file_chain";
         when Field_Library_Directory =>
            return "library_directory";
         when Field_Date =>
            return "date";
         when Field_Context_Items =>
            return "context_items";
         when Field_Dependence_List =>
            return "dependence_list";
         when Field_Analysis_Checks_List =>
            return "analysis_checks_list";
         when Field_Date_State =>
            return "date_state";
         when Field_Guarded_Target_State =>
            return "guarded_target_state";
         when Field_Library_Unit =>
            return "library_unit";
         when Field_Hash_Chain =>
            return "hash_chain";
         when Field_Design_Unit_Source_Pos =>
            return "design_unit_source_pos";
         when Field_Design_Unit_Source_Line =>
            return "design_unit_source_line";
         when Field_Design_Unit_Source_Col =>
            return "design_unit_source_col";
         when Field_Value =>
            return "value";
         when Field_Enum_Pos =>
            return "enum_pos";
         when Field_Physical_Literal =>
            return "physical_literal";
         when Field_Physical_Unit_Value =>
            return "physical_unit_value";
         when Field_Fp_Value =>
            return "fp_value";
         when Field_Simple_Aggregate_List =>
            return "simple_aggregate_list";
         when Field_String8_Id =>
            return "string8_id";
         when Field_String_Length =>
            return "string_length";
         when Field_Bit_String_Base =>
            return "bit_string_base";
         when Field_Has_Signed =>
            return "has_signed";
         when Field_Has_Sign =>
            return "has_sign";
         when Field_Has_Length =>
            return "has_length";
         when Field_Literal_Origin =>
            return "literal_origin";
         when Field_Range_Origin =>
            return "range_origin";
         when Field_Literal_Subtype =>
            return "literal_subtype";
         when Field_Entity_Class =>
            return "entity_class";
         when Field_Entity_Name_List =>
            return "entity_name_list";
         when Field_Attribute_Designator =>
            return "attribute_designator";
         when Field_Attribute_Specification_Chain =>
            return "attribute_specification_chain";
         when Field_Attribute_Specification =>
            return "attribute_specification";
         when Field_Signal_List =>
            return "signal_list";
         when Field_Designated_Entity =>
            return "designated_entity";
         when Field_Formal =>
            return "formal";
         when Field_Actual =>
            return "actual";
         when Field_In_Conversion =>
            return "in_conversion";
         when Field_Out_Conversion =>
            return "out_conversion";
         when Field_Whole_Association_Flag =>
            return "whole_association_flag";
         when Field_Collapse_Signal_Flag =>
            return "collapse_signal_flag";
         when Field_Artificial_Flag =>
            return "artificial_flag";
         when Field_Open_Flag =>
            return "open_flag";
         when Field_After_Drivers_Flag =>
            return "after_drivers_flag";
         when Field_We_Value =>
            return "we_value";
         when Field_Time =>
            return "time";
         when Field_Associated_Expr =>
            return "associated_expr";
         when Field_Associated_Chain =>
            return "associated_chain";
         when Field_Choice_Name =>
            return "choice_name";
         when Field_Choice_Expression =>
            return "choice_expression";
         when Field_Choice_Range =>
            return "choice_range";
         when Field_Same_Alternative_Flag =>
            return "same_alternative_flag";
         when Field_Architecture =>
            return "architecture";
         when Field_Block_Specification =>
            return "block_specification";
         when Field_Prev_Block_Configuration =>
            return "prev_block_configuration";
         when Field_Configuration_Item_Chain =>
            return "configuration_item_chain";
         when Field_Attribute_Value_Chain =>
            return "attribute_value_chain";
         when Field_Spec_Chain =>
            return "spec_chain";
         when Field_Attribute_Value_Spec_Chain =>
            return "attribute_value_spec_chain";
         when Field_Entity_Name =>
            return "entity_name";
         when Field_Package =>
            return "package";
         when Field_Package_Body =>
            return "package_body";
         when Field_Need_Body =>
            return "need_body";
         when Field_Block_Configuration =>
            return "block_configuration";
         when Field_Concurrent_Statement_Chain =>
            return "concurrent_statement_chain";
         when Field_Chain =>
            return "chain";
         when Field_Port_Chain =>
            return "port_chain";
         when Field_Generic_Chain =>
            return "generic_chain";
         when Field_Type =>
            return "type";
         when Field_Subtype_Indication =>
            return "subtype_indication";
         when Field_Discrete_Range =>
            return "discrete_range";
         when Field_Type_Definition =>
            return "type_definition";
         when Field_Subtype_Definition =>
            return "subtype_definition";
         when Field_Nature =>
            return "nature";
         when Field_Mode =>
            return "mode";
         when Field_Guarded_Signal_Flag =>
            return "guarded_signal_flag";
         when Field_Signal_Kind =>
            return "signal_kind";
         when Field_Base_Name =>
            return "base_name";
         when Field_Interface_Declaration_Chain =>
            return "interface_declaration_chain";
         when Field_Subprogram_Specification =>
            return "subprogram_specification";
         when Field_Sequential_Statement_Chain =>
            return "sequential_statement_chain";
         when Field_Subprogram_Body =>
            return "subprogram_body";
         when Field_Overload_Number =>
            return "overload_number";
         when Field_Subprogram_Depth =>
            return "subprogram_depth";
         when Field_Subprogram_Hash =>
            return "subprogram_hash";
         when Field_Impure_Depth =>
            return "impure_depth";
         when Field_Return_Type =>
            return "return_type";
         when Field_Implicit_Definition =>
            return "implicit_definition";
         when Field_Type_Reference =>
            return "type_reference";
         when Field_Default_Value =>
            return "default_value";
         when Field_Deferred_Declaration =>
            return "deferred_declaration";
         when Field_Deferred_Declaration_Flag =>
            return "deferred_declaration_flag";
         when Field_Shared_Flag =>
            return "shared_flag";
         when Field_Design_Unit =>
            return "design_unit";
         when Field_Block_Statement =>
            return "block_statement";
         when Field_Signal_Driver =>
            return "signal_driver";
         when Field_Declaration_Chain =>
            return "declaration_chain";
         when Field_File_Logical_Name =>
            return "file_logical_name";
         when Field_File_Open_Kind =>
            return "file_open_kind";
         when Field_Element_Position =>
            return "element_position";
         when Field_Element_Declaration =>
            return "element_declaration";
         when Field_Selected_Element =>
            return "selected_element";
         when Field_Use_Clause_Chain =>
            return "use_clause_chain";
         when Field_Context_Reference_Chain =>
            return "context_reference_chain";
         when Field_Selected_Name =>
            return "selected_name";
         when Field_Type_Declarator =>
            return "type_declarator";
         when Field_Enumeration_Literal_List =>
            return "enumeration_literal_list";
         when Field_Entity_Class_Entry_Chain =>
            return "entity_class_entry_chain";
         when Field_Group_Constituent_List =>
            return "group_constituent_list";
         when Field_Unit_Chain =>
            return "unit_chain";
         when Field_Primary_Unit =>
            return "primary_unit";
         when Field_Identifier =>
            return "identifier";
         when Field_Label =>
            return "label";
         when Field_Visible_Flag =>
            return "visible_flag";
         when Field_Range_Constraint =>
            return "range_constraint";
         when Field_Direction =>
            return "direction";
         when Field_Left_Limit =>
            return "left_limit";
         when Field_Right_Limit =>
            return "right_limit";
         when Field_Base_Type =>
            return "base_type";
         when Field_Resolution_Indication =>
            return "resolution_indication";
         when Field_Record_Element_Resolution_Chain =>
            return "record_element_resolution_chain";
         when Field_Tolerance =>
            return "tolerance";
         when Field_Plus_Terminal =>
            return "plus_terminal";
         when Field_Minus_Terminal =>
            return "minus_terminal";
         when Field_Simultaneous_Left =>
            return "simultaneous_left";
         when Field_Simultaneous_Right =>
            return "simultaneous_right";
         when Field_Text_File_Flag =>
            return "text_file_flag";
         when Field_Only_Characters_Flag =>
            return "only_characters_flag";
         when Field_Type_Staticness =>
            return "type_staticness";
         when Field_Constraint_State =>
            return "constraint_state";
         when Field_Index_Subtype_List =>
            return "index_subtype_list";
         when Field_Index_Subtype_Definition_List =>
            return "index_subtype_definition_list";
         when Field_Element_Subtype_Indication =>
            return "element_subtype_indication";
         when Field_Element_Subtype =>
            return "element_subtype";
         when Field_Index_Constraint_List =>
            return "index_constraint_list";
         when Field_Array_Element_Constraint =>
            return "array_element_constraint";
         when Field_Elements_Declaration_List =>
            return "elements_declaration_list";
         when Field_Designated_Type =>
            return "designated_type";
         when Field_Designated_Subtype_Indication =>
            return "designated_subtype_indication";
         when Field_Index_List =>
            return "index_list";
         when Field_Reference =>
            return "reference";
         when Field_Nature_Declarator =>
            return "nature_declarator";
         when Field_Across_Type =>
            return "across_type";
         when Field_Through_Type =>
            return "through_type";
         when Field_Target =>
            return "target";
         when Field_Waveform_Chain =>
            return "waveform_chain";
         when Field_Guard =>
            return "guard";
         when Field_Delay_Mechanism =>
            return "delay_mechanism";
         when Field_Reject_Time_Expression =>
            return "reject_time_expression";
         when Field_Sensitivity_List =>
            return "sensitivity_list";
         when Field_Process_Origin =>
            return "process_origin";
         when Field_Condition_Clause =>
            return "condition_clause";
         when Field_Timeout_Clause =>
            return "timeout_clause";
         when Field_Postponed_Flag =>
            return "postponed_flag";
         when Field_Callees_List =>
            return "callees_list";
         when Field_Passive_Flag =>
            return "passive_flag";
         when Field_Resolution_Function_Flag =>
            return "resolution_function_flag";
         when Field_Wait_State =>
            return "wait_state";
         when Field_All_Sensitized_State =>
            return "all_sensitized_state";
         when Field_Seen_Flag =>
            return "seen_flag";
         when Field_Pure_Flag =>
            return "pure_flag";
         when Field_Foreign_Flag =>
            return "foreign_flag";
         when Field_Resolved_Flag =>
            return "resolved_flag";
         when Field_Signal_Type_Flag =>
            return "signal_type_flag";
         when Field_Has_Signal_Flag =>
            return "has_signal_flag";
         when Field_Purity_State =>
            return "purity_state";
         when Field_Elab_Flag =>
            return "elab_flag";
         when Field_Index_Constraint_Flag =>
            return "index_constraint_flag";
         when Field_Assertion_Condition =>
            return "assertion_condition";
         when Field_Report_Expression =>
            return "report_expression";
         when Field_Severity_Expression =>
            return "severity_expression";
         when Field_Instantiated_Unit =>
            return "instantiated_unit";
         when Field_Generic_Map_Aspect_Chain =>
            return "generic_map_aspect_chain";
         when Field_Port_Map_Aspect_Chain =>
            return "port_map_aspect_chain";
         when Field_Configuration_Name =>
            return "configuration_name";
         when Field_Component_Configuration =>
            return "component_configuration";
         when Field_Configuration_Specification =>
            return "configuration_specification";
         when Field_Default_Binding_Indication =>
            return "default_binding_indication";
         when Field_Default_Configuration_Declaration =>
            return "default_configuration_declaration";
         when Field_Expression =>
            return "expression";
         when Field_Allocator_Designated_Type =>
            return "allocator_designated_type";
         when Field_Selected_Waveform_Chain =>
            return "selected_waveform_chain";
         when Field_Conditional_Waveform_Chain =>
            return "conditional_waveform_chain";
         when Field_Guard_Expression =>
            return "guard_expression";
         when Field_Guard_Decl =>
            return "guard_decl";
         when Field_Guard_Sensitivity_List =>
            return "guard_sensitivity_list";
         when Field_Block_Block_Configuration =>
            return "block_block_configuration";
         when Field_Package_Header =>
            return "package_header";
         when Field_Block_Header =>
            return "block_header";
         when Field_Uninstantiated_Package_Name =>
            return "uninstantiated_package_name";
         when Field_Generate_Block_Configuration =>
            return "generate_block_configuration";
         when Field_Generate_Statement_Body =>
            return "generate_statement_body";
         when Field_Alternative_Label =>
            return "alternative_label";
         when Field_Generate_Else_Clause =>
            return "generate_else_clause";
         when Field_Condition =>
            return "condition";
         when Field_Else_Clause =>
            return "else_clause";
         when Field_Parameter_Specification =>
            return "parameter_specification";
         when Field_Parent =>
            return "parent";
         when Field_Loop_Label =>
            return "loop_label";
         when Field_Component_Name =>
            return "component_name";
         when Field_Instantiation_List =>
            return "instantiation_list";
         when Field_Entity_Aspect =>
            return "entity_aspect";
         when Field_Default_Entity_Aspect =>
            return "default_entity_aspect";
         when Field_Default_Generic_Map_Aspect_Chain =>
            return "default_generic_map_aspect_chain";
         when Field_Default_Port_Map_Aspect_Chain =>
            return "default_port_map_aspect_chain";
         when Field_Binding_Indication =>
            return "binding_indication";
         when Field_Named_Entity =>
            return "named_entity";
         when Field_Alias_Declaration =>
            return "alias_declaration";
         when Field_Expr_Staticness =>
            return "expr_staticness";
         when Field_Has_Implicit_Conversion =>
            return "has_implicit_conversion";
         when Field_Error_Origin =>
            return "error_origin";
         when Field_Operand =>
            return "operand";
         when Field_Left =>
            return "left";
         when Field_Right =>
            return "right";
         when Field_Unit_Name =>
            return "unit_name";
         when Field_Name =>
            return "name";
         when Field_Group_Template_Name =>
            return "group_template_name";
         when Field_Name_Staticness =>
            return "name_staticness";
         when Field_Prefix =>
            return "prefix";
         when Field_Signature_Prefix =>
            return "signature_prefix";
         when Field_External_Pathname =>
            return "external_pathname";
         when Field_Pathname_Suffix =>
            return "pathname_suffix";
         when Field_Pathname_Expression =>
            return "pathname_expression";
         when Field_Slice_Subtype =>
            return "slice_subtype";
         when Field_Suffix =>
            return "suffix";
         when Field_Index_Subtype =>
            return "index_subtype";
         when Field_Parameter =>
            return "parameter";
         when Field_Actual_Type =>
            return "actual_type";
         when Field_Associated_Interface =>
            return "associated_interface";
         when Field_Association_Chain =>
            return "association_chain";
         when Field_Individual_Association_Chain =>
            return "individual_association_chain";
         when Field_Aggregate_Info =>
            return "aggregate_info";
         when Field_Sub_Aggregate_Info =>
            return "sub_aggregate_info";
         when Field_Aggr_Dynamic_Flag =>
            return "aggr_dynamic_flag";
         when Field_Aggr_Min_Length =>
            return "aggr_min_length";
         when Field_Aggr_Low_Limit =>
            return "aggr_low_limit";
         when Field_Aggr_High_Limit =>
            return "aggr_high_limit";
         when Field_Aggr_Others_Flag =>
            return "aggr_others_flag";
         when Field_Aggr_Named_Flag =>
            return "aggr_named_flag";
         when Field_Value_Staticness =>
            return "value_staticness";
         when Field_Association_Choices_Chain =>
            return "association_choices_chain";
         when Field_Case_Statement_Alternative_Chain =>
            return "case_statement_alternative_chain";
         when Field_Choice_Staticness =>
            return "choice_staticness";
         when Field_Procedure_Call =>
            return "procedure_call";
         when Field_Implementation =>
            return "implementation";
         when Field_Parameter_Association_Chain =>
            return "parameter_association_chain";
         when Field_Method_Object =>
            return "method_object";
         when Field_Subtype_Type_Mark =>
            return "subtype_type_mark";
         when Field_Type_Conversion_Subtype =>
            return "type_conversion_subtype";
         when Field_Type_Mark =>
            return "type_mark";
         when Field_File_Type_Mark =>
            return "file_type_mark";
         when Field_Return_Type_Mark =>
            return "return_type_mark";
         when Field_Incomplete_Type_List =>
            return "incomplete_type_list";
         when Field_Has_Disconnect_Flag =>
            return "has_disconnect_flag";
         when Field_Has_Active_Flag =>
            return "has_active_flag";
         when Field_Is_Within_Flag =>
            return "is_within_flag";
         when Field_Type_Marks_List =>
            return "type_marks_list";
         when Field_Implicit_Alias_Flag =>
            return "implicit_alias_flag";
         when Field_Alias_Signature =>
            return "alias_signature";
         when Field_Attribute_Signature =>
            return "attribute_signature";
         when Field_Overload_List =>
            return "overload_list";
         when Field_Simple_Name_Identifier =>
            return "simple_name_identifier";
         when Field_Simple_Name_Subtype =>
            return "simple_name_subtype";
         when Field_Protected_Type_Body =>
            return "protected_type_body";
         when Field_Protected_Type_Declaration =>
            return "protected_type_declaration";
         when Field_End_Location =>
            return "end_location";
         when Field_Use_Flag =>
            return "use_flag";
         when Field_End_Has_Reserved_Id =>
            return "end_has_reserved_id";
         when Field_End_Has_Identifier =>
            return "end_has_identifier";
         when Field_End_Has_Postponed =>
            return "end_has_postponed";
         when Field_Has_Label =>
            return "has_label";
         when Field_Has_Begin =>
            return "has_begin";
         when Field_Has_End =>
            return "has_end";
         when Field_Has_Is =>
            return "has_is";
         when Field_Has_Pure =>
            return "has_pure";
         when Field_Has_Body =>
            return "has_body";
         when Field_Has_Identifier_List =>
            return "has_identifier_list";
         when Field_Has_Mode =>
            return "has_mode";
         when Field_Has_Class =>
            return "has_class";
         when Field_Is_Ref =>
            return "is_ref";
         when Field_Psl_Property =>
            return "psl_property";
         when Field_Psl_Declaration =>
            return "psl_declaration";
         when Field_Psl_Expression =>
            return "psl_expression";
         when Field_Psl_Boolean =>
            return "psl_boolean";
         when Field_PSL_Clock =>
            return "psl_clock";
         when Field_PSL_NFA =>
            return "psl_nfa";
      end case;
   end Get_Field_Image;

   function Get_Iir_Image (K : Iir_Kind) return String is
   begin
      case K is
         when Iir_Kind_Unused =>
            return "unused";
         when Iir_Kind_Error =>
            return "error";
         when Iir_Kind_Design_File =>
            return "design_file";
         when Iir_Kind_Design_Unit =>
            return "design_unit";
         when Iir_Kind_Library_Clause =>
            return "library_clause";
         when Iir_Kind_Use_Clause =>
            return "use_clause";
         when Iir_Kind_Context_Reference =>
            return "context_reference";
         when Iir_Kind_Integer_Literal =>
            return "integer_literal";
         when Iir_Kind_Floating_Point_Literal =>
            return "floating_point_literal";
         when Iir_Kind_Null_Literal =>
            return "null_literal";
         when Iir_Kind_String_Literal8 =>
            return "string_literal8";
         when Iir_Kind_Physical_Int_Literal =>
            return "physical_int_literal";
         when Iir_Kind_Physical_Fp_Literal =>
            return "physical_fp_literal";
         when Iir_Kind_Simple_Aggregate =>
            return "simple_aggregate";
         when Iir_Kind_Overflow_Literal =>
            return "overflow_literal";
         when Iir_Kind_Waveform_Element =>
            return "waveform_element";
         when Iir_Kind_Conditional_Waveform =>
            return "conditional_waveform";
         when Iir_Kind_Association_Element_By_Expression =>
            return "association_element_by_expression";
         when Iir_Kind_Association_Element_By_Individual =>
            return "association_element_by_individual";
         when Iir_Kind_Association_Element_Open =>
            return "association_element_open";
         when Iir_Kind_Association_Element_Package =>
            return "association_element_package";
         when Iir_Kind_Choice_By_Others =>
            return "choice_by_others";
         when Iir_Kind_Choice_By_Expression =>
            return "choice_by_expression";
         when Iir_Kind_Choice_By_Range =>
            return "choice_by_range";
         when Iir_Kind_Choice_By_None =>
            return "choice_by_none";
         when Iir_Kind_Choice_By_Name =>
            return "choice_by_name";
         when Iir_Kind_Entity_Aspect_Entity =>
            return "entity_aspect_entity";
         when Iir_Kind_Entity_Aspect_Configuration =>
            return "entity_aspect_configuration";
         when Iir_Kind_Entity_Aspect_Open =>
            return "entity_aspect_open";
         when Iir_Kind_Block_Configuration =>
            return "block_configuration";
         when Iir_Kind_Block_Header =>
            return "block_header";
         when Iir_Kind_Component_Configuration =>
            return "component_configuration";
         when Iir_Kind_Binding_Indication =>
            return "binding_indication";
         when Iir_Kind_Entity_Class =>
            return "entity_class";
         when Iir_Kind_Attribute_Value =>
            return "attribute_value";
         when Iir_Kind_Signature =>
            return "signature";
         when Iir_Kind_Aggregate_Info =>
            return "aggregate_info";
         when Iir_Kind_Procedure_Call =>
            return "procedure_call";
         when Iir_Kind_Record_Element_Constraint =>
            return "record_element_constraint";
         when Iir_Kind_Array_Element_Resolution =>
            return "array_element_resolution";
         when Iir_Kind_Record_Resolution =>
            return "record_resolution";
         when Iir_Kind_Record_Element_Resolution =>
            return "record_element_resolution";
         when Iir_Kind_Attribute_Specification =>
            return "attribute_specification";
         when Iir_Kind_Disconnection_Specification =>
            return "disconnection_specification";
         when Iir_Kind_Configuration_Specification =>
            return "configuration_specification";
         when Iir_Kind_Access_Type_Definition =>
            return "access_type_definition";
         when Iir_Kind_Incomplete_Type_Definition =>
            return "incomplete_type_definition";
         when Iir_Kind_File_Type_Definition =>
            return "file_type_definition";
         when Iir_Kind_Protected_Type_Declaration =>
            return "protected_type_declaration";
         when Iir_Kind_Record_Type_Definition =>
            return "record_type_definition";
         when Iir_Kind_Array_Type_Definition =>
            return "array_type_definition";
         when Iir_Kind_Array_Subtype_Definition =>
            return "array_subtype_definition";
         when Iir_Kind_Record_Subtype_Definition =>
            return "record_subtype_definition";
         when Iir_Kind_Access_Subtype_Definition =>
            return "access_subtype_definition";
         when Iir_Kind_Physical_Subtype_Definition =>
            return "physical_subtype_definition";
         when Iir_Kind_Floating_Subtype_Definition =>
            return "floating_subtype_definition";
         when Iir_Kind_Integer_Subtype_Definition =>
            return "integer_subtype_definition";
         when Iir_Kind_Enumeration_Subtype_Definition =>
            return "enumeration_subtype_definition";
         when Iir_Kind_Enumeration_Type_Definition =>
            return "enumeration_type_definition";
         when Iir_Kind_Integer_Type_Definition =>
            return "integer_type_definition";
         when Iir_Kind_Floating_Type_Definition =>
            return "floating_type_definition";
         when Iir_Kind_Physical_Type_Definition =>
            return "physical_type_definition";
         when Iir_Kind_Range_Expression =>
            return "range_expression";
         when Iir_Kind_Protected_Type_Body =>
            return "protected_type_body";
         when Iir_Kind_Subtype_Definition =>
            return "subtype_definition";
         when Iir_Kind_Scalar_Nature_Definition =>
            return "scalar_nature_definition";
         when Iir_Kind_Overload_List =>
            return "overload_list";
         when Iir_Kind_Type_Declaration =>
            return "type_declaration";
         when Iir_Kind_Anonymous_Type_Declaration =>
            return "anonymous_type_declaration";
         when Iir_Kind_Subtype_Declaration =>
            return "subtype_declaration";
         when Iir_Kind_Nature_Declaration =>
            return "nature_declaration";
         when Iir_Kind_Subnature_Declaration =>
            return "subnature_declaration";
         when Iir_Kind_Package_Declaration =>
            return "package_declaration";
         when Iir_Kind_Package_Instantiation_Declaration =>
            return "package_instantiation_declaration";
         when Iir_Kind_Package_Body =>
            return "package_body";
         when Iir_Kind_Configuration_Declaration =>
            return "configuration_declaration";
         when Iir_Kind_Entity_Declaration =>
            return "entity_declaration";
         when Iir_Kind_Architecture_Body =>
            return "architecture_body";
         when Iir_Kind_Context_Declaration =>
            return "context_declaration";
         when Iir_Kind_Package_Header =>
            return "package_header";
         when Iir_Kind_Unit_Declaration =>
            return "unit_declaration";
         when Iir_Kind_Library_Declaration =>
            return "library_declaration";
         when Iir_Kind_Component_Declaration =>
            return "component_declaration";
         when Iir_Kind_Attribute_Declaration =>
            return "attribute_declaration";
         when Iir_Kind_Group_Template_Declaration =>
            return "group_template_declaration";
         when Iir_Kind_Group_Declaration =>
            return "group_declaration";
         when Iir_Kind_Element_Declaration =>
            return "element_declaration";
         when Iir_Kind_Non_Object_Alias_Declaration =>
            return "non_object_alias_declaration";
         when Iir_Kind_Psl_Declaration =>
            return "psl_declaration";
         when Iir_Kind_Terminal_Declaration =>
            return "terminal_declaration";
         when Iir_Kind_Free_Quantity_Declaration =>
            return "free_quantity_declaration";
         when Iir_Kind_Across_Quantity_Declaration =>
            return "across_quantity_declaration";
         when Iir_Kind_Through_Quantity_Declaration =>
            return "through_quantity_declaration";
         when Iir_Kind_Enumeration_Literal =>
            return "enumeration_literal";
         when Iir_Kind_Function_Declaration =>
            return "function_declaration";
         when Iir_Kind_Procedure_Declaration =>
            return "procedure_declaration";
         when Iir_Kind_Function_Body =>
            return "function_body";
         when Iir_Kind_Procedure_Body =>
            return "procedure_body";
         when Iir_Kind_Object_Alias_Declaration =>
            return "object_alias_declaration";
         when Iir_Kind_File_Declaration =>
            return "file_declaration";
         when Iir_Kind_Guard_Signal_Declaration =>
            return "guard_signal_declaration";
         when Iir_Kind_Signal_Declaration =>
            return "signal_declaration";
         when Iir_Kind_Variable_Declaration =>
            return "variable_declaration";
         when Iir_Kind_Constant_Declaration =>
            return "constant_declaration";
         when Iir_Kind_Iterator_Declaration =>
            return "iterator_declaration";
         when Iir_Kind_Interface_Constant_Declaration =>
            return "interface_constant_declaration";
         when Iir_Kind_Interface_Variable_Declaration =>
            return "interface_variable_declaration";
         when Iir_Kind_Interface_Signal_Declaration =>
            return "interface_signal_declaration";
         when Iir_Kind_Interface_File_Declaration =>
            return "interface_file_declaration";
         when Iir_Kind_Interface_Package_Declaration =>
            return "interface_package_declaration";
         when Iir_Kind_Identity_Operator =>
            return "identity_operator";
         when Iir_Kind_Negation_Operator =>
            return "negation_operator";
         when Iir_Kind_Absolute_Operator =>
            return "absolute_operator";
         when Iir_Kind_Not_Operator =>
            return "not_operator";
         when Iir_Kind_Condition_Operator =>
            return "condition_operator";
         when Iir_Kind_Reduction_And_Operator =>
            return "reduction_and_operator";
         when Iir_Kind_Reduction_Or_Operator =>
            return "reduction_or_operator";
         when Iir_Kind_Reduction_Nand_Operator =>
            return "reduction_nand_operator";
         when Iir_Kind_Reduction_Nor_Operator =>
            return "reduction_nor_operator";
         when Iir_Kind_Reduction_Xor_Operator =>
            return "reduction_xor_operator";
         when Iir_Kind_Reduction_Xnor_Operator =>
            return "reduction_xnor_operator";
         when Iir_Kind_And_Operator =>
            return "and_operator";
         when Iir_Kind_Or_Operator =>
            return "or_operator";
         when Iir_Kind_Nand_Operator =>
            return "nand_operator";
         when Iir_Kind_Nor_Operator =>
            return "nor_operator";
         when Iir_Kind_Xor_Operator =>
            return "xor_operator";
         when Iir_Kind_Xnor_Operator =>
            return "xnor_operator";
         when Iir_Kind_Equality_Operator =>
            return "equality_operator";
         when Iir_Kind_Inequality_Operator =>
            return "inequality_operator";
         when Iir_Kind_Less_Than_Operator =>
            return "less_than_operator";
         when Iir_Kind_Less_Than_Or_Equal_Operator =>
            return "less_than_or_equal_operator";
         when Iir_Kind_Greater_Than_Operator =>
            return "greater_than_operator";
         when Iir_Kind_Greater_Than_Or_Equal_Operator =>
            return "greater_than_or_equal_operator";
         when Iir_Kind_Match_Equality_Operator =>
            return "match_equality_operator";
         when Iir_Kind_Match_Inequality_Operator =>
            return "match_inequality_operator";
         when Iir_Kind_Match_Less_Than_Operator =>
            return "match_less_than_operator";
         when Iir_Kind_Match_Less_Than_Or_Equal_Operator =>
            return "match_less_than_or_equal_operator";
         when Iir_Kind_Match_Greater_Than_Operator =>
            return "match_greater_than_operator";
         when Iir_Kind_Match_Greater_Than_Or_Equal_Operator =>
            return "match_greater_than_or_equal_operator";
         when Iir_Kind_Sll_Operator =>
            return "sll_operator";
         when Iir_Kind_Sla_Operator =>
            return "sla_operator";
         when Iir_Kind_Srl_Operator =>
            return "srl_operator";
         when Iir_Kind_Sra_Operator =>
            return "sra_operator";
         when Iir_Kind_Rol_Operator =>
            return "rol_operator";
         when Iir_Kind_Ror_Operator =>
            return "ror_operator";
         when Iir_Kind_Addition_Operator =>
            return "addition_operator";
         when Iir_Kind_Substraction_Operator =>
            return "substraction_operator";
         when Iir_Kind_Concatenation_Operator =>
            return "concatenation_operator";
         when Iir_Kind_Multiplication_Operator =>
            return "multiplication_operator";
         when Iir_Kind_Division_Operator =>
            return "division_operator";
         when Iir_Kind_Modulus_Operator =>
            return "modulus_operator";
         when Iir_Kind_Remainder_Operator =>
            return "remainder_operator";
         when Iir_Kind_Exponentiation_Operator =>
            return "exponentiation_operator";
         when Iir_Kind_Function_Call =>
            return "function_call";
         when Iir_Kind_Aggregate =>
            return "aggregate";
         when Iir_Kind_Parenthesis_Expression =>
            return "parenthesis_expression";
         when Iir_Kind_Qualified_Expression =>
            return "qualified_expression";
         when Iir_Kind_Type_Conversion =>
            return "type_conversion";
         when Iir_Kind_Allocator_By_Expression =>
            return "allocator_by_expression";
         when Iir_Kind_Allocator_By_Subtype =>
            return "allocator_by_subtype";
         when Iir_Kind_Selected_Element =>
            return "selected_element";
         when Iir_Kind_Dereference =>
            return "dereference";
         when Iir_Kind_Implicit_Dereference =>
            return "implicit_dereference";
         when Iir_Kind_Slice_Name =>
            return "slice_name";
         when Iir_Kind_Indexed_Name =>
            return "indexed_name";
         when Iir_Kind_Psl_Expression =>
            return "psl_expression";
         when Iir_Kind_Sensitized_Process_Statement =>
            return "sensitized_process_statement";
         when Iir_Kind_Process_Statement =>
            return "process_statement";
         when Iir_Kind_Concurrent_Conditional_Signal_Assignment =>
            return "concurrent_conditional_signal_assignment";
         when Iir_Kind_Concurrent_Selected_Signal_Assignment =>
            return "concurrent_selected_signal_assignment";
         when Iir_Kind_Concurrent_Assertion_Statement =>
            return "concurrent_assertion_statement";
         when Iir_Kind_Psl_Default_Clock =>
            return "psl_default_clock";
         when Iir_Kind_Psl_Assert_Statement =>
            return "psl_assert_statement";
         when Iir_Kind_Psl_Cover_Statement =>
            return "psl_cover_statement";
         when Iir_Kind_Concurrent_Procedure_Call_Statement =>
            return "concurrent_procedure_call_statement";
         when Iir_Kind_Block_Statement =>
            return "block_statement";
         when Iir_Kind_If_Generate_Statement =>
            return "if_generate_statement";
         when Iir_Kind_For_Generate_Statement =>
            return "for_generate_statement";
         when Iir_Kind_Component_Instantiation_Statement =>
            return "component_instantiation_statement";
         when Iir_Kind_Simple_Simultaneous_Statement =>
            return "simple_simultaneous_statement";
         when Iir_Kind_Generate_Statement_Body =>
            return "generate_statement_body";
         when Iir_Kind_If_Generate_Else_Clause =>
            return "if_generate_else_clause";
         when Iir_Kind_Signal_Assignment_Statement =>
            return "signal_assignment_statement";
         when Iir_Kind_Null_Statement =>
            return "null_statement";
         when Iir_Kind_Assertion_Statement =>
            return "assertion_statement";
         when Iir_Kind_Report_Statement =>
            return "report_statement";
         when Iir_Kind_Wait_Statement =>
            return "wait_statement";
         when Iir_Kind_Variable_Assignment_Statement =>
            return "variable_assignment_statement";
         when Iir_Kind_Return_Statement =>
            return "return_statement";
         when Iir_Kind_For_Loop_Statement =>
            return "for_loop_statement";
         when Iir_Kind_While_Loop_Statement =>
            return "while_loop_statement";
         when Iir_Kind_Next_Statement =>
            return "next_statement";
         when Iir_Kind_Exit_Statement =>
            return "exit_statement";
         when Iir_Kind_Case_Statement =>
            return "case_statement";
         when Iir_Kind_Procedure_Call_Statement =>
            return "procedure_call_statement";
         when Iir_Kind_If_Statement =>
            return "if_statement";
         when Iir_Kind_Elsif =>
            return "elsif";
         when Iir_Kind_Character_Literal =>
            return "character_literal";
         when Iir_Kind_Simple_Name =>
            return "simple_name";
         when Iir_Kind_Selected_Name =>
            return "selected_name";
         when Iir_Kind_Operator_Symbol =>
            return "operator_symbol";
         when Iir_Kind_Selected_By_All_Name =>
            return "selected_by_all_name";
         when Iir_Kind_Parenthesis_Name =>
            return "parenthesis_name";
         when Iir_Kind_External_Constant_Name =>
            return "external_constant_name";
         when Iir_Kind_External_Signal_Name =>
            return "external_signal_name";
         when Iir_Kind_External_Variable_Name =>
            return "external_variable_name";
         when Iir_Kind_Package_Pathname =>
            return "package_pathname";
         when Iir_Kind_Absolute_Pathname =>
            return "absolute_pathname";
         when Iir_Kind_Relative_Pathname =>
            return "relative_pathname";
         when Iir_Kind_Pathname_Element =>
            return "pathname_element";
         when Iir_Kind_Base_Attribute =>
            return "base_attribute";
         when Iir_Kind_Left_Type_Attribute =>
            return "left_type_attribute";
         when Iir_Kind_Right_Type_Attribute =>
            return "right_type_attribute";
         when Iir_Kind_High_Type_Attribute =>
            return "high_type_attribute";
         when Iir_Kind_Low_Type_Attribute =>
            return "low_type_attribute";
         when Iir_Kind_Ascending_Type_Attribute =>
            return "ascending_type_attribute";
         when Iir_Kind_Image_Attribute =>
            return "image_attribute";
         when Iir_Kind_Value_Attribute =>
            return "value_attribute";
         when Iir_Kind_Pos_Attribute =>
            return "pos_attribute";
         when Iir_Kind_Val_Attribute =>
            return "val_attribute";
         when Iir_Kind_Succ_Attribute =>
            return "succ_attribute";
         when Iir_Kind_Pred_Attribute =>
            return "pred_attribute";
         when Iir_Kind_Leftof_Attribute =>
            return "leftof_attribute";
         when Iir_Kind_Rightof_Attribute =>
            return "rightof_attribute";
         when Iir_Kind_Delayed_Attribute =>
            return "delayed_attribute";
         when Iir_Kind_Stable_Attribute =>
            return "stable_attribute";
         when Iir_Kind_Quiet_Attribute =>
            return "quiet_attribute";
         when Iir_Kind_Transaction_Attribute =>
            return "transaction_attribute";
         when Iir_Kind_Event_Attribute =>
            return "event_attribute";
         when Iir_Kind_Active_Attribute =>
            return "active_attribute";
         when Iir_Kind_Last_Event_Attribute =>
            return "last_event_attribute";
         when Iir_Kind_Last_Active_Attribute =>
            return "last_active_attribute";
         when Iir_Kind_Last_Value_Attribute =>
            return "last_value_attribute";
         when Iir_Kind_Driving_Attribute =>
            return "driving_attribute";
         when Iir_Kind_Driving_Value_Attribute =>
            return "driving_value_attribute";
         when Iir_Kind_Behavior_Attribute =>
            return "behavior_attribute";
         when Iir_Kind_Structure_Attribute =>
            return "structure_attribute";
         when Iir_Kind_Simple_Name_Attribute =>
            return "simple_name_attribute";
         when Iir_Kind_Instance_Name_Attribute =>
            return "instance_name_attribute";
         when Iir_Kind_Path_Name_Attribute =>
            return "path_name_attribute";
         when Iir_Kind_Left_Array_Attribute =>
            return "left_array_attribute";
         when Iir_Kind_Right_Array_Attribute =>
            return "right_array_attribute";
         when Iir_Kind_High_Array_Attribute =>
            return "high_array_attribute";
         when Iir_Kind_Low_Array_Attribute =>
            return "low_array_attribute";
         when Iir_Kind_Length_Array_Attribute =>
            return "length_array_attribute";
         when Iir_Kind_Ascending_Array_Attribute =>
            return "ascending_array_attribute";
         when Iir_Kind_Range_Array_Attribute =>
            return "range_array_attribute";
         when Iir_Kind_Reverse_Range_Array_Attribute =>
            return "reverse_range_array_attribute";
         when Iir_Kind_Attribute_Name =>
            return "attribute_name";
      end case;
   end Get_Iir_Image;

   function Get_Field_Attribute (F : Fields_Enum) return Field_Attribute is
   begin
      case F is
         when Field_First_Design_Unit =>
            return Attr_Chain;
         when Field_Last_Design_Unit =>
            return Attr_Ref;
         when Field_Library_Declaration =>
            return Attr_Ref;
         when Field_File_Checksum =>
            return Attr_None;
         when Field_Analysis_Time_Stamp =>
            return Attr_None;
         when Field_Library =>
            return Attr_Ref;
         when Field_File_Dependence_List =>
            return Attr_None;
         when Field_Design_File_Filename =>
            return Attr_None;
         when Field_Design_File_Directory =>
            return Attr_None;
         when Field_Design_File =>
            return Attr_Ref;
         when Field_Design_File_Chain =>
            return Attr_Chain;
         when Field_Library_Directory =>
            return Attr_None;
         when Field_Date =>
            return Attr_None;
         when Field_Context_Items =>
            return Attr_Chain;
         when Field_Dependence_List =>
            return Attr_Of_Ref;
         when Field_Analysis_Checks_List =>
            return Attr_Of_Ref;
         when Field_Date_State =>
            return Attr_None;
         when Field_Guarded_Target_State =>
            return Attr_None;
         when Field_Library_Unit =>
            return Attr_None;
         when Field_Hash_Chain =>
            return Attr_Ref;
         when Field_Design_Unit_Source_Pos =>
            return Attr_None;
         when Field_Design_Unit_Source_Line =>
            return Attr_None;
         when Field_Design_Unit_Source_Col =>
            return Attr_None;
         when Field_Value =>
            return Attr_None;
         when Field_Enum_Pos =>
            return Attr_None;
         when Field_Physical_Literal =>
            return Attr_None;
         when Field_Physical_Unit_Value =>
            return Attr_None;
         when Field_Fp_Value =>
            return Attr_None;
         when Field_Simple_Aggregate_List =>
            return Attr_None;
         when Field_String8_Id =>
            return Attr_None;
         when Field_String_Length =>
            return Attr_None;
         when Field_Bit_String_Base =>
            return Attr_None;
         when Field_Has_Signed =>
            return Attr_None;
         when Field_Has_Sign =>
            return Attr_None;
         when Field_Has_Length =>
            return Attr_None;
         when Field_Literal_Origin =>
            return Attr_None;
         when Field_Range_Origin =>
            return Attr_None;
         when Field_Literal_Subtype =>
            return Attr_None;
         when Field_Entity_Class =>
            return Attr_None;
         when Field_Entity_Name_List =>
            return Attr_None;
         when Field_Attribute_Designator =>
            return Attr_None;
         when Field_Attribute_Specification_Chain =>
            return Attr_None;
         when Field_Attribute_Specification =>
            return Attr_Ref;
         when Field_Signal_List =>
            return Attr_None;
         when Field_Designated_Entity =>
            return Attr_Ref;
         when Field_Formal =>
            return Attr_None;
         when Field_Actual =>
            return Attr_None;
         when Field_In_Conversion =>
            return Attr_None;
         when Field_Out_Conversion =>
            return Attr_None;
         when Field_Whole_Association_Flag =>
            return Attr_None;
         when Field_Collapse_Signal_Flag =>
            return Attr_None;
         when Field_Artificial_Flag =>
            return Attr_None;
         when Field_Open_Flag =>
            return Attr_None;
         when Field_After_Drivers_Flag =>
            return Attr_None;
         when Field_We_Value =>
            return Attr_None;
         when Field_Time =>
            return Attr_None;
         when Field_Associated_Expr =>
            return Attr_None;
         when Field_Associated_Chain =>
            return Attr_Chain;
         when Field_Choice_Name =>
            return Attr_None;
         when Field_Choice_Expression =>
            return Attr_None;
         when Field_Choice_Range =>
            return Attr_None;
         when Field_Same_Alternative_Flag =>
            return Attr_None;
         when Field_Architecture =>
            return Attr_None;
         when Field_Block_Specification =>
            return Attr_None;
         when Field_Prev_Block_Configuration =>
            return Attr_Ref;
         when Field_Configuration_Item_Chain =>
            return Attr_Chain;
         when Field_Attribute_Value_Chain =>
            return Attr_Chain;
         when Field_Spec_Chain =>
            return Attr_None;
         when Field_Attribute_Value_Spec_Chain =>
            return Attr_None;
         when Field_Entity_Name =>
            return Attr_None;
         when Field_Package =>
            return Attr_Ref;
         when Field_Package_Body =>
            return Attr_Ref;
         when Field_Need_Body =>
            return Attr_None;
         when Field_Block_Configuration =>
            return Attr_None;
         when Field_Concurrent_Statement_Chain =>
            return Attr_Chain;
         when Field_Chain =>
            return Attr_Chain_Next;
         when Field_Port_Chain =>
            return Attr_Chain;
         when Field_Generic_Chain =>
            return Attr_Chain;
         when Field_Type =>
            return Attr_Ref;
         when Field_Subtype_Indication =>
            return Attr_Maybe_Ref;
         when Field_Discrete_Range =>
            return Attr_None;
         when Field_Type_Definition =>
            return Attr_None;
         when Field_Subtype_Definition =>
            return Attr_None;
         when Field_Nature =>
            return Attr_None;
         when Field_Mode =>
            return Attr_None;
         when Field_Guarded_Signal_Flag =>
            return Attr_None;
         when Field_Signal_Kind =>
            return Attr_None;
         when Field_Base_Name =>
            return Attr_Ref;
         when Field_Interface_Declaration_Chain =>
            return Attr_Chain;
         when Field_Subprogram_Specification =>
            return Attr_Ref;
         when Field_Sequential_Statement_Chain =>
            return Attr_Chain;
         when Field_Subprogram_Body =>
            return Attr_Ref;
         when Field_Overload_Number =>
            return Attr_None;
         when Field_Subprogram_Depth =>
            return Attr_None;
         when Field_Subprogram_Hash =>
            return Attr_None;
         when Field_Impure_Depth =>
            return Attr_None;
         when Field_Return_Type =>
            return Attr_Ref;
         when Field_Implicit_Definition =>
            return Attr_None;
         when Field_Type_Reference =>
            return Attr_Ref;
         when Field_Default_Value =>
            return Attr_Maybe_Ref;
         when Field_Deferred_Declaration =>
            return Attr_None;
         when Field_Deferred_Declaration_Flag =>
            return Attr_None;
         when Field_Shared_Flag =>
            return Attr_None;
         when Field_Design_Unit =>
            return Attr_None;
         when Field_Block_Statement =>
            return Attr_None;
         when Field_Signal_Driver =>
            return Attr_None;
         when Field_Declaration_Chain =>
            return Attr_Chain;
         when Field_File_Logical_Name =>
            return Attr_None;
         when Field_File_Open_Kind =>
            return Attr_None;
         when Field_Element_Position =>
            return Attr_None;
         when Field_Element_Declaration =>
            return Attr_None;
         when Field_Selected_Element =>
            return Attr_Ref;
         when Field_Use_Clause_Chain =>
            return Attr_None;
         when Field_Context_Reference_Chain =>
            return Attr_None;
         when Field_Selected_Name =>
            return Attr_None;
         when Field_Type_Declarator =>
            return Attr_Ref;
         when Field_Enumeration_Literal_List =>
            return Attr_None;
         when Field_Entity_Class_Entry_Chain =>
            return Attr_Chain;
         when Field_Group_Constituent_List =>
            return Attr_None;
         when Field_Unit_Chain =>
            return Attr_Chain;
         when Field_Primary_Unit =>
            return Attr_Ref;
         when Field_Identifier =>
            return Attr_None;
         when Field_Label =>
            return Attr_None;
         when Field_Visible_Flag =>
            return Attr_None;
         when Field_Range_Constraint =>
            return Attr_None;
         when Field_Direction =>
            return Attr_None;
         when Field_Left_Limit =>
            return Attr_None;
         when Field_Right_Limit =>
            return Attr_None;
         when Field_Base_Type =>
            return Attr_Ref;
         when Field_Resolution_Indication =>
            return Attr_None;
         when Field_Record_Element_Resolution_Chain =>
            return Attr_Chain;
         when Field_Tolerance =>
            return Attr_None;
         when Field_Plus_Terminal =>
            return Attr_None;
         when Field_Minus_Terminal =>
            return Attr_None;
         when Field_Simultaneous_Left =>
            return Attr_None;
         when Field_Simultaneous_Right =>
            return Attr_None;
         when Field_Text_File_Flag =>
            return Attr_None;
         when Field_Only_Characters_Flag =>
            return Attr_None;
         when Field_Type_Staticness =>
            return Attr_None;
         when Field_Constraint_State =>
            return Attr_None;
         when Field_Index_Subtype_List =>
            return Attr_Ref;
         when Field_Index_Subtype_Definition_List =>
            return Attr_None;
         when Field_Element_Subtype_Indication =>
            return Attr_None;
         when Field_Element_Subtype =>
            return Attr_Ref;
         when Field_Index_Constraint_List =>
            return Attr_None;
         when Field_Array_Element_Constraint =>
            return Attr_None;
         when Field_Elements_Declaration_List =>
            return Attr_None;
         when Field_Designated_Type =>
            return Attr_Ref;
         when Field_Designated_Subtype_Indication =>
            return Attr_None;
         when Field_Index_List =>
            return Attr_None;
         when Field_Reference =>
            return Attr_None;
         when Field_Nature_Declarator =>
            return Attr_None;
         when Field_Across_Type =>
            return Attr_None;
         when Field_Through_Type =>
            return Attr_None;
         when Field_Target =>
            return Attr_None;
         when Field_Waveform_Chain =>
            return Attr_Chain;
         when Field_Guard =>
            return Attr_None;
         when Field_Delay_Mechanism =>
            return Attr_None;
         when Field_Reject_Time_Expression =>
            return Attr_None;
         when Field_Sensitivity_List =>
            return Attr_None;
         when Field_Process_Origin =>
            return Attr_None;
         when Field_Condition_Clause =>
            return Attr_None;
         when Field_Timeout_Clause =>
            return Attr_None;
         when Field_Postponed_Flag =>
            return Attr_None;
         when Field_Callees_List =>
            return Attr_Of_Ref;
         when Field_Passive_Flag =>
            return Attr_None;
         when Field_Resolution_Function_Flag =>
            return Attr_None;
         when Field_Wait_State =>
            return Attr_None;
         when Field_All_Sensitized_State =>
            return Attr_None;
         when Field_Seen_Flag =>
            return Attr_None;
         when Field_Pure_Flag =>
            return Attr_None;
         when Field_Foreign_Flag =>
            return Attr_None;
         when Field_Resolved_Flag =>
            return Attr_None;
         when Field_Signal_Type_Flag =>
            return Attr_None;
         when Field_Has_Signal_Flag =>
            return Attr_None;
         when Field_Purity_State =>
            return Attr_None;
         when Field_Elab_Flag =>
            return Attr_None;
         when Field_Index_Constraint_Flag =>
            return Attr_None;
         when Field_Assertion_Condition =>
            return Attr_None;
         when Field_Report_Expression =>
            return Attr_None;
         when Field_Severity_Expression =>
            return Attr_None;
         when Field_Instantiated_Unit =>
            return Attr_None;
         when Field_Generic_Map_Aspect_Chain =>
            return Attr_Chain;
         when Field_Port_Map_Aspect_Chain =>
            return Attr_Chain;
         when Field_Configuration_Name =>
            return Attr_None;
         when Field_Component_Configuration =>
            return Attr_None;
         when Field_Configuration_Specification =>
            return Attr_None;
         when Field_Default_Binding_Indication =>
            return Attr_None;
         when Field_Default_Configuration_Declaration =>
            return Attr_None;
         when Field_Expression =>
            return Attr_None;
         when Field_Allocator_Designated_Type =>
            return Attr_Ref;
         when Field_Selected_Waveform_Chain =>
            return Attr_Chain;
         when Field_Conditional_Waveform_Chain =>
            return Attr_Chain;
         when Field_Guard_Expression =>
            return Attr_None;
         when Field_Guard_Decl =>
            return Attr_None;
         when Field_Guard_Sensitivity_List =>
            return Attr_None;
         when Field_Block_Block_Configuration =>
            return Attr_None;
         when Field_Package_Header =>
            return Attr_None;
         when Field_Block_Header =>
            return Attr_None;
         when Field_Uninstantiated_Package_Name =>
            return Attr_None;
         when Field_Generate_Block_Configuration =>
            return Attr_None;
         when Field_Generate_Statement_Body =>
            return Attr_None;
         when Field_Alternative_Label =>
            return Attr_None;
         when Field_Generate_Else_Clause =>
            return Attr_None;
         when Field_Condition =>
            return Attr_None;
         when Field_Else_Clause =>
            return Attr_None;
         when Field_Parameter_Specification =>
            return Attr_None;
         when Field_Parent =>
            return Attr_Ref;
         when Field_Loop_Label =>
            return Attr_None;
         when Field_Component_Name =>
            return Attr_None;
         when Field_Instantiation_List =>
            return Attr_None;
         when Field_Entity_Aspect =>
            return Attr_None;
         when Field_Default_Entity_Aspect =>
            return Attr_None;
         when Field_Default_Generic_Map_Aspect_Chain =>
            return Attr_Chain;
         when Field_Default_Port_Map_Aspect_Chain =>
            return Attr_Chain;
         when Field_Binding_Indication =>
            return Attr_None;
         when Field_Named_Entity =>
            return Attr_Ref;
         when Field_Alias_Declaration =>
            return Attr_None;
         when Field_Expr_Staticness =>
            return Attr_None;
         when Field_Has_Implicit_Conversion =>
            return Attr_None;
         when Field_Error_Origin =>
            return Attr_None;
         when Field_Operand =>
            return Attr_None;
         when Field_Left =>
            return Attr_None;
         when Field_Right =>
            return Attr_None;
         when Field_Unit_Name =>
            return Attr_None;
         when Field_Name =>
            return Attr_None;
         when Field_Group_Template_Name =>
            return Attr_None;
         when Field_Name_Staticness =>
            return Attr_None;
         when Field_Prefix =>
            return Attr_None;
         when Field_Signature_Prefix =>
            return Attr_Ref;
         when Field_External_Pathname =>
            return Attr_None;
         when Field_Pathname_Suffix =>
            return Attr_None;
         when Field_Pathname_Expression =>
            return Attr_None;
         when Field_Slice_Subtype =>
            return Attr_None;
         when Field_Suffix =>
            return Attr_None;
         when Field_Index_Subtype =>
            return Attr_None;
         when Field_Parameter =>
            return Attr_None;
         when Field_Actual_Type =>
            return Attr_None;
         when Field_Associated_Interface =>
            return Attr_Ref;
         when Field_Association_Chain =>
            return Attr_Chain;
         when Field_Individual_Association_Chain =>
            return Attr_Chain;
         when Field_Aggregate_Info =>
            return Attr_None;
         when Field_Sub_Aggregate_Info =>
            return Attr_None;
         when Field_Aggr_Dynamic_Flag =>
            return Attr_None;
         when Field_Aggr_Min_Length =>
            return Attr_None;
         when Field_Aggr_Low_Limit =>
            return Attr_None;
         when Field_Aggr_High_Limit =>
            return Attr_None;
         when Field_Aggr_Others_Flag =>
            return Attr_None;
         when Field_Aggr_Named_Flag =>
            return Attr_None;
         when Field_Value_Staticness =>
            return Attr_None;
         when Field_Association_Choices_Chain =>
            return Attr_Chain;
         when Field_Case_Statement_Alternative_Chain =>
            return Attr_Chain;
         when Field_Choice_Staticness =>
            return Attr_None;
         when Field_Procedure_Call =>
            return Attr_None;
         when Field_Implementation =>
            return Attr_Ref;
         when Field_Parameter_Association_Chain =>
            return Attr_Chain;
         when Field_Method_Object =>
            return Attr_None;
         when Field_Subtype_Type_Mark =>
            return Attr_None;
         when Field_Type_Conversion_Subtype =>
            return Attr_None;
         when Field_Type_Mark =>
            return Attr_None;
         when Field_File_Type_Mark =>
            return Attr_None;
         when Field_Return_Type_Mark =>
            return Attr_None;
         when Field_Incomplete_Type_List =>
            return Attr_None;
         when Field_Has_Disconnect_Flag =>
            return Attr_None;
         when Field_Has_Active_Flag =>
            return Attr_None;
         when Field_Is_Within_Flag =>
            return Attr_None;
         when Field_Type_Marks_List =>
            return Attr_None;
         when Field_Implicit_Alias_Flag =>
            return Attr_None;
         when Field_Alias_Signature =>
            return Attr_None;
         when Field_Attribute_Signature =>
            return Attr_None;
         when Field_Overload_List =>
            return Attr_Of_Ref;
         when Field_Simple_Name_Identifier =>
            return Attr_None;
         when Field_Simple_Name_Subtype =>
            return Attr_None;
         when Field_Protected_Type_Body =>
            return Attr_None;
         when Field_Protected_Type_Declaration =>
            return Attr_None;
         when Field_End_Location =>
            return Attr_None;
         when Field_Use_Flag =>
            return Attr_None;
         when Field_End_Has_Reserved_Id =>
            return Attr_None;
         when Field_End_Has_Identifier =>
            return Attr_None;
         when Field_End_Has_Postponed =>
            return Attr_None;
         when Field_Has_Label =>
            return Attr_None;
         when Field_Has_Begin =>
            return Attr_None;
         when Field_Has_End =>
            return Attr_None;
         when Field_Has_Is =>
            return Attr_None;
         when Field_Has_Pure =>
            return Attr_None;
         when Field_Has_Body =>
            return Attr_None;
         when Field_Has_Identifier_List =>
            return Attr_None;
         when Field_Has_Mode =>
            return Attr_None;
         when Field_Has_Class =>
            return Attr_None;
         when Field_Is_Ref =>
            return Attr_None;
         when Field_Psl_Property =>
            return Attr_None;
         when Field_Psl_Declaration =>
            return Attr_None;
         when Field_Psl_Expression =>
            return Attr_None;
         when Field_Psl_Boolean =>
            return Attr_None;
         when Field_PSL_Clock =>
            return Attr_None;
         when Field_PSL_NFA =>
            return Attr_None;
      end case;
   end Get_Field_Attribute;

   Fields_Of_Iir : constant Fields_Array :=
     (
      --  Iir_Kind_Unused
      --  Iir_Kind_Error
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_Expr_Staticness,
      Field_Error_Origin,
      Field_Type,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Design_File
      Field_Design_File_Directory,
      Field_Design_File_Filename,
      Field_Analysis_Time_Stamp,
      Field_File_Checksum,
      Field_Elab_Flag,
      Field_File_Dependence_List,
      Field_Chain,
      Field_First_Design_Unit,
      Field_Library,
      Field_Last_Design_Unit,
      --  Iir_Kind_Design_Unit
      Field_Design_Unit_Source_Pos,
      Field_Design_Unit_Source_Line,
      Field_Design_Unit_Source_Col,
      Field_Identifier,
      Field_Date,
      Field_End_Location,
      Field_Elab_Flag,
      Field_Date_State,
      Field_Context_Items,
      Field_Chain,
      Field_Library_Unit,
      Field_Design_File,
      Field_Hash_Chain,
      Field_Dependence_List,
      Field_Analysis_Checks_List,
      --  Iir_Kind_Library_Clause
      Field_Identifier,
      Field_Has_Identifier_List,
      Field_Chain,
      Field_Parent,
      Field_Library_Declaration,
      --  Iir_Kind_Use_Clause
      Field_Selected_Name,
      Field_Chain,
      Field_Use_Clause_Chain,
      Field_Parent,
      --  Iir_Kind_Context_Reference
      Field_Selected_Name,
      Field_Chain,
      Field_Context_Reference_Chain,
      Field_Parent,
      --  Iir_Kind_Integer_Literal
      Field_Value,
      Field_Expr_Staticness,
      Field_Literal_Origin,
      Field_Type,
      --  Iir_Kind_Floating_Point_Literal
      Field_Fp_Value,
      Field_Expr_Staticness,
      Field_Literal_Origin,
      Field_Type,
      --  Iir_Kind_Null_Literal
      Field_Expr_Staticness,
      Field_Type,
      --  Iir_Kind_String_Literal8
      Field_String_Length,
      Field_String8_Id,
      Field_Has_Signed,
      Field_Has_Sign,
      Field_Has_Length,
      Field_Bit_String_Base,
      Field_Expr_Staticness,
      Field_Literal_Origin,
      Field_Literal_Subtype,
      Field_Type,
      --  Iir_Kind_Physical_Int_Literal
      Field_Value,
      Field_Expr_Staticness,
      Field_Literal_Origin,
      Field_Unit_Name,
      Field_Type,
      --  Iir_Kind_Physical_Fp_Literal
      Field_Fp_Value,
      Field_Expr_Staticness,
      Field_Literal_Origin,
      Field_Unit_Name,
      Field_Type,
      --  Iir_Kind_Simple_Aggregate
      Field_Expr_Staticness,
      Field_Literal_Origin,
      Field_Literal_Subtype,
      Field_Simple_Aggregate_List,
      Field_Type,
      --  Iir_Kind_Overflow_Literal
      Field_Expr_Staticness,
      Field_Literal_Origin,
      Field_Type,
      --  Iir_Kind_Waveform_Element
      Field_We_Value,
      Field_Chain,
      Field_Time,
      --  Iir_Kind_Conditional_Waveform
      Field_Condition,
      Field_Chain,
      Field_Waveform_Chain,
      --  Iir_Kind_Association_Element_By_Expression
      Field_Whole_Association_Flag,
      Field_Collapse_Signal_Flag,
      Field_Formal,
      Field_Chain,
      Field_Actual,
      Field_In_Conversion,
      Field_Out_Conversion,
      --  Iir_Kind_Association_Element_By_Individual
      Field_Whole_Association_Flag,
      Field_Collapse_Signal_Flag,
      Field_Formal,
      Field_Chain,
      Field_Actual_Type,
      Field_Individual_Association_Chain,
      --  Iir_Kind_Association_Element_Open
      Field_Whole_Association_Flag,
      Field_Collapse_Signal_Flag,
      Field_Artificial_Flag,
      Field_Formal,
      Field_Chain,
      --  Iir_Kind_Association_Element_Package
      Field_Whole_Association_Flag,
      Field_Collapse_Signal_Flag,
      Field_Formal,
      Field_Chain,
      Field_Actual,
      Field_Associated_Interface,
      --  Iir_Kind_Choice_By_Others
      Field_Same_Alternative_Flag,
      Field_Chain,
      Field_Associated_Expr,
      Field_Associated_Chain,
      Field_Parent,
      --  Iir_Kind_Choice_By_Expression
      Field_Same_Alternative_Flag,
      Field_Choice_Staticness,
      Field_Chain,
      Field_Associated_Expr,
      Field_Associated_Chain,
      Field_Choice_Expression,
      Field_Parent,
      --  Iir_Kind_Choice_By_Range
      Field_Same_Alternative_Flag,
      Field_Choice_Staticness,
      Field_Chain,
      Field_Associated_Expr,
      Field_Associated_Chain,
      Field_Choice_Range,
      Field_Parent,
      --  Iir_Kind_Choice_By_None
      Field_Same_Alternative_Flag,
      Field_Chain,
      Field_Associated_Expr,
      Field_Associated_Chain,
      Field_Parent,
      --  Iir_Kind_Choice_By_Name
      Field_Same_Alternative_Flag,
      Field_Chain,
      Field_Associated_Expr,
      Field_Associated_Chain,
      Field_Choice_Name,
      Field_Parent,
      --  Iir_Kind_Entity_Aspect_Entity
      Field_Entity_Name,
      Field_Architecture,
      --  Iir_Kind_Entity_Aspect_Configuration
      Field_Configuration_Name,
      --  Iir_Kind_Entity_Aspect_Open
      --  Iir_Kind_Block_Configuration
      Field_Declaration_Chain,
      Field_Chain,
      Field_Configuration_Item_Chain,
      Field_Block_Specification,
      Field_Parent,
      Field_Prev_Block_Configuration,
      --  Iir_Kind_Block_Header
      Field_Generic_Chain,
      Field_Port_Chain,
      Field_Generic_Map_Aspect_Chain,
      Field_Port_Map_Aspect_Chain,
      --  Iir_Kind_Component_Configuration
      Field_Instantiation_List,
      Field_Chain,
      Field_Binding_Indication,
      Field_Component_Name,
      Field_Block_Configuration,
      Field_Parent,
      --  Iir_Kind_Binding_Indication
      Field_Default_Entity_Aspect,
      Field_Entity_Aspect,
      Field_Default_Generic_Map_Aspect_Chain,
      Field_Default_Port_Map_Aspect_Chain,
      Field_Generic_Map_Aspect_Chain,
      Field_Port_Map_Aspect_Chain,
      --  Iir_Kind_Entity_Class
      Field_Entity_Class,
      Field_Chain,
      --  Iir_Kind_Attribute_Value
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Spec_Chain,
      Field_Chain,
      Field_Type,
      Field_Designated_Entity,
      Field_Attribute_Specification,
      Field_Base_Name,
      --  Iir_Kind_Signature
      Field_Type_Marks_List,
      Field_Return_Type_Mark,
      Field_Signature_Prefix,
      --  Iir_Kind_Aggregate_Info
      Field_Aggr_Min_Length,
      Field_Aggr_Others_Flag,
      Field_Aggr_Dynamic_Flag,
      Field_Aggr_Named_Flag,
      Field_Sub_Aggregate_Info,
      Field_Aggr_Low_Limit,
      Field_Aggr_High_Limit,
      --  Iir_Kind_Procedure_Call
      Field_Prefix,
      Field_Parameter_Association_Chain,
      Field_Method_Object,
      Field_Implementation,
      --  Iir_Kind_Record_Element_Constraint
      Field_Identifier,
      Field_Element_Position,
      Field_Visible_Flag,
      Field_Element_Declaration,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Array_Element_Resolution
      Field_Resolution_Indication,
      --  Iir_Kind_Record_Resolution
      Field_Record_Element_Resolution_Chain,
      --  Iir_Kind_Record_Element_Resolution
      Field_Identifier,
      Field_Chain,
      Field_Resolution_Indication,
      --  Iir_Kind_Attribute_Specification
      Field_Entity_Class,
      Field_Entity_Name_List,
      Field_Chain,
      Field_Attribute_Value_Spec_Chain,
      Field_Expression,
      Field_Attribute_Designator,
      Field_Attribute_Specification_Chain,
      Field_Parent,
      --  Iir_Kind_Disconnection_Specification
      Field_Chain,
      Field_Signal_List,
      Field_Type_Mark,
      Field_Expression,
      Field_Parent,
      --  Iir_Kind_Configuration_Specification
      Field_Instantiation_List,
      Field_Chain,
      Field_Binding_Indication,
      Field_Component_Name,
      Field_Parent,
      --  Iir_Kind_Access_Type_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Type_Staticness,
      Field_Designated_Subtype_Indication,
      Field_Designated_Type,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Incomplete_Type_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_Type_Staticness,
      Field_Incomplete_Type_List,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_File_Type_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Text_File_Flag,
      Field_Type_Staticness,
      Field_File_Type_Mark,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Protected_Type_Declaration
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Type_Staticness,
      Field_Declaration_Chain,
      Field_Protected_Type_Body,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Record_Type_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Type_Staticness,
      Field_Constraint_State,
      Field_Elements_Declaration_List,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Array_Type_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_Index_Constraint_Flag,
      Field_Type_Staticness,
      Field_Constraint_State,
      Field_Element_Subtype_Indication,
      Field_Index_Subtype_Definition_List,
      Field_Element_Subtype,
      Field_Type_Declarator,
      Field_Base_Type,
      Field_Index_Subtype_List,
      --  Iir_Kind_Array_Subtype_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_Index_Constraint_Flag,
      Field_Type_Staticness,
      Field_Constraint_State,
      Field_Subtype_Type_Mark,
      Field_Resolution_Indication,
      Field_Index_Constraint_List,
      Field_Tolerance,
      Field_Array_Element_Constraint,
      Field_Element_Subtype,
      Field_Type_Declarator,
      Field_Base_Type,
      Field_Index_Subtype_List,
      --  Iir_Kind_Record_Subtype_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_Type_Staticness,
      Field_Constraint_State,
      Field_Elements_Declaration_List,
      Field_Subtype_Type_Mark,
      Field_Resolution_Indication,
      Field_Tolerance,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Access_Subtype_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Type_Staticness,
      Field_Subtype_Type_Mark,
      Field_Designated_Subtype_Indication,
      Field_Designated_Type,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Physical_Subtype_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_Type_Staticness,
      Field_Range_Constraint,
      Field_Subtype_Type_Mark,
      Field_Resolution_Indication,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Floating_Subtype_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_Type_Staticness,
      Field_Range_Constraint,
      Field_Subtype_Type_Mark,
      Field_Resolution_Indication,
      Field_Tolerance,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Integer_Subtype_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_Type_Staticness,
      Field_Range_Constraint,
      Field_Subtype_Type_Mark,
      Field_Resolution_Indication,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Enumeration_Subtype_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_Type_Staticness,
      Field_Range_Constraint,
      Field_Subtype_Type_Mark,
      Field_Resolution_Indication,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Enumeration_Type_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_Only_Characters_Flag,
      Field_Type_Staticness,
      Field_Range_Constraint,
      Field_Enumeration_Literal_List,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Integer_Type_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_Type_Staticness,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Floating_Type_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_Type_Staticness,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Physical_Type_Definition
      Field_Resolved_Flag,
      Field_Signal_Type_Flag,
      Field_Has_Signal_Flag,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Type_Staticness,
      Field_Unit_Chain,
      Field_Type_Declarator,
      Field_Base_Type,
      --  Iir_Kind_Range_Expression
      Field_Expr_Staticness,
      Field_Direction,
      Field_Left_Limit,
      Field_Right_Limit,
      Field_Range_Origin,
      Field_Type,
      --  Iir_Kind_Protected_Type_Body
      Field_Identifier,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Declaration_Chain,
      Field_Chain,
      Field_Protected_Type_Declaration,
      Field_Parent,
      --  Iir_Kind_Subtype_Definition
      Field_Range_Constraint,
      Field_Subtype_Type_Mark,
      Field_Resolution_Indication,
      Field_Tolerance,
      --  Iir_Kind_Scalar_Nature_Definition
      Field_Reference,
      Field_Nature_Declarator,
      Field_Across_Type,
      Field_Through_Type,
      --  Iir_Kind_Overload_List
      Field_Overload_List,
      --  Iir_Kind_Type_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Type_Definition,
      Field_Chain,
      Field_Parent,
      --  Iir_Kind_Anonymous_Type_Declaration
      Field_Identifier,
      Field_Type_Definition,
      Field_Chain,
      Field_Subtype_Definition,
      Field_Parent,
      --  Iir_Kind_Subtype_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Is_Ref,
      Field_Chain,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Nature_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Nature,
      Field_Chain,
      Field_Parent,
      --  Iir_Kind_Subnature_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Nature,
      Field_Chain,
      Field_Parent,
      --  Iir_Kind_Package_Declaration
      Field_Identifier,
      Field_Need_Body,
      Field_Visible_Flag,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Declaration_Chain,
      Field_Attribute_Value_Chain,
      Field_Package_Header,
      Field_Parent,
      Field_Package_Body,
      --  Iir_Kind_Package_Instantiation_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Declaration_Chain,
      Field_Attribute_Value_Chain,
      Field_Uninstantiated_Package_Name,
      Field_Generic_Chain,
      Field_Generic_Map_Aspect_Chain,
      Field_Parent,
      Field_Package_Body,
      --  Iir_Kind_Package_Body
      Field_Identifier,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Declaration_Chain,
      Field_Attribute_Value_Chain,
      Field_Parent,
      Field_Package,
      --  Iir_Kind_Configuration_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Declaration_Chain,
      Field_Entity_Name,
      Field_Attribute_Value_Chain,
      Field_Block_Configuration,
      Field_Parent,
      --  Iir_Kind_Entity_Declaration
      Field_Identifier,
      Field_Has_Begin,
      Field_Visible_Flag,
      Field_Is_Within_Flag,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Declaration_Chain,
      Field_Attribute_Value_Chain,
      Field_Concurrent_Statement_Chain,
      Field_Generic_Chain,
      Field_Port_Chain,
      Field_Parent,
      --  Iir_Kind_Architecture_Body
      Field_Identifier,
      Field_Foreign_Flag,
      Field_Visible_Flag,
      Field_Is_Within_Flag,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Declaration_Chain,
      Field_Entity_Name,
      Field_Attribute_Value_Chain,
      Field_Concurrent_Statement_Chain,
      Field_Default_Configuration_Declaration,
      Field_Parent,
      --  Iir_Kind_Context_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Context_Items,
      Field_Parent,
      --  Iir_Kind_Package_Header
      Field_Generic_Chain,
      Field_Generic_Map_Aspect_Chain,
      --  Iir_Kind_Unit_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Physical_Literal,
      Field_Physical_Unit_Value,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Library_Declaration
      Field_Identifier,
      Field_Date,
      Field_Library_Directory,
      Field_Elab_Flag,
      Field_Visible_Flag,
      Field_Design_File_Chain,
      Field_Chain,
      --  Iir_Kind_Component_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Has_Is,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Chain,
      Field_Generic_Chain,
      Field_Port_Chain,
      Field_Parent,
      --  Iir_Kind_Attribute_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Chain,
      Field_Type_Mark,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Group_Template_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Entity_Class_Entry_Chain,
      Field_Chain,
      Field_Parent,
      --  Iir_Kind_Group_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Group_Constituent_List,
      Field_Chain,
      Field_Group_Template_Name,
      Field_Parent,
      --  Iir_Kind_Element_Declaration
      Field_Identifier,
      Field_Element_Position,
      Field_Has_Identifier_List,
      Field_Visible_Flag,
      Field_Is_Ref,
      Field_Subtype_Indication,
      Field_Type,
      --  Iir_Kind_Non_Object_Alias_Declaration
      Field_Identifier,
      Field_Implicit_Alias_Flag,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Chain,
      Field_Name,
      Field_Alias_Signature,
      Field_Parent,
      --  Iir_Kind_Psl_Declaration
      Field_Psl_Declaration,
      Field_Identifier,
      Field_PSL_Clock,
      Field_PSL_NFA,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Chain,
      Field_Parent,
      --  Iir_Kind_Terminal_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Nature,
      Field_Chain,
      Field_Parent,
      --  Iir_Kind_Free_Quantity_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Default_Value,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Across_Quantity_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Tolerance,
      Field_Plus_Terminal,
      Field_Minus_Terminal,
      Field_Default_Value,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Through_Quantity_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Tolerance,
      Field_Plus_Terminal,
      Field_Minus_Terminal,
      Field_Default_Value,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Enumeration_Literal
      Field_Identifier,
      Field_Subprogram_Hash,
      Field_Enum_Pos,
      Field_Seen_Flag,
      Field_Visible_Flag,
      Field_Is_Within_Flag,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Literal_Origin,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Function_Declaration
      Field_Subprogram_Depth,
      Field_Overload_Number,
      Field_Identifier,
      Field_Subprogram_Hash,
      Field_Implicit_Definition,
      Field_Seen_Flag,
      Field_Pure_Flag,
      Field_Foreign_Flag,
      Field_Visible_Flag,
      Field_Is_Within_Flag,
      Field_Use_Flag,
      Field_Resolution_Function_Flag,
      Field_Has_Pure,
      Field_Has_Body,
      Field_Wait_State,
      Field_All_Sensitized_State,
      Field_Chain,
      Field_Interface_Declaration_Chain,
      Field_Generic_Chain,
      Field_Return_Type_Mark,
      Field_Parent,
      Field_Return_Type,
      Field_Type_Reference,
      Field_Subprogram_Body,
      --  Iir_Kind_Procedure_Declaration
      Field_Subprogram_Depth,
      Field_Overload_Number,
      Field_Identifier,
      Field_Subprogram_Hash,
      Field_Implicit_Definition,
      Field_Seen_Flag,
      Field_Passive_Flag,
      Field_Foreign_Flag,
      Field_Visible_Flag,
      Field_Is_Within_Flag,
      Field_Use_Flag,
      Field_Has_Body,
      Field_Wait_State,
      Field_Purity_State,
      Field_All_Sensitized_State,
      Field_Chain,
      Field_Interface_Declaration_Chain,
      Field_Generic_Chain,
      Field_Return_Type_Mark,
      Field_Parent,
      Field_Type_Reference,
      Field_Subprogram_Body,
      --  Iir_Kind_Function_Body
      Field_Impure_Depth,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Declaration_Chain,
      Field_Chain,
      Field_Attribute_Value_Chain,
      Field_Sequential_Statement_Chain,
      Field_Parent,
      Field_Subprogram_Specification,
      Field_Callees_List,
      --  Iir_Kind_Procedure_Body
      Field_Impure_Depth,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Declaration_Chain,
      Field_Chain,
      Field_Attribute_Value_Chain,
      Field_Sequential_Statement_Chain,
      Field_Parent,
      Field_Subprogram_Specification,
      Field_Callees_List,
      --  Iir_Kind_Object_Alias_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_After_Drivers_Flag,
      Field_Use_Flag,
      Field_Is_Ref,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Name,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_File_Declaration
      Field_Identifier,
      Field_Has_Mode,
      Field_Has_Identifier_List,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Is_Ref,
      Field_Mode,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_File_Logical_Name,
      Field_File_Open_Kind,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Guard_Signal_Declaration
      Field_Identifier,
      Field_Has_Active_Flag,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Guarded_Signal_Flag,
      Field_Signal_Kind,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Guard_Expression,
      Field_Guard_Sensitivity_List,
      Field_Block_Statement,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Signal_Declaration
      Field_Identifier,
      Field_Has_Disconnect_Flag,
      Field_Has_Active_Flag,
      Field_Has_Identifier_List,
      Field_Visible_Flag,
      Field_After_Drivers_Flag,
      Field_Use_Flag,
      Field_Is_Ref,
      Field_Guarded_Signal_Flag,
      Field_Signal_Kind,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Default_Value,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Variable_Declaration
      Field_Identifier,
      Field_Shared_Flag,
      Field_Has_Identifier_List,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Is_Ref,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Default_Value,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Constant_Declaration
      Field_Identifier,
      Field_Deferred_Declaration_Flag,
      Field_Has_Identifier_List,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Is_Ref,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Deferred_Declaration,
      Field_Default_Value,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Iterator_Declaration
      Field_Identifier,
      Field_Has_Identifier_List,
      Field_Visible_Flag,
      Field_Use_Flag,
      Field_Is_Ref,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Discrete_Range,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Interface_Constant_Declaration
      Field_Identifier,
      Field_Has_Mode,
      Field_Has_Class,
      Field_Has_Identifier_List,
      Field_Visible_Flag,
      Field_After_Drivers_Flag,
      Field_Use_Flag,
      Field_Is_Ref,
      Field_Mode,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Default_Value,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Interface_Variable_Declaration
      Field_Identifier,
      Field_Has_Mode,
      Field_Has_Class,
      Field_Has_Identifier_List,
      Field_Visible_Flag,
      Field_After_Drivers_Flag,
      Field_Use_Flag,
      Field_Is_Ref,
      Field_Mode,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Default_Value,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Interface_Signal_Declaration
      Field_Identifier,
      Field_Has_Disconnect_Flag,
      Field_Has_Mode,
      Field_Has_Class,
      Field_Open_Flag,
      Field_Has_Active_Flag,
      Field_Has_Identifier_List,
      Field_Visible_Flag,
      Field_After_Drivers_Flag,
      Field_Use_Flag,
      Field_Is_Ref,
      Field_Guarded_Signal_Flag,
      Field_Signal_Kind,
      Field_Mode,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Default_Value,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Interface_File_Declaration
      Field_Identifier,
      Field_Has_Mode,
      Field_Has_Class,
      Field_Has_Identifier_List,
      Field_Visible_Flag,
      Field_After_Drivers_Flag,
      Field_Use_Flag,
      Field_Is_Ref,
      Field_Mode,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_Default_Value,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Interface_Package_Declaration
      Field_Identifier,
      Field_Visible_Flag,
      Field_Declaration_Chain,
      Field_Chain,
      Field_Attribute_Value_Chain,
      Field_Uninstantiated_Package_Name,
      Field_Generic_Chain,
      Field_Generic_Map_Aspect_Chain,
      Field_Parent,
      --  Iir_Kind_Identity_Operator
      Field_Expr_Staticness,
      Field_Operand,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Negation_Operator
      Field_Expr_Staticness,
      Field_Operand,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Absolute_Operator
      Field_Expr_Staticness,
      Field_Operand,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Not_Operator
      Field_Expr_Staticness,
      Field_Operand,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Condition_Operator
      Field_Expr_Staticness,
      Field_Operand,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Reduction_And_Operator
      Field_Expr_Staticness,
      Field_Operand,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Reduction_Or_Operator
      Field_Expr_Staticness,
      Field_Operand,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Reduction_Nand_Operator
      Field_Expr_Staticness,
      Field_Operand,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Reduction_Nor_Operator
      Field_Expr_Staticness,
      Field_Operand,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Reduction_Xor_Operator
      Field_Expr_Staticness,
      Field_Operand,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Reduction_Xnor_Operator
      Field_Expr_Staticness,
      Field_Operand,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_And_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Or_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Nand_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Nor_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Xor_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Xnor_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Equality_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Inequality_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Less_Than_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Less_Than_Or_Equal_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Greater_Than_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Greater_Than_Or_Equal_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Match_Equality_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Match_Inequality_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Match_Less_Than_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Match_Less_Than_Or_Equal_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Match_Greater_Than_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Match_Greater_Than_Or_Equal_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Sll_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Sla_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Srl_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Sra_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Rol_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Ror_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Addition_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Substraction_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Concatenation_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Multiplication_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Division_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Modulus_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Remainder_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Exponentiation_Operator
      Field_Expr_Staticness,
      Field_Left,
      Field_Right,
      Field_Type,
      Field_Implementation,
      --  Iir_Kind_Function_Call
      Field_Has_Implicit_Conversion,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Parameter_Association_Chain,
      Field_Method_Object,
      Field_Type,
      Field_Implementation,
      Field_Base_Name,
      --  Iir_Kind_Aggregate
      Field_Expr_Staticness,
      Field_Value_Staticness,
      Field_Aggregate_Info,
      Field_Literal_Subtype,
      Field_Association_Choices_Chain,
      Field_Type,
      --  Iir_Kind_Parenthesis_Expression
      Field_Expr_Staticness,
      Field_Expression,
      Field_Type,
      --  Iir_Kind_Qualified_Expression
      Field_Expr_Staticness,
      Field_Type_Mark,
      Field_Expression,
      Field_Type,
      --  Iir_Kind_Type_Conversion
      Field_Expr_Staticness,
      Field_Type_Conversion_Subtype,
      Field_Type_Mark,
      Field_Expression,
      Field_Type,
      --  Iir_Kind_Allocator_By_Expression
      Field_Expr_Staticness,
      Field_Expression,
      Field_Type,
      Field_Allocator_Designated_Type,
      --  Iir_Kind_Allocator_By_Subtype
      Field_Expr_Staticness,
      Field_Subtype_Indication,
      Field_Type,
      Field_Allocator_Designated_Type,
      --  Iir_Kind_Selected_Element
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      Field_Selected_Element,
      Field_Base_Name,
      --  Iir_Kind_Dereference
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Implicit_Dereference
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Slice_Name
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Suffix,
      Field_Slice_Subtype,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Indexed_Name
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Index_List,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Psl_Expression
      Field_Psl_Expression,
      Field_Type,
      --  Iir_Kind_Sensitized_Process_Statement
      Field_Label,
      Field_Seen_Flag,
      Field_End_Has_Postponed,
      Field_Passive_Flag,
      Field_Postponed_Flag,
      Field_Visible_Flag,
      Field_Is_Within_Flag,
      Field_Has_Label,
      Field_Has_Is,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Wait_State,
      Field_Declaration_Chain,
      Field_Chain,
      Field_Attribute_Value_Chain,
      Field_Sequential_Statement_Chain,
      Field_Sensitivity_List,
      Field_Process_Origin,
      Field_Parent,
      Field_Callees_List,
      --  Iir_Kind_Process_Statement
      Field_Label,
      Field_Seen_Flag,
      Field_End_Has_Postponed,
      Field_Passive_Flag,
      Field_Postponed_Flag,
      Field_Visible_Flag,
      Field_Is_Within_Flag,
      Field_Has_Label,
      Field_Has_Is,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Wait_State,
      Field_Declaration_Chain,
      Field_Chain,
      Field_Attribute_Value_Chain,
      Field_Sequential_Statement_Chain,
      Field_Process_Origin,
      Field_Parent,
      Field_Callees_List,
      --  Iir_Kind_Concurrent_Conditional_Signal_Assignment
      Field_Label,
      Field_Delay_Mechanism,
      Field_Postponed_Flag,
      Field_Visible_Flag,
      Field_Guarded_Target_State,
      Field_Target,
      Field_Chain,
      Field_Reject_Time_Expression,
      Field_Conditional_Waveform_Chain,
      Field_Guard,
      Field_Parent,
      --  Iir_Kind_Concurrent_Selected_Signal_Assignment
      Field_Label,
      Field_Delay_Mechanism,
      Field_Postponed_Flag,
      Field_Visible_Flag,
      Field_Guarded_Target_State,
      Field_Target,
      Field_Chain,
      Field_Reject_Time_Expression,
      Field_Expression,
      Field_Selected_Waveform_Chain,
      Field_Guard,
      Field_Parent,
      --  Iir_Kind_Concurrent_Assertion_Statement
      Field_Label,
      Field_Postponed_Flag,
      Field_Visible_Flag,
      Field_Assertion_Condition,
      Field_Chain,
      Field_Severity_Expression,
      Field_Report_Expression,
      Field_Parent,
      --  Iir_Kind_Psl_Default_Clock
      Field_Psl_Boolean,
      Field_Label,
      Field_Chain,
      Field_Parent,
      --  Iir_Kind_Psl_Assert_Statement
      Field_Psl_Property,
      Field_Label,
      Field_PSL_Clock,
      Field_PSL_NFA,
      Field_Visible_Flag,
      Field_Chain,
      Field_Severity_Expression,
      Field_Report_Expression,
      Field_Parent,
      --  Iir_Kind_Psl_Cover_Statement
      Field_Psl_Property,
      Field_Label,
      Field_PSL_Clock,
      Field_PSL_NFA,
      Field_Visible_Flag,
      Field_Chain,
      Field_Severity_Expression,
      Field_Report_Expression,
      Field_Parent,
      --  Iir_Kind_Concurrent_Procedure_Call_Statement
      Field_Label,
      Field_Postponed_Flag,
      Field_Visible_Flag,
      Field_Procedure_Call,
      Field_Chain,
      Field_Parent,
      --  Iir_Kind_Block_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Is_Within_Flag,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Declaration_Chain,
      Field_Chain,
      Field_Attribute_Value_Chain,
      Field_Concurrent_Statement_Chain,
      Field_Block_Block_Configuration,
      Field_Block_Header,
      Field_Guard_Decl,
      Field_Parent,
      --  Iir_Kind_If_Generate_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Is_Within_Flag,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Condition,
      Field_Chain,
      Field_Generate_Statement_Body,
      Field_Generate_Else_Clause,
      Field_Parent,
      --  Iir_Kind_For_Generate_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Is_Within_Flag,
      Field_End_Has_Reserved_Id,
      Field_End_Has_Identifier,
      Field_Parameter_Specification,
      Field_Chain,
      Field_Generate_Statement_Body,
      Field_Parent,
      --  Iir_Kind_Component_Instantiation_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Instantiated_Unit,
      Field_Chain,
      Field_Default_Binding_Indication,
      Field_Component_Configuration,
      Field_Configuration_Specification,
      Field_Generic_Map_Aspect_Chain,
      Field_Port_Map_Aspect_Chain,
      Field_Parent,
      --  Iir_Kind_Simple_Simultaneous_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Chain,
      Field_Simultaneous_Left,
      Field_Simultaneous_Right,
      Field_Tolerance,
      Field_Parent,
      --  Iir_Kind_Generate_Statement_Body
      Field_Alternative_Label,
      Field_Has_Begin,
      Field_Has_End,
      Field_Is_Within_Flag,
      Field_Has_Label,
      Field_End_Has_Identifier,
      Field_Declaration_Chain,
      Field_Generate_Block_Configuration,
      Field_Attribute_Value_Chain,
      Field_Concurrent_Statement_Chain,
      Field_Parent,
      --  Iir_Kind_If_Generate_Else_Clause
      Field_Visible_Flag,
      Field_Condition,
      Field_Generate_Statement_Body,
      Field_Generate_Else_Clause,
      Field_Parent,
      --  Iir_Kind_Signal_Assignment_Statement
      Field_Label,
      Field_Delay_Mechanism,
      Field_Visible_Flag,
      Field_Guarded_Target_State,
      Field_Target,
      Field_Chain,
      Field_Reject_Time_Expression,
      Field_Waveform_Chain,
      Field_Parent,
      --  Iir_Kind_Null_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Chain,
      Field_Parent,
      --  Iir_Kind_Assertion_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Assertion_Condition,
      Field_Chain,
      Field_Severity_Expression,
      Field_Report_Expression,
      Field_Parent,
      --  Iir_Kind_Report_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Chain,
      Field_Severity_Expression,
      Field_Report_Expression,
      Field_Parent,
      --  Iir_Kind_Wait_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Timeout_Clause,
      Field_Chain,
      Field_Condition_Clause,
      Field_Sensitivity_List,
      Field_Parent,
      --  Iir_Kind_Variable_Assignment_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Target,
      Field_Chain,
      Field_Expression,
      Field_Parent,
      --  Iir_Kind_Return_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Chain,
      Field_Expression,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_For_Loop_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Is_Within_Flag,
      Field_End_Has_Identifier,
      Field_Parameter_Specification,
      Field_Chain,
      Field_Sequential_Statement_Chain,
      Field_Parent,
      --  Iir_Kind_While_Loop_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_End_Has_Identifier,
      Field_Condition,
      Field_Chain,
      Field_Sequential_Statement_Chain,
      Field_Parent,
      --  Iir_Kind_Next_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Condition,
      Field_Chain,
      Field_Loop_Label,
      Field_Parent,
      --  Iir_Kind_Exit_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Condition,
      Field_Chain,
      Field_Loop_Label,
      Field_Parent,
      --  Iir_Kind_Case_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_End_Has_Identifier,
      Field_Case_Statement_Alternative_Chain,
      Field_Chain,
      Field_Expression,
      Field_Parent,
      --  Iir_Kind_Procedure_Call_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_Procedure_Call,
      Field_Chain,
      Field_Parent,
      --  Iir_Kind_If_Statement
      Field_Label,
      Field_Visible_Flag,
      Field_End_Has_Identifier,
      Field_Condition,
      Field_Chain,
      Field_Else_Clause,
      Field_Sequential_Statement_Chain,
      Field_Parent,
      --  Iir_Kind_Elsif
      Field_End_Has_Identifier,
      Field_Condition,
      Field_Else_Clause,
      Field_Sequential_Statement_Chain,
      Field_Parent,
      --  Iir_Kind_Character_Literal
      Field_Identifier,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Alias_Declaration,
      Field_Type,
      Field_Named_Entity,
      Field_Base_Name,
      --  Iir_Kind_Simple_Name
      Field_Identifier,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Alias_Declaration,
      Field_Type,
      Field_Named_Entity,
      Field_Base_Name,
      --  Iir_Kind_Selected_Name
      Field_Identifier,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Alias_Declaration,
      Field_Type,
      Field_Named_Entity,
      Field_Base_Name,
      --  Iir_Kind_Operator_Symbol
      Field_Identifier,
      Field_Alias_Declaration,
      Field_Type,
      Field_Named_Entity,
      Field_Base_Name,
      --  Iir_Kind_Selected_By_All_Name
      Field_Expr_Staticness,
      Field_Prefix,
      Field_Type,
      Field_Named_Entity,
      Field_Base_Name,
      --  Iir_Kind_Parenthesis_Name
      Field_Prefix,
      Field_Association_Chain,
      Field_Type,
      Field_Named_Entity,
      --  Iir_Kind_External_Constant_Name
      Field_Shared_Flag,
      Field_Is_Ref,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_External_Pathname,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_External_Signal_Name
      Field_Shared_Flag,
      Field_Is_Ref,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_External_Pathname,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_External_Variable_Name
      Field_Shared_Flag,
      Field_Is_Ref,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Chain,
      Field_External_Pathname,
      Field_Subtype_Indication,
      Field_Parent,
      Field_Type,
      --  Iir_Kind_Package_Pathname
      Field_Identifier,
      Field_Pathname_Suffix,
      Field_Named_Entity,
      Field_Base_Name,
      --  Iir_Kind_Absolute_Pathname
      Field_Pathname_Suffix,
      --  Iir_Kind_Relative_Pathname
      Field_Pathname_Suffix,
      --  Iir_Kind_Pathname_Element
      Field_Identifier,
      Field_Pathname_Suffix,
      Field_Pathname_Expression,
      Field_Named_Entity,
      --  Iir_Kind_Base_Attribute
      Field_Prefix,
      Field_Type,
      --  Iir_Kind_Left_Type_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Right_Type_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_High_Type_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Low_Type_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Ascending_Type_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Image_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Value_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Pos_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Val_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Succ_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Pred_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Leftof_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Rightof_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Delayed_Attribute
      Field_Has_Active_Flag,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Chain,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Stable_Attribute
      Field_Has_Active_Flag,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Chain,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Quiet_Attribute
      Field_Has_Active_Flag,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Chain,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Transaction_Attribute
      Field_Has_Active_Flag,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Chain,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Event_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      --  Iir_Kind_Active_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      --  Iir_Kind_Last_Event_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      --  Iir_Kind_Last_Active_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      --  Iir_Kind_Last_Value_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      --  Iir_Kind_Driving_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      --  Iir_Kind_Driving_Value_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      --  Iir_Kind_Behavior_Attribute
      --  Iir_Kind_Structure_Attribute
      --  Iir_Kind_Simple_Name_Attribute
      Field_Simple_Name_Identifier,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Simple_Name_Subtype,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Instance_Name_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Path_Name_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Left_Array_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Index_Subtype,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Right_Array_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Index_Subtype,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_High_Array_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Index_Subtype,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Low_Array_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Index_Subtype,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Length_Array_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Index_Subtype,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Ascending_Array_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Index_Subtype,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Range_Array_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Index_Subtype,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Reverse_Range_Array_Attribute
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Index_Subtype,
      Field_Parameter,
      Field_Type,
      Field_Base_Name,
      --  Iir_Kind_Attribute_Name
      Field_Identifier,
      Field_Expr_Staticness,
      Field_Name_Staticness,
      Field_Prefix,
      Field_Attribute_Signature,
      Field_Type,
      Field_Named_Entity,
      Field_Base_Name
     );

   Fields_Of_Iir_Last : constant array (Iir_Kind) of Integer :=
     (
      Iir_Kind_Unused => -1,
      Iir_Kind_Error => 7,
      Iir_Kind_Design_File => 17,
      Iir_Kind_Design_Unit => 32,
      Iir_Kind_Library_Clause => 37,
      Iir_Kind_Use_Clause => 41,
      Iir_Kind_Context_Reference => 45,
      Iir_Kind_Integer_Literal => 49,
      Iir_Kind_Floating_Point_Literal => 53,
      Iir_Kind_Null_Literal => 55,
      Iir_Kind_String_Literal8 => 65,
      Iir_Kind_Physical_Int_Literal => 70,
      Iir_Kind_Physical_Fp_Literal => 75,
      Iir_Kind_Simple_Aggregate => 80,
      Iir_Kind_Overflow_Literal => 83,
      Iir_Kind_Waveform_Element => 86,
      Iir_Kind_Conditional_Waveform => 89,
      Iir_Kind_Association_Element_By_Expression => 96,
      Iir_Kind_Association_Element_By_Individual => 102,
      Iir_Kind_Association_Element_Open => 107,
      Iir_Kind_Association_Element_Package => 113,
      Iir_Kind_Choice_By_Others => 118,
      Iir_Kind_Choice_By_Expression => 125,
      Iir_Kind_Choice_By_Range => 132,
      Iir_Kind_Choice_By_None => 137,
      Iir_Kind_Choice_By_Name => 143,
      Iir_Kind_Entity_Aspect_Entity => 145,
      Iir_Kind_Entity_Aspect_Configuration => 146,
      Iir_Kind_Entity_Aspect_Open => 146,
      Iir_Kind_Block_Configuration => 152,
      Iir_Kind_Block_Header => 156,
      Iir_Kind_Component_Configuration => 162,
      Iir_Kind_Binding_Indication => 168,
      Iir_Kind_Entity_Class => 170,
      Iir_Kind_Attribute_Value => 178,
      Iir_Kind_Signature => 181,
      Iir_Kind_Aggregate_Info => 188,
      Iir_Kind_Procedure_Call => 192,
      Iir_Kind_Record_Element_Constraint => 198,
      Iir_Kind_Array_Element_Resolution => 199,
      Iir_Kind_Record_Resolution => 200,
      Iir_Kind_Record_Element_Resolution => 203,
      Iir_Kind_Attribute_Specification => 211,
      Iir_Kind_Disconnection_Specification => 216,
      Iir_Kind_Configuration_Specification => 221,
      Iir_Kind_Access_Type_Definition => 228,
      Iir_Kind_Incomplete_Type_Definition => 235,
      Iir_Kind_File_Type_Definition => 242,
      Iir_Kind_Protected_Type_Declaration => 251,
      Iir_Kind_Record_Type_Definition => 261,
      Iir_Kind_Array_Type_Definition => 273,
      Iir_Kind_Array_Subtype_Definition => 288,
      Iir_Kind_Record_Subtype_Definition => 299,
      Iir_Kind_Access_Subtype_Definition => 307,
      Iir_Kind_Physical_Subtype_Definition => 316,
      Iir_Kind_Floating_Subtype_Definition => 326,
      Iir_Kind_Integer_Subtype_Definition => 335,
      Iir_Kind_Enumeration_Subtype_Definition => 344,
      Iir_Kind_Enumeration_Type_Definition => 353,
      Iir_Kind_Integer_Type_Definition => 359,
      Iir_Kind_Floating_Type_Definition => 365,
      Iir_Kind_Physical_Type_Definition => 374,
      Iir_Kind_Range_Expression => 380,
      Iir_Kind_Protected_Type_Body => 387,
      Iir_Kind_Subtype_Definition => 391,
      Iir_Kind_Scalar_Nature_Definition => 395,
      Iir_Kind_Overload_List => 396,
      Iir_Kind_Type_Declaration => 402,
      Iir_Kind_Anonymous_Type_Declaration => 407,
      Iir_Kind_Subtype_Declaration => 415,
      Iir_Kind_Nature_Declaration => 421,
      Iir_Kind_Subnature_Declaration => 427,
      Iir_Kind_Package_Declaration => 437,
      Iir_Kind_Package_Instantiation_Declaration => 448,
      Iir_Kind_Package_Body => 455,
      Iir_Kind_Configuration_Declaration => 464,
      Iir_Kind_Entity_Declaration => 476,
      Iir_Kind_Architecture_Body => 488,
      Iir_Kind_Context_Declaration => 494,
      Iir_Kind_Package_Header => 496,
      Iir_Kind_Unit_Declaration => 505,
      Iir_Kind_Library_Declaration => 512,
      Iir_Kind_Component_Declaration => 522,
      Iir_Kind_Attribute_Declaration => 529,
      Iir_Kind_Group_Template_Declaration => 535,
      Iir_Kind_Group_Declaration => 542,
      Iir_Kind_Element_Declaration => 549,
      Iir_Kind_Non_Object_Alias_Declaration => 557,
      Iir_Kind_Psl_Declaration => 565,
      Iir_Kind_Terminal_Declaration => 571,
      Iir_Kind_Free_Quantity_Declaration => 580,
      Iir_Kind_Across_Quantity_Declaration => 592,
      Iir_Kind_Through_Quantity_Declaration => 604,
      Iir_Kind_Enumeration_Literal => 615,
      Iir_Kind_Function_Declaration => 639,
      Iir_Kind_Procedure_Declaration => 661,
      Iir_Kind_Function_Body => 671,
      Iir_Kind_Procedure_Body => 681,
      Iir_Kind_Object_Alias_Declaration => 693,
      Iir_Kind_File_Declaration => 708,
      Iir_Kind_Guard_Signal_Declaration => 721,
      Iir_Kind_Signal_Declaration => 738,
      Iir_Kind_Variable_Declaration => 751,
      Iir_Kind_Constant_Declaration => 765,
      Iir_Kind_Iterator_Declaration => 777,
      Iir_Kind_Interface_Constant_Declaration => 793,
      Iir_Kind_Interface_Variable_Declaration => 809,
      Iir_Kind_Interface_Signal_Declaration => 830,
      Iir_Kind_Interface_File_Declaration => 846,
      Iir_Kind_Interface_Package_Declaration => 855,
      Iir_Kind_Identity_Operator => 859,
      Iir_Kind_Negation_Operator => 863,
      Iir_Kind_Absolute_Operator => 867,
      Iir_Kind_Not_Operator => 871,
      Iir_Kind_Condition_Operator => 875,
      Iir_Kind_Reduction_And_Operator => 879,
      Iir_Kind_Reduction_Or_Operator => 883,
      Iir_Kind_Reduction_Nand_Operator => 887,
      Iir_Kind_Reduction_Nor_Operator => 891,
      Iir_Kind_Reduction_Xor_Operator => 895,
      Iir_Kind_Reduction_Xnor_Operator => 899,
      Iir_Kind_And_Operator => 904,
      Iir_Kind_Or_Operator => 909,
      Iir_Kind_Nand_Operator => 914,
      Iir_Kind_Nor_Operator => 919,
      Iir_Kind_Xor_Operator => 924,
      Iir_Kind_Xnor_Operator => 929,
      Iir_Kind_Equality_Operator => 934,
      Iir_Kind_Inequality_Operator => 939,
      Iir_Kind_Less_Than_Operator => 944,
      Iir_Kind_Less_Than_Or_Equal_Operator => 949,
      Iir_Kind_Greater_Than_Operator => 954,
      Iir_Kind_Greater_Than_Or_Equal_Operator => 959,
      Iir_Kind_Match_Equality_Operator => 964,
      Iir_Kind_Match_Inequality_Operator => 969,
      Iir_Kind_Match_Less_Than_Operator => 974,
      Iir_Kind_Match_Less_Than_Or_Equal_Operator => 979,
      Iir_Kind_Match_Greater_Than_Operator => 984,
      Iir_Kind_Match_Greater_Than_Or_Equal_Operator => 989,
      Iir_Kind_Sll_Operator => 994,
      Iir_Kind_Sla_Operator => 999,
      Iir_Kind_Srl_Operator => 1004,
      Iir_Kind_Sra_Operator => 1009,
      Iir_Kind_Rol_Operator => 1014,
      Iir_Kind_Ror_Operator => 1019,
      Iir_Kind_Addition_Operator => 1024,
      Iir_Kind_Substraction_Operator => 1029,
      Iir_Kind_Concatenation_Operator => 1034,
      Iir_Kind_Multiplication_Operator => 1039,
      Iir_Kind_Division_Operator => 1044,
      Iir_Kind_Modulus_Operator => 1049,
      Iir_Kind_Remainder_Operator => 1054,
      Iir_Kind_Exponentiation_Operator => 1059,
      Iir_Kind_Function_Call => 1068,
      Iir_Kind_Aggregate => 1074,
      Iir_Kind_Parenthesis_Expression => 1077,
      Iir_Kind_Qualified_Expression => 1081,
      Iir_Kind_Type_Conversion => 1086,
      Iir_Kind_Allocator_By_Expression => 1090,
      Iir_Kind_Allocator_By_Subtype => 1094,
      Iir_Kind_Selected_Element => 1100,
      Iir_Kind_Dereference => 1105,
      Iir_Kind_Implicit_Dereference => 1110,
      Iir_Kind_Slice_Name => 1117,
      Iir_Kind_Indexed_Name => 1123,
      Iir_Kind_Psl_Expression => 1125,
      Iir_Kind_Sensitized_Process_Statement => 1145,
      Iir_Kind_Process_Statement => 1164,
      Iir_Kind_Concurrent_Conditional_Signal_Assignment => 1175,
      Iir_Kind_Concurrent_Selected_Signal_Assignment => 1187,
      Iir_Kind_Concurrent_Assertion_Statement => 1195,
      Iir_Kind_Psl_Default_Clock => 1199,
      Iir_Kind_Psl_Assert_Statement => 1208,
      Iir_Kind_Psl_Cover_Statement => 1217,
      Iir_Kind_Concurrent_Procedure_Call_Statement => 1223,
      Iir_Kind_Block_Statement => 1236,
      Iir_Kind_If_Generate_Statement => 1246,
      Iir_Kind_For_Generate_Statement => 1255,
      Iir_Kind_Component_Instantiation_Statement => 1265,
      Iir_Kind_Simple_Simultaneous_Statement => 1272,
      Iir_Kind_Generate_Statement_Body => 1283,
      Iir_Kind_If_Generate_Else_Clause => 1288,
      Iir_Kind_Signal_Assignment_Statement => 1297,
      Iir_Kind_Null_Statement => 1301,
      Iir_Kind_Assertion_Statement => 1308,
      Iir_Kind_Report_Statement => 1314,
      Iir_Kind_Wait_Statement => 1321,
      Iir_Kind_Variable_Assignment_Statement => 1327,
      Iir_Kind_Return_Statement => 1333,
      Iir_Kind_For_Loop_Statement => 1341,
      Iir_Kind_While_Loop_Statement => 1348,
      Iir_Kind_Next_Statement => 1354,
      Iir_Kind_Exit_Statement => 1360,
      Iir_Kind_Case_Statement => 1367,
      Iir_Kind_Procedure_Call_Statement => 1372,
      Iir_Kind_If_Statement => 1380,
      Iir_Kind_Elsif => 1385,
      Iir_Kind_Character_Literal => 1392,
      Iir_Kind_Simple_Name => 1399,
      Iir_Kind_Selected_Name => 1407,
      Iir_Kind_Operator_Symbol => 1412,
      Iir_Kind_Selected_By_All_Name => 1417,
      Iir_Kind_Parenthesis_Name => 1421,
      Iir_Kind_External_Constant_Name => 1430,
      Iir_Kind_External_Signal_Name => 1439,
      Iir_Kind_External_Variable_Name => 1448,
      Iir_Kind_Package_Pathname => 1452,
      Iir_Kind_Absolute_Pathname => 1453,
      Iir_Kind_Relative_Pathname => 1454,
      Iir_Kind_Pathname_Element => 1458,
      Iir_Kind_Base_Attribute => 1460,
      Iir_Kind_Left_Type_Attribute => 1465,
      Iir_Kind_Right_Type_Attribute => 1470,
      Iir_Kind_High_Type_Attribute => 1475,
      Iir_Kind_Low_Type_Attribute => 1480,
      Iir_Kind_Ascending_Type_Attribute => 1485,
      Iir_Kind_Image_Attribute => 1491,
      Iir_Kind_Value_Attribute => 1497,
      Iir_Kind_Pos_Attribute => 1503,
      Iir_Kind_Val_Attribute => 1509,
      Iir_Kind_Succ_Attribute => 1515,
      Iir_Kind_Pred_Attribute => 1521,
      Iir_Kind_Leftof_Attribute => 1527,
      Iir_Kind_Rightof_Attribute => 1533,
      Iir_Kind_Delayed_Attribute => 1541,
      Iir_Kind_Stable_Attribute => 1549,
      Iir_Kind_Quiet_Attribute => 1557,
      Iir_Kind_Transaction_Attribute => 1565,
      Iir_Kind_Event_Attribute => 1569,
      Iir_Kind_Active_Attribute => 1573,
      Iir_Kind_Last_Event_Attribute => 1577,
      Iir_Kind_Last_Active_Attribute => 1581,
      Iir_Kind_Last_Value_Attribute => 1585,
      Iir_Kind_Driving_Attribute => 1589,
      Iir_Kind_Driving_Value_Attribute => 1593,
      Iir_Kind_Behavior_Attribute => 1593,
      Iir_Kind_Structure_Attribute => 1593,
      Iir_Kind_Simple_Name_Attribute => 1600,
      Iir_Kind_Instance_Name_Attribute => 1605,
      Iir_Kind_Path_Name_Attribute => 1610,
      Iir_Kind_Left_Array_Attribute => 1617,
      Iir_Kind_Right_Array_Attribute => 1624,
      Iir_Kind_High_Array_Attribute => 1631,
      Iir_Kind_Low_Array_Attribute => 1638,
      Iir_Kind_Length_Array_Attribute => 1645,
      Iir_Kind_Ascending_Array_Attribute => 1652,
      Iir_Kind_Range_Array_Attribute => 1659,
      Iir_Kind_Reverse_Range_Array_Attribute => 1666,
      Iir_Kind_Attribute_Name => 1674
     );

   function Get_Fields (K : Iir_Kind) return Fields_Array
   is
      First : Natural;
      Last : Integer;
   begin
      if K = Iir_Kind'First then
         First := Fields_Of_Iir'First;
      else
         First := Fields_Of_Iir_Last (Iir_Kind'Pred (K)) + 1;
      end if;
      Last := Fields_Of_Iir_Last (K);
      return Fields_Of_Iir (First .. Last);
   end Get_Fields;

   function Get_Base_Type
      (N : Iir; F : Fields_Enum) return Base_Type is
   begin
      pragma Assert (Fields_Type (F) = Type_Base_Type);
      case F is
         when Field_Bit_String_Base =>
            return Get_Bit_String_Base (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Base_Type;

   procedure Set_Base_Type
      (N : Iir; F : Fields_Enum; V: Base_Type) is
   begin
      pragma Assert (Fields_Type (F) = Type_Base_Type);
      case F is
         when Field_Bit_String_Base =>
            Set_Bit_String_Base (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Base_Type;

   function Get_Boolean
      (N : Iir; F : Fields_Enum) return Boolean is
   begin
      pragma Assert (Fields_Type (F) = Type_Boolean);
      case F is
         when Field_Has_Signed =>
            return Get_Has_Signed (N);
         when Field_Has_Sign =>
            return Get_Has_Sign (N);
         when Field_Has_Length =>
            return Get_Has_Length (N);
         when Field_Whole_Association_Flag =>
            return Get_Whole_Association_Flag (N);
         when Field_Collapse_Signal_Flag =>
            return Get_Collapse_Signal_Flag (N);
         when Field_Artificial_Flag =>
            return Get_Artificial_Flag (N);
         when Field_Open_Flag =>
            return Get_Open_Flag (N);
         when Field_After_Drivers_Flag =>
            return Get_After_Drivers_Flag (N);
         when Field_Same_Alternative_Flag =>
            return Get_Same_Alternative_Flag (N);
         when Field_Need_Body =>
            return Get_Need_Body (N);
         when Field_Guarded_Signal_Flag =>
            return Get_Guarded_Signal_Flag (N);
         when Field_Deferred_Declaration_Flag =>
            return Get_Deferred_Declaration_Flag (N);
         when Field_Shared_Flag =>
            return Get_Shared_Flag (N);
         when Field_Visible_Flag =>
            return Get_Visible_Flag (N);
         when Field_Text_File_Flag =>
            return Get_Text_File_Flag (N);
         when Field_Only_Characters_Flag =>
            return Get_Only_Characters_Flag (N);
         when Field_Postponed_Flag =>
            return Get_Postponed_Flag (N);
         when Field_Passive_Flag =>
            return Get_Passive_Flag (N);
         when Field_Resolution_Function_Flag =>
            return Get_Resolution_Function_Flag (N);
         when Field_Seen_Flag =>
            return Get_Seen_Flag (N);
         when Field_Pure_Flag =>
            return Get_Pure_Flag (N);
         when Field_Foreign_Flag =>
            return Get_Foreign_Flag (N);
         when Field_Resolved_Flag =>
            return Get_Resolved_Flag (N);
         when Field_Signal_Type_Flag =>
            return Get_Signal_Type_Flag (N);
         when Field_Has_Signal_Flag =>
            return Get_Has_Signal_Flag (N);
         when Field_Elab_Flag =>
            return Get_Elab_Flag (N);
         when Field_Index_Constraint_Flag =>
            return Get_Index_Constraint_Flag (N);
         when Field_Has_Implicit_Conversion =>
            return Get_Has_Implicit_Conversion (N);
         when Field_Aggr_Dynamic_Flag =>
            return Get_Aggr_Dynamic_Flag (N);
         when Field_Aggr_Others_Flag =>
            return Get_Aggr_Others_Flag (N);
         when Field_Aggr_Named_Flag =>
            return Get_Aggr_Named_Flag (N);
         when Field_Has_Disconnect_Flag =>
            return Get_Has_Disconnect_Flag (N);
         when Field_Has_Active_Flag =>
            return Get_Has_Active_Flag (N);
         when Field_Is_Within_Flag =>
            return Get_Is_Within_Flag (N);
         when Field_Implicit_Alias_Flag =>
            return Get_Implicit_Alias_Flag (N);
         when Field_Use_Flag =>
            return Get_Use_Flag (N);
         when Field_End_Has_Reserved_Id =>
            return Get_End_Has_Reserved_Id (N);
         when Field_End_Has_Identifier =>
            return Get_End_Has_Identifier (N);
         when Field_End_Has_Postponed =>
            return Get_End_Has_Postponed (N);
         when Field_Has_Label =>
            return Get_Has_Label (N);
         when Field_Has_Begin =>
            return Get_Has_Begin (N);
         when Field_Has_End =>
            return Get_Has_End (N);
         when Field_Has_Is =>
            return Get_Has_Is (N);
         when Field_Has_Pure =>
            return Get_Has_Pure (N);
         when Field_Has_Body =>
            return Get_Has_Body (N);
         when Field_Has_Identifier_List =>
            return Get_Has_Identifier_List (N);
         when Field_Has_Mode =>
            return Get_Has_Mode (N);
         when Field_Has_Class =>
            return Get_Has_Class (N);
         when Field_Is_Ref =>
            return Get_Is_Ref (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Boolean;

   procedure Set_Boolean
      (N : Iir; F : Fields_Enum; V: Boolean) is
   begin
      pragma Assert (Fields_Type (F) = Type_Boolean);
      case F is
         when Field_Has_Signed =>
            Set_Has_Signed (N, V);
         when Field_Has_Sign =>
            Set_Has_Sign (N, V);
         when Field_Has_Length =>
            Set_Has_Length (N, V);
         when Field_Whole_Association_Flag =>
            Set_Whole_Association_Flag (N, V);
         when Field_Collapse_Signal_Flag =>
            Set_Collapse_Signal_Flag (N, V);
         when Field_Artificial_Flag =>
            Set_Artificial_Flag (N, V);
         when Field_Open_Flag =>
            Set_Open_Flag (N, V);
         when Field_After_Drivers_Flag =>
            Set_After_Drivers_Flag (N, V);
         when Field_Same_Alternative_Flag =>
            Set_Same_Alternative_Flag (N, V);
         when Field_Need_Body =>
            Set_Need_Body (N, V);
         when Field_Guarded_Signal_Flag =>
            Set_Guarded_Signal_Flag (N, V);
         when Field_Deferred_Declaration_Flag =>
            Set_Deferred_Declaration_Flag (N, V);
         when Field_Shared_Flag =>
            Set_Shared_Flag (N, V);
         when Field_Visible_Flag =>
            Set_Visible_Flag (N, V);
         when Field_Text_File_Flag =>
            Set_Text_File_Flag (N, V);
         when Field_Only_Characters_Flag =>
            Set_Only_Characters_Flag (N, V);
         when Field_Postponed_Flag =>
            Set_Postponed_Flag (N, V);
         when Field_Passive_Flag =>
            Set_Passive_Flag (N, V);
         when Field_Resolution_Function_Flag =>
            Set_Resolution_Function_Flag (N, V);
         when Field_Seen_Flag =>
            Set_Seen_Flag (N, V);
         when Field_Pure_Flag =>
            Set_Pure_Flag (N, V);
         when Field_Foreign_Flag =>
            Set_Foreign_Flag (N, V);
         when Field_Resolved_Flag =>
            Set_Resolved_Flag (N, V);
         when Field_Signal_Type_Flag =>
            Set_Signal_Type_Flag (N, V);
         when Field_Has_Signal_Flag =>
            Set_Has_Signal_Flag (N, V);
         when Field_Elab_Flag =>
            Set_Elab_Flag (N, V);
         when Field_Index_Constraint_Flag =>
            Set_Index_Constraint_Flag (N, V);
         when Field_Has_Implicit_Conversion =>
            Set_Has_Implicit_Conversion (N, V);
         when Field_Aggr_Dynamic_Flag =>
            Set_Aggr_Dynamic_Flag (N, V);
         when Field_Aggr_Others_Flag =>
            Set_Aggr_Others_Flag (N, V);
         when Field_Aggr_Named_Flag =>
            Set_Aggr_Named_Flag (N, V);
         when Field_Has_Disconnect_Flag =>
            Set_Has_Disconnect_Flag (N, V);
         when Field_Has_Active_Flag =>
            Set_Has_Active_Flag (N, V);
         when Field_Is_Within_Flag =>
            Set_Is_Within_Flag (N, V);
         when Field_Implicit_Alias_Flag =>
            Set_Implicit_Alias_Flag (N, V);
         when Field_Use_Flag =>
            Set_Use_Flag (N, V);
         when Field_End_Has_Reserved_Id =>
            Set_End_Has_Reserved_Id (N, V);
         when Field_End_Has_Identifier =>
            Set_End_Has_Identifier (N, V);
         when Field_End_Has_Postponed =>
            Set_End_Has_Postponed (N, V);
         when Field_Has_Label =>
            Set_Has_Label (N, V);
         when Field_Has_Begin =>
            Set_Has_Begin (N, V);
         when Field_Has_End =>
            Set_Has_End (N, V);
         when Field_Has_Is =>
            Set_Has_Is (N, V);
         when Field_Has_Pure =>
            Set_Has_Pure (N, V);
         when Field_Has_Body =>
            Set_Has_Body (N, V);
         when Field_Has_Identifier_List =>
            Set_Has_Identifier_List (N, V);
         when Field_Has_Mode =>
            Set_Has_Mode (N, V);
         when Field_Has_Class =>
            Set_Has_Class (N, V);
         when Field_Is_Ref =>
            Set_Is_Ref (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Boolean;

   function Get_Date_State_Type
      (N : Iir; F : Fields_Enum) return Date_State_Type is
   begin
      pragma Assert (Fields_Type (F) = Type_Date_State_Type);
      case F is
         when Field_Date_State =>
            return Get_Date_State (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Date_State_Type;

   procedure Set_Date_State_Type
      (N : Iir; F : Fields_Enum; V: Date_State_Type) is
   begin
      pragma Assert (Fields_Type (F) = Type_Date_State_Type);
      case F is
         when Field_Date_State =>
            Set_Date_State (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Date_State_Type;

   function Get_Date_Type
      (N : Iir; F : Fields_Enum) return Date_Type is
   begin
      pragma Assert (Fields_Type (F) = Type_Date_Type);
      case F is
         when Field_Date =>
            return Get_Date (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Date_Type;

   procedure Set_Date_Type
      (N : Iir; F : Fields_Enum; V: Date_Type) is
   begin
      pragma Assert (Fields_Type (F) = Type_Date_Type);
      case F is
         when Field_Date =>
            Set_Date (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Date_Type;

   function Get_File_Checksum_Id
      (N : Iir; F : Fields_Enum) return File_Checksum_Id is
   begin
      pragma Assert (Fields_Type (F) = Type_File_Checksum_Id);
      case F is
         when Field_File_Checksum =>
            return Get_File_Checksum (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_File_Checksum_Id;

   procedure Set_File_Checksum_Id
      (N : Iir; F : Fields_Enum; V: File_Checksum_Id) is
   begin
      pragma Assert (Fields_Type (F) = Type_File_Checksum_Id);
      case F is
         when Field_File_Checksum =>
            Set_File_Checksum (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_File_Checksum_Id;

   function Get_Iir
      (N : Iir; F : Fields_Enum) return Iir is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir);
      case F is
         when Field_First_Design_Unit =>
            return Get_First_Design_Unit (N);
         when Field_Last_Design_Unit =>
            return Get_Last_Design_Unit (N);
         when Field_Library_Declaration =>
            return Get_Library_Declaration (N);
         when Field_Library =>
            return Get_Library (N);
         when Field_Design_File =>
            return Get_Design_File (N);
         when Field_Design_File_Chain =>
            return Get_Design_File_Chain (N);
         when Field_Context_Items =>
            return Get_Context_Items (N);
         when Field_Library_Unit =>
            return Get_Library_Unit (N);
         when Field_Hash_Chain =>
            return Get_Hash_Chain (N);
         when Field_Physical_Literal =>
            return Get_Physical_Literal (N);
         when Field_Physical_Unit_Value =>
            return Get_Physical_Unit_Value (N);
         when Field_Literal_Origin =>
            return Get_Literal_Origin (N);
         when Field_Range_Origin =>
            return Get_Range_Origin (N);
         when Field_Literal_Subtype =>
            return Get_Literal_Subtype (N);
         when Field_Attribute_Designator =>
            return Get_Attribute_Designator (N);
         when Field_Attribute_Specification_Chain =>
            return Get_Attribute_Specification_Chain (N);
         when Field_Attribute_Specification =>
            return Get_Attribute_Specification (N);
         when Field_Designated_Entity =>
            return Get_Designated_Entity (N);
         when Field_Formal =>
            return Get_Formal (N);
         when Field_Actual =>
            return Get_Actual (N);
         when Field_In_Conversion =>
            return Get_In_Conversion (N);
         when Field_Out_Conversion =>
            return Get_Out_Conversion (N);
         when Field_We_Value =>
            return Get_We_Value (N);
         when Field_Time =>
            return Get_Time (N);
         when Field_Associated_Expr =>
            return Get_Associated_Expr (N);
         when Field_Associated_Chain =>
            return Get_Associated_Chain (N);
         when Field_Choice_Name =>
            return Get_Choice_Name (N);
         when Field_Choice_Expression =>
            return Get_Choice_Expression (N);
         when Field_Choice_Range =>
            return Get_Choice_Range (N);
         when Field_Architecture =>
            return Get_Architecture (N);
         when Field_Block_Specification =>
            return Get_Block_Specification (N);
         when Field_Prev_Block_Configuration =>
            return Get_Prev_Block_Configuration (N);
         when Field_Configuration_Item_Chain =>
            return Get_Configuration_Item_Chain (N);
         when Field_Attribute_Value_Chain =>
            return Get_Attribute_Value_Chain (N);
         when Field_Spec_Chain =>
            return Get_Spec_Chain (N);
         when Field_Attribute_Value_Spec_Chain =>
            return Get_Attribute_Value_Spec_Chain (N);
         when Field_Entity_Name =>
            return Get_Entity_Name (N);
         when Field_Package =>
            return Get_Package (N);
         when Field_Package_Body =>
            return Get_Package_Body (N);
         when Field_Block_Configuration =>
            return Get_Block_Configuration (N);
         when Field_Concurrent_Statement_Chain =>
            return Get_Concurrent_Statement_Chain (N);
         when Field_Chain =>
            return Get_Chain (N);
         when Field_Port_Chain =>
            return Get_Port_Chain (N);
         when Field_Generic_Chain =>
            return Get_Generic_Chain (N);
         when Field_Type =>
            return Get_Type (N);
         when Field_Subtype_Indication =>
            return Get_Subtype_Indication (N);
         when Field_Discrete_Range =>
            return Get_Discrete_Range (N);
         when Field_Type_Definition =>
            return Get_Type_Definition (N);
         when Field_Subtype_Definition =>
            return Get_Subtype_Definition (N);
         when Field_Nature =>
            return Get_Nature (N);
         when Field_Base_Name =>
            return Get_Base_Name (N);
         when Field_Interface_Declaration_Chain =>
            return Get_Interface_Declaration_Chain (N);
         when Field_Subprogram_Specification =>
            return Get_Subprogram_Specification (N);
         when Field_Sequential_Statement_Chain =>
            return Get_Sequential_Statement_Chain (N);
         when Field_Subprogram_Body =>
            return Get_Subprogram_Body (N);
         when Field_Return_Type =>
            return Get_Return_Type (N);
         when Field_Type_Reference =>
            return Get_Type_Reference (N);
         when Field_Default_Value =>
            return Get_Default_Value (N);
         when Field_Deferred_Declaration =>
            return Get_Deferred_Declaration (N);
         when Field_Design_Unit =>
            return Get_Design_Unit (N);
         when Field_Block_Statement =>
            return Get_Block_Statement (N);
         when Field_Signal_Driver =>
            return Get_Signal_Driver (N);
         when Field_Declaration_Chain =>
            return Get_Declaration_Chain (N);
         when Field_File_Logical_Name =>
            return Get_File_Logical_Name (N);
         when Field_File_Open_Kind =>
            return Get_File_Open_Kind (N);
         when Field_Element_Declaration =>
            return Get_Element_Declaration (N);
         when Field_Selected_Element =>
            return Get_Selected_Element (N);
         when Field_Use_Clause_Chain =>
            return Get_Use_Clause_Chain (N);
         when Field_Context_Reference_Chain =>
            return Get_Context_Reference_Chain (N);
         when Field_Selected_Name =>
            return Get_Selected_Name (N);
         when Field_Type_Declarator =>
            return Get_Type_Declarator (N);
         when Field_Entity_Class_Entry_Chain =>
            return Get_Entity_Class_Entry_Chain (N);
         when Field_Unit_Chain =>
            return Get_Unit_Chain (N);
         when Field_Primary_Unit =>
            return Get_Primary_Unit (N);
         when Field_Range_Constraint =>
            return Get_Range_Constraint (N);
         when Field_Left_Limit =>
            return Get_Left_Limit (N);
         when Field_Right_Limit =>
            return Get_Right_Limit (N);
         when Field_Base_Type =>
            return Get_Base_Type (N);
         when Field_Resolution_Indication =>
            return Get_Resolution_Indication (N);
         when Field_Record_Element_Resolution_Chain =>
            return Get_Record_Element_Resolution_Chain (N);
         when Field_Tolerance =>
            return Get_Tolerance (N);
         when Field_Plus_Terminal =>
            return Get_Plus_Terminal (N);
         when Field_Minus_Terminal =>
            return Get_Minus_Terminal (N);
         when Field_Simultaneous_Left =>
            return Get_Simultaneous_Left (N);
         when Field_Simultaneous_Right =>
            return Get_Simultaneous_Right (N);
         when Field_Element_Subtype_Indication =>
            return Get_Element_Subtype_Indication (N);
         when Field_Element_Subtype =>
            return Get_Element_Subtype (N);
         when Field_Array_Element_Constraint =>
            return Get_Array_Element_Constraint (N);
         when Field_Designated_Type =>
            return Get_Designated_Type (N);
         when Field_Designated_Subtype_Indication =>
            return Get_Designated_Subtype_Indication (N);
         when Field_Reference =>
            return Get_Reference (N);
         when Field_Nature_Declarator =>
            return Get_Nature_Declarator (N);
         when Field_Across_Type =>
            return Get_Across_Type (N);
         when Field_Through_Type =>
            return Get_Through_Type (N);
         when Field_Target =>
            return Get_Target (N);
         when Field_Waveform_Chain =>
            return Get_Waveform_Chain (N);
         when Field_Guard =>
            return Get_Guard (N);
         when Field_Reject_Time_Expression =>
            return Get_Reject_Time_Expression (N);
         when Field_Process_Origin =>
            return Get_Process_Origin (N);
         when Field_Condition_Clause =>
            return Get_Condition_Clause (N);
         when Field_Timeout_Clause =>
            return Get_Timeout_Clause (N);
         when Field_Assertion_Condition =>
            return Get_Assertion_Condition (N);
         when Field_Report_Expression =>
            return Get_Report_Expression (N);
         when Field_Severity_Expression =>
            return Get_Severity_Expression (N);
         when Field_Instantiated_Unit =>
            return Get_Instantiated_Unit (N);
         when Field_Generic_Map_Aspect_Chain =>
            return Get_Generic_Map_Aspect_Chain (N);
         when Field_Port_Map_Aspect_Chain =>
            return Get_Port_Map_Aspect_Chain (N);
         when Field_Configuration_Name =>
            return Get_Configuration_Name (N);
         when Field_Component_Configuration =>
            return Get_Component_Configuration (N);
         when Field_Configuration_Specification =>
            return Get_Configuration_Specification (N);
         when Field_Default_Binding_Indication =>
            return Get_Default_Binding_Indication (N);
         when Field_Default_Configuration_Declaration =>
            return Get_Default_Configuration_Declaration (N);
         when Field_Expression =>
            return Get_Expression (N);
         when Field_Allocator_Designated_Type =>
            return Get_Allocator_Designated_Type (N);
         when Field_Selected_Waveform_Chain =>
            return Get_Selected_Waveform_Chain (N);
         when Field_Conditional_Waveform_Chain =>
            return Get_Conditional_Waveform_Chain (N);
         when Field_Guard_Expression =>
            return Get_Guard_Expression (N);
         when Field_Guard_Decl =>
            return Get_Guard_Decl (N);
         when Field_Block_Block_Configuration =>
            return Get_Block_Block_Configuration (N);
         when Field_Package_Header =>
            return Get_Package_Header (N);
         when Field_Block_Header =>
            return Get_Block_Header (N);
         when Field_Uninstantiated_Package_Name =>
            return Get_Uninstantiated_Package_Name (N);
         when Field_Generate_Block_Configuration =>
            return Get_Generate_Block_Configuration (N);
         when Field_Generate_Statement_Body =>
            return Get_Generate_Statement_Body (N);
         when Field_Generate_Else_Clause =>
            return Get_Generate_Else_Clause (N);
         when Field_Condition =>
            return Get_Condition (N);
         when Field_Else_Clause =>
            return Get_Else_Clause (N);
         when Field_Parameter_Specification =>
            return Get_Parameter_Specification (N);
         when Field_Parent =>
            return Get_Parent (N);
         when Field_Loop_Label =>
            return Get_Loop_Label (N);
         when Field_Component_Name =>
            return Get_Component_Name (N);
         when Field_Entity_Aspect =>
            return Get_Entity_Aspect (N);
         when Field_Default_Entity_Aspect =>
            return Get_Default_Entity_Aspect (N);
         when Field_Default_Generic_Map_Aspect_Chain =>
            return Get_Default_Generic_Map_Aspect_Chain (N);
         when Field_Default_Port_Map_Aspect_Chain =>
            return Get_Default_Port_Map_Aspect_Chain (N);
         when Field_Binding_Indication =>
            return Get_Binding_Indication (N);
         when Field_Named_Entity =>
            return Get_Named_Entity (N);
         when Field_Alias_Declaration =>
            return Get_Alias_Declaration (N);
         when Field_Error_Origin =>
            return Get_Error_Origin (N);
         when Field_Operand =>
            return Get_Operand (N);
         when Field_Left =>
            return Get_Left (N);
         when Field_Right =>
            return Get_Right (N);
         when Field_Unit_Name =>
            return Get_Unit_Name (N);
         when Field_Name =>
            return Get_Name (N);
         when Field_Group_Template_Name =>
            return Get_Group_Template_Name (N);
         when Field_Prefix =>
            return Get_Prefix (N);
         when Field_Signature_Prefix =>
            return Get_Signature_Prefix (N);
         when Field_External_Pathname =>
            return Get_External_Pathname (N);
         when Field_Pathname_Suffix =>
            return Get_Pathname_Suffix (N);
         when Field_Pathname_Expression =>
            return Get_Pathname_Expression (N);
         when Field_Slice_Subtype =>
            return Get_Slice_Subtype (N);
         when Field_Suffix =>
            return Get_Suffix (N);
         when Field_Index_Subtype =>
            return Get_Index_Subtype (N);
         when Field_Parameter =>
            return Get_Parameter (N);
         when Field_Actual_Type =>
            return Get_Actual_Type (N);
         when Field_Associated_Interface =>
            return Get_Associated_Interface (N);
         when Field_Association_Chain =>
            return Get_Association_Chain (N);
         when Field_Individual_Association_Chain =>
            return Get_Individual_Association_Chain (N);
         when Field_Aggregate_Info =>
            return Get_Aggregate_Info (N);
         when Field_Sub_Aggregate_Info =>
            return Get_Sub_Aggregate_Info (N);
         when Field_Aggr_Low_Limit =>
            return Get_Aggr_Low_Limit (N);
         when Field_Aggr_High_Limit =>
            return Get_Aggr_High_Limit (N);
         when Field_Association_Choices_Chain =>
            return Get_Association_Choices_Chain (N);
         when Field_Case_Statement_Alternative_Chain =>
            return Get_Case_Statement_Alternative_Chain (N);
         when Field_Procedure_Call =>
            return Get_Procedure_Call (N);
         when Field_Implementation =>
            return Get_Implementation (N);
         when Field_Parameter_Association_Chain =>
            return Get_Parameter_Association_Chain (N);
         when Field_Method_Object =>
            return Get_Method_Object (N);
         when Field_Subtype_Type_Mark =>
            return Get_Subtype_Type_Mark (N);
         when Field_Type_Conversion_Subtype =>
            return Get_Type_Conversion_Subtype (N);
         when Field_Type_Mark =>
            return Get_Type_Mark (N);
         when Field_File_Type_Mark =>
            return Get_File_Type_Mark (N);
         when Field_Return_Type_Mark =>
            return Get_Return_Type_Mark (N);
         when Field_Alias_Signature =>
            return Get_Alias_Signature (N);
         when Field_Attribute_Signature =>
            return Get_Attribute_Signature (N);
         when Field_Simple_Name_Subtype =>
            return Get_Simple_Name_Subtype (N);
         when Field_Protected_Type_Body =>
            return Get_Protected_Type_Body (N);
         when Field_Protected_Type_Declaration =>
            return Get_Protected_Type_Declaration (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir;

   procedure Set_Iir
      (N : Iir; F : Fields_Enum; V: Iir) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir);
      case F is
         when Field_First_Design_Unit =>
            Set_First_Design_Unit (N, V);
         when Field_Last_Design_Unit =>
            Set_Last_Design_Unit (N, V);
         when Field_Library_Declaration =>
            Set_Library_Declaration (N, V);
         when Field_Library =>
            Set_Library (N, V);
         when Field_Design_File =>
            Set_Design_File (N, V);
         when Field_Design_File_Chain =>
            Set_Design_File_Chain (N, V);
         when Field_Context_Items =>
            Set_Context_Items (N, V);
         when Field_Library_Unit =>
            Set_Library_Unit (N, V);
         when Field_Hash_Chain =>
            Set_Hash_Chain (N, V);
         when Field_Physical_Literal =>
            Set_Physical_Literal (N, V);
         when Field_Physical_Unit_Value =>
            Set_Physical_Unit_Value (N, V);
         when Field_Literal_Origin =>
            Set_Literal_Origin (N, V);
         when Field_Range_Origin =>
            Set_Range_Origin (N, V);
         when Field_Literal_Subtype =>
            Set_Literal_Subtype (N, V);
         when Field_Attribute_Designator =>
            Set_Attribute_Designator (N, V);
         when Field_Attribute_Specification_Chain =>
            Set_Attribute_Specification_Chain (N, V);
         when Field_Attribute_Specification =>
            Set_Attribute_Specification (N, V);
         when Field_Designated_Entity =>
            Set_Designated_Entity (N, V);
         when Field_Formal =>
            Set_Formal (N, V);
         when Field_Actual =>
            Set_Actual (N, V);
         when Field_In_Conversion =>
            Set_In_Conversion (N, V);
         when Field_Out_Conversion =>
            Set_Out_Conversion (N, V);
         when Field_We_Value =>
            Set_We_Value (N, V);
         when Field_Time =>
            Set_Time (N, V);
         when Field_Associated_Expr =>
            Set_Associated_Expr (N, V);
         when Field_Associated_Chain =>
            Set_Associated_Chain (N, V);
         when Field_Choice_Name =>
            Set_Choice_Name (N, V);
         when Field_Choice_Expression =>
            Set_Choice_Expression (N, V);
         when Field_Choice_Range =>
            Set_Choice_Range (N, V);
         when Field_Architecture =>
            Set_Architecture (N, V);
         when Field_Block_Specification =>
            Set_Block_Specification (N, V);
         when Field_Prev_Block_Configuration =>
            Set_Prev_Block_Configuration (N, V);
         when Field_Configuration_Item_Chain =>
            Set_Configuration_Item_Chain (N, V);
         when Field_Attribute_Value_Chain =>
            Set_Attribute_Value_Chain (N, V);
         when Field_Spec_Chain =>
            Set_Spec_Chain (N, V);
         when Field_Attribute_Value_Spec_Chain =>
            Set_Attribute_Value_Spec_Chain (N, V);
         when Field_Entity_Name =>
            Set_Entity_Name (N, V);
         when Field_Package =>
            Set_Package (N, V);
         when Field_Package_Body =>
            Set_Package_Body (N, V);
         when Field_Block_Configuration =>
            Set_Block_Configuration (N, V);
         when Field_Concurrent_Statement_Chain =>
            Set_Concurrent_Statement_Chain (N, V);
         when Field_Chain =>
            Set_Chain (N, V);
         when Field_Port_Chain =>
            Set_Port_Chain (N, V);
         when Field_Generic_Chain =>
            Set_Generic_Chain (N, V);
         when Field_Type =>
            Set_Type (N, V);
         when Field_Subtype_Indication =>
            Set_Subtype_Indication (N, V);
         when Field_Discrete_Range =>
            Set_Discrete_Range (N, V);
         when Field_Type_Definition =>
            Set_Type_Definition (N, V);
         when Field_Subtype_Definition =>
            Set_Subtype_Definition (N, V);
         when Field_Nature =>
            Set_Nature (N, V);
         when Field_Base_Name =>
            Set_Base_Name (N, V);
         when Field_Interface_Declaration_Chain =>
            Set_Interface_Declaration_Chain (N, V);
         when Field_Subprogram_Specification =>
            Set_Subprogram_Specification (N, V);
         when Field_Sequential_Statement_Chain =>
            Set_Sequential_Statement_Chain (N, V);
         when Field_Subprogram_Body =>
            Set_Subprogram_Body (N, V);
         when Field_Return_Type =>
            Set_Return_Type (N, V);
         when Field_Type_Reference =>
            Set_Type_Reference (N, V);
         when Field_Default_Value =>
            Set_Default_Value (N, V);
         when Field_Deferred_Declaration =>
            Set_Deferred_Declaration (N, V);
         when Field_Design_Unit =>
            Set_Design_Unit (N, V);
         when Field_Block_Statement =>
            Set_Block_Statement (N, V);
         when Field_Signal_Driver =>
            Set_Signal_Driver (N, V);
         when Field_Declaration_Chain =>
            Set_Declaration_Chain (N, V);
         when Field_File_Logical_Name =>
            Set_File_Logical_Name (N, V);
         when Field_File_Open_Kind =>
            Set_File_Open_Kind (N, V);
         when Field_Element_Declaration =>
            Set_Element_Declaration (N, V);
         when Field_Selected_Element =>
            Set_Selected_Element (N, V);
         when Field_Use_Clause_Chain =>
            Set_Use_Clause_Chain (N, V);
         when Field_Context_Reference_Chain =>
            Set_Context_Reference_Chain (N, V);
         when Field_Selected_Name =>
            Set_Selected_Name (N, V);
         when Field_Type_Declarator =>
            Set_Type_Declarator (N, V);
         when Field_Entity_Class_Entry_Chain =>
            Set_Entity_Class_Entry_Chain (N, V);
         when Field_Unit_Chain =>
            Set_Unit_Chain (N, V);
         when Field_Primary_Unit =>
            Set_Primary_Unit (N, V);
         when Field_Range_Constraint =>
            Set_Range_Constraint (N, V);
         when Field_Left_Limit =>
            Set_Left_Limit (N, V);
         when Field_Right_Limit =>
            Set_Right_Limit (N, V);
         when Field_Base_Type =>
            Set_Base_Type (N, V);
         when Field_Resolution_Indication =>
            Set_Resolution_Indication (N, V);
         when Field_Record_Element_Resolution_Chain =>
            Set_Record_Element_Resolution_Chain (N, V);
         when Field_Tolerance =>
            Set_Tolerance (N, V);
         when Field_Plus_Terminal =>
            Set_Plus_Terminal (N, V);
         when Field_Minus_Terminal =>
            Set_Minus_Terminal (N, V);
         when Field_Simultaneous_Left =>
            Set_Simultaneous_Left (N, V);
         when Field_Simultaneous_Right =>
            Set_Simultaneous_Right (N, V);
         when Field_Element_Subtype_Indication =>
            Set_Element_Subtype_Indication (N, V);
         when Field_Element_Subtype =>
            Set_Element_Subtype (N, V);
         when Field_Array_Element_Constraint =>
            Set_Array_Element_Constraint (N, V);
         when Field_Designated_Type =>
            Set_Designated_Type (N, V);
         when Field_Designated_Subtype_Indication =>
            Set_Designated_Subtype_Indication (N, V);
         when Field_Reference =>
            Set_Reference (N, V);
         when Field_Nature_Declarator =>
            Set_Nature_Declarator (N, V);
         when Field_Across_Type =>
            Set_Across_Type (N, V);
         when Field_Through_Type =>
            Set_Through_Type (N, V);
         when Field_Target =>
            Set_Target (N, V);
         when Field_Waveform_Chain =>
            Set_Waveform_Chain (N, V);
         when Field_Guard =>
            Set_Guard (N, V);
         when Field_Reject_Time_Expression =>
            Set_Reject_Time_Expression (N, V);
         when Field_Process_Origin =>
            Set_Process_Origin (N, V);
         when Field_Condition_Clause =>
            Set_Condition_Clause (N, V);
         when Field_Timeout_Clause =>
            Set_Timeout_Clause (N, V);
         when Field_Assertion_Condition =>
            Set_Assertion_Condition (N, V);
         when Field_Report_Expression =>
            Set_Report_Expression (N, V);
         when Field_Severity_Expression =>
            Set_Severity_Expression (N, V);
         when Field_Instantiated_Unit =>
            Set_Instantiated_Unit (N, V);
         when Field_Generic_Map_Aspect_Chain =>
            Set_Generic_Map_Aspect_Chain (N, V);
         when Field_Port_Map_Aspect_Chain =>
            Set_Port_Map_Aspect_Chain (N, V);
         when Field_Configuration_Name =>
            Set_Configuration_Name (N, V);
         when Field_Component_Configuration =>
            Set_Component_Configuration (N, V);
         when Field_Configuration_Specification =>
            Set_Configuration_Specification (N, V);
         when Field_Default_Binding_Indication =>
            Set_Default_Binding_Indication (N, V);
         when Field_Default_Configuration_Declaration =>
            Set_Default_Configuration_Declaration (N, V);
         when Field_Expression =>
            Set_Expression (N, V);
         when Field_Allocator_Designated_Type =>
            Set_Allocator_Designated_Type (N, V);
         when Field_Selected_Waveform_Chain =>
            Set_Selected_Waveform_Chain (N, V);
         when Field_Conditional_Waveform_Chain =>
            Set_Conditional_Waveform_Chain (N, V);
         when Field_Guard_Expression =>
            Set_Guard_Expression (N, V);
         when Field_Guard_Decl =>
            Set_Guard_Decl (N, V);
         when Field_Block_Block_Configuration =>
            Set_Block_Block_Configuration (N, V);
         when Field_Package_Header =>
            Set_Package_Header (N, V);
         when Field_Block_Header =>
            Set_Block_Header (N, V);
         when Field_Uninstantiated_Package_Name =>
            Set_Uninstantiated_Package_Name (N, V);
         when Field_Generate_Block_Configuration =>
            Set_Generate_Block_Configuration (N, V);
         when Field_Generate_Statement_Body =>
            Set_Generate_Statement_Body (N, V);
         when Field_Generate_Else_Clause =>
            Set_Generate_Else_Clause (N, V);
         when Field_Condition =>
            Set_Condition (N, V);
         when Field_Else_Clause =>
            Set_Else_Clause (N, V);
         when Field_Parameter_Specification =>
            Set_Parameter_Specification (N, V);
         when Field_Parent =>
            Set_Parent (N, V);
         when Field_Loop_Label =>
            Set_Loop_Label (N, V);
         when Field_Component_Name =>
            Set_Component_Name (N, V);
         when Field_Entity_Aspect =>
            Set_Entity_Aspect (N, V);
         when Field_Default_Entity_Aspect =>
            Set_Default_Entity_Aspect (N, V);
         when Field_Default_Generic_Map_Aspect_Chain =>
            Set_Default_Generic_Map_Aspect_Chain (N, V);
         when Field_Default_Port_Map_Aspect_Chain =>
            Set_Default_Port_Map_Aspect_Chain (N, V);
         when Field_Binding_Indication =>
            Set_Binding_Indication (N, V);
         when Field_Named_Entity =>
            Set_Named_Entity (N, V);
         when Field_Alias_Declaration =>
            Set_Alias_Declaration (N, V);
         when Field_Error_Origin =>
            Set_Error_Origin (N, V);
         when Field_Operand =>
            Set_Operand (N, V);
         when Field_Left =>
            Set_Left (N, V);
         when Field_Right =>
            Set_Right (N, V);
         when Field_Unit_Name =>
            Set_Unit_Name (N, V);
         when Field_Name =>
            Set_Name (N, V);
         when Field_Group_Template_Name =>
            Set_Group_Template_Name (N, V);
         when Field_Prefix =>
            Set_Prefix (N, V);
         when Field_Signature_Prefix =>
            Set_Signature_Prefix (N, V);
         when Field_External_Pathname =>
            Set_External_Pathname (N, V);
         when Field_Pathname_Suffix =>
            Set_Pathname_Suffix (N, V);
         when Field_Pathname_Expression =>
            Set_Pathname_Expression (N, V);
         when Field_Slice_Subtype =>
            Set_Slice_Subtype (N, V);
         when Field_Suffix =>
            Set_Suffix (N, V);
         when Field_Index_Subtype =>
            Set_Index_Subtype (N, V);
         when Field_Parameter =>
            Set_Parameter (N, V);
         when Field_Actual_Type =>
            Set_Actual_Type (N, V);
         when Field_Associated_Interface =>
            Set_Associated_Interface (N, V);
         when Field_Association_Chain =>
            Set_Association_Chain (N, V);
         when Field_Individual_Association_Chain =>
            Set_Individual_Association_Chain (N, V);
         when Field_Aggregate_Info =>
            Set_Aggregate_Info (N, V);
         when Field_Sub_Aggregate_Info =>
            Set_Sub_Aggregate_Info (N, V);
         when Field_Aggr_Low_Limit =>
            Set_Aggr_Low_Limit (N, V);
         when Field_Aggr_High_Limit =>
            Set_Aggr_High_Limit (N, V);
         when Field_Association_Choices_Chain =>
            Set_Association_Choices_Chain (N, V);
         when Field_Case_Statement_Alternative_Chain =>
            Set_Case_Statement_Alternative_Chain (N, V);
         when Field_Procedure_Call =>
            Set_Procedure_Call (N, V);
         when Field_Implementation =>
            Set_Implementation (N, V);
         when Field_Parameter_Association_Chain =>
            Set_Parameter_Association_Chain (N, V);
         when Field_Method_Object =>
            Set_Method_Object (N, V);
         when Field_Subtype_Type_Mark =>
            Set_Subtype_Type_Mark (N, V);
         when Field_Type_Conversion_Subtype =>
            Set_Type_Conversion_Subtype (N, V);
         when Field_Type_Mark =>
            Set_Type_Mark (N, V);
         when Field_File_Type_Mark =>
            Set_File_Type_Mark (N, V);
         when Field_Return_Type_Mark =>
            Set_Return_Type_Mark (N, V);
         when Field_Alias_Signature =>
            Set_Alias_Signature (N, V);
         when Field_Attribute_Signature =>
            Set_Attribute_Signature (N, V);
         when Field_Simple_Name_Subtype =>
            Set_Simple_Name_Subtype (N, V);
         when Field_Protected_Type_Body =>
            Set_Protected_Type_Body (N, V);
         when Field_Protected_Type_Declaration =>
            Set_Protected_Type_Declaration (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir;

   function Get_Iir_All_Sensitized
      (N : Iir; F : Fields_Enum) return Iir_All_Sensitized is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_All_Sensitized);
      case F is
         when Field_All_Sensitized_State =>
            return Get_All_Sensitized_State (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_All_Sensitized;

   procedure Set_Iir_All_Sensitized
      (N : Iir; F : Fields_Enum; V: Iir_All_Sensitized) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_All_Sensitized);
      case F is
         when Field_All_Sensitized_State =>
            Set_All_Sensitized_State (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_All_Sensitized;

   function Get_Iir_Constraint
      (N : Iir; F : Fields_Enum) return Iir_Constraint is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Constraint);
      case F is
         when Field_Constraint_State =>
            return Get_Constraint_State (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_Constraint;

   procedure Set_Iir_Constraint
      (N : Iir; F : Fields_Enum; V: Iir_Constraint) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Constraint);
      case F is
         when Field_Constraint_State =>
            Set_Constraint_State (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_Constraint;

   function Get_Iir_Delay_Mechanism
      (N : Iir; F : Fields_Enum) return Iir_Delay_Mechanism is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Delay_Mechanism);
      case F is
         when Field_Delay_Mechanism =>
            return Get_Delay_Mechanism (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_Delay_Mechanism;

   procedure Set_Iir_Delay_Mechanism
      (N : Iir; F : Fields_Enum; V: Iir_Delay_Mechanism) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Delay_Mechanism);
      case F is
         when Field_Delay_Mechanism =>
            Set_Delay_Mechanism (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_Delay_Mechanism;

   function Get_Iir_Direction
      (N : Iir; F : Fields_Enum) return Iir_Direction is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Direction);
      case F is
         when Field_Direction =>
            return Get_Direction (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_Direction;

   procedure Set_Iir_Direction
      (N : Iir; F : Fields_Enum; V: Iir_Direction) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Direction);
      case F is
         when Field_Direction =>
            Set_Direction (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_Direction;

   function Get_Iir_Fp64
      (N : Iir; F : Fields_Enum) return Iir_Fp64 is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Fp64);
      case F is
         when Field_Fp_Value =>
            return Get_Fp_Value (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_Fp64;

   procedure Set_Iir_Fp64
      (N : Iir; F : Fields_Enum; V: Iir_Fp64) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Fp64);
      case F is
         when Field_Fp_Value =>
            Set_Fp_Value (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_Fp64;

   function Get_Iir_Index32
      (N : Iir; F : Fields_Enum) return Iir_Index32 is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Index32);
      case F is
         when Field_Element_Position =>
            return Get_Element_Position (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_Index32;

   procedure Set_Iir_Index32
      (N : Iir; F : Fields_Enum; V: Iir_Index32) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Index32);
      case F is
         when Field_Element_Position =>
            Set_Element_Position (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_Index32;

   function Get_Iir_Int32
      (N : Iir; F : Fields_Enum) return Iir_Int32 is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Int32);
      case F is
         when Field_Enum_Pos =>
            return Get_Enum_Pos (N);
         when Field_Overload_Number =>
            return Get_Overload_Number (N);
         when Field_Subprogram_Depth =>
            return Get_Subprogram_Depth (N);
         when Field_Subprogram_Hash =>
            return Get_Subprogram_Hash (N);
         when Field_Impure_Depth =>
            return Get_Impure_Depth (N);
         when Field_Aggr_Min_Length =>
            return Get_Aggr_Min_Length (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_Int32;

   procedure Set_Iir_Int32
      (N : Iir; F : Fields_Enum; V: Iir_Int32) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Int32);
      case F is
         when Field_Enum_Pos =>
            Set_Enum_Pos (N, V);
         when Field_Overload_Number =>
            Set_Overload_Number (N, V);
         when Field_Subprogram_Depth =>
            Set_Subprogram_Depth (N, V);
         when Field_Subprogram_Hash =>
            Set_Subprogram_Hash (N, V);
         when Field_Impure_Depth =>
            Set_Impure_Depth (N, V);
         when Field_Aggr_Min_Length =>
            Set_Aggr_Min_Length (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_Int32;

   function Get_Iir_Int64
      (N : Iir; F : Fields_Enum) return Iir_Int64 is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Int64);
      case F is
         when Field_Value =>
            return Get_Value (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_Int64;

   procedure Set_Iir_Int64
      (N : Iir; F : Fields_Enum; V: Iir_Int64) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Int64);
      case F is
         when Field_Value =>
            Set_Value (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_Int64;

   function Get_Iir_List
      (N : Iir; F : Fields_Enum) return Iir_List is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_List);
      case F is
         when Field_File_Dependence_List =>
            return Get_File_Dependence_List (N);
         when Field_Dependence_List =>
            return Get_Dependence_List (N);
         when Field_Analysis_Checks_List =>
            return Get_Analysis_Checks_List (N);
         when Field_Simple_Aggregate_List =>
            return Get_Simple_Aggregate_List (N);
         when Field_Entity_Name_List =>
            return Get_Entity_Name_List (N);
         when Field_Signal_List =>
            return Get_Signal_List (N);
         when Field_Enumeration_Literal_List =>
            return Get_Enumeration_Literal_List (N);
         when Field_Group_Constituent_List =>
            return Get_Group_Constituent_List (N);
         when Field_Index_Subtype_List =>
            return Get_Index_Subtype_List (N);
         when Field_Index_Subtype_Definition_List =>
            return Get_Index_Subtype_Definition_List (N);
         when Field_Index_Constraint_List =>
            return Get_Index_Constraint_List (N);
         when Field_Elements_Declaration_List =>
            return Get_Elements_Declaration_List (N);
         when Field_Index_List =>
            return Get_Index_List (N);
         when Field_Sensitivity_List =>
            return Get_Sensitivity_List (N);
         when Field_Callees_List =>
            return Get_Callees_List (N);
         when Field_Guard_Sensitivity_List =>
            return Get_Guard_Sensitivity_List (N);
         when Field_Instantiation_List =>
            return Get_Instantiation_List (N);
         when Field_Incomplete_Type_List =>
            return Get_Incomplete_Type_List (N);
         when Field_Type_Marks_List =>
            return Get_Type_Marks_List (N);
         when Field_Overload_List =>
            return Get_Overload_List (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_List;

   procedure Set_Iir_List
      (N : Iir; F : Fields_Enum; V: Iir_List) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_List);
      case F is
         when Field_File_Dependence_List =>
            Set_File_Dependence_List (N, V);
         when Field_Dependence_List =>
            Set_Dependence_List (N, V);
         when Field_Analysis_Checks_List =>
            Set_Analysis_Checks_List (N, V);
         when Field_Simple_Aggregate_List =>
            Set_Simple_Aggregate_List (N, V);
         when Field_Entity_Name_List =>
            Set_Entity_Name_List (N, V);
         when Field_Signal_List =>
            Set_Signal_List (N, V);
         when Field_Enumeration_Literal_List =>
            Set_Enumeration_Literal_List (N, V);
         when Field_Group_Constituent_List =>
            Set_Group_Constituent_List (N, V);
         when Field_Index_Subtype_List =>
            Set_Index_Subtype_List (N, V);
         when Field_Index_Subtype_Definition_List =>
            Set_Index_Subtype_Definition_List (N, V);
         when Field_Index_Constraint_List =>
            Set_Index_Constraint_List (N, V);
         when Field_Elements_Declaration_List =>
            Set_Elements_Declaration_List (N, V);
         when Field_Index_List =>
            Set_Index_List (N, V);
         when Field_Sensitivity_List =>
            Set_Sensitivity_List (N, V);
         when Field_Callees_List =>
            Set_Callees_List (N, V);
         when Field_Guard_Sensitivity_List =>
            Set_Guard_Sensitivity_List (N, V);
         when Field_Instantiation_List =>
            Set_Instantiation_List (N, V);
         when Field_Incomplete_Type_List =>
            Set_Incomplete_Type_List (N, V);
         when Field_Type_Marks_List =>
            Set_Type_Marks_List (N, V);
         when Field_Overload_List =>
            Set_Overload_List (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_List;

   function Get_Iir_Mode
      (N : Iir; F : Fields_Enum) return Iir_Mode is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Mode);
      case F is
         when Field_Mode =>
            return Get_Mode (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_Mode;

   procedure Set_Iir_Mode
      (N : Iir; F : Fields_Enum; V: Iir_Mode) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Mode);
      case F is
         when Field_Mode =>
            Set_Mode (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_Mode;

   function Get_Iir_Predefined_Functions
      (N : Iir; F : Fields_Enum) return Iir_Predefined_Functions is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Predefined_Functions);
      case F is
         when Field_Implicit_Definition =>
            return Get_Implicit_Definition (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_Predefined_Functions;

   procedure Set_Iir_Predefined_Functions
      (N : Iir; F : Fields_Enum; V: Iir_Predefined_Functions) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Predefined_Functions);
      case F is
         when Field_Implicit_Definition =>
            Set_Implicit_Definition (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_Predefined_Functions;

   function Get_Iir_Pure_State
      (N : Iir; F : Fields_Enum) return Iir_Pure_State is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Pure_State);
      case F is
         when Field_Purity_State =>
            return Get_Purity_State (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_Pure_State;

   procedure Set_Iir_Pure_State
      (N : Iir; F : Fields_Enum; V: Iir_Pure_State) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Pure_State);
      case F is
         when Field_Purity_State =>
            Set_Purity_State (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_Pure_State;

   function Get_Iir_Signal_Kind
      (N : Iir; F : Fields_Enum) return Iir_Signal_Kind is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Signal_Kind);
      case F is
         when Field_Signal_Kind =>
            return Get_Signal_Kind (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_Signal_Kind;

   procedure Set_Iir_Signal_Kind
      (N : Iir; F : Fields_Enum; V: Iir_Signal_Kind) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Signal_Kind);
      case F is
         when Field_Signal_Kind =>
            Set_Signal_Kind (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_Signal_Kind;

   function Get_Iir_Staticness
      (N : Iir; F : Fields_Enum) return Iir_Staticness is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Staticness);
      case F is
         when Field_Type_Staticness =>
            return Get_Type_Staticness (N);
         when Field_Expr_Staticness =>
            return Get_Expr_Staticness (N);
         when Field_Name_Staticness =>
            return Get_Name_Staticness (N);
         when Field_Value_Staticness =>
            return Get_Value_Staticness (N);
         when Field_Choice_Staticness =>
            return Get_Choice_Staticness (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Iir_Staticness;

   procedure Set_Iir_Staticness
      (N : Iir; F : Fields_Enum; V: Iir_Staticness) is
   begin
      pragma Assert (Fields_Type (F) = Type_Iir_Staticness);
      case F is
         when Field_Type_Staticness =>
            Set_Type_Staticness (N, V);
         when Field_Expr_Staticness =>
            Set_Expr_Staticness (N, V);
         when Field_Name_Staticness =>
            Set_Name_Staticness (N, V);
         when Field_Value_Staticness =>
            Set_Value_Staticness (N, V);
         when Field_Choice_Staticness =>
            Set_Choice_Staticness (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Iir_Staticness;

   function Get_Int32
      (N : Iir; F : Fields_Enum) return Int32 is
   begin
      pragma Assert (Fields_Type (F) = Type_Int32);
      case F is
         when Field_Design_Unit_Source_Line =>
            return Get_Design_Unit_Source_Line (N);
         when Field_Design_Unit_Source_Col =>
            return Get_Design_Unit_Source_Col (N);
         when Field_String_Length =>
            return Get_String_Length (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Int32;

   procedure Set_Int32
      (N : Iir; F : Fields_Enum; V: Int32) is
   begin
      pragma Assert (Fields_Type (F) = Type_Int32);
      case F is
         when Field_Design_Unit_Source_Line =>
            Set_Design_Unit_Source_Line (N, V);
         when Field_Design_Unit_Source_Col =>
            Set_Design_Unit_Source_Col (N, V);
         when Field_String_Length =>
            Set_String_Length (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Int32;

   function Get_Location_Type
      (N : Iir; F : Fields_Enum) return Location_Type is
   begin
      pragma Assert (Fields_Type (F) = Type_Location_Type);
      case F is
         when Field_End_Location =>
            return Get_End_Location (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Location_Type;

   procedure Set_Location_Type
      (N : Iir; F : Fields_Enum; V: Location_Type) is
   begin
      pragma Assert (Fields_Type (F) = Type_Location_Type);
      case F is
         when Field_End_Location =>
            Set_End_Location (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Location_Type;

   function Get_Name_Id
      (N : Iir; F : Fields_Enum) return Name_Id is
   begin
      pragma Assert (Fields_Type (F) = Type_Name_Id);
      case F is
         when Field_Design_File_Filename =>
            return Get_Design_File_Filename (N);
         when Field_Design_File_Directory =>
            return Get_Design_File_Directory (N);
         when Field_Library_Directory =>
            return Get_Library_Directory (N);
         when Field_Identifier =>
            return Get_Identifier (N);
         when Field_Label =>
            return Get_Label (N);
         when Field_Alternative_Label =>
            return Get_Alternative_Label (N);
         when Field_Simple_Name_Identifier =>
            return Get_Simple_Name_Identifier (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Name_Id;

   procedure Set_Name_Id
      (N : Iir; F : Fields_Enum; V: Name_Id) is
   begin
      pragma Assert (Fields_Type (F) = Type_Name_Id);
      case F is
         when Field_Design_File_Filename =>
            Set_Design_File_Filename (N, V);
         when Field_Design_File_Directory =>
            Set_Design_File_Directory (N, V);
         when Field_Library_Directory =>
            Set_Library_Directory (N, V);
         when Field_Identifier =>
            Set_Identifier (N, V);
         when Field_Label =>
            Set_Label (N, V);
         when Field_Alternative_Label =>
            Set_Alternative_Label (N, V);
         when Field_Simple_Name_Identifier =>
            Set_Simple_Name_Identifier (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Name_Id;

   function Get_PSL_NFA
      (N : Iir; F : Fields_Enum) return PSL_NFA is
   begin
      pragma Assert (Fields_Type (F) = Type_PSL_NFA);
      case F is
         when Field_PSL_NFA =>
            return Get_PSL_NFA (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_PSL_NFA;

   procedure Set_PSL_NFA
      (N : Iir; F : Fields_Enum; V: PSL_NFA) is
   begin
      pragma Assert (Fields_Type (F) = Type_PSL_NFA);
      case F is
         when Field_PSL_NFA =>
            Set_PSL_NFA (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_PSL_NFA;

   function Get_PSL_Node
      (N : Iir; F : Fields_Enum) return PSL_Node is
   begin
      pragma Assert (Fields_Type (F) = Type_PSL_Node);
      case F is
         when Field_Psl_Property =>
            return Get_Psl_Property (N);
         when Field_Psl_Declaration =>
            return Get_Psl_Declaration (N);
         when Field_Psl_Expression =>
            return Get_Psl_Expression (N);
         when Field_Psl_Boolean =>
            return Get_Psl_Boolean (N);
         when Field_PSL_Clock =>
            return Get_PSL_Clock (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_PSL_Node;

   procedure Set_PSL_Node
      (N : Iir; F : Fields_Enum; V: PSL_Node) is
   begin
      pragma Assert (Fields_Type (F) = Type_PSL_Node);
      case F is
         when Field_Psl_Property =>
            Set_Psl_Property (N, V);
         when Field_Psl_Declaration =>
            Set_Psl_Declaration (N, V);
         when Field_Psl_Expression =>
            Set_Psl_Expression (N, V);
         when Field_Psl_Boolean =>
            Set_Psl_Boolean (N, V);
         when Field_PSL_Clock =>
            Set_PSL_Clock (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_PSL_Node;

   function Get_Source_Ptr
      (N : Iir; F : Fields_Enum) return Source_Ptr is
   begin
      pragma Assert (Fields_Type (F) = Type_Source_Ptr);
      case F is
         when Field_Design_Unit_Source_Pos =>
            return Get_Design_Unit_Source_Pos (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Source_Ptr;

   procedure Set_Source_Ptr
      (N : Iir; F : Fields_Enum; V: Source_Ptr) is
   begin
      pragma Assert (Fields_Type (F) = Type_Source_Ptr);
      case F is
         when Field_Design_Unit_Source_Pos =>
            Set_Design_Unit_Source_Pos (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Source_Ptr;

   function Get_String8_Id
      (N : Iir; F : Fields_Enum) return String8_Id is
   begin
      pragma Assert (Fields_Type (F) = Type_String8_Id);
      case F is
         when Field_String8_Id =>
            return Get_String8_Id (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_String8_Id;

   procedure Set_String8_Id
      (N : Iir; F : Fields_Enum; V: String8_Id) is
   begin
      pragma Assert (Fields_Type (F) = Type_String8_Id);
      case F is
         when Field_String8_Id =>
            Set_String8_Id (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_String8_Id;

   function Get_Time_Stamp_Id
      (N : Iir; F : Fields_Enum) return Time_Stamp_Id is
   begin
      pragma Assert (Fields_Type (F) = Type_Time_Stamp_Id);
      case F is
         when Field_Analysis_Time_Stamp =>
            return Get_Analysis_Time_Stamp (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Time_Stamp_Id;

   procedure Set_Time_Stamp_Id
      (N : Iir; F : Fields_Enum; V: Time_Stamp_Id) is
   begin
      pragma Assert (Fields_Type (F) = Type_Time_Stamp_Id);
      case F is
         when Field_Analysis_Time_Stamp =>
            Set_Analysis_Time_Stamp (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Time_Stamp_Id;

   function Get_Token_Type
      (N : Iir; F : Fields_Enum) return Token_Type is
   begin
      pragma Assert (Fields_Type (F) = Type_Token_Type);
      case F is
         when Field_Entity_Class =>
            return Get_Entity_Class (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Token_Type;

   procedure Set_Token_Type
      (N : Iir; F : Fields_Enum; V: Token_Type) is
   begin
      pragma Assert (Fields_Type (F) = Type_Token_Type);
      case F is
         when Field_Entity_Class =>
            Set_Entity_Class (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Token_Type;

   function Get_Tri_State_Type
      (N : Iir; F : Fields_Enum) return Tri_State_Type is
   begin
      pragma Assert (Fields_Type (F) = Type_Tri_State_Type);
      case F is
         when Field_Guarded_Target_State =>
            return Get_Guarded_Target_State (N);
         when Field_Wait_State =>
            return Get_Wait_State (N);
         when others =>
            raise Internal_Error;
      end case;
   end Get_Tri_State_Type;

   procedure Set_Tri_State_Type
      (N : Iir; F : Fields_Enum; V: Tri_State_Type) is
   begin
      pragma Assert (Fields_Type (F) = Type_Tri_State_Type);
      case F is
         when Field_Guarded_Target_State =>
            Set_Guarded_Target_State (N, V);
         when Field_Wait_State =>
            Set_Wait_State (N, V);
         when others =>
            raise Internal_Error;
      end case;
   end Set_Tri_State_Type;

   function Has_First_Design_Unit (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_File;
   end Has_First_Design_Unit;

   function Has_Last_Design_Unit (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_File;
   end Has_Last_Design_Unit;

   function Has_Library_Declaration (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Library_Clause;
   end Has_Library_Declaration;

   function Has_File_Checksum (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_File;
   end Has_File_Checksum;

   function Has_Analysis_Time_Stamp (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_File;
   end Has_Analysis_Time_Stamp;

   function Has_Library (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_File;
   end Has_Library;

   function Has_File_Dependence_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_File;
   end Has_File_Dependence_List;

   function Has_Design_File_Filename (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_File;
   end Has_Design_File_Filename;

   function Has_Design_File_Directory (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_File;
   end Has_Design_File_Directory;

   function Has_Design_File (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_Unit;
   end Has_Design_File;

   function Has_Design_File_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Library_Declaration;
   end Has_Design_File_Chain;

   function Has_Library_Directory (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Library_Declaration;
   end Has_Library_Directory;

   function Has_Date (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Design_Unit
           | Iir_Kind_Library_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Date;

   function Has_Context_Items (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Design_Unit
           | Iir_Kind_Context_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Context_Items;

   function Has_Dependence_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_Unit;
   end Has_Dependence_List;

   function Has_Analysis_Checks_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_Unit;
   end Has_Analysis_Checks_List;

   function Has_Date_State (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_Unit;
   end Has_Date_State;

   function Has_Guarded_Target_State (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Concurrent_Conditional_Signal_Assignment
           | Iir_Kind_Concurrent_Selected_Signal_Assignment
           | Iir_Kind_Signal_Assignment_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Guarded_Target_State;

   function Has_Library_Unit (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_Unit;
   end Has_Library_Unit;

   function Has_Hash_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_Unit;
   end Has_Hash_Chain;

   function Has_Design_Unit_Source_Pos (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_Unit;
   end Has_Design_Unit_Source_Pos;

   function Has_Design_Unit_Source_Line (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_Unit;
   end Has_Design_Unit_Source_Line;

   function Has_Design_Unit_Source_Col (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_Unit;
   end Has_Design_Unit_Source_Col;

   function Has_Value (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Integer_Literal
           | Iir_Kind_Physical_Int_Literal =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Value;

   function Has_Enum_Pos (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Enumeration_Literal;
   end Has_Enum_Pos;

   function Has_Physical_Literal (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Unit_Declaration;
   end Has_Physical_Literal;

   function Has_Physical_Unit_Value (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Unit_Declaration;
   end Has_Physical_Unit_Value;

   function Has_Fp_Value (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Floating_Point_Literal
           | Iir_Kind_Physical_Fp_Literal =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Fp_Value;

   function Has_Simple_Aggregate_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Simple_Aggregate;
   end Has_Simple_Aggregate_List;

   function Has_String8_Id (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_String_Literal8;
   end Has_String8_Id;

   function Has_String_Length (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_String_Literal8;
   end Has_String_Length;

   function Has_Bit_String_Base (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_String_Literal8;
   end Has_Bit_String_Base;

   function Has_Has_Signed (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_String_Literal8;
   end Has_Has_Signed;

   function Has_Has_Sign (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_String_Literal8;
   end Has_Has_Sign;

   function Has_Has_Length (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_String_Literal8;
   end Has_Has_Length;

   function Has_Literal_Origin (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Integer_Literal
           | Iir_Kind_Floating_Point_Literal
           | Iir_Kind_String_Literal8
           | Iir_Kind_Physical_Int_Literal
           | Iir_Kind_Physical_Fp_Literal
           | Iir_Kind_Simple_Aggregate
           | Iir_Kind_Overflow_Literal
           | Iir_Kind_Enumeration_Literal =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Literal_Origin;

   function Has_Range_Origin (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Range_Expression;
   end Has_Range_Origin;

   function Has_Literal_Subtype (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_String_Literal8
           | Iir_Kind_Simple_Aggregate
           | Iir_Kind_Aggregate =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Literal_Subtype;

   function Has_Entity_Class (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Entity_Class
           | Iir_Kind_Attribute_Specification =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Entity_Class;

   function Has_Entity_Name_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Attribute_Specification;
   end Has_Entity_Name_List;

   function Has_Attribute_Designator (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Attribute_Specification;
   end Has_Attribute_Designator;

   function Has_Attribute_Specification_Chain (K : Iir_Kind)
      return Boolean is
   begin
      return K = Iir_Kind_Attribute_Specification;
   end Has_Attribute_Specification_Chain;

   function Has_Attribute_Specification (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Attribute_Value;
   end Has_Attribute_Specification;

   function Has_Signal_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Disconnection_Specification;
   end Has_Signal_List;

   function Has_Designated_Entity (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Attribute_Value;
   end Has_Designated_Entity;

   function Has_Formal (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Association_Element_By_Expression
           | Iir_Kind_Association_Element_By_Individual
           | Iir_Kind_Association_Element_Open
           | Iir_Kind_Association_Element_Package =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Formal;

   function Has_Actual (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Association_Element_By_Expression
           | Iir_Kind_Association_Element_Package =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Actual;

   function Has_In_Conversion (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Association_Element_By_Expression;
   end Has_In_Conversion;

   function Has_Out_Conversion (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Association_Element_By_Expression;
   end Has_Out_Conversion;

   function Has_Whole_Association_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Association_Element_By_Expression
           | Iir_Kind_Association_Element_By_Individual
           | Iir_Kind_Association_Element_Open
           | Iir_Kind_Association_Element_Package =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Whole_Association_Flag;

   function Has_Collapse_Signal_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Association_Element_By_Expression
           | Iir_Kind_Association_Element_By_Individual
           | Iir_Kind_Association_Element_Open
           | Iir_Kind_Association_Element_Package =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Collapse_Signal_Flag;

   function Has_Artificial_Flag (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Association_Element_Open;
   end Has_Artificial_Flag;

   function Has_Open_Flag (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Interface_Signal_Declaration;
   end Has_Open_Flag;

   function Has_After_Drivers_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Object_Alias_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_After_Drivers_Flag;

   function Has_We_Value (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Waveform_Element;
   end Has_We_Value;

   function Has_Time (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Waveform_Element;
   end Has_Time;

   function Has_Associated_Expr (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Choice_By_Others
           | Iir_Kind_Choice_By_Expression
           | Iir_Kind_Choice_By_Range
           | Iir_Kind_Choice_By_None
           | Iir_Kind_Choice_By_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Associated_Expr;

   function Has_Associated_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Choice_By_Others
           | Iir_Kind_Choice_By_Expression
           | Iir_Kind_Choice_By_Range
           | Iir_Kind_Choice_By_None
           | Iir_Kind_Choice_By_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Associated_Chain;

   function Has_Choice_Name (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Choice_By_Name;
   end Has_Choice_Name;

   function Has_Choice_Expression (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Choice_By_Expression;
   end Has_Choice_Expression;

   function Has_Choice_Range (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Choice_By_Range;
   end Has_Choice_Range;

   function Has_Same_Alternative_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Choice_By_Others
           | Iir_Kind_Choice_By_Expression
           | Iir_Kind_Choice_By_Range
           | Iir_Kind_Choice_By_None
           | Iir_Kind_Choice_By_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Same_Alternative_Flag;

   function Has_Architecture (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Entity_Aspect_Entity;
   end Has_Architecture;

   function Has_Block_Specification (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Block_Configuration;
   end Has_Block_Specification;

   function Has_Prev_Block_Configuration (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Block_Configuration;
   end Has_Prev_Block_Configuration;

   function Has_Configuration_Item_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Block_Configuration;
   end Has_Configuration_Item_Chain;

   function Has_Attribute_Value_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Package_Declaration
           | Iir_Kind_Package_Instantiation_Declaration
           | Iir_Kind_Package_Body
           | Iir_Kind_Configuration_Declaration
           | Iir_Kind_Entity_Declaration
           | Iir_Kind_Architecture_Body
           | Iir_Kind_Function_Body
           | Iir_Kind_Procedure_Body
           | Iir_Kind_Interface_Package_Declaration
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_Block_Statement
           | Iir_Kind_Generate_Statement_Body =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Attribute_Value_Chain;

   function Has_Spec_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Attribute_Value;
   end Has_Spec_Chain;

   function Has_Attribute_Value_Spec_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Attribute_Specification;
   end Has_Attribute_Value_Spec_Chain;

   function Has_Entity_Name (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Entity_Aspect_Entity
           | Iir_Kind_Configuration_Declaration
           | Iir_Kind_Architecture_Body =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Entity_Name;

   function Has_Package (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Package_Body;
   end Has_Package;

   function Has_Package_Body (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Package_Declaration
           | Iir_Kind_Package_Instantiation_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Package_Body;

   function Has_Need_Body (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Package_Declaration;
   end Has_Need_Body;

   function Has_Block_Configuration (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Component_Configuration
           | Iir_Kind_Configuration_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Block_Configuration;

   function Has_Concurrent_Statement_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Entity_Declaration
           | Iir_Kind_Architecture_Body
           | Iir_Kind_Block_Statement
           | Iir_Kind_Generate_Statement_Body =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Concurrent_Statement_Chain;

   function Has_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Design_File
           | Iir_Kind_Design_Unit
           | Iir_Kind_Library_Clause
           | Iir_Kind_Use_Clause
           | Iir_Kind_Context_Reference
           | Iir_Kind_Waveform_Element
           | Iir_Kind_Conditional_Waveform
           | Iir_Kind_Association_Element_By_Expression
           | Iir_Kind_Association_Element_By_Individual
           | Iir_Kind_Association_Element_Open
           | Iir_Kind_Association_Element_Package
           | Iir_Kind_Choice_By_Others
           | Iir_Kind_Choice_By_Expression
           | Iir_Kind_Choice_By_Range
           | Iir_Kind_Choice_By_None
           | Iir_Kind_Choice_By_Name
           | Iir_Kind_Block_Configuration
           | Iir_Kind_Component_Configuration
           | Iir_Kind_Entity_Class
           | Iir_Kind_Attribute_Value
           | Iir_Kind_Record_Element_Resolution
           | Iir_Kind_Attribute_Specification
           | Iir_Kind_Disconnection_Specification
           | Iir_Kind_Configuration_Specification
           | Iir_Kind_Protected_Type_Body
           | Iir_Kind_Type_Declaration
           | Iir_Kind_Anonymous_Type_Declaration
           | Iir_Kind_Subtype_Declaration
           | Iir_Kind_Nature_Declaration
           | Iir_Kind_Subnature_Declaration
           | Iir_Kind_Unit_Declaration
           | Iir_Kind_Library_Declaration
           | Iir_Kind_Component_Declaration
           | Iir_Kind_Attribute_Declaration
           | Iir_Kind_Group_Template_Declaration
           | Iir_Kind_Group_Declaration
           | Iir_Kind_Non_Object_Alias_Declaration
           | Iir_Kind_Psl_Declaration
           | Iir_Kind_Terminal_Declaration
           | Iir_Kind_Free_Quantity_Declaration
           | Iir_Kind_Across_Quantity_Declaration
           | Iir_Kind_Through_Quantity_Declaration
           | Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration
           | Iir_Kind_Function_Body
           | Iir_Kind_Procedure_Body
           | Iir_Kind_Object_Alias_Declaration
           | Iir_Kind_File_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Variable_Declaration
           | Iir_Kind_Constant_Declaration
           | Iir_Kind_Iterator_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration
           | Iir_Kind_Interface_Package_Declaration
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_Concurrent_Conditional_Signal_Assignment
           | Iir_Kind_Concurrent_Selected_Signal_Assignment
           | Iir_Kind_Concurrent_Assertion_Statement
           | Iir_Kind_Psl_Default_Clock
           | Iir_Kind_Psl_Assert_Statement
           | Iir_Kind_Psl_Cover_Statement
           | Iir_Kind_Concurrent_Procedure_Call_Statement
           | Iir_Kind_Block_Statement
           | Iir_Kind_If_Generate_Statement
           | Iir_Kind_For_Generate_Statement
           | Iir_Kind_Component_Instantiation_Statement
           | Iir_Kind_Simple_Simultaneous_Statement
           | Iir_Kind_Signal_Assignment_Statement
           | Iir_Kind_Null_Statement
           | Iir_Kind_Assertion_Statement
           | Iir_Kind_Report_Statement
           | Iir_Kind_Wait_Statement
           | Iir_Kind_Variable_Assignment_Statement
           | Iir_Kind_Return_Statement
           | Iir_Kind_For_Loop_Statement
           | Iir_Kind_While_Loop_Statement
           | Iir_Kind_Next_Statement
           | Iir_Kind_Exit_Statement
           | Iir_Kind_Case_Statement
           | Iir_Kind_Procedure_Call_Statement
           | Iir_Kind_If_Statement
           | Iir_Kind_External_Constant_Name
           | Iir_Kind_External_Signal_Name
           | Iir_Kind_External_Variable_Name
           | Iir_Kind_Delayed_Attribute
           | Iir_Kind_Stable_Attribute
           | Iir_Kind_Quiet_Attribute
           | Iir_Kind_Transaction_Attribute =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Chain;

   function Has_Port_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Block_Header
           | Iir_Kind_Entity_Declaration
           | Iir_Kind_Component_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Port_Chain;

   function Has_Generic_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Block_Header
           | Iir_Kind_Package_Instantiation_Declaration
           | Iir_Kind_Entity_Declaration
           | Iir_Kind_Package_Header
           | Iir_Kind_Component_Declaration
           | Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration
           | Iir_Kind_Interface_Package_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Generic_Chain;

   function Has_Type (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Error
           | Iir_Kind_Integer_Literal
           | Iir_Kind_Floating_Point_Literal
           | Iir_Kind_Null_Literal
           | Iir_Kind_String_Literal8
           | Iir_Kind_Physical_Int_Literal
           | Iir_Kind_Physical_Fp_Literal
           | Iir_Kind_Simple_Aggregate
           | Iir_Kind_Overflow_Literal
           | Iir_Kind_Attribute_Value
           | Iir_Kind_Record_Element_Constraint
           | Iir_Kind_Range_Expression
           | Iir_Kind_Type_Declaration
           | Iir_Kind_Subtype_Declaration
           | Iir_Kind_Unit_Declaration
           | Iir_Kind_Attribute_Declaration
           | Iir_Kind_Element_Declaration
           | Iir_Kind_Free_Quantity_Declaration
           | Iir_Kind_Across_Quantity_Declaration
           | Iir_Kind_Through_Quantity_Declaration
           | Iir_Kind_Enumeration_Literal
           | Iir_Kind_Function_Declaration
           | Iir_Kind_Object_Alias_Declaration
           | Iir_Kind_File_Declaration
           | Iir_Kind_Guard_Signal_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Variable_Declaration
           | Iir_Kind_Constant_Declaration
           | Iir_Kind_Iterator_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration
           | Iir_Kind_Identity_Operator
           | Iir_Kind_Negation_Operator
           | Iir_Kind_Absolute_Operator
           | Iir_Kind_Not_Operator
           | Iir_Kind_Condition_Operator
           | Iir_Kind_Reduction_And_Operator
           | Iir_Kind_Reduction_Or_Operator
           | Iir_Kind_Reduction_Nand_Operator
           | Iir_Kind_Reduction_Nor_Operator
           | Iir_Kind_Reduction_Xor_Operator
           | Iir_Kind_Reduction_Xnor_Operator
           | Iir_Kind_And_Operator
           | Iir_Kind_Or_Operator
           | Iir_Kind_Nand_Operator
           | Iir_Kind_Nor_Operator
           | Iir_Kind_Xor_Operator
           | Iir_Kind_Xnor_Operator
           | Iir_Kind_Equality_Operator
           | Iir_Kind_Inequality_Operator
           | Iir_Kind_Less_Than_Operator
           | Iir_Kind_Less_Than_Or_Equal_Operator
           | Iir_Kind_Greater_Than_Operator
           | Iir_Kind_Greater_Than_Or_Equal_Operator
           | Iir_Kind_Match_Equality_Operator
           | Iir_Kind_Match_Inequality_Operator
           | Iir_Kind_Match_Less_Than_Operator
           | Iir_Kind_Match_Less_Than_Or_Equal_Operator
           | Iir_Kind_Match_Greater_Than_Operator
           | Iir_Kind_Match_Greater_Than_Or_Equal_Operator
           | Iir_Kind_Sll_Operator
           | Iir_Kind_Sla_Operator
           | Iir_Kind_Srl_Operator
           | Iir_Kind_Sra_Operator
           | Iir_Kind_Rol_Operator
           | Iir_Kind_Ror_Operator
           | Iir_Kind_Addition_Operator
           | Iir_Kind_Substraction_Operator
           | Iir_Kind_Concatenation_Operator
           | Iir_Kind_Multiplication_Operator
           | Iir_Kind_Division_Operator
           | Iir_Kind_Modulus_Operator
           | Iir_Kind_Remainder_Operator
           | Iir_Kind_Exponentiation_Operator
           | Iir_Kind_Function_Call
           | Iir_Kind_Aggregate
           | Iir_Kind_Parenthesis_Expression
           | Iir_Kind_Qualified_Expression
           | Iir_Kind_Type_Conversion
           | Iir_Kind_Allocator_By_Expression
           | Iir_Kind_Allocator_By_Subtype
           | Iir_Kind_Selected_Element
           | Iir_Kind_Dereference
           | Iir_Kind_Implicit_Dereference
           | Iir_Kind_Slice_Name
           | Iir_Kind_Indexed_Name
           | Iir_Kind_Psl_Expression
           | Iir_Kind_Return_Statement
           | Iir_Kind_Character_Literal
           | Iir_Kind_Simple_Name
           | Iir_Kind_Selected_Name
           | Iir_Kind_Operator_Symbol
           | Iir_Kind_Selected_By_All_Name
           | Iir_Kind_Parenthesis_Name
           | Iir_Kind_External_Constant_Name
           | Iir_Kind_External_Signal_Name
           | Iir_Kind_External_Variable_Name
           | Iir_Kind_Base_Attribute
           | Iir_Kind_Left_Type_Attribute
           | Iir_Kind_Right_Type_Attribute
           | Iir_Kind_High_Type_Attribute
           | Iir_Kind_Low_Type_Attribute
           | Iir_Kind_Ascending_Type_Attribute
           | Iir_Kind_Image_Attribute
           | Iir_Kind_Value_Attribute
           | Iir_Kind_Pos_Attribute
           | Iir_Kind_Val_Attribute
           | Iir_Kind_Succ_Attribute
           | Iir_Kind_Pred_Attribute
           | Iir_Kind_Leftof_Attribute
           | Iir_Kind_Rightof_Attribute
           | Iir_Kind_Delayed_Attribute
           | Iir_Kind_Stable_Attribute
           | Iir_Kind_Quiet_Attribute
           | Iir_Kind_Transaction_Attribute
           | Iir_Kind_Event_Attribute
           | Iir_Kind_Active_Attribute
           | Iir_Kind_Last_Event_Attribute
           | Iir_Kind_Last_Active_Attribute
           | Iir_Kind_Last_Value_Attribute
           | Iir_Kind_Driving_Attribute
           | Iir_Kind_Driving_Value_Attribute
           | Iir_Kind_Simple_Name_Attribute
           | Iir_Kind_Instance_Name_Attribute
           | Iir_Kind_Path_Name_Attribute
           | Iir_Kind_Left_Array_Attribute
           | Iir_Kind_Right_Array_Attribute
           | Iir_Kind_High_Array_Attribute
           | Iir_Kind_Low_Array_Attribute
           | Iir_Kind_Length_Array_Attribute
           | Iir_Kind_Ascending_Array_Attribute
           | Iir_Kind_Range_Array_Attribute
           | Iir_Kind_Reverse_Range_Array_Attribute
           | Iir_Kind_Attribute_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Type;

   function Has_Subtype_Indication (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Subtype_Declaration
           | Iir_Kind_Element_Declaration
           | Iir_Kind_Object_Alias_Declaration
           | Iir_Kind_File_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Variable_Declaration
           | Iir_Kind_Constant_Declaration
           | Iir_Kind_Iterator_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration
           | Iir_Kind_Allocator_By_Subtype
           | Iir_Kind_External_Constant_Name
           | Iir_Kind_External_Signal_Name
           | Iir_Kind_External_Variable_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Subtype_Indication;

   function Has_Discrete_Range (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Iterator_Declaration;
   end Has_Discrete_Range;

   function Has_Type_Definition (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Type_Declaration
           | Iir_Kind_Anonymous_Type_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Type_Definition;

   function Has_Subtype_Definition (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Anonymous_Type_Declaration;
   end Has_Subtype_Definition;

   function Has_Nature (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Nature_Declaration
           | Iir_Kind_Subnature_Declaration
           | Iir_Kind_Terminal_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Nature;

   function Has_Mode (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_File_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Mode;

   function Has_Guarded_Signal_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Guard_Signal_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Interface_Signal_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Guarded_Signal_Flag;

   function Has_Signal_Kind (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Guard_Signal_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Interface_Signal_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Signal_Kind;

   function Has_Base_Name (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Attribute_Value
           | Iir_Kind_Function_Call
           | Iir_Kind_Selected_Element
           | Iir_Kind_Dereference
           | Iir_Kind_Implicit_Dereference
           | Iir_Kind_Slice_Name
           | Iir_Kind_Indexed_Name
           | Iir_Kind_Character_Literal
           | Iir_Kind_Simple_Name
           | Iir_Kind_Selected_Name
           | Iir_Kind_Operator_Symbol
           | Iir_Kind_Selected_By_All_Name
           | Iir_Kind_Package_Pathname
           | Iir_Kind_Left_Type_Attribute
           | Iir_Kind_Right_Type_Attribute
           | Iir_Kind_High_Type_Attribute
           | Iir_Kind_Low_Type_Attribute
           | Iir_Kind_Ascending_Type_Attribute
           | Iir_Kind_Image_Attribute
           | Iir_Kind_Value_Attribute
           | Iir_Kind_Pos_Attribute
           | Iir_Kind_Val_Attribute
           | Iir_Kind_Succ_Attribute
           | Iir_Kind_Pred_Attribute
           | Iir_Kind_Leftof_Attribute
           | Iir_Kind_Rightof_Attribute
           | Iir_Kind_Delayed_Attribute
           | Iir_Kind_Stable_Attribute
           | Iir_Kind_Quiet_Attribute
           | Iir_Kind_Transaction_Attribute
           | Iir_Kind_Simple_Name_Attribute
           | Iir_Kind_Instance_Name_Attribute
           | Iir_Kind_Path_Name_Attribute
           | Iir_Kind_Left_Array_Attribute
           | Iir_Kind_Right_Array_Attribute
           | Iir_Kind_High_Array_Attribute
           | Iir_Kind_Low_Array_Attribute
           | Iir_Kind_Length_Array_Attribute
           | Iir_Kind_Ascending_Array_Attribute
           | Iir_Kind_Range_Array_Attribute
           | Iir_Kind_Reverse_Range_Array_Attribute
           | Iir_Kind_Attribute_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Base_Name;

   function Has_Interface_Declaration_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Interface_Declaration_Chain;

   function Has_Subprogram_Specification (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Body
           | Iir_Kind_Procedure_Body =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Subprogram_Specification;

   function Has_Sequential_Statement_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Body
           | Iir_Kind_Procedure_Body
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_For_Loop_Statement
           | Iir_Kind_While_Loop_Statement
           | Iir_Kind_If_Statement
           | Iir_Kind_Elsif =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Sequential_Statement_Chain;

   function Has_Subprogram_Body (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Subprogram_Body;

   function Has_Overload_Number (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Overload_Number;

   function Has_Subprogram_Depth (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Subprogram_Depth;

   function Has_Subprogram_Hash (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Enumeration_Literal
           | Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Subprogram_Hash;

   function Has_Impure_Depth (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Body
           | Iir_Kind_Procedure_Body =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Impure_Depth;

   function Has_Return_Type (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Enumeration_Literal
           | Iir_Kind_Function_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Return_Type;

   function Has_Implicit_Definition (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Implicit_Definition;

   function Has_Type_Reference (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Type_Reference;

   function Has_Default_Value (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Free_Quantity_Declaration
           | Iir_Kind_Across_Quantity_Declaration
           | Iir_Kind_Through_Quantity_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Variable_Declaration
           | Iir_Kind_Constant_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Default_Value;

   function Has_Deferred_Declaration (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Constant_Declaration;
   end Has_Deferred_Declaration;

   function Has_Deferred_Declaration_Flag (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Constant_Declaration;
   end Has_Deferred_Declaration_Flag;

   function Has_Shared_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Variable_Declaration
           | Iir_Kind_External_Constant_Name
           | Iir_Kind_External_Signal_Name
           | Iir_Kind_External_Variable_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Shared_Flag;

   function Has_Design_Unit (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Package_Declaration
           | Iir_Kind_Package_Instantiation_Declaration
           | Iir_Kind_Package_Body
           | Iir_Kind_Configuration_Declaration
           | Iir_Kind_Entity_Declaration
           | Iir_Kind_Architecture_Body
           | Iir_Kind_Context_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Design_Unit;

   function Has_Block_Statement (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Guard_Signal_Declaration;
   end Has_Block_Statement;

   function Has_Signal_Driver (K : Iir_Kind) return Boolean is
      pragma Unreferenced (K);
   begin
      return False;
   end Has_Signal_Driver;

   function Has_Declaration_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Block_Configuration
           | Iir_Kind_Protected_Type_Declaration
           | Iir_Kind_Protected_Type_Body
           | Iir_Kind_Package_Declaration
           | Iir_Kind_Package_Instantiation_Declaration
           | Iir_Kind_Package_Body
           | Iir_Kind_Configuration_Declaration
           | Iir_Kind_Entity_Declaration
           | Iir_Kind_Architecture_Body
           | Iir_Kind_Function_Body
           | Iir_Kind_Procedure_Body
           | Iir_Kind_Interface_Package_Declaration
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_Block_Statement
           | Iir_Kind_Generate_Statement_Body =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Declaration_Chain;

   function Has_File_Logical_Name (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_File_Declaration;
   end Has_File_Logical_Name;

   function Has_File_Open_Kind (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_File_Declaration;
   end Has_File_Open_Kind;

   function Has_Element_Position (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Record_Element_Constraint
           | Iir_Kind_Element_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Element_Position;

   function Has_Element_Declaration (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Record_Element_Constraint;
   end Has_Element_Declaration;

   function Has_Selected_Element (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Selected_Element;
   end Has_Selected_Element;

   function Has_Use_Clause_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Use_Clause;
   end Has_Use_Clause_Chain;

   function Has_Context_Reference_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Context_Reference;
   end Has_Context_Reference_Chain;

   function Has_Selected_Name (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Use_Clause
           | Iir_Kind_Context_Reference =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Selected_Name;

   function Has_Type_Declarator (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Error
           | Iir_Kind_Access_Type_Definition
           | Iir_Kind_Incomplete_Type_Definition
           | Iir_Kind_File_Type_Definition
           | Iir_Kind_Protected_Type_Declaration
           | Iir_Kind_Record_Type_Definition
           | Iir_Kind_Array_Type_Definition
           | Iir_Kind_Array_Subtype_Definition
           | Iir_Kind_Record_Subtype_Definition
           | Iir_Kind_Access_Subtype_Definition
           | Iir_Kind_Physical_Subtype_Definition
           | Iir_Kind_Floating_Subtype_Definition
           | Iir_Kind_Integer_Subtype_Definition
           | Iir_Kind_Enumeration_Subtype_Definition
           | Iir_Kind_Enumeration_Type_Definition
           | Iir_Kind_Integer_Type_Definition
           | Iir_Kind_Floating_Type_Definition
           | Iir_Kind_Physical_Type_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Type_Declarator;

   function Has_Enumeration_Literal_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Enumeration_Type_Definition;
   end Has_Enumeration_Literal_List;

   function Has_Entity_Class_Entry_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Group_Template_Declaration;
   end Has_Entity_Class_Entry_Chain;

   function Has_Group_Constituent_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Group_Declaration;
   end Has_Group_Constituent_List;

   function Has_Unit_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Physical_Type_Definition;
   end Has_Unit_Chain;

   function Has_Primary_Unit (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Physical_Type_Definition;
   end Has_Primary_Unit;

   function Has_Identifier (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Design_Unit
           | Iir_Kind_Library_Clause
           | Iir_Kind_Record_Element_Constraint
           | Iir_Kind_Record_Element_Resolution
           | Iir_Kind_Protected_Type_Body
           | Iir_Kind_Type_Declaration
           | Iir_Kind_Anonymous_Type_Declaration
           | Iir_Kind_Subtype_Declaration
           | Iir_Kind_Nature_Declaration
           | Iir_Kind_Subnature_Declaration
           | Iir_Kind_Package_Declaration
           | Iir_Kind_Package_Instantiation_Declaration
           | Iir_Kind_Package_Body
           | Iir_Kind_Configuration_Declaration
           | Iir_Kind_Entity_Declaration
           | Iir_Kind_Architecture_Body
           | Iir_Kind_Context_Declaration
           | Iir_Kind_Unit_Declaration
           | Iir_Kind_Library_Declaration
           | Iir_Kind_Component_Declaration
           | Iir_Kind_Attribute_Declaration
           | Iir_Kind_Group_Template_Declaration
           | Iir_Kind_Group_Declaration
           | Iir_Kind_Element_Declaration
           | Iir_Kind_Non_Object_Alias_Declaration
           | Iir_Kind_Psl_Declaration
           | Iir_Kind_Terminal_Declaration
           | Iir_Kind_Free_Quantity_Declaration
           | Iir_Kind_Across_Quantity_Declaration
           | Iir_Kind_Through_Quantity_Declaration
           | Iir_Kind_Enumeration_Literal
           | Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration
           | Iir_Kind_Object_Alias_Declaration
           | Iir_Kind_File_Declaration
           | Iir_Kind_Guard_Signal_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Variable_Declaration
           | Iir_Kind_Constant_Declaration
           | Iir_Kind_Iterator_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration
           | Iir_Kind_Interface_Package_Declaration
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_Concurrent_Conditional_Signal_Assignment
           | Iir_Kind_Concurrent_Selected_Signal_Assignment
           | Iir_Kind_Concurrent_Assertion_Statement
           | Iir_Kind_Psl_Default_Clock
           | Iir_Kind_Psl_Assert_Statement
           | Iir_Kind_Psl_Cover_Statement
           | Iir_Kind_Concurrent_Procedure_Call_Statement
           | Iir_Kind_Block_Statement
           | Iir_Kind_If_Generate_Statement
           | Iir_Kind_For_Generate_Statement
           | Iir_Kind_Component_Instantiation_Statement
           | Iir_Kind_Simple_Simultaneous_Statement
           | Iir_Kind_Generate_Statement_Body
           | Iir_Kind_Signal_Assignment_Statement
           | Iir_Kind_Null_Statement
           | Iir_Kind_Assertion_Statement
           | Iir_Kind_Report_Statement
           | Iir_Kind_Wait_Statement
           | Iir_Kind_Variable_Assignment_Statement
           | Iir_Kind_Return_Statement
           | Iir_Kind_For_Loop_Statement
           | Iir_Kind_While_Loop_Statement
           | Iir_Kind_Next_Statement
           | Iir_Kind_Exit_Statement
           | Iir_Kind_Case_Statement
           | Iir_Kind_Procedure_Call_Statement
           | Iir_Kind_If_Statement
           | Iir_Kind_Character_Literal
           | Iir_Kind_Simple_Name
           | Iir_Kind_Selected_Name
           | Iir_Kind_Operator_Symbol
           | Iir_Kind_Package_Pathname
           | Iir_Kind_Pathname_Element
           | Iir_Kind_Attribute_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Identifier;

   function Has_Label (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_Concurrent_Conditional_Signal_Assignment
           | Iir_Kind_Concurrent_Selected_Signal_Assignment
           | Iir_Kind_Concurrent_Assertion_Statement
           | Iir_Kind_Psl_Default_Clock
           | Iir_Kind_Psl_Assert_Statement
           | Iir_Kind_Psl_Cover_Statement
           | Iir_Kind_Concurrent_Procedure_Call_Statement
           | Iir_Kind_Block_Statement
           | Iir_Kind_If_Generate_Statement
           | Iir_Kind_For_Generate_Statement
           | Iir_Kind_Component_Instantiation_Statement
           | Iir_Kind_Simple_Simultaneous_Statement
           | Iir_Kind_Signal_Assignment_Statement
           | Iir_Kind_Null_Statement
           | Iir_Kind_Assertion_Statement
           | Iir_Kind_Report_Statement
           | Iir_Kind_Wait_Statement
           | Iir_Kind_Variable_Assignment_Statement
           | Iir_Kind_Return_Statement
           | Iir_Kind_For_Loop_Statement
           | Iir_Kind_While_Loop_Statement
           | Iir_Kind_Next_Statement
           | Iir_Kind_Exit_Statement
           | Iir_Kind_Case_Statement
           | Iir_Kind_Procedure_Call_Statement
           | Iir_Kind_If_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Label;

   function Has_Visible_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Record_Element_Constraint
           | Iir_Kind_Type_Declaration
           | Iir_Kind_Subtype_Declaration
           | Iir_Kind_Nature_Declaration
           | Iir_Kind_Subnature_Declaration
           | Iir_Kind_Package_Declaration
           | Iir_Kind_Package_Instantiation_Declaration
           | Iir_Kind_Configuration_Declaration
           | Iir_Kind_Entity_Declaration
           | Iir_Kind_Architecture_Body
           | Iir_Kind_Context_Declaration
           | Iir_Kind_Unit_Declaration
           | Iir_Kind_Library_Declaration
           | Iir_Kind_Component_Declaration
           | Iir_Kind_Attribute_Declaration
           | Iir_Kind_Group_Template_Declaration
           | Iir_Kind_Group_Declaration
           | Iir_Kind_Element_Declaration
           | Iir_Kind_Non_Object_Alias_Declaration
           | Iir_Kind_Psl_Declaration
           | Iir_Kind_Terminal_Declaration
           | Iir_Kind_Free_Quantity_Declaration
           | Iir_Kind_Across_Quantity_Declaration
           | Iir_Kind_Through_Quantity_Declaration
           | Iir_Kind_Enumeration_Literal
           | Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration
           | Iir_Kind_Object_Alias_Declaration
           | Iir_Kind_File_Declaration
           | Iir_Kind_Guard_Signal_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Variable_Declaration
           | Iir_Kind_Constant_Declaration
           | Iir_Kind_Iterator_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration
           | Iir_Kind_Interface_Package_Declaration
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_Concurrent_Conditional_Signal_Assignment
           | Iir_Kind_Concurrent_Selected_Signal_Assignment
           | Iir_Kind_Concurrent_Assertion_Statement
           | Iir_Kind_Psl_Assert_Statement
           | Iir_Kind_Psl_Cover_Statement
           | Iir_Kind_Concurrent_Procedure_Call_Statement
           | Iir_Kind_Block_Statement
           | Iir_Kind_If_Generate_Statement
           | Iir_Kind_For_Generate_Statement
           | Iir_Kind_Component_Instantiation_Statement
           | Iir_Kind_Simple_Simultaneous_Statement
           | Iir_Kind_If_Generate_Else_Clause
           | Iir_Kind_Signal_Assignment_Statement
           | Iir_Kind_Null_Statement
           | Iir_Kind_Assertion_Statement
           | Iir_Kind_Report_Statement
           | Iir_Kind_Wait_Statement
           | Iir_Kind_Variable_Assignment_Statement
           | Iir_Kind_Return_Statement
           | Iir_Kind_For_Loop_Statement
           | Iir_Kind_While_Loop_Statement
           | Iir_Kind_Next_Statement
           | Iir_Kind_Exit_Statement
           | Iir_Kind_Case_Statement
           | Iir_Kind_Procedure_Call_Statement
           | Iir_Kind_If_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Visible_Flag;

   function Has_Range_Constraint (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Physical_Subtype_Definition
           | Iir_Kind_Floating_Subtype_Definition
           | Iir_Kind_Integer_Subtype_Definition
           | Iir_Kind_Enumeration_Subtype_Definition
           | Iir_Kind_Enumeration_Type_Definition
           | Iir_Kind_Subtype_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Range_Constraint;

   function Has_Direction (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Range_Expression;
   end Has_Direction;

   function Has_Left_Limit (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Range_Expression;
   end Has_Left_Limit;

   function Has_Right_Limit (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Range_Expression;
   end Has_Right_Limit;

   function Has_Base_Type (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Error
           | Iir_Kind_Access_Type_Definition
           | Iir_Kind_Incomplete_Type_Definition
           | Iir_Kind_File_Type_Definition
           | Iir_Kind_Protected_Type_Declaration
           | Iir_Kind_Record_Type_Definition
           | Iir_Kind_Array_Type_Definition
           | Iir_Kind_Array_Subtype_Definition
           | Iir_Kind_Record_Subtype_Definition
           | Iir_Kind_Access_Subtype_Definition
           | Iir_Kind_Physical_Subtype_Definition
           | Iir_Kind_Floating_Subtype_Definition
           | Iir_Kind_Integer_Subtype_Definition
           | Iir_Kind_Enumeration_Subtype_Definition
           | Iir_Kind_Enumeration_Type_Definition
           | Iir_Kind_Integer_Type_Definition
           | Iir_Kind_Floating_Type_Definition
           | Iir_Kind_Physical_Type_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Base_Type;

   function Has_Resolution_Indication (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Array_Element_Resolution
           | Iir_Kind_Record_Element_Resolution
           | Iir_Kind_Array_Subtype_Definition
           | Iir_Kind_Record_Subtype_Definition
           | Iir_Kind_Physical_Subtype_Definition
           | Iir_Kind_Floating_Subtype_Definition
           | Iir_Kind_Integer_Subtype_Definition
           | Iir_Kind_Enumeration_Subtype_Definition
           | Iir_Kind_Subtype_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Resolution_Indication;

   function Has_Record_Element_Resolution_Chain (K : Iir_Kind)
      return Boolean is
   begin
      return K = Iir_Kind_Record_Resolution;
   end Has_Record_Element_Resolution_Chain;

   function Has_Tolerance (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Array_Subtype_Definition
           | Iir_Kind_Record_Subtype_Definition
           | Iir_Kind_Floating_Subtype_Definition
           | Iir_Kind_Subtype_Definition
           | Iir_Kind_Across_Quantity_Declaration
           | Iir_Kind_Through_Quantity_Declaration
           | Iir_Kind_Simple_Simultaneous_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Tolerance;

   function Has_Plus_Terminal (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Across_Quantity_Declaration
           | Iir_Kind_Through_Quantity_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Plus_Terminal;

   function Has_Minus_Terminal (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Across_Quantity_Declaration
           | Iir_Kind_Through_Quantity_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Minus_Terminal;

   function Has_Simultaneous_Left (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Simple_Simultaneous_Statement;
   end Has_Simultaneous_Left;

   function Has_Simultaneous_Right (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Simple_Simultaneous_Statement;
   end Has_Simultaneous_Right;

   function Has_Text_File_Flag (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_File_Type_Definition;
   end Has_Text_File_Flag;

   function Has_Only_Characters_Flag (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Enumeration_Type_Definition;
   end Has_Only_Characters_Flag;

   function Has_Type_Staticness (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Error
           | Iir_Kind_Access_Type_Definition
           | Iir_Kind_Incomplete_Type_Definition
           | Iir_Kind_File_Type_Definition
           | Iir_Kind_Protected_Type_Declaration
           | Iir_Kind_Record_Type_Definition
           | Iir_Kind_Array_Type_Definition
           | Iir_Kind_Array_Subtype_Definition
           | Iir_Kind_Record_Subtype_Definition
           | Iir_Kind_Access_Subtype_Definition
           | Iir_Kind_Physical_Subtype_Definition
           | Iir_Kind_Floating_Subtype_Definition
           | Iir_Kind_Integer_Subtype_Definition
           | Iir_Kind_Enumeration_Subtype_Definition
           | Iir_Kind_Enumeration_Type_Definition
           | Iir_Kind_Integer_Type_Definition
           | Iir_Kind_Floating_Type_Definition
           | Iir_Kind_Physical_Type_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Type_Staticness;

   function Has_Constraint_State (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Record_Type_Definition
           | Iir_Kind_Array_Type_Definition
           | Iir_Kind_Array_Subtype_Definition
           | Iir_Kind_Record_Subtype_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Constraint_State;

   function Has_Index_Subtype_List (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Array_Type_Definition
           | Iir_Kind_Array_Subtype_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Index_Subtype_List;

   function Has_Index_Subtype_Definition_List (K : Iir_Kind)
      return Boolean is
   begin
      return K = Iir_Kind_Array_Type_Definition;
   end Has_Index_Subtype_Definition_List;

   function Has_Element_Subtype_Indication (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Array_Type_Definition;
   end Has_Element_Subtype_Indication;

   function Has_Element_Subtype (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Array_Type_Definition
           | Iir_Kind_Array_Subtype_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Element_Subtype;

   function Has_Index_Constraint_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Array_Subtype_Definition;
   end Has_Index_Constraint_List;

   function Has_Array_Element_Constraint (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Array_Subtype_Definition;
   end Has_Array_Element_Constraint;

   function Has_Elements_Declaration_List (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Record_Type_Definition
           | Iir_Kind_Record_Subtype_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Elements_Declaration_List;

   function Has_Designated_Type (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Access_Type_Definition
           | Iir_Kind_Access_Subtype_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Designated_Type;

   function Has_Designated_Subtype_Indication (K : Iir_Kind)
      return Boolean is
   begin
      case K is
         when Iir_Kind_Access_Type_Definition
           | Iir_Kind_Access_Subtype_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Designated_Subtype_Indication;

   function Has_Index_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Indexed_Name;
   end Has_Index_List;

   function Has_Reference (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Scalar_Nature_Definition;
   end Has_Reference;

   function Has_Nature_Declarator (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Scalar_Nature_Definition;
   end Has_Nature_Declarator;

   function Has_Across_Type (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Scalar_Nature_Definition;
   end Has_Across_Type;

   function Has_Through_Type (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Scalar_Nature_Definition;
   end Has_Through_Type;

   function Has_Target (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Concurrent_Conditional_Signal_Assignment
           | Iir_Kind_Concurrent_Selected_Signal_Assignment
           | Iir_Kind_Signal_Assignment_Statement
           | Iir_Kind_Variable_Assignment_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Target;

   function Has_Waveform_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Conditional_Waveform
           | Iir_Kind_Signal_Assignment_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Waveform_Chain;

   function Has_Guard (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Concurrent_Conditional_Signal_Assignment
           | Iir_Kind_Concurrent_Selected_Signal_Assignment =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Guard;

   function Has_Delay_Mechanism (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Concurrent_Conditional_Signal_Assignment
           | Iir_Kind_Concurrent_Selected_Signal_Assignment
           | Iir_Kind_Signal_Assignment_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Delay_Mechanism;

   function Has_Reject_Time_Expression (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Concurrent_Conditional_Signal_Assignment
           | Iir_Kind_Concurrent_Selected_Signal_Assignment
           | Iir_Kind_Signal_Assignment_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Reject_Time_Expression;

   function Has_Sensitivity_List (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Wait_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Sensitivity_List;

   function Has_Process_Origin (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Process_Origin;

   function Has_Condition_Clause (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Wait_Statement;
   end Has_Condition_Clause;

   function Has_Timeout_Clause (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Wait_Statement;
   end Has_Timeout_Clause;

   function Has_Postponed_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_Concurrent_Conditional_Signal_Assignment
           | Iir_Kind_Concurrent_Selected_Signal_Assignment
           | Iir_Kind_Concurrent_Assertion_Statement
           | Iir_Kind_Concurrent_Procedure_Call_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Postponed_Flag;

   function Has_Callees_List (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Body
           | Iir_Kind_Procedure_Body
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Callees_List;

   function Has_Passive_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Procedure_Declaration
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Passive_Flag;

   function Has_Resolution_Function_Flag (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Function_Declaration;
   end Has_Resolution_Function_Flag;

   function Has_Wait_State (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Wait_State;

   function Has_All_Sensitized_State (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_All_Sensitized_State;

   function Has_Seen_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Enumeration_Literal
           | Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Seen_Flag;

   function Has_Pure_Flag (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Function_Declaration;
   end Has_Pure_Flag;

   function Has_Foreign_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Architecture_Body
           | Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Foreign_Flag;

   function Has_Resolved_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Error
           | Iir_Kind_Access_Type_Definition
           | Iir_Kind_Incomplete_Type_Definition
           | Iir_Kind_File_Type_Definition
           | Iir_Kind_Protected_Type_Declaration
           | Iir_Kind_Record_Type_Definition
           | Iir_Kind_Array_Type_Definition
           | Iir_Kind_Array_Subtype_Definition
           | Iir_Kind_Record_Subtype_Definition
           | Iir_Kind_Access_Subtype_Definition
           | Iir_Kind_Physical_Subtype_Definition
           | Iir_Kind_Floating_Subtype_Definition
           | Iir_Kind_Integer_Subtype_Definition
           | Iir_Kind_Enumeration_Subtype_Definition
           | Iir_Kind_Enumeration_Type_Definition
           | Iir_Kind_Integer_Type_Definition
           | Iir_Kind_Floating_Type_Definition
           | Iir_Kind_Physical_Type_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Resolved_Flag;

   function Has_Signal_Type_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Error
           | Iir_Kind_Access_Type_Definition
           | Iir_Kind_Incomplete_Type_Definition
           | Iir_Kind_File_Type_Definition
           | Iir_Kind_Protected_Type_Declaration
           | Iir_Kind_Record_Type_Definition
           | Iir_Kind_Array_Type_Definition
           | Iir_Kind_Array_Subtype_Definition
           | Iir_Kind_Record_Subtype_Definition
           | Iir_Kind_Access_Subtype_Definition
           | Iir_Kind_Physical_Subtype_Definition
           | Iir_Kind_Floating_Subtype_Definition
           | Iir_Kind_Integer_Subtype_Definition
           | Iir_Kind_Enumeration_Subtype_Definition
           | Iir_Kind_Enumeration_Type_Definition
           | Iir_Kind_Integer_Type_Definition
           | Iir_Kind_Floating_Type_Definition
           | Iir_Kind_Physical_Type_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Signal_Type_Flag;

   function Has_Has_Signal_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Error
           | Iir_Kind_Incomplete_Type_Definition
           | Iir_Kind_Record_Type_Definition
           | Iir_Kind_Array_Type_Definition
           | Iir_Kind_Array_Subtype_Definition
           | Iir_Kind_Record_Subtype_Definition
           | Iir_Kind_Physical_Subtype_Definition
           | Iir_Kind_Floating_Subtype_Definition
           | Iir_Kind_Integer_Subtype_Definition
           | Iir_Kind_Enumeration_Subtype_Definition
           | Iir_Kind_Enumeration_Type_Definition
           | Iir_Kind_Integer_Type_Definition
           | Iir_Kind_Floating_Type_Definition
           | Iir_Kind_Physical_Type_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Has_Signal_Flag;

   function Has_Purity_State (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Procedure_Declaration;
   end Has_Purity_State;

   function Has_Elab_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Design_File
           | Iir_Kind_Design_Unit
           | Iir_Kind_Library_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Elab_Flag;

   function Has_Index_Constraint_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Array_Type_Definition
           | Iir_Kind_Array_Subtype_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Index_Constraint_Flag;

   function Has_Assertion_Condition (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Concurrent_Assertion_Statement
           | Iir_Kind_Assertion_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Assertion_Condition;

   function Has_Report_Expression (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Concurrent_Assertion_Statement
           | Iir_Kind_Psl_Assert_Statement
           | Iir_Kind_Psl_Cover_Statement
           | Iir_Kind_Assertion_Statement
           | Iir_Kind_Report_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Report_Expression;

   function Has_Severity_Expression (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Concurrent_Assertion_Statement
           | Iir_Kind_Psl_Assert_Statement
           | Iir_Kind_Psl_Cover_Statement
           | Iir_Kind_Assertion_Statement
           | Iir_Kind_Report_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Severity_Expression;

   function Has_Instantiated_Unit (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Component_Instantiation_Statement;
   end Has_Instantiated_Unit;

   function Has_Generic_Map_Aspect_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Block_Header
           | Iir_Kind_Binding_Indication
           | Iir_Kind_Package_Instantiation_Declaration
           | Iir_Kind_Package_Header
           | Iir_Kind_Interface_Package_Declaration
           | Iir_Kind_Component_Instantiation_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Generic_Map_Aspect_Chain;

   function Has_Port_Map_Aspect_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Block_Header
           | Iir_Kind_Binding_Indication
           | Iir_Kind_Component_Instantiation_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Port_Map_Aspect_Chain;

   function Has_Configuration_Name (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Entity_Aspect_Configuration;
   end Has_Configuration_Name;

   function Has_Component_Configuration (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Component_Instantiation_Statement;
   end Has_Component_Configuration;

   function Has_Configuration_Specification (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Component_Instantiation_Statement;
   end Has_Configuration_Specification;

   function Has_Default_Binding_Indication (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Component_Instantiation_Statement;
   end Has_Default_Binding_Indication;

   function Has_Default_Configuration_Declaration (K : Iir_Kind)
      return Boolean is
   begin
      return K = Iir_Kind_Architecture_Body;
   end Has_Default_Configuration_Declaration;

   function Has_Expression (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Attribute_Specification
           | Iir_Kind_Disconnection_Specification
           | Iir_Kind_Parenthesis_Expression
           | Iir_Kind_Qualified_Expression
           | Iir_Kind_Type_Conversion
           | Iir_Kind_Allocator_By_Expression
           | Iir_Kind_Concurrent_Selected_Signal_Assignment
           | Iir_Kind_Variable_Assignment_Statement
           | Iir_Kind_Return_Statement
           | Iir_Kind_Case_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Expression;

   function Has_Allocator_Designated_Type (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Allocator_By_Expression
           | Iir_Kind_Allocator_By_Subtype =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Allocator_Designated_Type;

   function Has_Selected_Waveform_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Concurrent_Selected_Signal_Assignment;
   end Has_Selected_Waveform_Chain;

   function Has_Conditional_Waveform_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Concurrent_Conditional_Signal_Assignment;
   end Has_Conditional_Waveform_Chain;

   function Has_Guard_Expression (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Guard_Signal_Declaration;
   end Has_Guard_Expression;

   function Has_Guard_Decl (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Block_Statement;
   end Has_Guard_Decl;

   function Has_Guard_Sensitivity_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Guard_Signal_Declaration;
   end Has_Guard_Sensitivity_List;

   function Has_Block_Block_Configuration (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Block_Statement;
   end Has_Block_Block_Configuration;

   function Has_Package_Header (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Package_Declaration;
   end Has_Package_Header;

   function Has_Block_Header (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Block_Statement;
   end Has_Block_Header;

   function Has_Uninstantiated_Package_Name (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Package_Instantiation_Declaration
           | Iir_Kind_Interface_Package_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Uninstantiated_Package_Name;

   function Has_Generate_Block_Configuration (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Generate_Statement_Body;
   end Has_Generate_Block_Configuration;

   function Has_Generate_Statement_Body (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_If_Generate_Statement
           | Iir_Kind_For_Generate_Statement
           | Iir_Kind_If_Generate_Else_Clause =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Generate_Statement_Body;

   function Has_Alternative_Label (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Generate_Statement_Body;
   end Has_Alternative_Label;

   function Has_Generate_Else_Clause (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_If_Generate_Statement
           | Iir_Kind_If_Generate_Else_Clause =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Generate_Else_Clause;

   function Has_Condition (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Conditional_Waveform
           | Iir_Kind_If_Generate_Statement
           | Iir_Kind_If_Generate_Else_Clause
           | Iir_Kind_While_Loop_Statement
           | Iir_Kind_Next_Statement
           | Iir_Kind_Exit_Statement
           | Iir_Kind_If_Statement
           | Iir_Kind_Elsif =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Condition;

   function Has_Else_Clause (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_If_Statement
           | Iir_Kind_Elsif =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Else_Clause;

   function Has_Parameter_Specification (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_For_Generate_Statement
           | Iir_Kind_For_Loop_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Parameter_Specification;

   function Has_Parent (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Design_File
           | Iir_Kind_Design_Unit
           | Iir_Kind_Library_Clause
           | Iir_Kind_Use_Clause
           | Iir_Kind_Context_Reference
           | Iir_Kind_Choice_By_Others
           | Iir_Kind_Choice_By_Expression
           | Iir_Kind_Choice_By_Range
           | Iir_Kind_Choice_By_None
           | Iir_Kind_Choice_By_Name
           | Iir_Kind_Block_Configuration
           | Iir_Kind_Component_Configuration
           | Iir_Kind_Record_Element_Constraint
           | Iir_Kind_Attribute_Specification
           | Iir_Kind_Disconnection_Specification
           | Iir_Kind_Configuration_Specification
           | Iir_Kind_Protected_Type_Body
           | Iir_Kind_Type_Declaration
           | Iir_Kind_Anonymous_Type_Declaration
           | Iir_Kind_Subtype_Declaration
           | Iir_Kind_Nature_Declaration
           | Iir_Kind_Subnature_Declaration
           | Iir_Kind_Package_Declaration
           | Iir_Kind_Package_Instantiation_Declaration
           | Iir_Kind_Package_Body
           | Iir_Kind_Configuration_Declaration
           | Iir_Kind_Entity_Declaration
           | Iir_Kind_Architecture_Body
           | Iir_Kind_Context_Declaration
           | Iir_Kind_Unit_Declaration
           | Iir_Kind_Component_Declaration
           | Iir_Kind_Attribute_Declaration
           | Iir_Kind_Group_Template_Declaration
           | Iir_Kind_Group_Declaration
           | Iir_Kind_Non_Object_Alias_Declaration
           | Iir_Kind_Psl_Declaration
           | Iir_Kind_Terminal_Declaration
           | Iir_Kind_Free_Quantity_Declaration
           | Iir_Kind_Across_Quantity_Declaration
           | Iir_Kind_Through_Quantity_Declaration
           | Iir_Kind_Enumeration_Literal
           | Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration
           | Iir_Kind_Function_Body
           | Iir_Kind_Procedure_Body
           | Iir_Kind_Object_Alias_Declaration
           | Iir_Kind_File_Declaration
           | Iir_Kind_Guard_Signal_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Variable_Declaration
           | Iir_Kind_Constant_Declaration
           | Iir_Kind_Iterator_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration
           | Iir_Kind_Interface_Package_Declaration
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_Concurrent_Conditional_Signal_Assignment
           | Iir_Kind_Concurrent_Selected_Signal_Assignment
           | Iir_Kind_Concurrent_Assertion_Statement
           | Iir_Kind_Psl_Default_Clock
           | Iir_Kind_Psl_Assert_Statement
           | Iir_Kind_Psl_Cover_Statement
           | Iir_Kind_Concurrent_Procedure_Call_Statement
           | Iir_Kind_Block_Statement
           | Iir_Kind_If_Generate_Statement
           | Iir_Kind_For_Generate_Statement
           | Iir_Kind_Component_Instantiation_Statement
           | Iir_Kind_Simple_Simultaneous_Statement
           | Iir_Kind_Generate_Statement_Body
           | Iir_Kind_If_Generate_Else_Clause
           | Iir_Kind_Signal_Assignment_Statement
           | Iir_Kind_Null_Statement
           | Iir_Kind_Assertion_Statement
           | Iir_Kind_Report_Statement
           | Iir_Kind_Wait_Statement
           | Iir_Kind_Variable_Assignment_Statement
           | Iir_Kind_Return_Statement
           | Iir_Kind_For_Loop_Statement
           | Iir_Kind_While_Loop_Statement
           | Iir_Kind_Next_Statement
           | Iir_Kind_Exit_Statement
           | Iir_Kind_Case_Statement
           | Iir_Kind_Procedure_Call_Statement
           | Iir_Kind_If_Statement
           | Iir_Kind_Elsif
           | Iir_Kind_External_Constant_Name
           | Iir_Kind_External_Signal_Name
           | Iir_Kind_External_Variable_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Parent;

   function Has_Loop_Label (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Next_Statement
           | Iir_Kind_Exit_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Loop_Label;

   function Has_Component_Name (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Component_Configuration
           | Iir_Kind_Configuration_Specification =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Component_Name;

   function Has_Instantiation_List (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Component_Configuration
           | Iir_Kind_Configuration_Specification =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Instantiation_List;

   function Has_Entity_Aspect (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Binding_Indication;
   end Has_Entity_Aspect;

   function Has_Default_Entity_Aspect (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Binding_Indication;
   end Has_Default_Entity_Aspect;

   function Has_Default_Generic_Map_Aspect_Chain (K : Iir_Kind)
      return Boolean is
   begin
      return K = Iir_Kind_Binding_Indication;
   end Has_Default_Generic_Map_Aspect_Chain;

   function Has_Default_Port_Map_Aspect_Chain (K : Iir_Kind)
      return Boolean is
   begin
      return K = Iir_Kind_Binding_Indication;
   end Has_Default_Port_Map_Aspect_Chain;

   function Has_Binding_Indication (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Component_Configuration
           | Iir_Kind_Configuration_Specification =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Binding_Indication;

   function Has_Named_Entity (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Character_Literal
           | Iir_Kind_Simple_Name
           | Iir_Kind_Selected_Name
           | Iir_Kind_Operator_Symbol
           | Iir_Kind_Selected_By_All_Name
           | Iir_Kind_Parenthesis_Name
           | Iir_Kind_Package_Pathname
           | Iir_Kind_Pathname_Element
           | Iir_Kind_Attribute_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Named_Entity;

   function Has_Alias_Declaration (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Character_Literal
           | Iir_Kind_Simple_Name
           | Iir_Kind_Selected_Name
           | Iir_Kind_Operator_Symbol =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Alias_Declaration;

   function Has_Expr_Staticness (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Error
           | Iir_Kind_Integer_Literal
           | Iir_Kind_Floating_Point_Literal
           | Iir_Kind_Null_Literal
           | Iir_Kind_String_Literal8
           | Iir_Kind_Physical_Int_Literal
           | Iir_Kind_Physical_Fp_Literal
           | Iir_Kind_Simple_Aggregate
           | Iir_Kind_Overflow_Literal
           | Iir_Kind_Attribute_Value
           | Iir_Kind_Range_Expression
           | Iir_Kind_Unit_Declaration
           | Iir_Kind_Free_Quantity_Declaration
           | Iir_Kind_Across_Quantity_Declaration
           | Iir_Kind_Through_Quantity_Declaration
           | Iir_Kind_Enumeration_Literal
           | Iir_Kind_Object_Alias_Declaration
           | Iir_Kind_File_Declaration
           | Iir_Kind_Guard_Signal_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Variable_Declaration
           | Iir_Kind_Constant_Declaration
           | Iir_Kind_Iterator_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration
           | Iir_Kind_Identity_Operator
           | Iir_Kind_Negation_Operator
           | Iir_Kind_Absolute_Operator
           | Iir_Kind_Not_Operator
           | Iir_Kind_Condition_Operator
           | Iir_Kind_Reduction_And_Operator
           | Iir_Kind_Reduction_Or_Operator
           | Iir_Kind_Reduction_Nand_Operator
           | Iir_Kind_Reduction_Nor_Operator
           | Iir_Kind_Reduction_Xor_Operator
           | Iir_Kind_Reduction_Xnor_Operator
           | Iir_Kind_And_Operator
           | Iir_Kind_Or_Operator
           | Iir_Kind_Nand_Operator
           | Iir_Kind_Nor_Operator
           | Iir_Kind_Xor_Operator
           | Iir_Kind_Xnor_Operator
           | Iir_Kind_Equality_Operator
           | Iir_Kind_Inequality_Operator
           | Iir_Kind_Less_Than_Operator
           | Iir_Kind_Less_Than_Or_Equal_Operator
           | Iir_Kind_Greater_Than_Operator
           | Iir_Kind_Greater_Than_Or_Equal_Operator
           | Iir_Kind_Match_Equality_Operator
           | Iir_Kind_Match_Inequality_Operator
           | Iir_Kind_Match_Less_Than_Operator
           | Iir_Kind_Match_Less_Than_Or_Equal_Operator
           | Iir_Kind_Match_Greater_Than_Operator
           | Iir_Kind_Match_Greater_Than_Or_Equal_Operator
           | Iir_Kind_Sll_Operator
           | Iir_Kind_Sla_Operator
           | Iir_Kind_Srl_Operator
           | Iir_Kind_Sra_Operator
           | Iir_Kind_Rol_Operator
           | Iir_Kind_Ror_Operator
           | Iir_Kind_Addition_Operator
           | Iir_Kind_Substraction_Operator
           | Iir_Kind_Concatenation_Operator
           | Iir_Kind_Multiplication_Operator
           | Iir_Kind_Division_Operator
           | Iir_Kind_Modulus_Operator
           | Iir_Kind_Remainder_Operator
           | Iir_Kind_Exponentiation_Operator
           | Iir_Kind_Function_Call
           | Iir_Kind_Aggregate
           | Iir_Kind_Parenthesis_Expression
           | Iir_Kind_Qualified_Expression
           | Iir_Kind_Type_Conversion
           | Iir_Kind_Allocator_By_Expression
           | Iir_Kind_Allocator_By_Subtype
           | Iir_Kind_Selected_Element
           | Iir_Kind_Dereference
           | Iir_Kind_Implicit_Dereference
           | Iir_Kind_Slice_Name
           | Iir_Kind_Indexed_Name
           | Iir_Kind_Character_Literal
           | Iir_Kind_Simple_Name
           | Iir_Kind_Selected_Name
           | Iir_Kind_Selected_By_All_Name
           | Iir_Kind_External_Constant_Name
           | Iir_Kind_External_Signal_Name
           | Iir_Kind_External_Variable_Name
           | Iir_Kind_Left_Type_Attribute
           | Iir_Kind_Right_Type_Attribute
           | Iir_Kind_High_Type_Attribute
           | Iir_Kind_Low_Type_Attribute
           | Iir_Kind_Ascending_Type_Attribute
           | Iir_Kind_Image_Attribute
           | Iir_Kind_Value_Attribute
           | Iir_Kind_Pos_Attribute
           | Iir_Kind_Val_Attribute
           | Iir_Kind_Succ_Attribute
           | Iir_Kind_Pred_Attribute
           | Iir_Kind_Leftof_Attribute
           | Iir_Kind_Rightof_Attribute
           | Iir_Kind_Delayed_Attribute
           | Iir_Kind_Stable_Attribute
           | Iir_Kind_Quiet_Attribute
           | Iir_Kind_Transaction_Attribute
           | Iir_Kind_Event_Attribute
           | Iir_Kind_Active_Attribute
           | Iir_Kind_Last_Event_Attribute
           | Iir_Kind_Last_Active_Attribute
           | Iir_Kind_Last_Value_Attribute
           | Iir_Kind_Driving_Attribute
           | Iir_Kind_Driving_Value_Attribute
           | Iir_Kind_Simple_Name_Attribute
           | Iir_Kind_Instance_Name_Attribute
           | Iir_Kind_Path_Name_Attribute
           | Iir_Kind_Left_Array_Attribute
           | Iir_Kind_Right_Array_Attribute
           | Iir_Kind_High_Array_Attribute
           | Iir_Kind_Low_Array_Attribute
           | Iir_Kind_Length_Array_Attribute
           | Iir_Kind_Ascending_Array_Attribute
           | Iir_Kind_Range_Array_Attribute
           | Iir_Kind_Reverse_Range_Array_Attribute
           | Iir_Kind_Attribute_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Expr_Staticness;

   function Has_Has_Implicit_Conversion (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Function_Call;
   end Has_Has_Implicit_Conversion;

   function Has_Error_Origin (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Error;
   end Has_Error_Origin;

   function Has_Operand (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Identity_Operator
           | Iir_Kind_Negation_Operator
           | Iir_Kind_Absolute_Operator
           | Iir_Kind_Not_Operator
           | Iir_Kind_Condition_Operator
           | Iir_Kind_Reduction_And_Operator
           | Iir_Kind_Reduction_Or_Operator
           | Iir_Kind_Reduction_Nand_Operator
           | Iir_Kind_Reduction_Nor_Operator
           | Iir_Kind_Reduction_Xor_Operator
           | Iir_Kind_Reduction_Xnor_Operator =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Operand;

   function Has_Left (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_And_Operator
           | Iir_Kind_Or_Operator
           | Iir_Kind_Nand_Operator
           | Iir_Kind_Nor_Operator
           | Iir_Kind_Xor_Operator
           | Iir_Kind_Xnor_Operator
           | Iir_Kind_Equality_Operator
           | Iir_Kind_Inequality_Operator
           | Iir_Kind_Less_Than_Operator
           | Iir_Kind_Less_Than_Or_Equal_Operator
           | Iir_Kind_Greater_Than_Operator
           | Iir_Kind_Greater_Than_Or_Equal_Operator
           | Iir_Kind_Match_Equality_Operator
           | Iir_Kind_Match_Inequality_Operator
           | Iir_Kind_Match_Less_Than_Operator
           | Iir_Kind_Match_Less_Than_Or_Equal_Operator
           | Iir_Kind_Match_Greater_Than_Operator
           | Iir_Kind_Match_Greater_Than_Or_Equal_Operator
           | Iir_Kind_Sll_Operator
           | Iir_Kind_Sla_Operator
           | Iir_Kind_Srl_Operator
           | Iir_Kind_Sra_Operator
           | Iir_Kind_Rol_Operator
           | Iir_Kind_Ror_Operator
           | Iir_Kind_Addition_Operator
           | Iir_Kind_Substraction_Operator
           | Iir_Kind_Concatenation_Operator
           | Iir_Kind_Multiplication_Operator
           | Iir_Kind_Division_Operator
           | Iir_Kind_Modulus_Operator
           | Iir_Kind_Remainder_Operator
           | Iir_Kind_Exponentiation_Operator =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Left;

   function Has_Right (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_And_Operator
           | Iir_Kind_Or_Operator
           | Iir_Kind_Nand_Operator
           | Iir_Kind_Nor_Operator
           | Iir_Kind_Xor_Operator
           | Iir_Kind_Xnor_Operator
           | Iir_Kind_Equality_Operator
           | Iir_Kind_Inequality_Operator
           | Iir_Kind_Less_Than_Operator
           | Iir_Kind_Less_Than_Or_Equal_Operator
           | Iir_Kind_Greater_Than_Operator
           | Iir_Kind_Greater_Than_Or_Equal_Operator
           | Iir_Kind_Match_Equality_Operator
           | Iir_Kind_Match_Inequality_Operator
           | Iir_Kind_Match_Less_Than_Operator
           | Iir_Kind_Match_Less_Than_Or_Equal_Operator
           | Iir_Kind_Match_Greater_Than_Operator
           | Iir_Kind_Match_Greater_Than_Or_Equal_Operator
           | Iir_Kind_Sll_Operator
           | Iir_Kind_Sla_Operator
           | Iir_Kind_Srl_Operator
           | Iir_Kind_Sra_Operator
           | Iir_Kind_Rol_Operator
           | Iir_Kind_Ror_Operator
           | Iir_Kind_Addition_Operator
           | Iir_Kind_Substraction_Operator
           | Iir_Kind_Concatenation_Operator
           | Iir_Kind_Multiplication_Operator
           | Iir_Kind_Division_Operator
           | Iir_Kind_Modulus_Operator
           | Iir_Kind_Remainder_Operator
           | Iir_Kind_Exponentiation_Operator =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Right;

   function Has_Unit_Name (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Physical_Int_Literal
           | Iir_Kind_Physical_Fp_Literal =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Unit_Name;

   function Has_Name (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Non_Object_Alias_Declaration
           | Iir_Kind_Object_Alias_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Name;

   function Has_Group_Template_Name (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Group_Declaration;
   end Has_Group_Template_Name;

   function Has_Name_Staticness (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Attribute_Value
           | Iir_Kind_Unit_Declaration
           | Iir_Kind_Free_Quantity_Declaration
           | Iir_Kind_Across_Quantity_Declaration
           | Iir_Kind_Through_Quantity_Declaration
           | Iir_Kind_Enumeration_Literal
           | Iir_Kind_Object_Alias_Declaration
           | Iir_Kind_File_Declaration
           | Iir_Kind_Guard_Signal_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Variable_Declaration
           | Iir_Kind_Constant_Declaration
           | Iir_Kind_Iterator_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration
           | Iir_Kind_Function_Call
           | Iir_Kind_Selected_Element
           | Iir_Kind_Dereference
           | Iir_Kind_Implicit_Dereference
           | Iir_Kind_Slice_Name
           | Iir_Kind_Indexed_Name
           | Iir_Kind_Character_Literal
           | Iir_Kind_Simple_Name
           | Iir_Kind_Selected_Name
           | Iir_Kind_External_Constant_Name
           | Iir_Kind_External_Signal_Name
           | Iir_Kind_External_Variable_Name
           | Iir_Kind_Left_Type_Attribute
           | Iir_Kind_Right_Type_Attribute
           | Iir_Kind_High_Type_Attribute
           | Iir_Kind_Low_Type_Attribute
           | Iir_Kind_Ascending_Type_Attribute
           | Iir_Kind_Image_Attribute
           | Iir_Kind_Value_Attribute
           | Iir_Kind_Pos_Attribute
           | Iir_Kind_Val_Attribute
           | Iir_Kind_Succ_Attribute
           | Iir_Kind_Pred_Attribute
           | Iir_Kind_Leftof_Attribute
           | Iir_Kind_Rightof_Attribute
           | Iir_Kind_Delayed_Attribute
           | Iir_Kind_Stable_Attribute
           | Iir_Kind_Quiet_Attribute
           | Iir_Kind_Transaction_Attribute
           | Iir_Kind_Event_Attribute
           | Iir_Kind_Active_Attribute
           | Iir_Kind_Last_Event_Attribute
           | Iir_Kind_Last_Active_Attribute
           | Iir_Kind_Last_Value_Attribute
           | Iir_Kind_Driving_Attribute
           | Iir_Kind_Driving_Value_Attribute
           | Iir_Kind_Simple_Name_Attribute
           | Iir_Kind_Instance_Name_Attribute
           | Iir_Kind_Path_Name_Attribute
           | Iir_Kind_Left_Array_Attribute
           | Iir_Kind_Right_Array_Attribute
           | Iir_Kind_High_Array_Attribute
           | Iir_Kind_Low_Array_Attribute
           | Iir_Kind_Length_Array_Attribute
           | Iir_Kind_Ascending_Array_Attribute
           | Iir_Kind_Range_Array_Attribute
           | Iir_Kind_Reverse_Range_Array_Attribute
           | Iir_Kind_Attribute_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Name_Staticness;

   function Has_Prefix (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Procedure_Call
           | Iir_Kind_Function_Call
           | Iir_Kind_Selected_Element
           | Iir_Kind_Dereference
           | Iir_Kind_Implicit_Dereference
           | Iir_Kind_Slice_Name
           | Iir_Kind_Indexed_Name
           | Iir_Kind_Selected_Name
           | Iir_Kind_Selected_By_All_Name
           | Iir_Kind_Parenthesis_Name
           | Iir_Kind_Base_Attribute
           | Iir_Kind_Left_Type_Attribute
           | Iir_Kind_Right_Type_Attribute
           | Iir_Kind_High_Type_Attribute
           | Iir_Kind_Low_Type_Attribute
           | Iir_Kind_Ascending_Type_Attribute
           | Iir_Kind_Image_Attribute
           | Iir_Kind_Value_Attribute
           | Iir_Kind_Pos_Attribute
           | Iir_Kind_Val_Attribute
           | Iir_Kind_Succ_Attribute
           | Iir_Kind_Pred_Attribute
           | Iir_Kind_Leftof_Attribute
           | Iir_Kind_Rightof_Attribute
           | Iir_Kind_Delayed_Attribute
           | Iir_Kind_Stable_Attribute
           | Iir_Kind_Quiet_Attribute
           | Iir_Kind_Transaction_Attribute
           | Iir_Kind_Event_Attribute
           | Iir_Kind_Active_Attribute
           | Iir_Kind_Last_Event_Attribute
           | Iir_Kind_Last_Active_Attribute
           | Iir_Kind_Last_Value_Attribute
           | Iir_Kind_Driving_Attribute
           | Iir_Kind_Driving_Value_Attribute
           | Iir_Kind_Simple_Name_Attribute
           | Iir_Kind_Instance_Name_Attribute
           | Iir_Kind_Path_Name_Attribute
           | Iir_Kind_Left_Array_Attribute
           | Iir_Kind_Right_Array_Attribute
           | Iir_Kind_High_Array_Attribute
           | Iir_Kind_Low_Array_Attribute
           | Iir_Kind_Length_Array_Attribute
           | Iir_Kind_Ascending_Array_Attribute
           | Iir_Kind_Range_Array_Attribute
           | Iir_Kind_Reverse_Range_Array_Attribute
           | Iir_Kind_Attribute_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Prefix;

   function Has_Signature_Prefix (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Signature;
   end Has_Signature_Prefix;

   function Has_External_Pathname (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_External_Constant_Name
           | Iir_Kind_External_Signal_Name
           | Iir_Kind_External_Variable_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_External_Pathname;

   function Has_Pathname_Suffix (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Package_Pathname
           | Iir_Kind_Absolute_Pathname
           | Iir_Kind_Relative_Pathname
           | Iir_Kind_Pathname_Element =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Pathname_Suffix;

   function Has_Pathname_Expression (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Pathname_Element;
   end Has_Pathname_Expression;

   function Has_Slice_Subtype (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Slice_Name;
   end Has_Slice_Subtype;

   function Has_Suffix (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Slice_Name;
   end Has_Suffix;

   function Has_Index_Subtype (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Left_Array_Attribute
           | Iir_Kind_Right_Array_Attribute
           | Iir_Kind_High_Array_Attribute
           | Iir_Kind_Low_Array_Attribute
           | Iir_Kind_Length_Array_Attribute
           | Iir_Kind_Ascending_Array_Attribute
           | Iir_Kind_Range_Array_Attribute
           | Iir_Kind_Reverse_Range_Array_Attribute =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Index_Subtype;

   function Has_Parameter (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Image_Attribute
           | Iir_Kind_Value_Attribute
           | Iir_Kind_Pos_Attribute
           | Iir_Kind_Val_Attribute
           | Iir_Kind_Succ_Attribute
           | Iir_Kind_Pred_Attribute
           | Iir_Kind_Leftof_Attribute
           | Iir_Kind_Rightof_Attribute
           | Iir_Kind_Delayed_Attribute
           | Iir_Kind_Stable_Attribute
           | Iir_Kind_Quiet_Attribute
           | Iir_Kind_Transaction_Attribute
           | Iir_Kind_Left_Array_Attribute
           | Iir_Kind_Right_Array_Attribute
           | Iir_Kind_High_Array_Attribute
           | Iir_Kind_Low_Array_Attribute
           | Iir_Kind_Length_Array_Attribute
           | Iir_Kind_Ascending_Array_Attribute
           | Iir_Kind_Range_Array_Attribute
           | Iir_Kind_Reverse_Range_Array_Attribute =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Parameter;

   function Has_Actual_Type (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Association_Element_By_Individual;
   end Has_Actual_Type;

   function Has_Associated_Interface (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Association_Element_Package;
   end Has_Associated_Interface;

   function Has_Association_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Parenthesis_Name;
   end Has_Association_Chain;

   function Has_Individual_Association_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Association_Element_By_Individual;
   end Has_Individual_Association_Chain;

   function Has_Aggregate_Info (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Aggregate;
   end Has_Aggregate_Info;

   function Has_Sub_Aggregate_Info (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Aggregate_Info;
   end Has_Sub_Aggregate_Info;

   function Has_Aggr_Dynamic_Flag (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Aggregate_Info;
   end Has_Aggr_Dynamic_Flag;

   function Has_Aggr_Min_Length (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Aggregate_Info;
   end Has_Aggr_Min_Length;

   function Has_Aggr_Low_Limit (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Aggregate_Info;
   end Has_Aggr_Low_Limit;

   function Has_Aggr_High_Limit (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Aggregate_Info;
   end Has_Aggr_High_Limit;

   function Has_Aggr_Others_Flag (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Aggregate_Info;
   end Has_Aggr_Others_Flag;

   function Has_Aggr_Named_Flag (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Aggregate_Info;
   end Has_Aggr_Named_Flag;

   function Has_Value_Staticness (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Aggregate;
   end Has_Value_Staticness;

   function Has_Association_Choices_Chain (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Aggregate;
   end Has_Association_Choices_Chain;

   function Has_Case_Statement_Alternative_Chain (K : Iir_Kind)
      return Boolean is
   begin
      return K = Iir_Kind_Case_Statement;
   end Has_Case_Statement_Alternative_Chain;

   function Has_Choice_Staticness (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Choice_By_Expression
           | Iir_Kind_Choice_By_Range =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Choice_Staticness;

   function Has_Procedure_Call (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Concurrent_Procedure_Call_Statement
           | Iir_Kind_Procedure_Call_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Procedure_Call;

   function Has_Implementation (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Procedure_Call
           | Iir_Kind_Identity_Operator
           | Iir_Kind_Negation_Operator
           | Iir_Kind_Absolute_Operator
           | Iir_Kind_Not_Operator
           | Iir_Kind_Condition_Operator
           | Iir_Kind_Reduction_And_Operator
           | Iir_Kind_Reduction_Or_Operator
           | Iir_Kind_Reduction_Nand_Operator
           | Iir_Kind_Reduction_Nor_Operator
           | Iir_Kind_Reduction_Xor_Operator
           | Iir_Kind_Reduction_Xnor_Operator
           | Iir_Kind_And_Operator
           | Iir_Kind_Or_Operator
           | Iir_Kind_Nand_Operator
           | Iir_Kind_Nor_Operator
           | Iir_Kind_Xor_Operator
           | Iir_Kind_Xnor_Operator
           | Iir_Kind_Equality_Operator
           | Iir_Kind_Inequality_Operator
           | Iir_Kind_Less_Than_Operator
           | Iir_Kind_Less_Than_Or_Equal_Operator
           | Iir_Kind_Greater_Than_Operator
           | Iir_Kind_Greater_Than_Or_Equal_Operator
           | Iir_Kind_Match_Equality_Operator
           | Iir_Kind_Match_Inequality_Operator
           | Iir_Kind_Match_Less_Than_Operator
           | Iir_Kind_Match_Less_Than_Or_Equal_Operator
           | Iir_Kind_Match_Greater_Than_Operator
           | Iir_Kind_Match_Greater_Than_Or_Equal_Operator
           | Iir_Kind_Sll_Operator
           | Iir_Kind_Sla_Operator
           | Iir_Kind_Srl_Operator
           | Iir_Kind_Sra_Operator
           | Iir_Kind_Rol_Operator
           | Iir_Kind_Ror_Operator
           | Iir_Kind_Addition_Operator
           | Iir_Kind_Substraction_Operator
           | Iir_Kind_Concatenation_Operator
           | Iir_Kind_Multiplication_Operator
           | Iir_Kind_Division_Operator
           | Iir_Kind_Modulus_Operator
           | Iir_Kind_Remainder_Operator
           | Iir_Kind_Exponentiation_Operator
           | Iir_Kind_Function_Call =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Implementation;

   function Has_Parameter_Association_Chain (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Procedure_Call
           | Iir_Kind_Function_Call =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Parameter_Association_Chain;

   function Has_Method_Object (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Procedure_Call
           | Iir_Kind_Function_Call =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Method_Object;

   function Has_Subtype_Type_Mark (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Array_Subtype_Definition
           | Iir_Kind_Record_Subtype_Definition
           | Iir_Kind_Access_Subtype_Definition
           | Iir_Kind_Physical_Subtype_Definition
           | Iir_Kind_Floating_Subtype_Definition
           | Iir_Kind_Integer_Subtype_Definition
           | Iir_Kind_Enumeration_Subtype_Definition
           | Iir_Kind_Subtype_Definition =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Subtype_Type_Mark;

   function Has_Type_Conversion_Subtype (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Type_Conversion;
   end Has_Type_Conversion_Subtype;

   function Has_Type_Mark (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Disconnection_Specification
           | Iir_Kind_Attribute_Declaration
           | Iir_Kind_Qualified_Expression
           | Iir_Kind_Type_Conversion =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Type_Mark;

   function Has_File_Type_Mark (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_File_Type_Definition;
   end Has_File_Type_Mark;

   function Has_Return_Type_Mark (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Signature
           | Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Return_Type_Mark;

   function Has_Incomplete_Type_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Incomplete_Type_Definition;
   end Has_Incomplete_Type_List;

   function Has_Has_Disconnect_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Signal_Declaration
           | Iir_Kind_Interface_Signal_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Has_Disconnect_Flag;

   function Has_Has_Active_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Guard_Signal_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Delayed_Attribute
           | Iir_Kind_Stable_Attribute
           | Iir_Kind_Quiet_Attribute
           | Iir_Kind_Transaction_Attribute =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Has_Active_Flag;

   function Has_Is_Within_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Entity_Declaration
           | Iir_Kind_Architecture_Body
           | Iir_Kind_Enumeration_Literal
           | Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_Block_Statement
           | Iir_Kind_If_Generate_Statement
           | Iir_Kind_For_Generate_Statement
           | Iir_Kind_Generate_Statement_Body
           | Iir_Kind_For_Loop_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Is_Within_Flag;

   function Has_Type_Marks_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Signature;
   end Has_Type_Marks_List;

   function Has_Implicit_Alias_Flag (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Non_Object_Alias_Declaration;
   end Has_Implicit_Alias_Flag;

   function Has_Alias_Signature (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Non_Object_Alias_Declaration;
   end Has_Alias_Signature;

   function Has_Attribute_Signature (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Attribute_Name;
   end Has_Attribute_Signature;

   function Has_Overload_List (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Overload_List;
   end Has_Overload_List;

   function Has_Simple_Name_Identifier (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Simple_Name_Attribute;
   end Has_Simple_Name_Identifier;

   function Has_Simple_Name_Subtype (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Simple_Name_Attribute;
   end Has_Simple_Name_Subtype;

   function Has_Protected_Type_Body (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Protected_Type_Declaration;
   end Has_Protected_Type_Body;

   function Has_Protected_Type_Declaration (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Protected_Type_Body;
   end Has_Protected_Type_Declaration;

   function Has_End_Location (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Design_Unit;
   end Has_End_Location;

   function Has_Use_Flag (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Type_Declaration
           | Iir_Kind_Subtype_Declaration
           | Iir_Kind_Nature_Declaration
           | Iir_Kind_Subnature_Declaration
           | Iir_Kind_Component_Declaration
           | Iir_Kind_Attribute_Declaration
           | Iir_Kind_Group_Template_Declaration
           | Iir_Kind_Group_Declaration
           | Iir_Kind_Non_Object_Alias_Declaration
           | Iir_Kind_Psl_Declaration
           | Iir_Kind_Terminal_Declaration
           | Iir_Kind_Free_Quantity_Declaration
           | Iir_Kind_Across_Quantity_Declaration
           | Iir_Kind_Through_Quantity_Declaration
           | Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration
           | Iir_Kind_Object_Alias_Declaration
           | Iir_Kind_File_Declaration
           | Iir_Kind_Guard_Signal_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Variable_Declaration
           | Iir_Kind_Constant_Declaration
           | Iir_Kind_Iterator_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Use_Flag;

   function Has_End_Has_Reserved_Id (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Protected_Type_Declaration
           | Iir_Kind_Record_Type_Definition
           | Iir_Kind_Physical_Type_Definition
           | Iir_Kind_Protected_Type_Body
           | Iir_Kind_Package_Declaration
           | Iir_Kind_Package_Instantiation_Declaration
           | Iir_Kind_Package_Body
           | Iir_Kind_Configuration_Declaration
           | Iir_Kind_Entity_Declaration
           | Iir_Kind_Architecture_Body
           | Iir_Kind_Context_Declaration
           | Iir_Kind_Component_Declaration
           | Iir_Kind_Function_Body
           | Iir_Kind_Procedure_Body
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_Block_Statement
           | Iir_Kind_If_Generate_Statement
           | Iir_Kind_For_Generate_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_End_Has_Reserved_Id;

   function Has_End_Has_Identifier (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Protected_Type_Declaration
           | Iir_Kind_Record_Type_Definition
           | Iir_Kind_Physical_Type_Definition
           | Iir_Kind_Protected_Type_Body
           | Iir_Kind_Package_Declaration
           | Iir_Kind_Package_Instantiation_Declaration
           | Iir_Kind_Package_Body
           | Iir_Kind_Configuration_Declaration
           | Iir_Kind_Entity_Declaration
           | Iir_Kind_Architecture_Body
           | Iir_Kind_Context_Declaration
           | Iir_Kind_Component_Declaration
           | Iir_Kind_Function_Body
           | Iir_Kind_Procedure_Body
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_Block_Statement
           | Iir_Kind_If_Generate_Statement
           | Iir_Kind_For_Generate_Statement
           | Iir_Kind_Generate_Statement_Body
           | Iir_Kind_For_Loop_Statement
           | Iir_Kind_While_Loop_Statement
           | Iir_Kind_Case_Statement
           | Iir_Kind_If_Statement
           | Iir_Kind_Elsif =>
            return True;
         when others =>
            return False;
      end case;
   end Has_End_Has_Identifier;

   function Has_End_Has_Postponed (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_End_Has_Postponed;

   function Has_Has_Label (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement
           | Iir_Kind_Generate_Statement_Body =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Has_Label;

   function Has_Has_Begin (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Entity_Declaration
           | Iir_Kind_Generate_Statement_Body =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Has_Begin;

   function Has_Has_End (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Generate_Statement_Body;
   end Has_Has_End;

   function Has_Has_Is (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Component_Declaration
           | Iir_Kind_Sensitized_Process_Statement
           | Iir_Kind_Process_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Has_Is;

   function Has_Has_Pure (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Function_Declaration;
   end Has_Has_Pure;

   function Has_Has_Body (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Function_Declaration
           | Iir_Kind_Procedure_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Has_Body;

   function Has_Has_Identifier_List (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Library_Clause
           | Iir_Kind_Element_Declaration
           | Iir_Kind_File_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Variable_Declaration
           | Iir_Kind_Constant_Declaration
           | Iir_Kind_Iterator_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Has_Identifier_List;

   function Has_Has_Mode (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_File_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Has_Mode;

   function Has_Has_Class (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Has_Class;

   function Has_Is_Ref (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Subtype_Declaration
           | Iir_Kind_Element_Declaration
           | Iir_Kind_Object_Alias_Declaration
           | Iir_Kind_File_Declaration
           | Iir_Kind_Signal_Declaration
           | Iir_Kind_Variable_Declaration
           | Iir_Kind_Constant_Declaration
           | Iir_Kind_Iterator_Declaration
           | Iir_Kind_Interface_Constant_Declaration
           | Iir_Kind_Interface_Variable_Declaration
           | Iir_Kind_Interface_Signal_Declaration
           | Iir_Kind_Interface_File_Declaration
           | Iir_Kind_External_Constant_Name
           | Iir_Kind_External_Signal_Name
           | Iir_Kind_External_Variable_Name =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Is_Ref;

   function Has_Psl_Property (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Psl_Assert_Statement
           | Iir_Kind_Psl_Cover_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_Psl_Property;

   function Has_Psl_Declaration (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Psl_Declaration;
   end Has_Psl_Declaration;

   function Has_Psl_Expression (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Psl_Expression;
   end Has_Psl_Expression;

   function Has_Psl_Boolean (K : Iir_Kind) return Boolean is
   begin
      return K = Iir_Kind_Psl_Default_Clock;
   end Has_Psl_Boolean;

   function Has_PSL_Clock (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Psl_Declaration
           | Iir_Kind_Psl_Assert_Statement
           | Iir_Kind_Psl_Cover_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_PSL_Clock;

   function Has_PSL_NFA (K : Iir_Kind) return Boolean is
   begin
      case K is
         when Iir_Kind_Psl_Declaration
           | Iir_Kind_Psl_Assert_Statement
           | Iir_Kind_Psl_Cover_Statement =>
            return True;
         when others =>
            return False;
      end case;
   end Has_PSL_NFA;

end Nodes_Meta;