OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / ada / sinfo.ads
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                         GNAT COMPILER COMPONENTS                         --
4 --                                                                          --
5 --                                S I N F O                                 --
6 --                                                                          --
7 --                                 S p e c                                  --
8 --                                                                          --
9 --          Copyright (C) 1992-2009, Free Software Foundation, Inc.         --
10 --                                                                          --
11 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
12 -- terms of the  GNU General Public License as published  by the Free Soft- --
13 -- ware  Foundation;  either version 3,  or (at your option) any later ver- --
14 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
15 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
16 -- or FITNESS FOR A PARTICULAR PURPOSE.                                     --
17 --                                                                          --
18 -- As a special exception under Section 7 of GPL version 3, you are granted --
19 -- additional permissions described in the GCC Runtime Library Exception,   --
20 -- version 3.1, as published by the Free Software Foundation.               --
21 --                                                                          --
22 -- You should have received a copy of the GNU General Public License and    --
23 -- a copy of the GCC Runtime Library Exception along with this program;     --
24 -- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    --
25 -- <http://www.gnu.org/licenses/>.                                          --
26 --                                                                          --
27 -- GNAT was originally developed  by the GNAT team at  New York University. --
28 -- Extensive contributions were provided by Ada Core Technologies Inc.      --
29 --                                                                          --
30 ------------------------------------------------------------------------------
31
32 --  This package defines the structure of the abstract syntax tree. The Tree
33 --  package provides a basic tree structure. Sinfo describes how this structure
34 --  is used to represent the syntax of an Ada program.
35
36 --  The grammar in the RM is followed very closely in the tree design, and is
37 --  repeated as part of this source file.
38
39 --  The tree contains not only the full syntactic representation of the
40 --  program, but also the results of semantic analysis. In particular, the
41 --  nodes for defining identifiers, defining character literals and defining
42 --  operator symbols, collectively referred to as entities, represent what
43 --  would normally be regarded as the symbol table information. In addition a
44 --  number of the tree nodes contain semantic information.
45
46 --  WARNING: Several files are automatically generated from this package.
47 --  See below for details.
48
49 with Namet;  use Namet;
50 with Types;  use Types;
51 with Uintp;  use Uintp;
52 with Urealp; use Urealp;
53
54 package Sinfo is
55
56    ---------------------------------
57    -- Making Changes to This File --
58    ---------------------------------
59
60    --  If changes are made to this file, a number of related steps must be
61    --  carried out to ensure consistency. First, if a field access function is
62    --  added, it appears in seven places:
63
64    --    The documentation associated with the node
65    --    The spec of the access function in sinfo.ads
66    --    The body of the access function in sinfo.adb
67    --    The pragma Inline at the end of sinfo.ads for the access function
68    --    The spec of the set procedure in sinfo.ads
69    --    The body of the set procedure in sinfo.adb
70    --    The pragma Inline at the end of sinfo.ads for the set procedure
71
72    --  The field chosen must be consistent in all places, and, for a node that
73    --  is a subexpression, must not overlap any of the standard expression
74    --  fields.
75
76    --  In addition, if any of the standard expression fields is changed, then
77    --  the utility program which creates the Treeprs spec (in file treeprs.ads)
78    --  must be updated appropriately, since it special cases expression fields.
79
80    --  If a new tree node is added, then the following changes are made
81
82    --    Add it to the documentation in the appropriate place
83    --    Add its fields to this documentation section
84    --    Define it in the appropriate classification in Node_Kind
85    --    In the body (sinfo), add entries to the access functions for all
86    --     its fields (except standard expression fields) to include the new
87    --     node in the checks.
88    --    Add an appropriate section to the case statement in sprint.adb
89    --    Add an appropriate section to the case statement in sem.adb
90    --    Add an appropriate section to the case statement in exp_util.adb
91    --     (Insert_Actions procedure)
92    --    For a subexpression, add an appropriate section to the case
93    --     statement in sem_eval.adb
94    --    For a subexpression, add an appropriate section to the case
95    --     statement in sem_res.adb
96
97    --  Finally, four utility programs must be run:
98
99    --    Run CSinfo to check that you have made the changes consistently. It
100    --     checks most of the rules given above, with clear error messages. This
101    --     utility reads sinfo.ads and sinfo.adb and generates a report to
102    --     standard output.
103
104    --    Run XSinfo to create sinfo.h, the corresponding C header. This
105    --     utility reads sinfo.ads and generates sinfo.h. Note that it does
106    --     not need to read sinfo.adb, since the contents of the body are
107    --     algorithmically determinable from the spec.
108
109    --    Run XTreeprs to create treeprs.ads, an updated version of the module
110    --     that is used to drive the tree print routine. This utility reads (but
111    --     does not modify) treeprs.adt, the template that provides the basic
112    --     structure of the file, and then fills in the data from the comments
113    --     in sinfo.ads.
114
115    --    Run XNmake to create nmake.ads and nmake.adb, the package body and
116    --     spec of the Nmake package which contains functions for constructing
117    --     nodes.
118
119    --  All of the above steps except CSinfo are done automatically by the
120    --  build scripts when you do a full bootstrap.
121
122    --  Note: sometime we could write a utility that actually generated the body
123    --  of sinfo from the spec instead of simply checking it, since, as noted
124    --  above, the contents of the body can be determined from the spec.
125
126    --------------------------------
127    -- Implicit Nodes in the Tree --
128    --------------------------------
129
130    --  Generally the structure of the tree very closely follows the grammar as
131    --  defined in the RM. However, certain nodes are omitted to save space and
132    --  simplify semantic processing. Two general classes of such omitted nodes
133    --  are as follows:
134
135    --   If the only possibilities for a non-terminal are one or more other
136    --   non-terminals (i.e. the rule is a "skinny" rule), then usually the
137    --   corresponding node is omitted from the tree, and the target construct
138    --   appears directly. For example, a real type definition is either
139    --   floating point definition or a fixed point definition. No explicit node
140    --   appears for real type definition. Instead either the floating point
141    --   definition or fixed point definition appears directly.
142
143    --   If a non-terminal corresponds to a list of some other non-terminal
144    --   (possibly with separating punctuation), then usually it is omitted from
145    --   the tree, and a list of components appears instead. For example,
146    --   sequence of statements does not appear explicitly in the tree. Instead
147    --   a list of statements appears directly.
148
149    --  Some additional cases of omitted nodes occur and are documented
150    --  individually. In particular, many nodes are omitted in the tree
151    --  generated for an expression.
152
153    -------------------------------------------
154    -- Handling of Defining Identifier Lists --
155    -------------------------------------------
156
157    --  In several declarative forms in the syntax, lists of defining
158    --  identifiers appear (object declarations, component declarations, number
159    --  declarations etc.)
160
161    --  The semantics of such statements are equivalent to a series of identical
162    --  declarations of single defining identifiers (except that conformance
163    --  checks require the same grouping of identifiers in the parameter case).
164
165    --  To simplify semantic processing, the parser breaks down such multiple
166    --  declaration cases into sequences of single declarations, duplicating
167    --  type and initialization information as required. The flags More_Ids and
168    --  Prev_Ids are used to record the original form of the source in the case
169    --  where the original source used a list of names, More_Ids being set on
170    --  all but the last name and Prev_Ids being set on all but the first name.
171    --  These flags are used to reconstruct the original source (e.g. in the
172    --  Sprint package), and also are included in the conformance checks, but
173    --  otherwise have no semantic significance.
174
175    --  Note: the reason that we use More_Ids and Prev_Ids rather than
176    --  First_Name and Last_Name flags is so that the flags are off in the
177    --  normal one identifier case, which minimizes tree print output.
178
179    -----------------------
180    -- Use of Node Lists --
181    -----------------------
182
183    --  With a few exceptions, if a construction of the form {non-terminal}
184    --  appears in the tree, lists are used in the corresponding tree node (see
185    --  package Nlists for handling of node lists). In this case a field of the
186    --  parent node points to a list of nodes for the non-terminal. The field
187    --  name for such fields has a plural name which always ends in "s". For
188    --  example, a case statement has a field Alternatives pointing to list of
189    --  case statement alternative nodes.
190
191    --  Only fields pointing to lists have names ending in "s", so generally the
192    --  structure is strongly typed, fields not ending in s point to single
193    --  nodes, and fields ending in s point to lists.
194
195    --  The following example shows how a traversal of a list is written. We
196    --  suppose here that Stmt points to a N_Case_Statement node which has a
197    --  list field called Alternatives:
198
199    --   Alt := First (Alternatives (Stmt));
200    --   while Present (Alt) loop
201    --      ..
202    --      -- processing for case statement alternative Alt
203    --      ..
204    --      Alt := Next (Alt);
205    --   end loop;
206
207    --  The Present function tests for Empty, which in this case signals the end
208    --  of the list. First returns Empty immediately if the list is empty.
209    --  Present is defined in Atree, First and Next are defined in Nlists.
210
211    --  The exceptions to this rule occur with {DEFINING_IDENTIFIERS} in all
212    --  contexts, which is handled as described in the previous section, and
213    --  with {,library_unit_NAME} in the N_With_Clause mode, which is handled
214    --  using the First_Name and Last_Name flags, as further detailed in the
215    --  description of the N_With_Clause node.
216
217    -------------
218    -- Pragmas --
219    -------------
220
221    --  Pragmas can appear in many different context, but are not included in
222    --  the grammar. Still they must appear in the tree, so they can be properly
223    --  processed.
224
225    --  Two approaches are used. In some cases, an extra field is defined in an
226    --  appropriate node that contains a list of pragmas appearing in the
227    --  expected context. For example pragmas can appear before an
228    --  Accept_Alternative in a Selective_Accept_Statement, and these pragmas
229    --  appear in the Pragmas_Before field of the N_Accept_Alternative node.
230
231    --  The other approach is to simply allow pragmas to appear in syntactic
232    --  lists where the grammar (of course) does not include the possibility.
233    --  For example, the Variants field of an N_Variant_Part node points to a
234    --  list that can contain both N_Pragma and N_Variant nodes.
235
236    --  To make processing easier in the latter case, the Nlists package
237    --  provides a set of routines (First_Non_Pragma, Last_Non_Pragma,
238    --  Next_Non_Pragma, Prev_Non_Pragma) that allow such lists to be handled
239    --  ignoring all pragmas.
240
241    --  In the case of the variants list, we can either write:
242
243    --      Variant := First (Variants (N));
244    --      while Present (Variant) loop
245    --         ...
246    --         Variant := Next (Variant);
247    --      end loop;
248
249    --  or
250
251    --      Variant := First_Non_Pragma (Variants (N));
252    --      while Present (Variant) loop
253    --         ...
254    --         Variant := Next_Non_Pragma (Variant);
255    --      end loop;
256
257    --  In the first form of the loop, Variant can either be an N_Pragma or an
258    --  N_Variant node. In the second form, Variant can only be N_Variant since
259    --  all pragmas are skipped.
260
261    ---------------------
262    -- Optional Fields --
263    ---------------------
264
265    --  Fields which correspond to a section of the syntax enclosed in square
266    --  brackets are generally omitted (and the corresponding field set to Empty
267    --  for a node, or No_List for a list). The documentation of such fields
268    --  notes these cases. One exception to this rule occurs in the case of
269    --  possibly empty statement sequences (such as the sequence of statements
270    --  in an entry call alternative). Such cases appear in the syntax rules as
271    --  [SEQUENCE_OF_STATEMENTS] and the fields corresponding to such optional
272    --  statement sequences always contain an empty list (not No_List) if no
273    --  statements are present.
274
275    --  Note: the utility program that constructs the body and spec of the Nmake
276    --  package relies on the format of the comments to determine if a field
277    --  should have a default value in the corresponding make routine. The rule
278    --  is that if the first line of the description of the field contains the
279    --  string "(set to xxx if", then a default value of xxx is provided for
280    --  this field in the corresponding Make_yyy routine.
281
282    -----------------------------------
283    -- Note on Body/Spec Terminology --
284    -----------------------------------
285
286    --  In informal discussions about Ada, it is customary to refer to package
287    --  and subprogram specs and bodies. However, this is not technically
288    --  correct, what is normally referred to as a spec or specification is in
289    --  fact a package declaration or subprogram declaration. We are careful in
290    --  GNAT to use the correct terminology and in particular, the full word
291    --  specification is never used as an incorrect substitute for declaration.
292    --  The structure and terminology used in the tree also reflects the grammar
293    --  and thus uses declaration and specification in the technically correct
294    --  manner.
295
296    --  However, there are contexts in which the informal terminology is useful.
297    --  We have the word "body" to refer to the Interp_Etype declared by the
298    --  declaration of a unit body, and in some contexts we need similar term to
299    --  refer to the entity declared by the package or subprogram declaration,
300    --  and simply using declaration can be confusing since the body also has a
301    --  declaration.
302
303    --  An example of such a context is the link between the package body and
304    --  its declaration. With_Declaration is confusing, since the package body
305    --  itself is a declaration.
306
307    --  To deal with this problem, we reserve the informal term Spec, i.e. the
308    --  popular abbreviation used in this context, to refer to the entity
309    --  declared by the package or subprogram declaration. So in the above
310    --  example case, the field in the body is called With_Spec.
311
312    --  Another important context for the use of the word Spec is in error
313    --  messages, where a hyper-correct use of declaration would be confusing to
314    --  a typical Ada programmer, and even for an expert programmer can cause
315    --  confusion since the body has a declaration as well.
316
317    --  So, to summarize:
318
319    --     Declaration    always refers to the syntactic entity that is called
320    --                    a declaration. In particular, subprogram declaration
321    --                    and package declaration are used to describe the
322    --                    syntactic entity that includes the semicolon.
323
324    --     Specification  always refers to the syntactic entity that is called
325    --                    a specification. In particular, the terms procedure
326    --                    specification, function specification, package
327    --                    specification, subprogram specification always refer
328    --                    to the syntactic entity that has no semicolon.
329
330    --     Spec           is an informal term, used to refer to the entity
331    --                    that is declared by a task declaration, protected
332    --                    declaration, generic declaration, subprogram
333    --                    declaration or package declaration.
334
335    --  This convention is followed throughout the GNAT documentation
336    --  both internal and external, and in all error message text.
337
338    ------------------------
339    -- Internal Use Nodes --
340    ------------------------
341
342    --  These are Node_Kind settings used in the internal implementation which
343    --  are not logically part of the specification.
344
345    --  N_Unused_At_Start
346    --  Completely unused entry at the start of the enumeration type. This
347    --  is inserted so that no legitimate value is zero, which helps to get
348    --  better debugging behavior, since zero is a likely uninitialized value).
349
350    --  N_Unused_At_End
351    --  Completely unused entry at the end of the enumeration type. This is
352    --  handy so that arrays with Node_Kind as the index type have an extra
353    --  entry at the end (see for example the use of the Pchar_Pos_Array in
354    --  Treepr, where the extra entry provides the limit value when dealing with
355    --  the last used entry in the array).
356
357    -----------------------------------------
358    -- Note on the settings of Sloc fields --
359    -----------------------------------------
360
361    --  The Sloc field of nodes that come from the source is set by the parser.
362    --  For internal nodes, and nodes generated during expansion the Sloc is
363    --  usually set in the call to the constructor for the node. In general the
364    --  Sloc value chosen for an internal node is the Sloc of the source node
365    --  whose processing is responsible for the expansion. For example, the Sloc
366    --  of an inherited primitive operation is the Sloc of the corresponding
367    --  derived type declaration.
368
369    --  For the nodes of a generic instantiation, the Sloc value is encoded to
370    --  represent both the original Sloc in the generic unit, and the Sloc of
371    --  the instantiation itself. See Sinput.ads for details.
372
373    --  Subprogram instances create two callable entities: one is the visible
374    --  subprogram instance, and the other is an anonymous subprogram nested
375    --  within a wrapper package that contains the renamings for the actuals.
376    --  Both of these entities have the Sloc of the defining entity in the
377    --  instantiation node. This simplifies some ASIS queries.
378
379    -----------------------
380    -- Field Definitions --
381    -----------------------
382
383    --  In the following node definitions, all fields, both syntactic and
384    --  semantic, are documented. The one exception is in the case of entities
385    --  (defining identifiers, character literals and operator symbols), where
386    --  the usage of the fields depends on the entity kind. Entity fields are
387    --  fully documented in the separate package Einfo.
388
389    --  In the node definitions, three common sets of fields are abbreviated to
390    --  save both space in the documentation, and also space in the string
391    --  (defined in Tree_Print_Strings) used to print trees. The following
392    --  abbreviations are used:
393
394    --  Note: the utility program that creates the Treeprs spec (in the file
395    --  xtreeprs.adb) knows about the special fields here, so it must be
396    --  modified if any change is made to these fields.
397
398    --    "plus fields for binary operator"
399    --       Chars                    (Name1)      Name_Id for the operator
400    --       Left_Opnd                (Node2)      left operand expression
401    --       Right_Opnd               (Node3)      right operand expression
402    --       Entity                   (Node4-Sem)  defining entity for operator
403    --       Associated_Node          (Node4-Sem)  for generic processing
404    --       Do_Overflow_Check        (Flag17-Sem) set if overflow check needed
405    --       Has_Private_View         (Flag11-Sem) set in generic units.
406
407    --    "plus fields for unary operator"
408    --       Chars                    (Name1)      Name_Id for the operator
409    --       Right_Opnd               (Node3)      right operand expression
410    --       Entity                   (Node4-Sem)  defining entity for operator
411    --       Associated_Node          (Node4-Sem)  for generic processing
412    --       Do_Overflow_Check        (Flag17-Sem) set if overflow check needed
413    --       Has_Private_View         (Flag11-Sem) set in generic units.
414
415    --    "plus fields for expression"
416    --       Paren_Count                           number of parentheses levels
417    --       Etype                    (Node5-Sem)  type of the expression
418    --       Is_Overloaded            (Flag5-Sem)  >1 type interpretation exists
419    --       Is_Static_Expression     (Flag6-Sem)  set for static expression
420    --       Raises_Constraint_Error  (Flag7-Sem)  evaluation raises CE
421    --       Must_Not_Freeze          (Flag8-Sem)  set if must not freeze
422    --       Do_Range_Check           (Flag9-Sem)  set if a range check needed
423    --       Assignment_OK            (Flag15-Sem) set if modification is OK
424    --       Is_Controlling_Actual    (Flag16-Sem) set for controlling argument
425
426    --  Note: see under (EXPRESSION) for further details on the use of
427    --  the Paren_Count field to record the number of parentheses levels.
428
429    --  Node_Kind is the type used in the Nkind field to indicate the node kind.
430    --  The actual definition of this type is given later (the reason for this
431    --  is that we want the descriptions ordered by logical chapter in the RM,
432    --  but the type definition is reordered to facilitate the definition of
433    --  some subtype ranges. The individual descriptions of the nodes show how
434    --  the various fields are used in each node kind, as well as providing
435    --  logical names for the fields. Functions and procedures are provided for
436    --  accessing and setting these fields using these logical names.
437
438    -----------------------
439    -- Gigi Restrictions --
440    -----------------------
441
442    --  The tree passed to Gigi is more restricted than the general tree form.
443    --  For example, as a result of expansion, most of the tasking nodes can
444    --  never appear. For each node to which either a complete or partial
445    --  restriction applies, a note entitled "Gigi restriction" appears which
446    --  documents the restriction.
447
448    --  Note that most of these restrictions apply only to trees generated when
449    --  code is being generated, since they involved expander actions that
450    --  destroy the tree.
451
452    ------------------------
453    -- Common Flag Fields --
454    ------------------------
455
456    --  The following flag fields appear in all nodes
457
458    --  Analyzed (Flag1)
459    --    This flag is used to indicate that a node (and all its children have
460    --    been analyzed. It is used to avoid reanalysis of a node that has
461    --    already been analyzed, both for efficiency and functional correctness
462    --    reasons.
463
464    --  Comes_From_Source (Flag2)
465    --    This flag is set if the node comes directly from an explicit construct
466    --    in the source. It is normally on for any nodes built by the scanner or
467    --    parser from the source program, with the exception that in a few cases
468    --    the parser adds nodes to normalize the representation (in particular
469    --    a null statement is added to a package body if there is no begin/end
470    --    initialization section.
471    --
472    --    Most nodes inserted by the analyzer or expander are not considered
473    --    as coming from source, so the flag is off for such nodes. In a few
474    --    cases, the expander constructs nodes closely equivalent to nodes
475    --    from the source program (e.g. the allocator built for build-in-place
476    --    case), and the Comes_From_Source flag is deliberately set.
477
478    --  Error_Posted (Flag3)
479    --    This flag is used to avoid multiple error messages being posted on or
480    --    referring to the same node. This flag is set if an error message
481    --    refers to a node or is posted on its source location, and has the
482    --    effect of inhibiting further messages involving this same node.
483
484    --  Has_Dynamic_Length_Check (Flag10-Sem)
485    --    This flag is present on all nodes. It is set to indicate that one of
486    --    the routines in unit Checks has generated a length check action which
487    --    has been inserted at the flagged node. This is used to avoid the
488    --    generation of duplicate checks.
489
490    --  Has_Dynamic_Range_Check (Flag12-Sem)
491    --    This flag is present on all nodes. It is set to indicate that one of
492    --    the routines in unit Checks has generated a range check action which
493    --    has been inserted at the flagged node. This is used to avoid the
494    --    generation of duplicate checks.
495
496    --  Has_Local_Raise (Flag8-Sem)
497    --    Present in exception handler nodes. Set if the handler can be entered
498    --    via a local raise that gets transformed to a goto statement. This will
499    --    always be set if Local_Raise_Statements is non-empty, but can also be
500    --    set as a result of generation of N_Raise_xxx nodes, or flags set in
501    --    nodes requiring generation of back end checks.
502
503    ------------------------------------
504    -- Description of Semantic Fields --
505    ------------------------------------
506
507    --  The meaning of the syntactic fields is generally clear from their names
508    --  without any further description, since the names are chosen to
509    --  correspond very closely to the syntax in the reference manual. This
510    --  section describes the usage of the semantic fields, which are used to
511    --  contain additional information determined during semantic analysis.
512
513    --  ABE_Is_Certain (Flag18-Sem)
514    --    This flag is set in an instantiation node or a call node is determined
515    --    to be sure to raise an ABE. This is used to trigger special handling
516    --    of such cases, particularly in the instantiation case where we avoid
517    --    instantiating the body if this flag is set. This flag is also present
518    --    in an N_Formal_Package_Declaration_Node since formal package
519    --    declarations are treated like instantiations, but it is always set to
520    --    False in this context.
521
522    --  Accept_Handler_Records (List5-Sem)
523    --    This field is present only in an N_Accept_Alternative node. It is used
524    --    to temporarily hold the exception handler records from an accept
525    --    statement in a selective accept. These exception handlers will
526    --    eventually be placed in the Handler_Records list of the procedure
527    --    built for this accept (see Expand_N_Selective_Accept procedure in
528    --    Exp_Ch9 for further details).
529
530    --  Access_Types_To_Process (Elist2-Sem)
531    --    Present in N_Freeze_Entity nodes for Incomplete or private types.
532    --    Contains the list of access types which may require specific treatment
533    --    when the nature of the type completion is completely known. An example
534    --    of such treatment is the generation of the associated_final_chain.
535
536    --  Actions (List1-Sem)
537    --    This field contains a sequence of actions that are associated with the
538    --    node holding the field. See the individual node types for details of
539    --    how this field is used, as well as the description of the specific use
540    --    for a particular node type.
541
542    --  Activation_Chain_Entity (Node3-Sem)
543    --    This is used in tree nodes representing task activators (blocks,
544    --    subprogram bodies, package declarations, and task bodies). It is
545    --    initially Empty, and then gets set to point to the entity for the
546    --    declared Activation_Chain variable when the first task is declared.
547    --    When tasks are declared in the corresponding declarative region this
548    --    entity is located by name (its name is always _Chain) and the declared
549    --    tasks are added to the chain. Note that N_Extended_Return_Statement
550    --    does not have this attribute, although it does have an activation
551    --    chain. This chain is used to store the tasks temporarily, and is not
552    --    used for activating them. On successful completion of the return
553    --    statement, the tasks are moved to the caller's chain, and the caller
554    --    activates them.
555
556    --  Acts_As_Spec (Flag4-Sem)
557    --    A flag set in the N_Subprogram_Body node for a subprogram body which
558    --    is acting as its own spec, except in the case of a library level
559    --    subprogram, in which case the flag is set on the parent compilation
560    --    unit node instead (see further description in spec of Lib package).
561    --    ??? Above note about Lib is dubious since lib.ads does not mention
562    --    Acts_As_Spec at all.
563
564    --  Actual_Designated_Subtype (Node4-Sem)
565    --    Present in N_Free_Statement and N_Explicit_Dereference nodes. If gigi
566    --    needs to known the dynamic constrained subtype of the designated
567    --    object, this attribute is set to that type. This is done for
568    --    N_Free_Statements for access-to-classwide types and access to
569    --    unconstrained packed array types, and for N_Explicit_Dereference when
570    --    the designated type is an unconstrained packed array and the
571    --    dereference is the prefix of a 'Size attribute reference.
572
573    --  Address_Warning_Posted (Flag18-Sem)
574    --    Present in N_Attribute_Definition nodes. Set to indicate that we have
575    --    posted a warning for the address clause regarding size or alignment
576    --    issues. Used to inhibit multiple redundant messages.
577
578    --  Aggregate_Bounds (Node3-Sem)
579    --    Present in array N_Aggregate nodes. If the bounds of the aggregate are
580    --    known at compile time, this field points to an N_Range node with those
581    --    bounds. Otherwise Empty.
582
583    --  All_Others (Flag11-Sem)
584    --    Present in an N_Others_Choice node. This flag is set for an others
585    --    exception where all exceptions are to be caught, even those that are
586    --    not normally handled (in particular the tasking abort signal). This
587    --    is used for translation of the at end handler into a normal exception
588    --    handler.
589
590    --  Assignment_OK (Flag15-Sem)
591    --    This flag is set in a subexpression node for an object, indicating
592    --    that the associated object can be modified, even if this would not
593    --    normally be permissible (either by direct assignment, or by being
594    --    passed as an out or in-out parameter). This is used by the expander
595    --    for a number of purposes, including initialization of constants and
596    --    limited type objects (such as tasks), setting discriminant fields,
597    --    setting tag values, etc. N_Object_Declaration nodes also have this
598    --    flag defined. Here it is used to indicate that an initialization
599    --    expression is valid, even where it would normally not be allowed
600    --    (e.g. where the type involved is limited).
601
602    --  Associated_Node (Node4-Sem)
603    --    Present in nodes that can denote an entity: identifiers, character
604    --    literals, operator symbols, expanded names, operator nodes, and
605    --    attribute reference nodes (all these nodes have an Entity field).
606    --    This field is also present in N_Aggregate, N_Selected_Component, and
607    --    N_Extension_Aggregate nodes. This field is used in generic processing
608    --    to create links between the generic template and the generic copy.
609    --    See Sem_Ch12.Get_Associated_Node for full details. Note that this
610    --    field overlaps Entity, which is fine, since, as explained in Sem_Ch12,
611    --    the normal function of Entity is not required at the point where the
612    --    Associated_Node is set. Note also, that in generic templates, this
613    --    means that the Entity field does not necessarily point to an Entity.
614    --    Since the back end is expected to ignore generic templates, this is
615    --    harmless.
616
617    --  At_End_Proc (Node1)
618    --    This field is present in an N_Handled_Sequence_Of_Statements node.
619    --    It contains an identifier reference for the cleanup procedure to be
620    --    called. See description of this node for further details.
621
622    --  Backwards_OK (Flag6-Sem)
623    --    A flag present in the N_Assignment_Statement node. It is used only
624    --    if the type being assigned is an array type, and is set if analysis
625    --    determines that it is definitely safe to do the copy backwards, i.e.
626    --    starting at the highest addressed element. This is the case if either
627    --    the operands do not overlap, or they may overlap, but if they do,
628    --    then the left operand is at a higher address than the right operand.
629    --
630    --    Note: If neither of the flags Forwards_OK or Backwards_OK is set, it
631    --    means that the front end could not determine that either direction is
632    --    definitely safe, and a runtime check may be required if the backend
633    --    cannot figure it out. If both flags Forwards_OK and Backwards_OK are
634    --    set, it means that the front end can assure no overlap of operands.
635
636    --  Body_To_Inline (Node3-Sem)
637    --    present in subprogram declarations. Denotes analyzed but unexpanded
638    --    body of subprogram, to be used when inlining calls. Present when the
639    --    subprogram has an Inline pragma and inlining is enabled. If the
640    --    declaration is completed by a renaming_as_body, and the renamed en-
641    --    tity is a subprogram, the Body_To_Inline is the name of that entity,
642    --    which is used directly in later calls to the original subprogram.
643
644    --  Body_Required (Flag13-Sem)
645    --    A flag that appears in the N_Compilation_Unit node indicating that
646    --    the corresponding unit requires a body. For the package case, this
647    --    indicates that a completion is required. In Ada 95, if the flag is not
648    --    set for the package case, then a body may not be present. In Ada 83,
649    --    if the flag is not set for the package case, then body is optional.
650    --    For a subprogram declaration, the flag is set except in the case where
651    --    a pragma Import or Interface applies, in which case no body is
652    --    permitted (in Ada 83 or Ada 95).
653
654    --  By_Ref (Flag5-Sem)
655    --    Present in N_Simple_Return_Statement and N_Extended_Return_Statement,
656    --    this flag is set when the returned expression is already allocated on
657    --    the secondary stack and thus the result is passed by reference rather
658    --    than copied another time.
659
660    --  Check_Address_Alignment (Flag11-Sem)
661    --    A flag present in N_Attribute_Definition clause for a 'Address
662    --    attribute definition. This flag is set if a dynamic check should be
663    --    generated at the freeze point for the entity to which this address
664    --    clause applies. The reason that we need this flag is that we want to
665    --    check for range checks being suppressed at the point where the
666    --    attribute definition clause is given, rather than testing this at the
667    --    freeze point.
668
669    --  Coextensions (Elist4-Sem)
670    --    Present in allocators nodes. Points to list of allocators for the
671    --    access discriminants of the allocated object.
672
673    --  Comes_From_Extended_Return_Statement (Flag18-Sem)
674    --    Present in N_Simple_Return_Statement nodes. True if this node was
675    --    constructed as part of the N_Extended_Return_Statement expansion.
676
677    --  Compile_Time_Known_Aggregate (Flag18-Sem)
678    --    Present in N_Aggregate nodes. Set for aggregates which can be fully
679    --    evaluated at compile time without raising constraint error. Such
680    --    aggregates can be passed as is to Gigi without any expansion. See
681    --    Sem_Aggr for the specific conditions under which an aggregate has this
682    --    flag set. See also the flag Static_Processing_OK.
683
684    --  Componentwise_Assignment (Flag14-Sem)
685    --    Present in N_Assignment_Statement nodes. Set for a record assignment
686    --    where all that needs doing is to expand it into component-by-component
687    --    assignments. This is used internally for the case of tagged types with
688    --    rep clauses, where we need to avoid recursion (we don't want to try to
689    --    generate a call to the primitive operation, because this is the case
690    --    where we are compiling the primitive operation). Note that when we are
691    --    expanding component assignments in this case, we never assign the _tag
692    --    field, but we recursively assign components of the parent type.
693
694    --  Condition_Actions (List3-Sem)
695    --    This field appears in else-if nodes and in the iteration scheme node
696    --    for while loops. This field is only used during semantic processing to
697    --    temporarily hold actions inserted into the tree. In the tree passed
698    --    to gigi, the condition actions field is always set to No_List. For
699    --    details on how this field is used, see the routine Insert_Actions in
700    --    package Exp_Util, and also the expansion routines for the relevant
701    --    nodes.
702
703    --  Context_Pending (Flag16-Sem)
704    --    This field appears in Compilation_Unit nodes, to indicate that the
705    --    context of the unit is being compiled. Used to detect circularities
706    --    that are not otherwise detected by the loading mechanism. Such
707    --    circularities can occur in the presence of limited and non-limited
708    --    with_clauses that mention the same units.
709
710    --  Controlling_Argument (Node1-Sem)
711    --    This field is set in procedure and function call nodes if the call
712    --    is a dispatching call (it is Empty for a non-dispatching call). It
713    --    indicates the source of the call's controlling tag. For procedure
714    --    calls, the Controlling_Argument is one of the actuals. For function
715    --    that has a dispatching result, it is an entity in the context of the
716    --    call that can provide a tag, or else it is the tag of the root type
717    --    of the class. It can also specify a tag directly rather than being a
718    --    tagged object. The latter is needed by the implementations of AI-239
719    --    and AI-260.
720
721    --  Conversion_OK (Flag14-Sem)
722    --    A flag set on type conversion nodes to indicate that the conversion
723    --    is to be considered as being valid, even though it is the case that
724    --    the conversion is not valid Ada. This is used for attributes Enum_Rep,
725    --    Fixed_Value and Integer_Value, for internal conversions done for
726    --    fixed-point operations, and for certain conversions for calls to
727    --    initialization procedures. If Conversion_OK is set, then Etype must be
728    --    set (the analyzer assumes that Etype has been set). For the case of
729    --    fixed-point operands, it also indicates that the conversion is to be
730    --    direct conversion of the underlying integer result, with no regard to
731    --    the small operand.
732
733    --  Corresponding_Body (Node5-Sem)
734    --    This field is set in subprogram declarations, package declarations,
735    --    entry declarations of protected types, and in generic units. It
736    --    points to the defining entity for the corresponding body (NOT the
737    --    node for the body itself).
738
739    --  Corresponding_Formal_Spec (Node3-Sem)
740    --    This field is set in subprogram renaming declarations, where it points
741    --    to the defining entity for a formal subprogram in the case where the
742    --    renaming corresponds to a generic formal subprogram association in an
743    --    instantiation. The field is Empty if the renaming does not correspond
744    --    to such a formal association.
745
746    --  Corresponding_Generic_Association (Node5-Sem)
747    --    This field is defined for object declarations and object renaming
748    --    declarations. It is set for the declarations within an instance that
749    --    map generic formals to their actuals. If set, the field points to
750    --    a generic_association which is the original parent of the expression
751    --    or name appearing in the declaration. This simplifies ASIS queries.
752
753    --  Corresponding_Integer_Value (Uint4-Sem)
754    --    This field is set in real literals of fixed-point types (it is not
755    --    used for floating-point types). It contains the integer value used
756    --    to represent the fixed-point value. It is also set on the universal
757    --    real literals used to represent bounds of fixed-point base types
758    --    and their first named subtypes.
759
760    --  Corresponding_Spec (Node5-Sem)
761    --    This field is set in subprogram, package, task, and protected body
762    --    nodes, where it points to the defining entity in the corresponding
763    --    spec. The attribute is also set in N_With_Clause nodes where it points
764    --    to the defining entity for the with'ed spec, and in a subprogram
765    --    renaming declaration when it is a Renaming_As_Body. The field is Empty
766    --    if there is no corresponding spec, as in the case of a subprogram body
767    --    that serves as its own spec.
768
769    --  Corresponding_Stub (Node3-Sem)
770    --    This field is present in an N_Subunit node. It holds the node in
771    --    the parent unit that is the stub declaration for the subunit. It is
772    --    set when analysis of the stub forces loading of the proper body. If
773    --    expansion of the proper body creates new declarative nodes, they are
774    --    inserted at the point of the corresponding_stub.
775
776    --  Dcheck_Function (Node5-Sem)
777    --    This field is present in an N_Variant node, It references the entity
778    --    for the discriminant checking function for the variant.
779
780    --  Debug_Statement (Node3)
781    --    This field is present in an N_Pragma node. It is used only for a Debug
782    --    pragma. The parameter is of the form of an expression, as required by
783    --    the pragma syntax, but is actually a procedure call. To simplify
784    --    semantic processing, the parser creates a copy of the argument
785    --    rearranged into a procedure call statement and places it in the
786    --    Debug_Statement field. Note that this field is considered syntactic
787    --    field, since it is created by the parser.
788
789    --  Default_Expression (Node5-Sem)
790    --    This field is Empty if there is no default expression. If there is a
791    --    simple default expression (one with no side effects), then this field
792    --    simply contains a copy of the Expression field (both point to the tree
793    --    for the default expression). Default_Expression is used for
794    --    conformance checking.
795
796    --  Discr_Check_Funcs_Built (Flag11-Sem)
797    --    This flag is present in N_Full_Type_Declaration nodes. It is set when
798    --    discriminant checking functions are constructed. The purpose is to
799    --    avoid attempting to set these functions more than once.
800
801    --  Do_Accessibility_Check (Flag13-Sem)
802    --    This flag is set on N_Parameter_Specification nodes to indicate
803    --    that an accessibility check is required for the parameter. It is
804    --    not yet decided who takes care of this check (TBD ???).
805
806    --  Do_Discriminant_Check (Flag13-Sem)
807    --    This flag is set on N_Selected_Component nodes to indicate that a
808    --    discriminant check is required using the discriminant check routine
809    --    associated with the selector. The actual check is generated by the
810    --    expander when processing selected components.
811
812    --  Do_Division_Check (Flag13-Sem)
813    --    This flag is set on a division operator (/ mod rem) to indicate
814    --    that a zero divide check is required. The actual check is dealt
815    --    with by the backend (all the front end does is to set the flag).
816
817    --  Do_Length_Check (Flag4-Sem)
818    --    This flag is set in an N_Assignment_Statement, N_Op_And, N_Op_Or,
819    --    N_Op_Xor, or N_Type_Conversion node to indicate that a length check
820    --    is required. It is not determined who deals with this flag (???).
821
822    --  Do_Overflow_Check (Flag17-Sem)
823    --    This flag is set on an operator where an overflow check is required on
824    --    the operation. The actual check is dealt with by the backend (all the
825    --    front end does is to set the flag). The other cases where this flag is
826    --    used is on a Type_Conversion node and for attribute reference nodes.
827    --    For a type conversion, it means that the conversion is from one base
828    --    type to another, and the value may not fit in the target base type.
829    --    See also the description of Do_Range_Check for this case. The only
830    --    attribute references which use this flag are Pred and Succ, where it
831    --    means that the result should be checked for going outside the base
832    --    range. Note that this flag is not set for modular types.
833
834    --  Do_Range_Check (Flag9-Sem)
835    --    This flag is set on an expression which appears in a context where a
836    --    range check is required. The target type is clear from the context.
837    --    The contexts in which this flag can appear are the following:
838
839    --      Right side of an assignment. In this case the target type is
840    --      taken from the left side of the assignment, which is referenced
841    --      by the Name of the N_Assignment_Statement node.
842
843    --      Subscript expressions in an indexed component. In this case the
844    --      target type is determined from the type of the array, which is
845    --      referenced by the Prefix of the N_Indexed_Component node.
846
847    --      Argument expression for a parameter, appearing either directly in
848    --      the Parameter_Associations list of a call or as the Expression of an
849    --      N_Parameter_Association node that appears in this list. In either
850    --      case, the check is against the type of the formal. Note that the
851    --      flag is relevant only in IN and IN OUT parameters, and will be
852    --      ignored for OUT parameters, where no check is required in the call,
853    --      and if a check is required on the return, it is generated explicitly
854    --      with a type conversion.
855
856    --      Initialization expression for the initial value in an object
857    --      declaration. In this case the Do_Range_Check flag is set on
858    --      the initialization expression, and the check is against the
859    --      range of the type of the object being declared.
860
861    --      The expression of a type conversion. In this case the range check is
862    --      against the target type of the conversion. See also the use of
863    --      Do_Overflow_Check on a type conversion. The distinction is that the
864    --      overflow check protects against a value that is outside the range of
865    --      the target base type, whereas a range check checks that the
866    --      resulting value (which is a value of the base type of the target
867    --      type), satisfies the range constraint of the target type.
868
869    --    Note: when a range check is required in contexts other than those
870    --    listed above (e.g. in a return statement), an additional type
871    --    conversion node is introduced to represent the required check.
872
873    --  Do_Storage_Check (Flag17-Sem)
874    --    This flag is set in an N_Allocator node to indicate that a storage
875    --    check is required for the allocation, or in an N_Subprogram_Body node
876    --    to indicate that a stack check is required in the subprogram prolog.
877    --    The N_Allocator case is handled by the routine that expands the call
878    --    to the runtime routine. The N_Subprogram_Body case is handled by the
879    --    backend, and all the semantics does is set the flag.
880
881    --  Do_Tag_Check (Flag13-Sem)
882    --    This flag is set on an N_Assignment_Statement, N_Function_Call,
883    --    N_Procedure_Call_Statement, N_Type_Conversion,
884    --    N_Simple_Return_Statement, or N_Extended_Return_Statement
885    --    node to indicate that the tag check can be suppressed. It is not
886    --    yet decided how this flag is used (TBD ???).
887
888    --  Elaborate_Present (Flag4-Sem)
889    --    This flag is set in the N_With_Clause node to indicate that pragma
890    --    Elaborate pragma appears for the with'ed units.
891
892    --  Elaborate_All_Desirable (Flag9-Sem)
893    --    This flag is set in the N_With_Clause mode to indicate that the static
894    --    elaboration processing has determined that an Elaborate_All pragma is
895    --    desirable for correct elaboration for this unit.
896
897    --  Elaborate_All_Present (Flag14-Sem)
898    --    This flag is set in the N_With_Clause node to indicate that a
899    --    pragma Elaborate_All pragma appears for the with'ed units.
900
901    --  Elaborate_Desirable (Flag11-Sem)
902    --    This flag is set in the N_With_Clause mode to indicate that the static
903    --    elaboration processing has determined that an Elaborate pragma is
904    --    desirable for correct elaboration for this unit.
905
906    --  Elaboration_Boolean (Node2-Sem)
907    --    This field is present in function and procedure specification nodes.
908    --    If set, it points to the entity for a Boolean flag that must be tested
909    --    for certain calls to check for access before elaboration. See body of
910    --    Sem_Elab for further details. This field is Empty if no elaboration
911    --    boolean is required.
912
913    --  Else_Actions (List3-Sem)
914    --    This field is present in conditional expression nodes. During code
915    --    expansion we use the Insert_Actions procedure (in Exp_Util) to insert
916    --    actions at an appropriate place in the tree to get elaborated at the
917    --    right time. For conditional expressions, we have to be sure that the
918    --    actions for the Else branch are only elaborated if the condition is
919    --    False. The Else_Actions field is used as a temporary parking place for
920    --    these actions. The final tree is always rewritten to eliminate the
921    --    need for this field, so in the tree passed to Gigi, this field is
922    --    always set to No_List.
923
924    --  Enclosing_Variant (Node2-Sem)
925    --    This field is present in the N_Variant node and identifies the Node_Id
926    --    corresponding to the immediately enclosing variant when the variant is
927    --    nested, and N_Empty otherwise. Set during semantic processing of the
928    --    variant part of a record type.
929
930    --  Entity (Node4-Sem)
931    --    Appears in all direct names (identifiers, character literals, and
932    --    operator symbols), as well as expanded names, and attributes that
933    --    denote entities, such as 'Class. Points to entity for corresponding
934    --    defining occurrence. Set after name resolution. For identifiers in a
935    --    WITH list, the corresponding defining occurrence is in a separately
936    --    compiled file, and Entity must be set by the library Load procedure.
937    --
938    --    Note: During name resolution, the value in Entity may be temporarily
939    --    incorrect (e.g. during overload resolution, Entity is initially set to
940    --    the first possible correct interpretation, and then later modified if
941    --    necessary to contain the correct value after resolution).
942    --
943    --    Note: This field overlaps Associated_Node, which is used during
944    --    generic processing (see Sem_Ch12 for details). Note also that in
945    --    generic templates, this means that the Entity field does not always
946    --    point to an Entity. Since the back end is expected to ignore generic
947    --    templates, this is harmless.
948    --
949    --    Note: This field also appears in N_Attribute_Definition_Clause nodes.
950    --    It is used only for stream attributes definition clauses. In this
951    --    case, it denotes a (possibly dummy) subprogram entity that is declared
952    --    conceptually at the point of the clause. Thus the visibility of the
953    --    attribute definition clause (in the sense of 8.3(23) as amended by
954    --    AI-195) can be checked by testing the visibility of that subprogram.
955    --
956    --    Note: Normally the Entity field of an identifier points to the entity
957    --    for the corresponding defining identifier, and hence the Chars field
958    --    of an identifier will match the Chars field of the entity. However,
959    --    there is no requirement that these match, and there are obscure cases
960    --    of generated code where they do not match.
961
962    --  Entity_Or_Associated_Node (Node4-Sem)
963    --    A synonym for both Entity and Associated_Node. Used by convention in
964    --    the code when referencing this field in cases where it is not known
965    --    whether the field contains an Entity or an Associated_Node.
966
967    --  Etype (Node5-Sem)
968    --    Appears in all expression nodes, all direct names, and all entities.
969    --    Points to the entity for the related type. Set after type resolution.
970    --    Normally this is the actual subtype of the expression. However, in
971    --    certain contexts such as the right side of an assignment, subscripts,
972    --    arguments to calls, returned value in a function, initial value etc.
973    --    it is the desired target type. In the event that this is different
974    --    from the actual type, the Do_Range_Check flag will be set if a range
975    --    check is required. Note: if the Is_Overloaded flag is set, then Etype
976    --    points to an essentially arbitrary choice from the possible set of
977    --    types.
978
979    --  Exception_Junk (Flag8-Sem)
980    --    This flag is set in a various nodes appearing in a statement sequence
981    --    to indicate that the corresponding node is an artifact of the
982    --    generated code for exception handling, and should be ignored when
983    --    analyzing the control flow of the relevant sequence of statements
984    --    (e.g. to check that it does not end with a bad return statement).
985
986    --  Exception_Label (Node5-Sem)
987    --    Appears in N_Push_xxx_Label nodes. Points to the entity of the label
988    --    to be used for transforming the corresponding exception into a goto,
989    --    or contains Empty, if this exception is not to be transformed. Also
990    --    appears in N_Exception_Handler nodes, where, if set, it indicates
991    --    that there may be a local raise for the handler, so that expansion
992    --    to allow a goto is required (and this field contains the label for
993    --    this goto). See Exp_Ch11.Expand_Local_Exception_Handlers for details.
994
995    --  Expansion_Delayed (Flag11-Sem)
996    --    Set on aggregates and extension aggregates that need a top-down rather
997    --    than bottom-up expansion. Typically aggregate expansion happens bottom
998    --    up. For nested aggregates the expansion is delayed until the enclosing
999    --    aggregate itself is expanded, e.g. in the context of a declaration. To
1000    --    delay it we set this flag. This is done to avoid creating a temporary
1001    --    for each level of a nested aggregates, and also to prevent the
1002    --    premature generation of constraint checks. This is also a requirement
1003    --    if we want to generate the proper attachment to the internal
1004    --    finalization lists (for record with controlled components). Top down
1005    --    expansion of aggregates is also used for in-place array aggregate
1006    --    assignment or initialization. When the full context is known, the
1007    --    target of the assignment or initialization is used to generate the
1008    --    left-hand side of individual assignment to each sub-component.
1009
1010    --  First_Inlined_Subprogram (Node3-Sem)
1011    --    Present in the N_Compilation_Unit node for the main program. Points
1012    --    to a chain of entities for subprograms that are to be inlined. The
1013    --    Next_Inlined_Subprogram field of these entities is used as a link
1014    --    pointer with Empty marking the end of the list. This field is Empty
1015    --    if there are no inlined subprograms or inlining is not active.
1016
1017    --  First_Named_Actual (Node4-Sem)
1018    --    Present in procedure call statement and function call nodes, and also
1019    --    in Intrinsic nodes. Set during semantic analysis to point to the first
1020    --    named parameter where parameters are ordered by declaration order (as
1021    --    opposed to the actual order in the call which may be different due to
1022    --    named associations). Note: this field points to the explicit actual
1023    --    parameter itself, not the N_Parameter_Association node (its parent).
1024
1025    --  First_Real_Statement (Node2-Sem)
1026    --    Present in N_Handled_Sequence_Of_Statements node. Normally set to
1027    --    Empty. Used only when declarations are moved into the statement part
1028    --    of a construct as a result of wrapping an AT END handler that is
1029    --    required to cover the declarations. In this case, this field is used
1030    --    to remember the location in the statements list of the first real
1031    --    statement, i.e. the statement that used to be first in the statement
1032    --    list before the declarations were prepended.
1033
1034    --  First_Subtype_Link (Node5-Sem)
1035    --    Present in N_Freeze_Entity node for an anonymous base type that is
1036    --    implicitly created by the declaration of a first subtype. It points
1037    --    to the entity for the first subtype.
1038
1039    --  Float_Truncate (Flag11-Sem)
1040    --    A flag present in type conversion nodes. This is used for float to
1041    --    integer conversions where truncation is required rather than rounding.
1042    --    Note that Gigi does not handle type conversions from real to integer
1043    --    with rounding (see Expand_N_Type_Conversion).
1044
1045    --  Forwards_OK (Flag5-Sem)
1046    --    A flag present in the N_Assignment_Statement node. It is used only
1047    --    if the type being assigned is an array type, and is set if analysis
1048    --    determines that it is definitely safe to do the copy forwards, i.e.
1049    --    starting at the lowest addressed element. This is the case if either
1050    --    the operands do not overlap, or they may overlap, but if they do,
1051    --    then the left operand is at a lower address than the right operand.
1052    --
1053    --    Note: If neither of the flags Forwards_OK or Backwards_OK is set, it
1054    --    means that the front end could not determine that either direction is
1055    --    definitely safe, and a runtime check may be required if the backend
1056    --    cannot figure it out. If both flags Forwards_OK and Backwards_OK are
1057    --    set, it means that the front end can assure no overlap of operands.
1058
1059    --  From_At_End (Flag4-Sem)
1060    --    This flag is set on an N_Raise_Statement node if it corresponds to
1061    --    the reraise statement generated as the last statement of an AT END
1062    --    handler when SJLJ exception handling is active. It is used to stop
1063    --    a bogus violation of restriction (No_Exception_Propagation), bogus
1064    --    because if the restriction is set, the reraise is not generated.
1065
1066    --  From_At_Mod (Flag4-Sem)
1067    --    This flag is set on the attribute definition clause node that is
1068    --    generated by a transformation of an at mod phrase in a record
1069    --    representation clause. This is used to give slightly different (Ada 83
1070    --    compatible) semantics to such a clause, namely it is used to specify a
1071    --    minimum acceptable alignment for the base type and all subtypes. In
1072    --    Ada 95 terms, the actual alignment of the base type and all subtypes
1073    --    must be a multiple of the given value, and the representation clause
1074    --    is considered to be type specific instead of subtype specific.
1075
1076    --  From_Default (Flag6-Sem)
1077    --    This flag is set on the subprogram renaming declaration created in an
1078    --    instance for a formal subprogram, when the formal is declared with a
1079    --    box, and there is no explicit actual. If the flag is present, the
1080    --    declaration is treated as an implicit reference to the formal in the
1081    --    ali file.
1082
1083    --  Generic_Parent (Node5-Sem)
1084    --    Generic_Parent is defined on declaration nodes that are instances. The
1085    --    value of Generic_Parent is the generic entity from which the instance
1086    --    is obtained. Generic_Parent is also defined for the renaming
1087    --    declarations and object declarations created for the actuals in an
1088    --    instantiation. The generic parent of such a declaration is the
1089    --    corresponding generic association in the Instantiation node.
1090
1091    --  Generic_Parent_Type (Node4-Sem)
1092    --    Generic_Parent_Type is defined on Subtype_Declaration nodes for the
1093    --    actuals of formal private and derived types. Within the instance, the
1094    --    operations on the actual are those inherited from the parent. For a
1095    --    formal private type, the parent type is the generic type itself. The
1096    --    Generic_Parent_Type is also used in an instance to determine whether a
1097    --    private operation overrides an inherited one.
1098
1099    --  Handler_List_Entry (Node2-Sem)
1100    --    This field is present in N_Object_Declaration nodes. It is set only
1101    --    for the Handler_Record entry generated for an exception in zero cost
1102    --    exception handling mode. It references the corresponding item in the
1103    --    handler list, and is used to delete this entry if the corresponding
1104    --    handler is deleted during optimization. For further details on why
1105    --    this is required, see Exp_Ch11.Remove_Handler_Entries.
1106
1107    --  Has_No_Elaboration_Code (Flag17-Sem)
1108    --    A flag that appears in the N_Compilation_Unit node to indicate whether
1109    --    or not elaboration code is present for this unit. It is initially set
1110    --    true for subprogram specs and bodies and for all generic units and
1111    --    false for non-generic package specs and bodies. Gigi may set the flag
1112    --    in the non-generic package case if it determines that no elaboration
1113    --    code is generated. Note that this flag is not related to the
1114    --    Is_Preelaborated status, there can be preelaborated packages that
1115    --    generate elaboration code, and non-preelaborated packages which do
1116    --    not generate elaboration code.
1117
1118    --  Has_Priority_Pragma (Flag6-Sem)
1119    --    A flag present in N_Subprogram_Body, N_Task_Definition and
1120    --    N_Protected_Definition nodes to flag the presence of either a Priority
1121    --    or Interrupt_Priority pragma in the declaration sequence (public or
1122    --    private in the task and protected cases)
1123
1124    --  Has_Private_View (Flag11-Sem)
1125    --    A flag present in generic nodes that have an entity, to indicate that
1126    --    the node has a private type. Used to exchange private and full
1127    --    declarations if the visibility at instantiation is different from the
1128    --    visibility at generic definition.
1129
1130    --  Has_Relative_Deadline_Pragma (Flag9-Sem)
1131    --    A flag present in N_Subprogram_Body and N_Task_Definition nodes to
1132    --    flag the presence of a pragma Relative_Deadline.
1133
1134    --  Has_Self_Reference (Flag13-Sem)
1135    --    Present in N_Aggregate and N_Extension_Aggregate. Indicates that one
1136    --    of the expressions contains an access attribute reference to the
1137    --    enclosing type. Such a self-reference can only appear in default-
1138    --    initialized aggregate for a record type.
1139
1140    --  Has_Storage_Size_Pragma (Flag5-Sem)
1141    --    A flag present in an N_Task_Definition node to flag the presence of a
1142    --    Storage_Size pragma.
1143
1144    --  Has_Task_Info_Pragma (Flag7-Sem)
1145    --    A flag present in an N_Task_Definition node to flag the presence of a
1146    --    Task_Info pragma. Used to detect duplicate pragmas.
1147
1148    --  Has_Task_Name_Pragma (Flag8-Sem)
1149    --    A flag present in N_Task_Definition nodes to flag the presence of a
1150    --    Task_Name pragma in the declaration sequence for the task.
1151
1152    --  Has_Wide_Character (Flag11-Sem)
1153    --    Present in string literals, set if any wide character (i.e. character
1154    --    code outside the Character range but within Wide_Character range)
1155    --    appears in the string. Used to implement pragma preference rules.
1156
1157    --  Has_Wide_Wide_Character (Flag13-Sem)
1158    --    Present in string literals, set if any wide character (i.e. character
1159    --    code outside the Wide_Character range) appears in the string. Used to
1160    --    implement pragma preference rules.
1161
1162    --  Hidden_By_Use_Clause (Elist4-Sem)
1163    --     An entity list present in use clauses that appear within
1164    --     instantiations. For the resolution of local entities, entities
1165    --     introduced by these use clauses have priority over global ones, and
1166    --     outer entities must be explicitly hidden/restored on exit.
1167
1168    --  Implicit_With (Flag16-Sem)
1169    --    This flag is set in the N_With_Clause node that is implicitly
1170    --    generated for runtime units that are loaded by the expander, and also
1171    --    for package System, if it is loaded implicitly by a use of the
1172    --    'Address or 'Tag attribute. ???There are other implicit with clauses
1173    --    as well.
1174
1175    --  Includes_Infinities (Flag11-Sem)
1176    --    This flag is present in N_Range nodes. It is set for the range of
1177    --    unconstrained float types defined in Standard, which include not only
1178    --    the given range of values, but also legitimately can include infinite
1179    --    values. This flag is false for any float type for which an explicit
1180    --    range is given by the programmer, even if that range is identical to
1181    --    the range for Float.
1182
1183    --  Instance_Spec (Node5-Sem)
1184    --    This field is present in generic instantiation nodes, and also in
1185    --    formal package declaration nodes (formal package declarations are
1186    --    treated in a manner very similar to package instantiations). It points
1187    --    to the node for the spec of the instance, inserted as part of the
1188    --    semantic processing for instantiations in Sem_Ch12.
1189
1190    --  Is_Accessibility_Actual (Flag12-Sem)
1191    --    Present in N_Parameter_Association nodes. True if the parameter is
1192    --    an extra actual that carries the accessibility level of the actual
1193    --    for an access parameter, in a function that dispatches on result and
1194    --    is called in a dispatching context. Used to prevent a formal/actual
1195    --    mismatch when the call is rewritten as a dispatching call.
1196
1197    --  Is_Asynchronous_Call_Block (Flag7-Sem)
1198    --    A flag set in a Block_Statement node to indicate that it is the
1199    --    expansion of an asynchronous entry call. Such a block needs cleanup
1200    --    handler to assure that the call is cancelled.
1201
1202    --  Is_Component_Left_Opnd  (Flag13-Sem)
1203    --  Is_Component_Right_Opnd (Flag14-Sem)
1204    --    Present in concatenation nodes, to indicate that the corresponding
1205    --    operand is of the component type of the result. Used in resolving
1206    --    concatenation nodes in instances.
1207
1208    --  Is_Controlling_Actual (Flag16-Sem)
1209    --    This flag is set on in an expression that is a controlling argument in
1210    --    a dispatching call. It is off in all other cases. See Sem_Disp for
1211    --    details of its use.
1212
1213    --  Is_Dynamic_Coextension (Flag18-Sem)
1214    --    Present in allocator nodes, to indicate that this is an allocator
1215    --    for an access discriminant of a dynamically allocated object. The
1216    --    coextension must be deallocated and finalized at the same time as
1217    --    the enclosing object.
1218
1219    --  Is_Entry_Barrier_Function (Flag8-Sem)
1220    --    This flag is set in an N_Subprogram_Body node which is the expansion
1221    --    of an entry barrier from a protected entry body. It is used for the
1222    --    circuitry checking for incorrect use of Current_Task.
1223
1224    --  Is_Expanded_Build_In_Place_Call (Flag11-Sem)
1225    --    This flag is set in an N_Function_Call node to indicate that the extra
1226    --    actuals to support a build-in-place style of call have been added to
1227    --    the call.
1228
1229    --  Is_In_Discriminant_Check (Flag11-Sem)
1230    --    This flag is present in a selected component, and is used to indicate
1231    --    that the reference occurs within a discriminant check. The
1232    --    significance is that optimizations based on assuming that the
1233    --    discriminant check has a correct value cannot be performed in this
1234    --    case (or the discriminant check may be optimized away!)
1235
1236    --  Is_Machine_Number (Flag11-Sem)
1237    --    This flag is set in an N_Real_Literal node to indicate that the value
1238    --    is a machine number. This avoids some unnecessary cases of converting
1239    --    real literals to machine numbers.
1240
1241    --  Is_Null_Loop (Flag16-Sem)
1242    --    This flag is set in an N_Loop_Statement node if the corresponding loop
1243    --    can be determined to be null at compile time. This is used to remove
1244    --    the loop entirely at expansion time.
1245
1246    --  Is_Overloaded (Flag5-Sem)
1247    --    A flag present in all expression nodes. Used temporarily during
1248    --    overloading determination. The setting of this flag is not relevant
1249    --    once overloading analysis is complete.
1250
1251    --  Is_Power_Of_2_For_Shift (Flag13-Sem)
1252    --    A flag present only in N_Op_Expon nodes. It is set when the
1253    --    exponentiation is of the form 2 ** N, where the type of N is an
1254    --    unsigned integral subtype whose size does not exceed the size of
1255    --    Standard_Integer (i.e. a type that can be safely converted to
1256    --    Natural), and the exponentiation appears as the right operand of an
1257    --    integer multiplication or an integer division where the dividend is
1258    --    unsigned. It is also required that overflow checking is off for both
1259    --    the exponentiation and the multiply/divide node. If this set of
1260    --    conditions holds, and the flag is set, then the division or
1261    --    multiplication can be (and is) converted to a shift.
1262
1263    --  Is_Protected_Subprogram_Body (Flag7-Sem)
1264    --    A flag set in a Subprogram_Body block to indicate that it is the
1265    --    implementation of a protected subprogram. Such a body needs cleanup
1266    --    handler to make sure that the associated protected object is unlocked
1267    --    when the subprogram completes.
1268
1269    --  Is_Static_Coextension (Flag14-Sem)
1270    --    Present in N_Allocator nodes. Set if the allocator is a coextension
1271    --    of an object allocated on the stack rather than the heap.
1272
1273    --  Is_Static_Expression (Flag6-Sem)
1274    --    Indicates that an expression is a static expression (RM 4.9). See spec
1275    --    of package Sem_Eval for full details on the use of this flag.
1276
1277    --  Is_Subprogram_Descriptor (Flag16-Sem)
1278    --    Present in N_Object_Declaration, and set only for the object
1279    --    declaration generated for a subprogram descriptor in fast exception
1280    --    mode. See Exp_Ch11 for details of use.
1281
1282    --  Is_Task_Allocation_Block (Flag6-Sem)
1283    --    A flag set in a Block_Statement node to indicate that it is the
1284    --    expansion of a task allocator, or the allocator of an object
1285    --    containing tasks. Such a block requires a cleanup handler to call
1286    --    Expunge_Unactivated_Tasks to complete any tasks that have been
1287    --    allocated but not activated when the allocator completes abnormally.
1288
1289    --  Is_Task_Master (Flag5-Sem)
1290    --    A flag set in a Subprogram_Body, Block_Statement or Task_Body node to
1291    --    indicate that the construct is a task master (i.e. has declared tasks
1292    --    or declares an access to a task type).
1293
1294    --  Itype (Node1-Sem)
1295    --    Used in N_Itype_Reference node to reference an itype for which it is
1296    --    important to ensure that it is defined. See description of this node
1297    --    for further details.
1298
1299    --  Kill_Range_Check (Flag11-Sem)
1300    --    Used in an N_Unchecked_Type_Conversion node to indicate that the
1301    --    result should not be subjected to range checks. This is used for the
1302    --    implementation of Normalize_Scalars.
1303
1304    --  Label_Construct (Node2-Sem)
1305    --    Used in an N_Implicit_Label_Declaration node. Refers to an N_Label,
1306    --    N_Block_Statement or N_Loop_Statement node to which the label
1307    --    declaration applies. This is not currently used in the compiler
1308    --    itself, but it is useful in the implementation of ASIS queries.
1309    --    This field is left empty for the special labels generated as part
1310    --    of expanding raise statements with a local exception handler.
1311
1312    --  Library_Unit (Node4-Sem)
1313    --    In a stub node, Library_Unit points to the compilation unit node of
1314    --    the corresponding subunit.
1315    --
1316    --    In a with clause node, Library_Unit points to the spec of the with'ed
1317    --    unit.
1318    --
1319    --    In a compilation unit node, the usage depends on the unit type:
1320    --
1321    --     For a library unit body, Library_Unit points to the compilation unit
1322    --     node of the corresponding spec, unless it's a subprogram body with
1323    --     Acts_As_Spec set, in which case it points to itself.
1324    --
1325    --     For a spec, Library_Unit points to the compilation unit node of the
1326    --     corresponding body, if present. The body will be present if the spec
1327    --     is or contains generics that we needed to instantiate. Similarly, the
1328    --     body will be present if we needed it for inlining purposes. Thus, if
1329    --     we have a spec/body pair, both of which are present, they point to
1330    --     each other via Library_Unit.
1331    --
1332    --     For a subunit, Library_Unit points to the compilation unit node of
1333    --     the parent body.
1334    --
1335    --    Note that this field is not used to hold the parent pointer for child
1336    --    unit (which might in any case need to use it for some other purpose as
1337    --    described above). Instead for a child unit, implicit with's are
1338    --    generated for all parents.
1339
1340    --  Local_Raise_Statements (Elist1)
1341    --    This field is present in exception handler nodes. It is set to
1342    --    No_Elist in the normal case. If there is at least one raise statement
1343    --    which can potentially be handled as a local raise, then this field
1344    --    points to a list of raise nodes, which are calls to a routine to raise
1345    --    an exception. These are raise nodes which can be optimized into gotos
1346    --    if the handler turns out to meet the conditions which permit this
1347    --    transformation. Note that this does NOT include instances of the
1348    --    N_Raise_xxx_Error nodes since the transformation of these nodes is
1349    --    handled by the back end (using the N_Push/N_Pop mechanism).
1350
1351    --  Loop_Actions (List2-Sem)
1352    --    A list present in Component_Association nodes in array aggregates.
1353    --    Used to collect actions that must be executed within the loop because
1354    --    they may need to be evaluated anew each time through.
1355
1356    --  Limited_View_Installed (Flag18-Sem)
1357    --    Present in With_Clauses and in package specifications. If set on
1358    --    with_clause, it indicates that this clause has created the current
1359    --    limited view of the designated package. On a package specification, it
1360    --    indicates that the limited view has already been created because the
1361    --    package is mentioned in a limited_with_clause in the closure of the
1362    --    unit being compiled.
1363
1364    --  Local_Raise_Not_OK (Flag7-Sem)
1365    --    Present in N_Exception_Handler nodes. Set if the handler contains
1366    --    a construct (reraise statement, or call to subprogram in package
1367    --    GNAT.Current_Exception) that makes the handler unsuitable as a target
1368    --    for a local raise (one that could otherwise be converted to a goto).
1369
1370    --  Must_Be_Byte_Aligned (Flag14-Sem)
1371    --    This flag is present in N_Attribute_Reference nodes. It can be set
1372    --    only for the Address and Unrestricted_Access attributes. If set it
1373    --    means that the object for which the address/access is given must be on
1374    --    a byte (more accurately a storage unit) boundary. If necessary, a copy
1375    --    of the object is to be made before taking the address (this copy is in
1376    --    the current scope on the stack frame). This is used for certain cases
1377    --    of code generated by the expander that passes parameters by address.
1378    --
1379    --    The reason the copy is not made by the front end is that the back end
1380    --    has more information about type layout and may be able to (but is not
1381    --    guaranteed to) prevent making unnecessary copies.
1382
1383    --  Must_Not_Freeze (Flag8-Sem)
1384    --    A flag present in all expression nodes. Normally expressions cause
1385    --    freezing as described in the RM. If this flag is set, then this is
1386    --    inhibited. This is used by the analyzer and expander to label nodes
1387    --    that are created by semantic analysis or expansion and which must not
1388    --    cause freezing even though they normally would. This flag is also
1389    --    present in an N_Subtype_Indication node, since we also use these in
1390    --    calls to Freeze_Expression.
1391
1392    --  Next_Entity (Node2-Sem)
1393    --    Present in defining identifiers, defining character literals and
1394    --    defining operator symbols (i.e. in all entities). The entities of a
1395    --    scope are chained, and this field is used as the forward pointer for
1396    --    this list. See Einfo for further details.
1397
1398    --  Next_Implicit_With (Node3-Sem)
1399    --    Present in N_With_Clause. Part of a chain of with_clauses generated
1400    --    in rtsfind to indicate implicit dependencies on predefined units. Used
1401    --    to prevent multiple with_clauses for the same unit in a given context.
1402    --    A postorder traversal of the tree whose nodes are units and whose
1403    --    links are with_clauses defines the order in which Inspector must
1404    --    examine a compiled unit and its full context. This ordering ensures
1405    --    that any subprogram call is examined after the subprogram declartion
1406    --    has been seen.
1407
1408    --  Next_Named_Actual (Node4-Sem)
1409    --    Present in parameter association node. Set during semantic analysis to
1410    --    point to the next named parameter, where parameters are ordered by
1411    --    declaration order (as opposed to the actual order in the call, which
1412    --    may be different due to named associations). Not that this field
1413    --    points to the explicit actual parameter itself, not to the
1414    --    N_Parameter_Association node (its parent).
1415
1416    --  Next_Pragma (Node1-Sem)
1417    --    Present in N_Pragma nodes. Used to create a linked list of pragma
1418    --    nodes. Currently used for two purposes:
1419    --
1420    --      Create a list of linked Check_Policy pragmas. The head of this list
1421    --      is stored in Opt.Check_Policy_List (which has further details).
1422    --
1423    --      Used by processing for Pre/Postcondition pragmas to store a list of
1424    --      pragmas associated with the spec of a subprogram (see Sem_Prag for
1425    --      details).
1426
1427    --  Next_Rep_Item (Node5-Sem)
1428    --    Present in pragma nodes and attribute definition nodes. Used to link
1429    --    representation items that apply to an entity. See description of
1430    --    First_Rep_Item field in Einfo for full details.
1431
1432    --  Next_Use_Clause (Node3-Sem)
1433    --    While use clauses are active during semantic processing, they are
1434    --    chained from the scope stack entry, using Next_Use_Clause as a link
1435    --    pointer, with Empty marking the end of the list. The head pointer is
1436    --    in the scope stack entry (First_Use_Clause). At the end of semantic
1437    --    processing (i.e. when Gigi sees the tree, the contents of this field
1438    --    is undefined and should not be read).
1439
1440    --  No_Ctrl_Actions (Flag7-Sem)
1441    --    Present in N_Assignment_Statement to indicate that no finalize nor
1442    --    adjust should take place on this assignment even though the rhs is
1443    --    controlled. This is used in init procs and aggregate expansions where
1444    --    the generated assignments are more initialisations than real
1445    --    assignments.
1446
1447    --  No_Elaboration_Check (Flag14-Sem)
1448    --    Present in N_Function_Call and N_Procedure_Call_Statement. Indicates
1449    --    that no elaboration check is needed on the call, because it appears in
1450    --    the context of a local Suppress pragma. This is used on calls within
1451    --    task bodies, where the actual elaboration checks are applied after
1452    --    analysis, when the local scope stack is not present.
1453
1454    --  No_Entities_Ref_In_Spec (Flag8-Sem)
1455    --    Present in N_With_Clause nodes. Set if the with clause is on the
1456    --    package or subprogram spec where the main unit is the corresponding
1457    --    body, and no entities of the with'ed unit are referenced by the spec
1458    --    (an entity may still be referenced in the body, so this flag is used
1459    --    to generate the proper message (see Sem_Util.Check_Unused_Withs for
1460    --    full details)
1461
1462    --  No_Initialization (Flag13-Sem)
1463    --    Present in N_Object_Declaration and N_Allocator to indicate that the
1464    --    object must not be initialized (by Initialize or call to an init
1465    --    proc). This is needed for controlled aggregates. When the Object
1466    --    declaration has an expression, this flag means that this expression
1467    --    should not be taken into account (needed for in place initialization
1468    --    with aggregates).
1469
1470    --  No_Truncation (Flag17-Sem)
1471    --    Present in N_Unchecked_Type_Conversion node. This flag has an effect
1472    --    only if the RM_Size of the source is greater than the RM_Size of the
1473    --    target for scalar operands. Normally in such a case we truncate some
1474    --    higher order bits of the source, and then sign/zero extend the result
1475    --    to form the output value. But if this flag is set, then we do not do
1476    --    any truncation, so for example, if an 8 bit input is converted to 5
1477    --    bit result which is in fact stored in 8 bits, then the high order
1478    --    three bits of the target result will be copied from the source. This
1479    --    is used for properly setting out of range values for use by pragmas
1480    --    Initialize_Scalars and Normalize_Scalars.
1481
1482    --  Original_Discriminant (Node2-Sem)
1483    --    Present in identifiers. Used in references to discriminants that
1484    --    appear in generic units. Because the names of the discriminants may be
1485    --    different in an instance, we use this field to recover the position of
1486    --    the discriminant in the original type, and replace it with the
1487    --    discriminant at the same position in the instantiated type.
1488
1489    --  Original_Entity (Node2-Sem)
1490    --    Present in numeric literals. Used to denote the named number that has
1491    --    been constant-folded into the given literal. If literal is from
1492    --    source, or the result of some other constant-folding operation, then
1493    --    Original_Entity is empty. This field is needed to handle properly
1494    --    named numbers in generic units, where the Associated_Node field
1495    --    interferes with the Entity field, making it impossible to preserve the
1496    --    original entity at the point of instantiation (ASIS problem).
1497
1498    --  Others_Discrete_Choices (List1-Sem)
1499    --    When a case statement or variant is analyzed, the semantic checks
1500    --    determine the actual list of choices that correspond to an others
1501    --    choice. This list is materialized for later use by the expander and
1502    --    the Others_Discrete_Choices field of an N_Others_Choice node points to
1503    --    this materialized list of choices, which is in standard format for a
1504    --    list of discrete choices, except that of course it cannot contain an
1505    --    N_Others_Choice entry.
1506
1507    --  Parameter_List_Truncated (Flag17-Sem)
1508    --    Present in N_Function_Call and N_Procedure_Call_Statement nodes. Set
1509    --    (for OpenVMS ports of GNAT only) if the parameter list is truncated as
1510    --    a result of a First_Optional_Parameter specification in an
1511    --    Import_Function, Import_Procedure, or Import_Valued_Procedure pragma.
1512    --    The truncation is done by the expander by removing trailing parameters
1513    --    from the argument list, in accordance with the set of rules allowing
1514    --    such parameter removal. In particular, parameters can be removed
1515    --    working from the end of the parameter list backwards up to and
1516    --    including the entry designated by First_Optional_Parameter in the
1517    --    Import pragma. Parameters can be removed if they are implicit and the
1518    --    default value is a known-at-compile-time value, including the use of
1519    --    the Null_Parameter attribute, or if explicit parameter values are
1520    --    present that match the corresponding defaults.
1521
1522    --  Parent_Spec (Node4-Sem)
1523    --    For a library unit that is a child unit spec (package or subprogram
1524    --    declaration, generic declaration or instantiation, or library level
1525    --    rename, this field points to the compilation unit node for the parent
1526    --    package specification. This field is Empty for library bodies (the
1527    --    parent spec in this case can be found from the corresponding spec).
1528
1529    --  Pragma_Enabled (Flag5-Sem)
1530    --    Present in N_Pragma nodes. This flag is relevant only for pragmas
1531    --    Assert, Check, Precondition, and Postcondition. It is true if the
1532    --    check corresponding to the pragma type is enabled at the point where
1533    --    the pragma appears.
1534
1535    --  Present_Expr (Uint3-Sem)
1536    --    Present in an N_Variant node. This has a meaningful value only after
1537    --    Gigi has back annotated the tree with representation information. At
1538    --    this point, it contains a reference to a gcc expression that depends
1539    --    on the values of one or more discriminants. Give a set of discriminant
1540    --    values, this expression evaluates to False (zero) if variant is not
1541    --    present, and True (non-zero) if it is present. See unit Repinfo for
1542    --    further details on gigi back annotation. This field is used during
1543    --    ASIS processing (data decomposition annex) to determine if a field is
1544    --    present or not.
1545
1546    --  Print_In_Hex (Flag13-Sem)
1547    --    Set on an N_Integer_Literal node to indicate that the value should be
1548    --    printed in hexadecimal in the sprint listing. Has no effect on
1549    --    legality or semantics of program, only on the displayed output. This
1550    --    is used to clarify output from the packed array cases.
1551
1552    --  Procedure_To_Call (Node2-Sem)
1553    --    Present in N_Allocator, N_Free_Statement, N_Simple_Return_Statement,
1554    --    and N_Extended_Return_Statement nodes. References the entity for the
1555    --    declaration of the procedure to be called to accomplish the required
1556    --    operation (i.e. for the Allocate procedure in the case of N_Allocator
1557    --    and N_Simple_Return_Statement and N_Extended_Return_Statement (for
1558    --    allocating the return value), and for the Deallocate procedure in the
1559    --    case of N_Free_Statement.
1560
1561    --  Raises_Constraint_Error (Flag7-Sem)
1562    --    Set on an expression whose evaluation will definitely fail constraint
1563    --    error check. In the case of static expressions, this flag must be set
1564    --    accurately (and if it is set, the expression is typically illegal
1565    --    unless it appears as a non-elaborated branch of a short-circuit form).
1566    --    For a non-static expression, this flag may be set whenever an
1567    --    expression (e.g. an aggregate) is known to raise constraint error. If
1568    --    set, the expression definitely will raise CE if elaborated at runtime.
1569    --    If not set, the expression may or may not raise CE. In other words, on
1570    --    static expressions, the flag is set accurately, on non-static
1571    --    expressions it is set conservatively.
1572
1573    --  Redundant_Use (Flag13-Sem)
1574    --    Present in nodes that can appear as an operand in a use clause or use
1575    --    type clause (identifiers, expanded names, attribute references). Set
1576    --    to indicate that a use is redundant (and therefore need not be undone
1577    --    on scope exit).
1578
1579    --  Renaming_Exception (Node2-Sem)
1580    --    Present in N_Exception_Declaration node. Used to point back to the
1581    --    exception renaming for an exception declared within a subprogram.
1582    --    What happens is that an exception declared in a subprogram is moved
1583    --    to the library level with a unique name, and the original exception
1584    --    becomes a renaming. This link from the library level exception to the
1585    --    renaming declaration allows registering of the proper exception name.
1586
1587    --  Return_Statement_Entity (Node5-Sem)
1588    --    Present in N_Simple_Return_Statement and N_Extended_Return_Statement.
1589    --    Points to an E_Return_Statement representing the return statement.
1590
1591    --  Return_Object_Declarations (List3)
1592    --    Present in N_Extended_Return_Statement.
1593    --    Points to a list initially containing a single
1594    --    N_Object_Declaration representing the return object.
1595    --    We use a list (instead of just a pointer to the object decl)
1596    --    because Analyze wants to insert extra actions on this list.
1597
1598    --  Rounded_Result (Flag18-Sem)
1599    --    Present in N_Type_Conversion, N_Op_Divide and N_Op_Multiply nodes.
1600    --    Used in the fixed-point cases to indicate that the result must be
1601    --    rounded as a result of the use of the 'Round attribute. Also used for
1602    --    integer N_Op_Divide nodes to indicate that the result should be
1603    --    rounded to the nearest integer (breaking ties away from zero), rather
1604    --    than truncated towards zero as usual. These rounded integer operations
1605    --    are the result of expansion of rounded fixed-point divide, conversion
1606    --    and multiplication operations.
1607
1608    --  SCIL_Entity (Node4-Sem)
1609    --    Present in SCIL nodes. Used to reference the tagged type associated
1610    --    with the SCIL node.
1611
1612    --  SCIL_Related_Node (Node1-Sem)
1613    --    Present in SCIL nodes. Used to reference a tree node that requires
1614    --    special processing in the CodePeer backend.
1615
1616    --  SCIL_Controlling_Tag (Node5-Sem)
1617    --    Present in N_SCIL_Dispatching_Call nodes. Used to reference the
1618    --    controlling tag of a dispatching call.
1619
1620    --  SCIL_Tag_Value (Node5-Sem)
1621    --    Present in N_SCIL_Membership_Test nodes. Used to reference the tag
1622    --    value that is being tested.
1623
1624    --  SCIL_Target_Prim (Node2-Sem)
1625    --    Present in N_SCIL_Dispatching_Call nodes. Used to reference the tagged
1626    --    type primitive associated with the SCIL node.
1627
1628    --  Scope (Node3-Sem)
1629    --    Present in defining identifiers, defining character literals and
1630    --    defining operator symbols (i.e. in all entities). The entities of a
1631    --    scope all use this field to reference the corresponding scope entity.
1632    --    See Einfo for further details.
1633
1634    --  Shift_Count_OK (Flag4-Sem)
1635    --    A flag present in shift nodes to indicate that the shift count is
1636    --    known to be in range, i.e. is in the range from zero to word length
1637    --    minus one. If this flag is not set, then the shift count may be
1638    --    outside this range, i.e. larger than the word length, and the code
1639    --    must ensure that such shift counts give the appropriate result.
1640
1641    --  Source_Type (Node1-Sem)
1642    --    Used in an N_Validate_Unchecked_Conversion node to point to the
1643    --    source type entity for the unchecked conversion instantiation
1644    --    which gigi must do size validation for.
1645
1646    --  Static_Processing_OK (Flag4-Sem)
1647    --    Present in N_Aggregate nodes. When the Compile_Time_Known_Aggregate
1648    --    flag is set, the full value of the aggregate can be determined at
1649    --    compile time and the aggregate can be passed as is to the back-end.
1650    --    In this event it is irrelevant whether this flag is set or not.
1651    --    However, if the flag Compile_Time_Known_Aggregate is not set but
1652    --    Static_Processing_OK is set, the aggregate can (but need not) be
1653    --    converted into a compile time known aggregate by the expander. See
1654    --    Sem_Aggr for the specific conditions under which an aggregate has its
1655    --    Static_Processing_OK flag set.
1656
1657    --  Storage_Pool (Node1-Sem)
1658    --    Present in N_Allocator, N_Free_Statement, N_Simple_Return_Statement,
1659    --    and N_Extended_Return_Statement nodes. References the entity for the
1660    --    storage pool to be used for the allocate or free call or for the
1661    --    allocation of the returned value from function. Empty indicates that
1662    --    the global default pool is to be used. Note that in the case
1663    --    of a return statement, this field is set only if the function returns
1664    --    value of a type whose size is not known at compile time on the
1665    --    secondary stack.
1666
1667    --  Suppress_Loop_Warnings (Flag17-Sem)
1668    --    Used in N_Loop_Statement node to indicate that warnings within the
1669    --    body of the loop should be suppressed. This is set when the range
1670    --    of a FOR loop is known to be null, or is probably null (loop would
1671    --    only execute if invalid values are present).
1672
1673    --  Target_Type (Node2-Sem)
1674    --    Used in an N_Validate_Unchecked_Conversion node to point to the target
1675    --    type entity for the unchecked conversion instantiation which gigi must
1676    --    do size validation for.
1677
1678    --  Then_Actions (List3-Sem)
1679    --    This field is present in conditional expression nodes. During code
1680    --    expansion we use the Insert_Actions procedure (in Exp_Util) to insert
1681    --    actions at an appropriate place in the tree to get elaborated at the
1682    --    right time. For conditional expressions, we have to be sure that the
1683    --    actions for the Then branch are only elaborated if the condition is
1684    --    True. The Then_Actions field is used as a temporary parking place for
1685    --    these actions. The final tree is always rewritten to eliminate the
1686    --    need for this field, so in the tree passed to Gigi, this field is
1687    --    always set to No_List.
1688
1689    --  Treat_Fixed_As_Integer (Flag14-Sem)
1690    --    This flag appears in operator nodes for divide, multiply, mod and rem
1691    --    on fixed-point operands. It indicates that the operands are to be
1692    --    treated as integer values, ignoring small values. This flag is only
1693    --    set as a result of expansion of fixed-point operations. Typically a
1694    --    fixed-point multiplication in the source generates subsidiary
1695    --    multiplication and division operations that work with the underlying
1696    --    integer values and have this flag set. Note that this flag is not
1697    --    needed on other arithmetic operations (add, neg, subtract etc.) since
1698    --    in these cases it is always the case that fixed is treated as integer.
1699    --    The Etype field MUST be set if this flag is set. The analyzer knows to
1700    --    leave such nodes alone, and whoever makes them must set the correct
1701    --    Etype value.
1702
1703    --  TSS_Elist (Elist3-Sem)
1704    --    Present in N_Freeze_Entity nodes. Holds an element list containing
1705    --    entries for each TSS (type support subprogram) associated with the
1706    --    frozen type. The elements of the list are the entities for the
1707    --    subprograms (see package Exp_TSS for further details). Set to No_Elist
1708    --    if there are no type support subprograms for the type or if the freeze
1709    --    node is not for a type.
1710
1711    --  Unreferenced_In_Spec (Flag7-Sem)
1712    --    Present in N_With_Clause nodes. Set if the with clause is on the
1713    --    package or subprogram spec where the main unit is the corresponding
1714    --    body, and is not referenced by the spec (it may still be referenced by
1715    --    the body, so this flag is used to generate the proper message (see
1716    --    Sem_Util.Check_Unused_Withs for details)
1717
1718    --  Was_Originally_Stub (Flag13-Sem)
1719    --    This flag is set in the node for a proper body that replaces stub.
1720    --    During the analysis procedure, stubs in some situations get rewritten
1721    --    by the corresponding bodies, and we set this flag to remember that
1722    --    this happened. Note that it is not good enough to rely on the use of
1723    --    Original_Node here because of the case of nested instantiations where
1724    --    the substituted node can be copied.
1725
1726    --  Zero_Cost_Handling (Flag5-Sem)
1727    --    This flag is set in all handled sequence of statement and exception
1728    --    handler nodes if exceptions are to be handled using the zero-cost
1729    --    mechanism (see Ada.Exceptions and System.Exceptions in files
1730    --    a-except.ads/adb and s-except.ads for full details). What gigi needs
1731    --    to do for such a handler is simply to put the code in the handler
1732    --    somewhere. The front end has generated all necessary labels.
1733
1734    --------------------------------------------------
1735    -- Note on Use of End_Label and End_Span Fields --
1736    --------------------------------------------------
1737
1738    --  Several constructs have end lines:
1739
1740    --    Loop Statement             end loop [loop_IDENTIFIER];
1741    --    Package Specification      end [[PARENT_UNIT_NAME .] IDENTIFIER]
1742    --    Task Definition            end [task_IDENTIFIER]
1743    --    Protected Definition       end [protected_IDENTIFIER]
1744    --    Protected Body             end [protected_IDENTIFIER]
1745
1746    --    Block Statement            end [block_IDENTIFIER];
1747    --    Subprogram Body            end [DESIGNATOR];
1748    --    Package Body               end [[PARENT_UNIT_NAME .] IDENTIFIER];
1749    --    Task Body                  end [task_IDENTIFIER];
1750    --    Accept Statement           end [entry_IDENTIFIER]];
1751    --    Entry Body                 end [entry_IDENTIFIER];
1752
1753    --    If Statement               end if;
1754    --    Case Statement             end case;
1755
1756    --    Record Definition          end record;
1757    --    Enumeration Definition     );
1758
1759    --  The End_Label and End_Span fields are used to mark the locations of
1760    --  these lines, and also keep track of the label in the case where a label
1761    --  is present.
1762
1763    --  For the first group above, the End_Label field of the corresponding node
1764    --  is used to point to the label identifier. In the case where there is no
1765    --  label in the source, the parser supplies a dummy identifier (with
1766    --  Comes_From_Source set to False), and the Sloc of this dummy identifier
1767    --  marks the location of the token following the END token.
1768
1769    --  For the second group, the use of End_Label is similar, but the End_Label
1770    --  is found in the N_Handled_Sequence_Of_Statements node. This is done
1771    --  simply because in some cases there is no room in the parent node.
1772
1773    --  For the third group, there is never any label, and instead of using
1774    --  End_Label, we use the End_Span field which gives the location of the
1775    --  token following END, relative to the starting Sloc of the construct,
1776    --  i.e. add Sloc (Node) + End_Span (Node) to get the Sloc of the IF or CASE
1777    --  following the End_Label.
1778
1779    --  The record definition case is handled specially, we treat it as though
1780    --  it required an optional label which is never present, and so the parser
1781    --  always builds a dummy identifier with Comes From Source set False. The
1782    --  reason we do this, rather than using End_Span in this case, is that we
1783    --  want to generate a cross-ref entry for the end of a record, since it
1784    --  represents a scope for name declaration purposes.
1785
1786    --  The enumeration definition case is handled in an exactly similar manner,
1787    --  building a dummy identifier to get a cross-reference.
1788
1789    --  Note: the reason we store the difference as a Uint, instead of storing
1790    --  the Source_Ptr value directly, is that Source_Ptr values cannot be
1791    --  distinguished from other types of values, and we count on all general
1792    --  use fields being self describing. To make things easier for clients,
1793    --  note that we provide function End_Location, and procedure
1794    --  Set_End_Location to allow access to the logical value (which is the
1795    --  Source_Ptr value for the end token).
1796
1797    ---------------------
1798    -- Syntactic Nodes --
1799    ---------------------
1800
1801       ---------------------
1802       -- 2.3  Identifier --
1803       ---------------------
1804
1805       --  IDENTIFIER ::= IDENTIFIER_LETTER {[UNDERLINE] LETTER_OR_DIGIT}
1806       --  LETTER_OR_DIGIT ::= IDENTIFIER_LETTER | DIGIT
1807
1808       --  An IDENTIFIER shall not be a reserved word
1809
1810       --  In the Ada grammar identifiers are the bottom level tokens which have
1811       --  very few semantics. Actual program identifiers are direct names. If
1812       --  we were being 100% honest with the grammar, then we would have a node
1813       --  called N_Direct_Name which would point to an identifier. However,
1814       --  that's too many extra nodes, so we just use the N_Identifier node
1815       --  directly as a direct name, and it contains the expression fields and
1816       --  Entity field that correspond to its use as a direct name. In those
1817       --  few cases where identifiers appear in contexts where they are not
1818       --  direct names (pragmas, pragma argument associations, attribute
1819       --  references and attribute definition clauses), the Chars field of the
1820       --  node contains the Name_Id for the identifier name.
1821
1822       --  Note: in GNAT, a reserved word can be treated as an identifier in two
1823       --  cases. First, an incorrect use of a reserved word as an identifier is
1824       --  diagnosed and then treated as a normal identifier. Second, an
1825       --  attribute designator of the form of a reserved word (access, delta,
1826       --  digits, range) is treated as an identifier.
1827
1828       --  Note: The set of letters that is permitted in an identifier depends
1829       --  on the character set in use. See package Csets for full details.
1830
1831       --  N_Identifier
1832       --  Sloc points to identifier
1833       --  Chars (Name1) contains the Name_Id for the identifier
1834       --  Entity (Node4-Sem)
1835       --  Associated_Node (Node4-Sem)
1836       --  Original_Discriminant (Node2-Sem)
1837       --  Redundant_Use (Flag13-Sem)
1838       --  Has_Private_View (Flag11-Sem) (set in generic units)
1839       --  plus fields for expression
1840
1841       --------------------------
1842       -- 2.4  Numeric Literal --
1843       --------------------------
1844
1845       --  NUMERIC_LITERAL ::= DECIMAL_LITERAL | BASED_LITERAL
1846
1847       ----------------------------
1848       -- 2.4.1  Decimal Literal --
1849       ----------------------------
1850
1851       --  DECIMAL_LITERAL ::= NUMERAL [.NUMERAL] [EXPONENT]
1852
1853       --  NUMERAL ::= DIGIT {[UNDERLINE] DIGIT}
1854
1855       --  EXPONENT ::= E [+] NUMERAL | E - NUMERAL
1856
1857       --  Decimal literals appear in the tree as either integer literal nodes
1858       --  or real literal nodes, depending on whether a period is present.
1859
1860       --  Note: literal nodes appear as a result of direct use of literals
1861       --  in the source program, and also as the result of evaluating
1862       --  expressions at compile time. In the latter case, it is possible
1863       --  to construct real literals that have no syntactic representation
1864       --  using the standard literal format. Such literals are listed by
1865       --  Sprint using the notation [numerator / denominator].
1866
1867       --  Note: the value of an integer literal node created by the front end
1868       --  is never outside the range of values of the base type. However, it
1869       --  can be the case that the value is outside the range of the
1870       --  particular subtype. This happens in the case of integer overflows
1871       --  with checks suppressed.
1872
1873       --  N_Integer_Literal
1874       --  Sloc points to literal
1875       --  Original_Entity (Node2-Sem) If not Empty, holds Named_Number that
1876       --  has been constant-folded into its literal value.
1877       --  Intval (Uint3) contains integer value of literal
1878       --  plus fields for expression
1879       --  Print_In_Hex (Flag13-Sem)
1880
1881       --  N_Real_Literal
1882       --  Sloc points to literal
1883       --  Original_Entity (Node2-Sem) If not Empty, holds Named_Number that
1884       --  has been constant-folded into its literal value.
1885       --  Realval (Ureal3) contains real value of literal
1886       --  Corresponding_Integer_Value (Uint4-Sem)
1887       --  Is_Machine_Number (Flag11-Sem)
1888       --  plus fields for expression
1889
1890       --------------------------
1891       -- 2.4.2  Based Literal --
1892       --------------------------
1893
1894       --  BASED_LITERAL ::=
1895       --   BASE # BASED_NUMERAL [.BASED_NUMERAL] # [EXPONENT]
1896
1897       --  BASE ::= NUMERAL
1898
1899       --  BASED_NUMERAL ::=
1900       --    EXTENDED_DIGIT {[UNDERLINE] EXTENDED_DIGIT}
1901
1902       --  EXTENDED_DIGIT ::= DIGIT | A | B | C | D | E | F
1903
1904       --  Based literals appear in the tree as either integer literal nodes
1905       --  or real literal nodes, depending on whether a period is present.
1906
1907       ----------------------------
1908       -- 2.5  Character Literal --
1909       ----------------------------
1910
1911       --  CHARACTER_LITERAL ::= ' GRAPHIC_CHARACTER '
1912
1913       --  N_Character_Literal
1914       --  Sloc points to literal
1915       --  Chars (Name1) contains the Name_Id for the identifier
1916       --  Char_Literal_Value (Uint2) contains the literal value
1917       --  Entity (Node4-Sem)
1918       --  Associated_Node (Node4-Sem)
1919       --  Has_Private_View (Flag11-Sem) set in generic units.
1920       --  plus fields for expression
1921
1922       --  Note: the Entity field will be missing (set to Empty) for character
1923       --  literals whose type is Standard.Wide_Character or Standard.Character
1924       --  or a type derived from one of these two. In this case the character
1925       --  literal stands for its own coding. The reason we take this irregular
1926       --  short cut is to avoid the need to build lots of junk defining
1927       --  character literal nodes.
1928
1929       -------------------------
1930       -- 2.6  String Literal --
1931       -------------------------
1932
1933       --  STRING LITERAL ::= "{STRING_ELEMENT}"
1934
1935       --  A STRING_ELEMENT is either a pair of quotation marks ("), or a
1936       --  single GRAPHIC_CHARACTER other than a quotation mark.
1937       --
1938       --  Is_Folded_In_Parser is True if the parser created this literal by
1939       --  folding a sequence of "&" operators. For example, if the source code
1940       --  says "aaa" & "bbb" & "ccc", and this produces "aaabbbccc", the flag
1941       --  is set. This flag is needed because the parser doesn't know about
1942       --  visibility, so the folded result might be wrong, and semantic
1943       --  analysis needs to check for that.
1944
1945       --  N_String_Literal
1946       --  Sloc points to literal
1947       --  Strval (Str3) contains Id of string value
1948       --  Has_Wide_Character (Flag11-Sem)
1949       --  Has_Wide_Wide_Character (Flag13-Sem)
1950       --  Is_Folded_In_Parser (Flag4)
1951       --  plus fields for expression
1952
1953       ------------------
1954       -- 2.7  Comment --
1955       ------------------
1956
1957       --  A COMMENT starts with two adjacent hyphens and extends up to the
1958       --  end of the line. A COMMENT may appear on any line of a program.
1959
1960       --  Comments are skipped by the scanner and do not appear in the tree.
1961       --  It is possible to reconstruct the position of comments with respect
1962       --  to the elements of the tree by using the source position (Sloc)
1963       --  pointers that appear in every tree node.
1964
1965       -----------------
1966       -- 2.8  Pragma --
1967       -----------------
1968
1969       --  PRAGMA ::= pragma IDENTIFIER
1970       --    [(PRAGMA_ARGUMENT_ASSOCIATION {, PRAGMA_ARGUMENT_ASSOCIATION})];
1971
1972       --  Note that a pragma may appear in the tree anywhere a declaration
1973       --  or a statement may appear, as well as in some other situations
1974       --  which are explicitly documented.
1975
1976       --  N_Pragma
1977       --  Sloc points to pragma identifier
1978       --  Next_Pragma (Node1-Sem)
1979       --  Pragma_Argument_Associations (List2) (set to No_List if none)
1980       --  Debug_Statement (Node3) (set to Empty if not Debug, Assert)
1981       --  Pragma_Identifier (Node4)
1982       --  Next_Rep_Item (Node5-Sem)
1983       --  Pragma_Enabled (Flag5-Sem)
1984
1985       --  Note: we should have a section on what pragmas are passed on to
1986       --  the back end to be processed. This section should note that pragma
1987       --  Psect_Object is always converted to Common_Object, but there are
1988       --  undoubtedly many other similar notes required ???
1989
1990       --  Note: a utility function Pragma_Name may be applied to pragma nodes
1991       --  to conveniently obtain the Chars field of the Pragma_Identifier.
1992
1993       --------------------------------------
1994       -- 2.8  Pragma Argument Association --
1995       --------------------------------------
1996
1997       --  PRAGMA_ARGUMENT_ASSOCIATION ::=
1998       --    [pragma_argument_IDENTIFIER =>] NAME
1999       --  | [pragma_argument_IDENTIFIER =>] EXPRESSION
2000
2001       --  N_Pragma_Argument_Association
2002       --  Sloc points to first token in association
2003       --  Chars (Name1) (set to No_Name if no pragma argument identifier)
2004       --  Expression (Node3)
2005
2006       ------------------------
2007       -- 2.9  Reserved Word --
2008       ------------------------
2009
2010       --  Reserved words are parsed by the scanner, and returned as the
2011       --  corresponding token types (e.g. PACKAGE is returned as Tok_Package)
2012
2013       ----------------------------
2014       -- 3.1  Basic Declaration --
2015       ----------------------------
2016
2017       --  BASIC_DECLARATION ::=
2018       --    TYPE_DECLARATION          | SUBTYPE_DECLARATION
2019       --  | OBJECT_DECLARATION        | NUMBER_DECLARATION
2020       --  | SUBPROGRAM_DECLARATION    | ABSTRACT_SUBPROGRAM_DECLARATION
2021       --  | PACKAGE_DECLARATION       | RENAMING_DECLARATION
2022       --  | EXCEPTION_DECLARATION     | GENERIC_DECLARATION
2023       --  | GENERIC_INSTANTIATION
2024
2025       --  Basic declaration also includes IMPLICIT_LABEL_DECLARATION
2026       --  see further description in section on semantic nodes.
2027
2028       --  Also, in the tree that is constructed, a pragma may appear
2029       --  anywhere that a declaration may appear.
2030
2031       ------------------------------
2032       -- 3.1  Defining Identifier --
2033       ------------------------------
2034
2035       --  DEFINING_IDENTIFIER ::= IDENTIFIER
2036
2037       --  A defining identifier is an entity, which has additional fields
2038       --  depending on the setting of the Ekind field. These additional
2039       --  fields are defined (and access subprograms declared) in package
2040       --  Einfo.
2041
2042       --  Note: N_Defining_Identifier is an extended node whose fields are
2043       --  deliberate layed out to match the layout of fields in an ordinary
2044       --  N_Identifier node allowing for easy alteration of an identifier
2045       --  node into a defining identifier node. For details, see procedure
2046       --  Sinfo.CN.Change_Identifier_To_Defining_Identifier.
2047
2048       --  N_Defining_Identifier
2049       --  Sloc points to identifier
2050       --  Chars (Name1) contains the Name_Id for the identifier
2051       --  Next_Entity (Node2-Sem)
2052       --  Scope (Node3-Sem)
2053       --  Etype (Node5-Sem)
2054
2055       -----------------------------
2056       -- 3.2.1  Type Declaration --
2057       -----------------------------
2058
2059       --  TYPE_DECLARATION ::=
2060       --    FULL_TYPE_DECLARATION
2061       --  | INCOMPLETE_TYPE_DECLARATION
2062       --  | PRIVATE_TYPE_DECLARATION
2063       --  | PRIVATE_EXTENSION_DECLARATION
2064
2065       ----------------------------------
2066       -- 3.2.1  Full Type Declaration --
2067       ----------------------------------
2068
2069       --  FULL_TYPE_DECLARATION ::=
2070       --    type DEFINING_IDENTIFIER [KNOWN_DISCRIMINANT_PART]
2071       --      is TYPE_DEFINITION;
2072       --  | TASK_TYPE_DECLARATION
2073       --  | PROTECTED_TYPE_DECLARATION
2074
2075       --  The full type declaration node is used only for the first case. The
2076       --  second case (concurrent type declaration), is represented directly
2077       --  by a task type declaration or a protected type declaration.
2078
2079       --  N_Full_Type_Declaration
2080       --  Sloc points to TYPE
2081       --  Defining_Identifier (Node1)
2082       --  Discriminant_Specifications (List4) (set to No_List if none)
2083       --  Type_Definition (Node3)
2084       --  Discr_Check_Funcs_Built (Flag11-Sem)
2085
2086       ----------------------------
2087       -- 3.2.1  Type Definition --
2088       ----------------------------
2089
2090       --  TYPE_DEFINITION ::=
2091       --    ENUMERATION_TYPE_DEFINITION  | INTEGER_TYPE_DEFINITION
2092       --  | REAL_TYPE_DEFINITION         | ARRAY_TYPE_DEFINITION
2093       --  | RECORD_TYPE_DEFINITION       | ACCESS_TYPE_DEFINITION
2094       --  | DERIVED_TYPE_DEFINITION      | INTERFACE_TYPE_DEFINITION
2095
2096       --------------------------------
2097       -- 3.2.2  Subtype Declaration --
2098       --------------------------------
2099
2100       --  SUBTYPE_DECLARATION ::=
2101       --    subtype DEFINING_IDENTIFIER is [NULL_EXCLUSION] SUBTYPE_INDICATION;
2102
2103       --  The subtype indication field is set to Empty for subtypes
2104       --  declared in package Standard (Positive, Natural).
2105
2106       --  N_Subtype_Declaration
2107       --  Sloc points to SUBTYPE
2108       --  Defining_Identifier (Node1)
2109       --  Null_Exclusion_Present (Flag11)
2110       --  Subtype_Indication (Node5)
2111       --  Generic_Parent_Type (Node4-Sem) (set for an actual derived type).
2112       --  Exception_Junk (Flag8-Sem)
2113
2114       -------------------------------
2115       -- 3.2.2  Subtype Indication --
2116       -------------------------------
2117
2118       --  SUBTYPE_INDICATION ::= SUBTYPE_MARK [CONSTRAINT]
2119
2120       --  Note: if no constraint is present, the subtype indication appears
2121       --  directly in the tree as a subtype mark. The N_Subtype_Indication
2122       --  node is used only if a constraint is present.
2123
2124       --  Note: [For Ada 2005 (AI-231)]: Because Ada 2005 extends this rule
2125       --  with the null-exclusion part (see AI-231), we had to introduce a new
2126       --  attribute in all the parents of subtype_indication nodes to indicate
2127       --  if the null-exclusion is present.
2128
2129       --  Note: the reason that this node has expression fields is that a
2130       --  subtype indication can appear as an operand of a membership test.
2131
2132       --  N_Subtype_Indication
2133       --  Sloc points to first token of subtype mark
2134       --  Subtype_Mark (Node4)
2135       --  Constraint (Node3)
2136       --  Etype (Node5-Sem)
2137       --  Must_Not_Freeze (Flag8-Sem)
2138
2139       --  Note: Etype is a copy of the Etype field of the Subtype_Mark. The
2140       --  reason for this redundancy is so that in a list of array index types,
2141       --  the Etype can be uniformly accessed to determine the subscript type.
2142       --  This means that no Itype is constructed for the actual subtype that
2143       --  is created by the subtype indication. If such an Itype is required,
2144       --  it is constructed in the context in which the indication appears.
2145
2146       -------------------------
2147       -- 3.2.2  Subtype Mark --
2148       -------------------------
2149
2150       --  SUBTYPE_MARK ::= subtype_NAME
2151
2152       -----------------------
2153       -- 3.2.2  Constraint --
2154       -----------------------
2155
2156       --  CONSTRAINT ::= SCALAR_CONSTRAINT | COMPOSITE_CONSTRAINT
2157
2158       ------------------------------
2159       -- 3.2.2  Scalar Constraint --
2160       ------------------------------
2161
2162       --  SCALAR_CONSTRAINT ::=
2163       --    RANGE_CONSTRAINT | DIGITS_CONSTRAINT | DELTA_CONSTRAINT
2164
2165       ---------------------------------
2166       -- 3.2.2  Composite Constraint --
2167       ---------------------------------
2168
2169       --  COMPOSITE_CONSTRAINT ::=
2170       --    INDEX_CONSTRAINT | DISCRIMINANT_CONSTRAINT
2171
2172       -------------------------------
2173       -- 3.3.1  Object Declaration --
2174       -------------------------------
2175
2176       --  OBJECT_DECLARATION ::=
2177       --    DEFINING_IDENTIFIER_LIST : [aliased] [constant]
2178       --      [NULL_EXCLUSION] SUBTYPE_INDICATION [:= EXPRESSION];
2179       --  | DEFINING_IDENTIFIER_LIST : [aliased] [constant]
2180       --      ACCESS_DEFINITION [:= EXPRESSION];
2181       --  | DEFINING_IDENTIFIER_LIST : [aliased] [constant]
2182       --      ARRAY_TYPE_DEFINITION [:= EXPRESSION];
2183       --  | SINGLE_TASK_DECLARATION
2184       --  | SINGLE_PROTECTED_DECLARATION
2185
2186       --  Note: aliased is not permitted in Ada 83 mode
2187
2188       --  The N_Object_Declaration node is only for the first two cases.
2189       --  Single task declaration is handled by P_Task (9.1)
2190       --  Single protected declaration is handled by P_protected (9.5)
2191
2192       --  Although the syntax allows multiple identifiers in the list, the
2193       --  semantics is as though successive declarations were given with
2194       --  identical type definition and expression components. To simplify
2195       --  semantic processing, the parser represents a multiple declaration
2196       --  case as a sequence of single declarations, using the More_Ids and
2197       --  Prev_Ids flags to preserve the original source form as described
2198       --  in the section on "Handling of Defining Identifier Lists".
2199
2200       --  The flag Has_Init_Expression is set if an initializing expression
2201       --  is present. Normally it is set if and only if Expression contains
2202       --  a non-empty value, but there is an exception to this. When the
2203       --  initializing expression is an aggregate which requires explicit
2204       --  assignments, the Expression field gets set to Empty, but this flag
2205       --  is still set, so we don't forget we had an initializing expression.
2206
2207       --  Note: if a range check is required for the initialization
2208       --  expression then the Do_Range_Check flag is set in the Expression,
2209       --  with the check being done against the type given by the object
2210       --  definition, which is also the Etype of the defining identifier.
2211
2212       --  Note: the contents of the Expression field must be ignored (i.e.
2213       --  treated as though it were Empty) if No_Initialization is set True.
2214
2215       --  Note: the back end places some restrictions on the form of the
2216       --  Expression field. If the object being declared is Atomic, then
2217       --  the Expression may not have the form of an aggregate (since this
2218       --  might cause the back end to generate separate assignments). In this
2219       --  case the front end must generate an extra temporary and initialize
2220       --  this temporary as required (the temporary itself is not atomic).
2221
2222       --  Note: there is not node kind for object definition. Instead, the
2223       --  corresponding field holds a subtype indication, an array type
2224       --  definition, or (Ada 2005, AI-406) an access definition.
2225
2226       --  N_Object_Declaration
2227       --  Sloc points to first identifier
2228       --  Defining_Identifier (Node1)
2229       --  Aliased_Present (Flag4) set if ALIASED appears
2230       --  Constant_Present (Flag17) set if CONSTANT appears
2231       --  Null_Exclusion_Present (Flag11)
2232       --  Object_Definition (Node4) subtype indic./array type def./access def.
2233       --  Expression (Node3) (set to Empty if not present)
2234       --  Handler_List_Entry (Node2-Sem)
2235       --  Corresponding_Generic_Association (Node5-Sem)
2236       --  More_Ids (Flag5) (set to False if no more identifiers in list)
2237       --  Prev_Ids (Flag6) (set to False if no previous identifiers in list)
2238       --  No_Initialization (Flag13-Sem)
2239       --  Assignment_OK (Flag15-Sem)
2240       --  Exception_Junk (Flag8-Sem)
2241       --  Is_Subprogram_Descriptor (Flag16-Sem)
2242       --  Has_Init_Expression (Flag14)
2243
2244       -------------------------------------
2245       -- 3.3.1  Defining Identifier List --
2246       -------------------------------------
2247
2248       --  DEFINING_IDENTIFIER_LIST ::=
2249       --    DEFINING_IDENTIFIER {, DEFINING_IDENTIFIER}
2250
2251       -------------------------------
2252       -- 3.3.2  Number Declaration --
2253       -------------------------------
2254
2255       --  NUMBER_DECLARATION ::=
2256       --    DEFINING_IDENTIFIER_LIST : constant := static_EXPRESSION;
2257
2258       --  Although the syntax allows multiple identifiers in the list, the
2259       --  semantics is as though successive declarations were given with
2260       --  identical expressions. To simplify semantic processing, the parser
2261       --  represents a multiple declaration case as a sequence of single
2262       --  declarations, using the More_Ids and Prev_Ids flags to preserve
2263       --  the original source form as described in the section on "Handling
2264       --  of Defining Identifier Lists".
2265
2266       --  N_Number_Declaration
2267       --  Sloc points to first identifier
2268       --  Defining_Identifier (Node1)
2269       --  Expression (Node3)
2270       --  More_Ids (Flag5) (set to False if no more identifiers in list)
2271       --  Prev_Ids (Flag6) (set to False if no previous identifiers in list)
2272
2273       ----------------------------------
2274       -- 3.4  Derived Type Definition --
2275       ----------------------------------
2276
2277       --  DERIVED_TYPE_DEFINITION ::=
2278       --    [abstract] [limited] new [NULL_EXCLUSION] parent_SUBTYPE_INDICATION
2279       --    [[and INTERFACE_LIST] RECORD_EXTENSION_PART]
2280
2281       --  Note: ABSTRACT, LIMITED and record extension part are not permitted
2282       --  in Ada 83 mode
2283
2284       --  Note: a record extension part is required if ABSTRACT is present
2285
2286       --  N_Derived_Type_Definition
2287       --  Sloc points to NEW
2288       --  Abstract_Present (Flag4)
2289       --  Null_Exclusion_Present (Flag11) (set to False if not present)
2290       --  Subtype_Indication (Node5)
2291       --  Record_Extension_Part (Node3) (set to Empty if not present)
2292       --  Limited_Present (Flag17)
2293       --  Task_Present (Flag5) set in task interfaces
2294       --  Protected_Present (Flag6) set in protected interfaces
2295       --  Synchronized_Present (Flag7) set in interfaces
2296       --  Interface_List (List2) (set to No_List if none)
2297       --  Interface_Present (Flag16) set in abstract interfaces
2298
2299       --  Note: Task_Present, Protected_Present, Synchronized_Present,
2300       --        Interface_List, and Interface_Present are used for abstract
2301       --        interfaces (see comments for INTERFACE_TYPE_DEFINITION).
2302
2303       ---------------------------
2304       -- 3.5  Range Constraint --
2305       ---------------------------
2306
2307       --  RANGE_CONSTRAINT ::= range RANGE
2308
2309       --  N_Range_Constraint
2310       --  Sloc points to RANGE
2311       --  Range_Expression (Node4)
2312
2313       ----------------
2314       -- 3.5  Range --
2315       ----------------
2316
2317       --  RANGE ::=
2318       --    RANGE_ATTRIBUTE_REFERENCE
2319       --  | SIMPLE_EXPRESSION .. SIMPLE_EXPRESSION
2320
2321       --  Note: the case of a range given as a range attribute reference
2322       --  appears directly in the tree as an attribute reference.
2323
2324       --  Note: the field name for a reference to a range is Range_Expression
2325       --  rather than Range, because range is a reserved keyword in Ada!
2326
2327       --  Note: the reason that this node has expression fields is that a
2328       --  range can appear as an operand of a membership test. The Etype
2329       --  field is the type of the range (we do NOT construct an implicit
2330       --  subtype to represent the range exactly).
2331
2332       --  N_Range
2333       --  Sloc points to ..
2334       --  Low_Bound (Node1)
2335       --  High_Bound (Node2)
2336       --  Includes_Infinities (Flag11)
2337       --  plus fields for expression
2338
2339       --  Note: if the range appears in a context, such as a subtype
2340       --  declaration, where range checks are required on one or both of
2341       --  the expression fields, then type conversion nodes are inserted
2342       --  to represent the required checks.
2343
2344       ----------------------------------------
2345       -- 3.5.1  Enumeration Type Definition --
2346       ----------------------------------------
2347
2348       --  ENUMERATION_TYPE_DEFINITION ::=
2349       --    (ENUMERATION_LITERAL_SPECIFICATION
2350       --      {, ENUMERATION_LITERAL_SPECIFICATION})
2351
2352       --  Note: the Literals field in the node described below is null for
2353       --  the case of the standard types CHARACTER and WIDE_CHARACTER, for
2354       --  which special processing handles these types as special cases.
2355
2356       --  N_Enumeration_Type_Definition
2357       --  Sloc points to left parenthesis
2358       --  Literals (List1) (Empty for CHARACTER or WIDE_CHARACTER)
2359       --  End_Label (Node4) (set to Empty if internally generated record)
2360
2361       ----------------------------------------------
2362       -- 3.5.1  Enumeration Literal Specification --
2363       ----------------------------------------------
2364
2365       --  ENUMERATION_LITERAL_SPECIFICATION ::=
2366       --    DEFINING_IDENTIFIER | DEFINING_CHARACTER_LITERAL
2367
2368       ---------------------------------------
2369       -- 3.5.1  Defining Character Literal --
2370       ---------------------------------------
2371
2372       --  DEFINING_CHARACTER_LITERAL ::= CHARACTER_LITERAL
2373
2374       --  A defining character literal is an entity, which has additional
2375       --  fields depending on the setting of the Ekind field. These
2376       --  additional fields are defined (and access subprograms declared)
2377       --  in package Einfo.
2378
2379       --  Note: N_Defining_Character_Literal is an extended node whose fields
2380       --  are deliberate layed out to match the layout of fields in an ordinary
2381       --  N_Character_Literal node allowing for easy alteration of a character
2382       --  literal node into a defining character literal node. For details, see
2383       --  Sinfo.CN.Change_Character_Literal_To_Defining_Character_Literal.
2384
2385       --  N_Defining_Character_Literal
2386       --  Sloc points to literal
2387       --  Chars (Name1) contains the Name_Id for the identifier
2388       --  Next_Entity (Node2-Sem)
2389       --  Scope (Node3-Sem)
2390       --  Etype (Node5-Sem)
2391
2392       ------------------------------------
2393       -- 3.5.4  Integer Type Definition --
2394       ------------------------------------
2395
2396       --  Note: there is an error in this rule in the latest version of the
2397       --  grammar, so we have retained the old rule pending clarification.
2398
2399       --  INTEGER_TYPE_DEFINITION ::=
2400       --    SIGNED_INTEGER_TYPE_DEFINITION
2401       --  | MODULAR_TYPE_DEFINITION
2402
2403       -------------------------------------------
2404       -- 3.5.4  Signed Integer Type Definition --
2405       -------------------------------------------
2406
2407       --  SIGNED_INTEGER_TYPE_DEFINITION ::=
2408       --    range static_SIMPLE_EXPRESSION .. static_SIMPLE_EXPRESSION
2409
2410       --  Note: the Low_Bound and High_Bound fields are set to Empty
2411       --  for integer types defined in package Standard.
2412
2413       --  N_Signed_Integer_Type_Definition
2414       --  Sloc points to RANGE
2415       --  Low_Bound (Node1)
2416       --  High_Bound (Node2)
2417
2418       ------------------------------------
2419       -- 3.5.4  Modular Type Definition --
2420       ------------------------------------
2421
2422       --  MODULAR_TYPE_DEFINITION ::= mod static_EXPRESSION
2423
2424       --  N_Modular_Type_Definition
2425       --  Sloc points to MOD
2426       --  Expression (Node3)
2427
2428       ---------------------------------
2429       -- 3.5.6  Real Type Definition --
2430       ---------------------------------
2431
2432       --  REAL_TYPE_DEFINITION ::=
2433       --    FLOATING_POINT_DEFINITION | FIXED_POINT_DEFINITION
2434
2435       --------------------------------------
2436       -- 3.5.7  Floating Point Definition --
2437       --------------------------------------
2438
2439       --  FLOATING_POINT_DEFINITION ::=
2440       --    digits static_SIMPLE_EXPRESSION [REAL_RANGE_SPECIFICATION]
2441
2442       --  Note: The Digits_Expression and Real_Range_Specifications fields
2443       --  are set to Empty for floating-point types declared in Standard.
2444
2445       --  N_Floating_Point_Definition
2446       --  Sloc points to DIGITS
2447       --  Digits_Expression (Node2)
2448       --  Real_Range_Specification (Node4) (set to Empty if not present)
2449
2450       -------------------------------------
2451       -- 3.5.7  Real Range Specification --
2452       -------------------------------------
2453
2454       --  REAL_RANGE_SPECIFICATION ::=
2455       --    range static_SIMPLE_EXPRESSION .. static_SIMPLE_EXPRESSION
2456
2457       --  N_Real_Range_Specification
2458       --  Sloc points to RANGE
2459       --  Low_Bound (Node1)
2460       --  High_Bound (Node2)
2461
2462       -----------------------------------
2463       -- 3.5.9  Fixed Point Definition --
2464       -----------------------------------
2465
2466       --  FIXED_POINT_DEFINITION ::=
2467       --    ORDINARY_FIXED_POINT_DEFINITION | DECIMAL_FIXED_POINT_DEFINITION
2468
2469       --------------------------------------------
2470       -- 3.5.9  Ordinary Fixed Point Definition --
2471       --------------------------------------------
2472
2473       --  ORDINARY_FIXED_POINT_DEFINITION ::=
2474       --    delta static_EXPRESSION REAL_RANGE_SPECIFICATION
2475
2476       --  Note: In Ada 83, the EXPRESSION must be a SIMPLE_EXPRESSION
2477
2478       --  N_Ordinary_Fixed_Point_Definition
2479       --  Sloc points to DELTA
2480       --  Delta_Expression (Node3)
2481       --  Real_Range_Specification (Node4)
2482
2483       -------------------------------------------
2484       -- 3.5.9  Decimal Fixed Point Definition --
2485       -------------------------------------------
2486
2487       --  DECIMAL_FIXED_POINT_DEFINITION ::=
2488       --    delta static_EXPRESSION
2489       --      digits static_EXPRESSION [REAL_RANGE_SPECIFICATION]
2490
2491       --  Note: decimal types are not permitted in Ada 83 mode
2492
2493       --  N_Decimal_Fixed_Point_Definition
2494       --  Sloc points to DELTA
2495       --  Delta_Expression (Node3)
2496       --  Digits_Expression (Node2)
2497       --  Real_Range_Specification (Node4) (set to Empty if not present)
2498
2499       ------------------------------
2500       -- 3.5.9  Digits Constraint --
2501       ------------------------------
2502
2503       --  DIGITS_CONSTRAINT ::=
2504       --    digits static_EXPRESSION [RANGE_CONSTRAINT]
2505
2506       --  Note: in Ada 83, the EXPRESSION must be a SIMPLE_EXPRESSION
2507       --  Note: in Ada 95, reduced accuracy subtypes are obsolescent
2508
2509       --  N_Digits_Constraint
2510       --  Sloc points to DIGITS
2511       --  Digits_Expression (Node2)
2512       --  Range_Constraint (Node4) (set to Empty if not present)
2513
2514       --------------------------------
2515       -- 3.6  Array Type Definition --
2516       --------------------------------
2517
2518       --  ARRAY_TYPE_DEFINITION ::=
2519       --    UNCONSTRAINED_ARRAY_DEFINITION | CONSTRAINED_ARRAY_DEFINITION
2520
2521       -----------------------------------------
2522       -- 3.6  Unconstrained Array Definition --
2523       -----------------------------------------
2524
2525       --  UNCONSTRAINED_ARRAY_DEFINITION ::=
2526       --    array (INDEX_SUBTYPE_DEFINITION {, INDEX_SUBTYPE_DEFINITION}) of
2527       --      COMPONENT_DEFINITION
2528
2529       --  Note: dimensionality of array is indicated by number of entries in
2530       --  the Subtype_Marks list, which has one entry for each dimension.
2531
2532       --  N_Unconstrained_Array_Definition
2533       --  Sloc points to ARRAY
2534       --  Subtype_Marks (List2)
2535       --  Component_Definition (Node4)
2536
2537       -----------------------------------
2538       -- 3.6  Index Subtype Definition --
2539       -----------------------------------
2540
2541       --  INDEX_SUBTYPE_DEFINITION ::= SUBTYPE_MARK range <>
2542
2543       --  There is no explicit node in the tree for an index subtype
2544       --  definition since the N_Unconstrained_Array_Definition node
2545       --  incorporates the type marks which appear in this context.
2546
2547       ---------------------------------------
2548       -- 3.6  Constrained Array Definition --
2549       ---------------------------------------
2550
2551       --  CONSTRAINED_ARRAY_DEFINITION ::=
2552       --    array (DISCRETE_SUBTYPE_DEFINITION
2553       --      {, DISCRETE_SUBTYPE_DEFINITION})
2554       --        of COMPONENT_DEFINITION
2555
2556       --  Note: dimensionality of array is indicated by number of entries
2557       --  in the Discrete_Subtype_Definitions list, which has one entry
2558       --  for each dimension.
2559
2560       --  N_Constrained_Array_Definition
2561       --  Sloc points to ARRAY
2562       --  Discrete_Subtype_Definitions (List2)
2563       --  Component_Definition (Node4)
2564
2565       --------------------------------------
2566       -- 3.6  Discrete Subtype Definition --
2567       --------------------------------------
2568
2569       --  DISCRETE_SUBTYPE_DEFINITION ::=
2570       --    discrete_SUBTYPE_INDICATION | RANGE
2571
2572       -------------------------------
2573       -- 3.6  Component Definition --
2574       -------------------------------
2575
2576       --  COMPONENT_DEFINITION ::=
2577       --    [aliased] [NULL_EXCLUSION] SUBTYPE_INDICATION | ACCESS_DEFINITION
2578
2579       --  Note: although the syntax does not permit a component definition to
2580       --  be an anonymous array (and the parser will diagnose such an attempt
2581       --  with an appropriate message), it is possible for anonymous arrays
2582       --  to appear as component definitions. The semantics and back end handle
2583       --  this case properly, and the expander in fact generates such cases.
2584       --  Access_Definition is an optional field that gives support to
2585       --  Ada 2005 (AI-230). The parser generates nodes that have either the
2586       --  Subtype_Indication field or else the Access_Definition field.
2587
2588       --  N_Component_Definition
2589       --  Sloc points to ALIASED, ACCESS or to first token of subtype mark
2590       --  Aliased_Present (Flag4)
2591       --  Null_Exclusion_Present (Flag11)
2592       --  Subtype_Indication (Node5) (set to Empty if not present)
2593       --  Access_Definition (Node3) (set to Empty if not present)
2594
2595       -----------------------------
2596       -- 3.6.1  Index Constraint --
2597       -----------------------------
2598
2599       --  INDEX_CONSTRAINT ::= (DISCRETE_RANGE {, DISCRETE_RANGE})
2600
2601       --  It is not in general possible to distinguish between discriminant
2602       --  constraints and index constraints at parse time, since a simple
2603       --  name could be either the subtype mark of a discrete range, or an
2604       --  expression in a discriminant association with no name. Either
2605       --  entry appears simply as the name, and the semantic parse must
2606       --  distinguish between the two cases. Thus we use a common tree
2607       --  node format for both of these constraint types.
2608
2609       --  See Discriminant_Constraint for format of node
2610
2611       ---------------------------
2612       -- 3.6.1  Discrete Range --
2613       ---------------------------
2614
2615       --  DISCRETE_RANGE ::= discrete_SUBTYPE_INDICATION | RANGE
2616
2617       ----------------------------
2618       -- 3.7  Discriminant Part --
2619       ----------------------------
2620
2621       --  DISCRIMINANT_PART ::=
2622       --    UNKNOWN_DISCRIMINANT_PART | KNOWN_DISCRIMINANT_PART
2623
2624       ------------------------------------
2625       -- 3.7  Unknown Discriminant Part --
2626       ------------------------------------
2627
2628       --  UNKNOWN_DISCRIMINANT_PART ::= (<>)
2629
2630       --  Note: unknown discriminant parts are not permitted in Ada 83 mode
2631
2632       --  There is no explicit node in the tree for an unknown discriminant
2633       --  part. Instead the Unknown_Discriminants_Present flag is set in the
2634       --  parent node.
2635
2636       ----------------------------------
2637       -- 3.7  Known Discriminant Part --
2638       ----------------------------------
2639
2640       --  KNOWN_DISCRIMINANT_PART ::=
2641       --    (DISCRIMINANT_SPECIFICATION {; DISCRIMINANT_SPECIFICATION})
2642
2643       -------------------------------------
2644       -- 3.7  Discriminant Specification --
2645       -------------------------------------
2646
2647       --  DISCRIMINANT_SPECIFICATION ::=
2648       --    DEFINING_IDENTIFIER_LIST : [NULL_EXCLUSION] SUBTYPE_MARK
2649       --      [:= DEFAULT_EXPRESSION]
2650       --  | DEFINING_IDENTIFIER_LIST : ACCESS_DEFINITION
2651       --      [:= DEFAULT_EXPRESSION]
2652
2653       --  Although the syntax allows multiple identifiers in the list, the
2654       --  semantics is as though successive specifications were given with
2655       --  identical type definition and expression components. To simplify
2656       --  semantic processing, the parser represents a multiple declaration
2657       --  case as a sequence of single specifications, using the More_Ids and
2658       --  Prev_Ids flags to preserve the original source form as described
2659       --  in the section on "Handling of Defining Identifier Lists".
2660
2661       --  N_Discriminant_Specification
2662       --  Sloc points to first identifier
2663       --  Defining_Identifier (Node1)
2664       --  Null_Exclusion_Present (Flag11)
2665       --  Discriminant_Type (Node5) subtype mark or access parameter definition
2666       --  Expression (Node3) (set to Empty if no default expression)
2667       --  More_Ids (Flag5) (set to False if no more identifiers in list)
2668       --  Prev_Ids (Flag6) (set to False if no previous identifiers in list)
2669
2670       -----------------------------
2671       -- 3.7  Default Expression --
2672       -----------------------------
2673
2674       --  DEFAULT_EXPRESSION ::= EXPRESSION
2675
2676       ------------------------------------
2677       -- 3.7.1  Discriminant Constraint --
2678       ------------------------------------
2679
2680       --  DISCRIMINANT_CONSTRAINT ::=
2681       --    (DISCRIMINANT_ASSOCIATION {, DISCRIMINANT_ASSOCIATION})
2682
2683       --  It is not in general possible to distinguish between discriminant
2684       --  constraints and index constraints at parse time, since a simple
2685       --  name could be either the subtype mark of a discrete range, or an
2686       --  expression in a discriminant association with no name. Either
2687       --  entry appears simply as the name, and the semantic parse must
2688       --  distinguish between the two cases. Thus we use a common tree
2689       --  node format for both of these constraint types.
2690
2691       --  N_Index_Or_Discriminant_Constraint
2692       --  Sloc points to left paren
2693       --  Constraints (List1) points to list of discrete ranges or
2694       --    discriminant associations
2695
2696       -------------------------------------
2697       -- 3.7.1  Discriminant Association --
2698       -------------------------------------
2699
2700       --  DISCRIMINANT_ASSOCIATION ::=
2701       --    [discriminant_SELECTOR_NAME
2702       --      {| discriminant_SELECTOR_NAME} =>] EXPRESSION
2703
2704       --  Note: a discriminant association that has no selector name list
2705       --  appears directly as an expression in the tree.
2706
2707       --  N_Discriminant_Association
2708       --  Sloc points to first token of discriminant association
2709       --  Selector_Names (List1) (always non-empty, since if no selector
2710       --   names are present, this node is not used, see comment above)
2711       --  Expression (Node3)
2712
2713       ---------------------------------
2714       -- 3.8  Record Type Definition --
2715       ---------------------------------
2716
2717       --  RECORD_TYPE_DEFINITION ::=
2718       --    [[abstract] tagged] [limited] RECORD_DEFINITION
2719
2720       --  Note: ABSTRACT, TAGGED, LIMITED are not permitted in Ada 83 mode
2721
2722       --  There is no explicit node in the tree for a record type definition.
2723       --  Instead the flags for Tagged_Present and Limited_Present appear in
2724       --  the N_Record_Definition node for a record definition appearing in
2725       --  the context of a record type definition.
2726
2727       ----------------------------
2728       -- 3.8  Record Definition --
2729       ----------------------------
2730
2731       --  RECORD_DEFINITION ::=
2732       --    record
2733       --      COMPONENT_LIST
2734       --    end record
2735       --  | null record
2736
2737       --  Note: the Abstract_Present, Tagged_Present and Limited_Present
2738       --  flags appear only for a record definition appearing in a record
2739       --  type definition.
2740
2741       --  Note: the NULL RECORD case is not permitted in Ada 83
2742
2743       --  N_Record_Definition
2744       --  Sloc points to RECORD or NULL
2745       --  End_Label (Node4) (set to Empty if internally generated record)
2746       --  Abstract_Present (Flag4)
2747       --  Tagged_Present (Flag15)
2748       --  Limited_Present (Flag17)
2749       --  Component_List (Node1) empty in null record case
2750       --  Null_Present (Flag13) set in null record case
2751       --  Task_Present (Flag5) set in task interfaces
2752       --  Protected_Present (Flag6) set in protected interfaces
2753       --  Synchronized_Present (Flag7) set in interfaces
2754       --  Interface_Present (Flag16) set in abstract interfaces
2755       --  Interface_List (List2) (set to No_List if none)
2756
2757       --  Note: Task_Present, Protected_Present, Synchronized _Present,
2758       --        Interface_List and Interface_Present are used for abstract
2759       --        interfaces (see comments for INTERFACE_TYPE_DEFINITION).
2760
2761       -------------------------
2762       -- 3.8  Component List --
2763       -------------------------
2764
2765       --  COMPONENT_LIST ::=
2766       --    COMPONENT_ITEM {COMPONENT_ITEM}
2767       --  | {COMPONENT_ITEM} VARIANT_PART
2768       --  | null;
2769
2770       --  N_Component_List
2771       --  Sloc points to first token of component list
2772       --  Component_Items (List3)
2773       --  Variant_Part (Node4) (set to Empty if no variant part)
2774       --  Null_Present (Flag13)
2775
2776       -------------------------
2777       -- 3.8  Component Item --
2778       -------------------------
2779
2780       --  COMPONENT_ITEM ::= COMPONENT_DECLARATION | REPRESENTATION_CLAUSE
2781
2782       --  Note: A component item can also be a pragma, and in the tree
2783       --  that is obtained after semantic processing, a component item
2784       --  can be an N_Null node resulting from a non-recognized pragma.
2785
2786       --------------------------------
2787       -- 3.8  Component Declaration --
2788       --------------------------------
2789
2790       --  COMPONENT_DECLARATION ::=
2791       --    DEFINING_IDENTIFIER_LIST : COMPONENT_DEFINITION
2792       --      [:= DEFAULT_EXPRESSION]
2793
2794       --  Note: although the syntax does not permit a component definition to
2795       --  be an anonymous array (and the parser will diagnose such an attempt
2796       --  with an appropriate message), it is possible for anonymous arrays
2797       --  to appear as component definitions. The semantics and back end handle
2798       --  this case properly, and the expander in fact generates such cases.
2799
2800       --  Although the syntax allows multiple identifiers in the list, the
2801       --  semantics is as though successive declarations were given with the
2802       --  same component definition and expression components. To simplify
2803       --  semantic processing, the parser represents a multiple declaration
2804       --  case as a sequence of single declarations, using the More_Ids and
2805       --  Prev_Ids flags to preserve the original source form as described
2806       --  in the section on "Handling of Defining Identifier Lists".
2807
2808       --  N_Component_Declaration
2809       --  Sloc points to first identifier
2810       --  Defining_Identifier (Node1)
2811       --  Component_Definition (Node4)
2812       --  Expression (Node3) (set to Empty if no default expression)
2813       --  More_Ids (Flag5) (set to False if no more identifiers in list)
2814       --  Prev_Ids (Flag6) (set to False if no previous identifiers in list)
2815
2816       -------------------------
2817       -- 3.8.1  Variant Part --
2818       -------------------------
2819
2820       --  VARIANT_PART ::=
2821       --    case discriminant_DIRECT_NAME is
2822       --      VARIANT
2823       --      {VARIANT}
2824       --    end case;
2825
2826       --  Note: the variants list can contain pragmas as well as variants.
2827       --  In a properly formed program there is at least one variant.
2828
2829       --  N_Variant_Part
2830       --  Sloc points to CASE
2831       --  Name (Node2)
2832       --  Variants (List1)
2833
2834       --------------------
2835       -- 3.8.1  Variant --
2836       --------------------
2837
2838       --  VARIANT ::=
2839       --    when DISCRETE_CHOICE_LIST =>
2840       --      COMPONENT_LIST
2841
2842       --  N_Variant
2843       --  Sloc points to WHEN
2844       --  Discrete_Choices (List4)
2845       --  Component_List (Node1)
2846       --  Enclosing_Variant (Node2-Sem)
2847       --  Present_Expr (Uint3-Sem)
2848       --  Dcheck_Function (Node5-Sem)
2849
2850       ---------------------------------
2851       -- 3.8.1  Discrete Choice List --
2852       ---------------------------------
2853
2854       --  DISCRETE_CHOICE_LIST ::= DISCRETE_CHOICE {| DISCRETE_CHOICE}
2855
2856       ----------------------------
2857       -- 3.8.1  Discrete Choice --
2858       ----------------------------
2859
2860       --  DISCRETE_CHOICE ::= EXPRESSION | DISCRETE_RANGE | others
2861
2862       --  Note: in Ada 83 mode, the expression must be a simple expression
2863
2864       --  The only choice that appears explicitly is the OTHERS choice, as
2865       --  defined here. Other cases of discrete choice (expression and
2866       --  discrete range) appear directly. This production is also used
2867       --  for the OTHERS possibility of an exception choice.
2868
2869       --  Note: in accordance with the syntax, the parser does not check that
2870       --  OTHERS appears at the end on its own in a choice list context. This
2871       --  is a semantic check.
2872
2873       --  N_Others_Choice
2874       --  Sloc points to OTHERS
2875       --  Others_Discrete_Choices (List1-Sem)
2876       --  All_Others (Flag11-Sem)
2877
2878       ----------------------------------
2879       -- 3.9.1  Record Extension Part --
2880       ----------------------------------
2881
2882       --  RECORD_EXTENSION_PART ::= with RECORD_DEFINITION
2883
2884       --  Note: record extension parts are not permitted in Ada 83 mode
2885
2886       --------------------------------------
2887       -- 3.9.4  Interface Type Definition --
2888       --------------------------------------
2889
2890       --  INTERFACE_TYPE_DEFINITION ::=
2891       --    [limited | task | protected | synchronized]
2892       --    interface [interface_list]
2893
2894       --  Note: Interfaces are implemented with N_Record_Definition and
2895       --        N_Derived_Type_Definition nodes because most of the support
2896       --        for the analysis of abstract types has been reused to
2897       --        analyze abstract interfaces.
2898
2899       ----------------------------------
2900       -- 3.10  Access Type Definition --
2901       ----------------------------------
2902
2903       --  ACCESS_TYPE_DEFINITION ::=
2904       --    ACCESS_TO_OBJECT_DEFINITION
2905       --  | ACCESS_TO_SUBPROGRAM_DEFINITION
2906
2907       --------------------------
2908       -- 3.10  Null Exclusion --
2909       --------------------------
2910
2911       --  NULL_EXCLUSION ::= not null
2912
2913       ---------------------------------------
2914       -- 3.10  Access To Object Definition --
2915       ---------------------------------------
2916
2917       --  ACCESS_TO_OBJECT_DEFINITION ::=
2918       --    [NULL_EXCLUSION] access [GENERAL_ACCESS_MODIFIER]
2919       --    SUBTYPE_INDICATION
2920
2921       --  N_Access_To_Object_Definition
2922       --  Sloc points to ACCESS
2923       --  All_Present (Flag15)
2924       --  Null_Exclusion_Present (Flag11)
2925       --  Subtype_Indication (Node5)
2926       --  Constant_Present (Flag17)
2927
2928       -----------------------------------
2929       -- 3.10  General Access Modifier --
2930       -----------------------------------
2931
2932       --  GENERAL_ACCESS_MODIFIER ::= all | constant
2933
2934       --  Note: general access modifiers are not permitted in Ada 83 mode
2935
2936       --  There is no explicit node in the tree for general access modifier.
2937       --  Instead the All_Present or Constant_Present flags are set in the
2938       --  parent node.
2939
2940       -------------------------------------------
2941       -- 3.10  Access To Subprogram Definition --
2942       -------------------------------------------
2943
2944       --  ACCESS_TO_SUBPROGRAM_DEFINITION
2945       --    [NULL_EXCLUSION] access [protected] procedure PARAMETER_PROFILE
2946       --  | [NULL_EXCLUSION] access [protected] function
2947       --    PARAMETER_AND_RESULT_PROFILE
2948
2949       --  Note: access to subprograms are not permitted in Ada 83 mode
2950
2951       --  N_Access_Function_Definition
2952       --  Sloc points to ACCESS
2953       --  Null_Exclusion_Present (Flag11)
2954       --  Null_Exclusion_In_Return_Present (Flag14)
2955       --  Protected_Present (Flag6)
2956       --  Parameter_Specifications (List3) (set to No_List if no formal part)
2957       --  Result_Definition (Node4) result subtype (subtype mark or access def)
2958
2959       --  N_Access_Procedure_Definition
2960       --  Sloc points to ACCESS
2961       --  Null_Exclusion_Present (Flag11)
2962       --  Protected_Present (Flag6)
2963       --  Parameter_Specifications (List3) (set to No_List if no formal part)
2964
2965       -----------------------------
2966       -- 3.10  Access Definition --
2967       -----------------------------
2968
2969       --  ACCESS_DEFINITION ::=
2970       --    [NULL_EXCLUSION] access [GENERAL_ACCESS_MODIFIER] SUBTYPE_MARK
2971       --  | ACCESS_TO_SUBPROGRAM_DEFINITION
2972
2973       --  Note: access to subprograms are an Ada 2005 (AI-254) extension
2974
2975       --  N_Access_Definition
2976       --  Sloc points to ACCESS
2977       --  Null_Exclusion_Present (Flag11)
2978       --  All_Present (Flag15)
2979       --  Constant_Present (Flag17)
2980       --  Subtype_Mark (Node4)
2981       --  Access_To_Subprogram_Definition (Node3) (set to Empty if not present)
2982
2983       -----------------------------------------
2984       -- 3.10.1  Incomplete Type Declaration --
2985       -----------------------------------------
2986
2987       --  INCOMPLETE_TYPE_DECLARATION ::=
2988       --    type DEFINING_IDENTIFIER [DISCRIMINANT_PART] [IS TAGGED];
2989
2990       --  N_Incomplete_Type_Declaration
2991       --  Sloc points to TYPE
2992       --  Defining_Identifier (Node1)
2993       --  Discriminant_Specifications (List4) (set to No_List if no
2994       --   discriminant part, or if the discriminant part is an
2995       --   unknown discriminant part)
2996       --  Unknown_Discriminants_Present (Flag13) set if (<>) discriminant
2997       --  Tagged_Present (Flag15)
2998
2999       ----------------------------
3000       -- 3.11  Declarative Part --
3001       ----------------------------
3002
3003       --  DECLARATIVE_PART ::= {DECLARATIVE_ITEM}
3004
3005       --  Note: although the parser enforces the syntactic requirement that
3006       --  a declarative part can contain only declarations, the semantic
3007       --  processing may add statements to the list of actions in a
3008       --  declarative part, so the code generator should be prepared
3009       --  to accept a statement in this position.
3010
3011       ----------------------------
3012       -- 3.11  Declarative Item --
3013       ----------------------------
3014
3015       --  DECLARATIVE_ITEM ::= BASIC_DECLARATIVE_ITEM | BODY
3016
3017       ----------------------------------
3018       -- 3.11  Basic Declarative Item --
3019       ----------------------------------
3020
3021       --  BASIC_DECLARATIVE_ITEM ::=
3022       --    BASIC_DECLARATION | REPRESENTATION_CLAUSE | USE_CLAUSE
3023
3024       ----------------
3025       -- 3.11  Body --
3026       ----------------
3027
3028       --  BODY ::= PROPER_BODY | BODY_STUB
3029
3030       -----------------------
3031       -- 3.11  Proper Body --
3032       -----------------------
3033
3034       --  PROPER_BODY ::=
3035       --    SUBPROGRAM_BODY | PACKAGE_BODY | TASK_BODY | PROTECTED_BODY
3036
3037       ---------------
3038       -- 4.1  Name --
3039       ---------------
3040
3041       --  NAME ::=
3042       --    DIRECT_NAME        | EXPLICIT_DEREFERENCE
3043       --  | INDEXED_COMPONENT  | SLICE
3044       --  | SELECTED_COMPONENT | ATTRIBUTE_REFERENCE
3045       --  | TYPE_CONVERSION    | FUNCTION_CALL
3046       --  | CHARACTER_LITERAL
3047
3048       ----------------------
3049       -- 4.1  Direct Name --
3050       ----------------------
3051
3052       --  DIRECT_NAME ::= IDENTIFIER | OPERATOR_SYMBOL
3053
3054       -----------------
3055       -- 4.1  Prefix --
3056       -----------------
3057
3058       --  PREFIX ::= NAME | IMPLICIT_DEREFERENCE
3059
3060       -------------------------------
3061       -- 4.1  Explicit Dereference --
3062       -------------------------------
3063
3064       --  EXPLICIT_DEREFERENCE ::= NAME . all
3065
3066       --  N_Explicit_Dereference
3067       --  Sloc points to ALL
3068       --  Prefix (Node3)
3069       --  Actual_Designated_Subtype (Node4-Sem)
3070       --  plus fields for expression
3071
3072       -------------------------------
3073       -- 4.1  Implicit Dereference --
3074       -------------------------------
3075
3076       --  IMPLICIT_DEREFERENCE ::= NAME
3077
3078       ------------------------------
3079       -- 4.1.1  Indexed Component --
3080       ------------------------------
3081
3082       --  INDEXED_COMPONENT ::= PREFIX (EXPRESSION {, EXPRESSION})
3083
3084       --  Note: the parser may generate this node in some situations where it
3085       --  should be a function call. The semantic  pass must correct this
3086       --  misidentification (which is inevitable at the parser level).
3087
3088       --  N_Indexed_Component
3089       --  Sloc contains a copy of the Sloc value of the Prefix
3090       --  Prefix (Node3)
3091       --  Expressions (List1)
3092       --  plus fields for expression
3093
3094       --  Note: if any of the subscripts requires a range check, then the
3095       --  Do_Range_Check flag is set on the corresponding expression, with
3096       --  the index type being determined from the type of the Prefix, which
3097       --  references the array being indexed.
3098
3099       --  Note: in a fully analyzed and expanded indexed component node, and
3100       --  hence in any such node that gigi sees, if the prefix is an access
3101       --  type, then an explicit dereference operation has been inserted.
3102
3103       ------------------
3104       -- 4.1.2  Slice --
3105       ------------------
3106
3107       --  SLICE ::= PREFIX (DISCRETE_RANGE)
3108
3109       --  Note: an implicit subtype is created to describe the resulting
3110       --  type, so that the bounds of this type are the bounds of the slice.
3111
3112       --  N_Slice
3113       --  Sloc points to first token of prefix
3114       --  Prefix (Node3)
3115       --  Discrete_Range (Node4)
3116       --  plus fields for expression
3117
3118       -------------------------------
3119       -- 4.1.3  Selected Component --
3120       -------------------------------
3121
3122       --  SELECTED_COMPONENT ::= PREFIX . SELECTOR_NAME
3123
3124       --  Note: selected components that are semantically expanded names get
3125       --  changed during semantic processing into the separate N_Expanded_Name
3126       --  node. See description of this node in the section on semantic nodes.
3127
3128       --  N_Selected_Component
3129       --  Sloc points to period
3130       --  Prefix (Node3)
3131       --  Selector_Name (Node2)
3132       --  Associated_Node (Node4-Sem)
3133       --  Do_Discriminant_Check (Flag13-Sem)
3134       --  Is_In_Discriminant_Check (Flag11-Sem)
3135       --  plus fields for expression
3136
3137       --------------------------
3138       -- 4.1.3  Selector Name --
3139       --------------------------
3140
3141       --  SELECTOR_NAME ::= IDENTIFIER | CHARACTER_LITERAL | OPERATOR_SYMBOL
3142
3143       --------------------------------
3144       -- 4.1.4  Attribute Reference --
3145       --------------------------------
3146
3147       --  ATTRIBUTE_REFERENCE ::= PREFIX ' ATTRIBUTE_DESIGNATOR
3148
3149       --  Note: the syntax is quite ambiguous at this point. Consider:
3150
3151       --    A'Length (X)  X is part of the attribute designator
3152       --    A'Pos (X)     X is an explicit actual parameter of function A'Pos
3153       --    A'Class (X)   X is the expression of a type conversion
3154
3155       --  It would be possible for the parser to distinguish these cases
3156       --  by looking at the attribute identifier. However, that would mean
3157       --  more work in introducing new implementation defined attributes,
3158       --  and also it would mean that special processing for attributes
3159       --  would be scattered around, instead of being centralized in the
3160       --  semantic routine that handles an N_Attribute_Reference node.
3161       --  Consequently, the parser in all the above cases stores the
3162       --  expression (X in these examples) as a single element list in
3163       --  in the Expressions field of the N_Attribute_Reference node.
3164
3165       --  Similarly, for attributes like Max which take two arguments,
3166       --  we store the two arguments as a two element list in the
3167       --  Expressions field. Of course it is clear at parse time that
3168       --  this case is really a function call with an attribute as the
3169       --  prefix, but it turns out to be convenient to handle the two
3170       --  argument case in a similar manner to the one argument case,
3171       --  and indeed in general the parser will accept any number of
3172       --  expressions in this position and store them as a list in the
3173       --  attribute reference node. This allows for future addition of
3174       --  attributes that take more than two arguments.
3175
3176       --  Note: named associates are not permitted in function calls where
3177       --  the function is an attribute (see RM 6.4(3)) so it is legitimate
3178       --  to skip the normal subprogram argument processing.
3179
3180       --  Note: for the attributes whose designators are technically keywords,
3181       --  i.e. digits, access, delta, range, the Attribute_Name field contains
3182       --  the corresponding name, even though no identifier is involved.
3183
3184       --  Note: the generated code may contain stream attributes applied to
3185       --  limited types for which no stream routines exist officially. In such
3186       --  case, the result is to use the stream attribute for the underlying
3187       --  full type, or in the case of a protected type, the components
3188       --  (including any discriminants) are merely streamed in order.
3189
3190       --  See Exp_Attr for a complete description of which attributes are
3191       --  passed onto Gigi, and which are handled entirely by the front end.
3192
3193       --  Gigi restriction: For the Pos attribute, the prefix cannot be
3194       --  a non-standard enumeration type or a nonzero/zero semantics
3195       --  boolean type, so the value is simply the stored representation.
3196
3197       --  Gigi requirement: For the Mechanism_Code attribute, if the prefix
3198       --  references a subprogram that is a renaming, then the front end must
3199       --  rewrite the attribute to refer directly to the renamed entity.
3200
3201       --  Note: In generated code, the Address and Unrestricted_Access
3202       --  attributes can be applied to any expression, and the meaning is
3203       --  to create an object containing the value (the object is in the
3204       --  current stack frame), and pass the address of this value. If the
3205       --  Must_Be_Byte_Aligned flag is set, then the object whose address
3206       --  is taken must be on a byte (storage unit) boundary, and if it is
3207       --  not (or may not be), then the generated code must create a copy
3208       --  that is byte aligned, and pass the address of this copy.
3209
3210       --  N_Attribute_Reference
3211       --  Sloc points to apostrophe
3212       --  Prefix (Node3)
3213       --  Attribute_Name (Name2) identifier name from attribute designator
3214       --  Expressions (List1) (set to No_List if no associated expressions)
3215       --  Entity (Node4-Sem) used if the attribute yields a type
3216       --  Associated_Node (Node4-Sem)
3217       --  Do_Overflow_Check (Flag17-Sem)
3218       --  Redundant_Use (Flag13-Sem)
3219       --  Must_Be_Byte_Aligned (Flag14)
3220       --  plus fields for expression
3221
3222       ---------------------------------
3223       -- 4.1.4  Attribute Designator --
3224       ---------------------------------
3225
3226       --  ATTRIBUTE_DESIGNATOR ::=
3227       --    IDENTIFIER [(static_EXPRESSION)]
3228       --  | access | delta | digits
3229
3230       --  There is no explicit node in the tree for an attribute designator.
3231       --  Instead the Attribute_Name and Expressions fields of the parent
3232       --  node (N_Attribute_Reference node) hold the information.
3233
3234       --  Note: if ACCESS, DELTA or DIGITS appears in an attribute
3235       --  designator, then they are treated as identifiers internally
3236       --  rather than the keywords of the same name.
3237
3238       --------------------------------------
3239       -- 4.1.4  Range Attribute Reference --
3240       --------------------------------------
3241
3242       --  RANGE_ATTRIBUTE_REFERENCE ::= PREFIX ' RANGE_ATTRIBUTE_DESIGNATOR
3243
3244       --  A range attribute reference is represented in the tree using the
3245       --  normal N_Attribute_Reference node.
3246
3247       ---------------------------------------
3248       -- 4.1.4  Range Attribute Designator --
3249       ---------------------------------------
3250
3251       --  RANGE_ATTRIBUTE_DESIGNATOR ::= Range [(static_EXPRESSION)]
3252
3253       --  A range attribute designator is represented in the tree using the
3254       --  normal N_Attribute_Reference node.
3255
3256       --------------------
3257       -- 4.3  Aggregate --
3258       --------------------
3259
3260       --  AGGREGATE ::=
3261       --    RECORD_AGGREGATE | EXTENSION_AGGREGATE | ARRAY_AGGREGATE
3262
3263       -----------------------------
3264       -- 4.3.1  Record Aggregate --
3265       -----------------------------
3266
3267       --  RECORD_AGGREGATE ::= (RECORD_COMPONENT_ASSOCIATION_LIST)
3268
3269       --  N_Aggregate
3270       --  Sloc points to left parenthesis
3271       --  Expressions (List1) (set to No_List if none or null record case)
3272       --  Component_Associations (List2) (set to No_List if none)
3273       --  Null_Record_Present (Flag17)
3274       --  Aggregate_Bounds (Node3-Sem)
3275       --  Associated_Node (Node4-Sem)
3276       --  Static_Processing_OK (Flag4-Sem)
3277       --  Compile_Time_Known_Aggregate (Flag18-Sem)
3278       --  Expansion_Delayed (Flag11-Sem)
3279       --  Has_Self_Reference (Flag13-Sem)
3280       --  plus fields for expression
3281
3282       --  Note: this structure is used for both record and array aggregates
3283       --  since the two cases are not separable by the parser. The parser
3284       --  makes no attempt to enforce consistency here, so it is up to the
3285       --  semantic phase to make sure that the aggregate is consistent (i.e.
3286       --  that it is not a "half-and-half" case that mixes record and array
3287       --  syntax. In particular, for a record aggregate, the expressions
3288       --  field will be set if there are positional associations.
3289
3290       --  Note: N_Aggregate is not used for all aggregates; in particular,
3291       --  there is a separate node kind for extension aggregates.
3292
3293       --  Note: gigi/gcc can handle array aggregates correctly providing that
3294       --  they are entirely positional, and the array subtype involved has a
3295       --  known at compile time length and is not bit packed, or a convention
3296       --  Fortran array with more than one dimension. If these conditions
3297       --  are not met, then the front end must translate the aggregate into
3298       --  an appropriate set of assignments into a temporary.
3299
3300       --  Note: for the record aggregate case, gigi/gcc can handle all cases of
3301       --  record aggregates, including those for packed, and rep-claused
3302       --  records, and also variant records, providing that there are no
3303       --  variable length fields whose size is not known at compile time, and
3304       --  providing that the aggregate is presented in fully named form.
3305
3306       ----------------------------------------------
3307       -- 4.3.1  Record Component Association List --
3308       ----------------------------------------------
3309
3310       --  RECORD_COMPONENT_ASSOCIATION_LIST ::=
3311       --     RECORD_COMPONENT_ASSOCIATION {, RECORD_COMPONENT_ASSOCIATION}
3312       --   | null record
3313
3314       --  There is no explicit node in the tree for a record component
3315       --  association list. Instead the Null_Record_Present flag is set in
3316       --  the parent node for the NULL RECORD case.
3317
3318       ------------------------------------------------------
3319       -- 4.3.1  Record Component Association (also 4.3.3) --
3320       ------------------------------------------------------
3321
3322       --  RECORD_COMPONENT_ASSOCIATION ::=
3323       --    [COMPONENT_CHOICE_LIST =>] EXPRESSION
3324
3325       --  N_Component_Association
3326       --  Sloc points to first selector name
3327       --  Choices (List1)
3328       --  Loop_Actions (List2-Sem)
3329       --  Expression (Node3)
3330       --  Box_Present (Flag15)
3331
3332       --  Note: this structure is used for both record component associations
3333       --  and array component associations, since the two cases aren't always
3334       --  separable by the parser. The choices list may represent either a
3335       --  list of selector names in the record aggregate case, or a list of
3336       --  discrete choices in the array aggregate case or an N_Others_Choice
3337       --  node (which appears as a singleton list). Box_Present gives support
3338       --  to Ada 2005 (AI-287).
3339
3340       ----------------------------------
3341       -- 4.3.1  Component Choice List --
3342       ----------------------------------
3343
3344       --  COMPONENT_CHOICE_LIST ::=
3345       --    component_SELECTOR_NAME {| component_SELECTOR_NAME}
3346       --  | others
3347
3348       --  The entries of a component choice list appear in the Choices list of
3349       --  the associated N_Component_Association, as either selector names, or
3350       --  as an N_Others_Choice node.
3351
3352       --------------------------------
3353       -- 4.3.2  Extension Aggregate --
3354       --------------------------------
3355
3356       --  EXTENSION_AGGREGATE ::=
3357       --    (ANCESTOR_PART with RECORD_COMPONENT_ASSOCIATION_LIST)
3358
3359       --  Note: extension aggregates are not permitted in Ada 83 mode
3360
3361       --  N_Extension_Aggregate
3362       --  Sloc points to left parenthesis
3363       --  Ancestor_Part (Node3)
3364       --  Associated_Node (Node4-Sem)
3365       --  Expressions (List1) (set to No_List if none or null record case)
3366       --  Component_Associations (List2) (set to No_List if none)
3367       --  Null_Record_Present (Flag17)
3368       --  Expansion_Delayed (Flag11-Sem)
3369       --  Has_Self_Reference (Flag13-Sem)
3370       --  plus fields for expression
3371
3372       --------------------------
3373       -- 4.3.2  Ancestor Part --
3374       --------------------------
3375
3376       --  ANCESTOR_PART ::= EXPRESSION | SUBTYPE_MARK
3377
3378       ----------------------------
3379       -- 4.3.3  Array Aggregate --
3380       ----------------------------
3381
3382       --  ARRAY_AGGREGATE ::=
3383       --    POSITIONAL_ARRAY_AGGREGATE | NAMED_ARRAY_AGGREGATE
3384
3385       ---------------------------------------
3386       -- 4.3.3  Positional Array Aggregate --
3387       ---------------------------------------
3388
3389       --  POSITIONAL_ARRAY_AGGREGATE ::=
3390       --    (EXPRESSION, EXPRESSION {, EXPRESSION})
3391       --  | (EXPRESSION {, EXPRESSION}, others => EXPRESSION)
3392
3393       --  See Record_Aggregate (4.3.1) for node structure
3394
3395       ----------------------------------
3396       -- 4.3.3  Named Array Aggregate --
3397       ----------------------------------
3398
3399       --  NAMED_ARRAY_AGGREGATE ::=
3400       --  | (ARRAY_COMPONENT_ASSOCIATION {, ARRAY_COMPONENT_ASSOCIATION})
3401
3402       --  See Record_Aggregate (4.3.1) for node structure
3403
3404       ----------------------------------------
3405       -- 4.3.3  Array Component Association --
3406       ----------------------------------------
3407
3408       --  ARRAY_COMPONENT_ASSOCIATION ::=
3409       --    DISCRETE_CHOICE_LIST => EXPRESSION
3410
3411       --  See Record_Component_Association (4.3.1) for node structure
3412
3413       --------------------------------------------------
3414       -- 4.4  Expression/Relation/Term/Factor/Primary --
3415       --------------------------------------------------
3416
3417       --  EXPRESSION ::=
3418       --    RELATION {and RELATION} | RELATION {and then RELATION}
3419       --  | RELATION {or RELATION}  | RELATION {or else RELATION}
3420       --  | RELATION {xor RELATION}
3421
3422       --  RELATION ::=
3423       --    SIMPLE_EXPRESSION [RELATIONAL_OPERATOR SIMPLE_EXPRESSION]
3424       --  | SIMPLE_EXPRESSION [not] in RANGE
3425       --  | SIMPLE_EXPRESSION [not] in SUBTYPE_MARK
3426
3427       --  SIMPLE_EXPRESSION ::=
3428       --    [UNARY_ADDING_OPERATOR] TERM {BINARY_ADDING_OPERATOR TERM}
3429
3430       --  TERM ::= FACTOR {MULTIPLYING_OPERATOR FACTOR}
3431
3432       --  FACTOR ::= PRIMARY [** PRIMARY] | abs PRIMARY | not PRIMARY
3433
3434       --  No nodes are generated for any of these constructs. Instead, the
3435       --  node for the operator appears directly. When we refer to an
3436       --  expression in this description, we mean any of the possible
3437       --  constituent components of an expression (e.g. identifier is
3438       --  an example of an expression).
3439
3440       ------------------
3441       -- 4.4  Primary --
3442       ------------------
3443
3444       --  PRIMARY ::=
3445       --    NUMERIC_LITERAL  | null
3446       --  | STRING_LITERAL   | AGGREGATE
3447       --  | NAME             | QUALIFIED_EXPRESSION
3448       --  | ALLOCATOR        | (EXPRESSION)
3449
3450       --  Usually there is no explicit node in the tree for primary. Instead
3451       --  the constituent (e.g. AGGREGATE) appears directly. There are two
3452       --  exceptions. First, there is an explicit node for a null primary.
3453
3454       --  N_Null
3455       --  Sloc points to NULL
3456       --  plus fields for expression
3457
3458       --  Second, the case of (EXPRESSION) is handled specially. Ada requires
3459       --  that the parser keep track of which subexpressions are enclosed
3460       --  in parentheses, and how many levels of parentheses are used. This
3461       --  information is required for optimization purposes, and also for
3462       --  some semantic checks (e.g. (((1))) in a procedure spec does not
3463       --  conform with ((((1)))) in the body).
3464
3465       --  The parentheses are recorded by keeping a Paren_Count field in every
3466       --  subexpression node (it is actually present in all nodes, but only
3467       --  used in subexpression nodes). This count records the number of
3468       --  levels of parentheses. If the number of levels in the source exceeds
3469       --  the maximum accommodated by this count, then the count is simply left
3470       --  at the maximum value. This means that there are some pathological
3471       --  cases of failure to detect conformance failures (e.g. an expression
3472       --  with 500 levels of parens will conform with one with 501 levels),
3473       --  but we do not need to lose sleep over this.
3474
3475       --  Historical note: in versions of GNAT prior to 1.75, there was a node
3476       --  type N_Parenthesized_Expression used to accurately record unlimited
3477       --  numbers of levels of parentheses. However, it turned out to be a
3478       --  real nuisance to have to take into account the possible presence of
3479       --  this node during semantic analysis, since basically parentheses have
3480       --  zero relevance to semantic analysis.
3481
3482       --  Note: the level of parentheses always present in things like
3483       --  aggregates does not count, only the parentheses in the primary
3484       --  (EXPRESSION) affect the setting of the Paren_Count field.
3485
3486       --  2nd Note: the contents of the Expression field must be ignored (i.e.
3487       --  treated as though it were Empty) if No_Initialization is set True.
3488
3489       --------------------------------------
3490       -- 4.5  Short Circuit Control Forms --
3491       --------------------------------------
3492
3493       --  EXPRESSION ::=
3494       --    RELATION {and then RELATION} | RELATION {or else RELATION}
3495
3496       --  Gigi restriction: For both these control forms, the operand and
3497       --  result types are always Standard.Boolean. The expander inserts the
3498       --  required conversion operations where needed to ensure this is the
3499       --  case.
3500
3501       --  N_And_Then
3502       --  Sloc points to AND of AND THEN
3503       --  Left_Opnd (Node2)
3504       --  Right_Opnd (Node3)
3505       --  Actions (List1-Sem)
3506       --  plus fields for expression
3507
3508       --  N_Or_Else
3509       --  Sloc points to OR of OR ELSE
3510       --  Left_Opnd (Node2)
3511       --  Right_Opnd (Node3)
3512       --  Actions (List1-Sem)
3513       --  plus fields for expression
3514
3515       --  Note: The Actions field is used to hold actions associated with
3516       --  the right hand operand. These have to be treated specially since
3517       --  they are not unconditionally executed. See Insert_Actions for a
3518       --  more detailed description of how these actions are handled.
3519
3520       ---------------------------
3521       -- 4.5  Membership Tests --
3522       ---------------------------
3523
3524       --  RELATION ::=
3525       --    SIMPLE_EXPRESSION [not] in RANGE
3526       --  | SIMPLE_EXPRESSION [not] in SUBTYPE_MARK
3527
3528       --  Note: although the grammar above allows only a range or a subtype
3529       --  mark, the parser in fact will accept any simple expression in place
3530       --  of a subtype mark. This means that the semantic analyzer must be able
3531       --  to deal with, and diagnose a simple expression other than a name for
3532       --  the right operand. This simplifies error recovery in the parser.
3533
3534       --  If extensions are enabled, the grammar is as follows:
3535
3536       --  RELATION ::=
3537       --    SIMPLE_EXPRESSION [not] in SET_ALTERNATIVE {| SET_ALTERNATIVE}
3538
3539       --  SET_ALTERNATIVE ::= RANGE | SUBTYPE_MARK
3540
3541       --  The Alternatives field below is present only if there is more than
3542       --  one Set_Alternative present, in which case Right_Opnd is set to
3543       --  Empty, and Alternatives contains the list of alternatives. In the
3544       --  tree passed to the back end, Alternatives is always No_List, and
3545       --  Right_Opnd is set (i.e. the expansion circuitry expands out the
3546       --  complex set membership case using simple membership operations).
3547
3548       --  N_In
3549       --  Sloc points to IN
3550       --  Left_Opnd (Node2)
3551       --  Right_Opnd (Node3)
3552       --  Alternatives (List4) (set to No_List if only one set alternative)
3553       --  plus fields for expression
3554
3555       --  N_Not_In
3556       --  Sloc points to NOT of NOT IN
3557       --  Left_Opnd (Node2)
3558       --  Right_Opnd (Node3)
3559       --  Alternatives (List4) (set to No_List if only one set alternative)
3560       --  plus fields for expression
3561
3562       --------------------
3563       -- 4.5  Operators --
3564       --------------------
3565
3566       --  LOGICAL_OPERATOR             ::=  and | or  | xor
3567
3568       --  RELATIONAL_OPERATOR          ::=  =   | /=  | <   | <= | > | >=
3569
3570       --  BINARY_ADDING_OPERATOR       ::=  +   |  -  | &
3571
3572       --  UNARY_ADDING_OPERATOR        ::=  +   |  -
3573
3574       --  MULTIPLYING_OPERATOR         ::=  *   |  /  | mod | rem
3575
3576       --  HIGHEST_PRECEDENCE_OPERATOR  ::=  **  | abs | not
3577
3578       --  Sprint syntax if Treat_Fixed_As_Integer is set:
3579
3580       --     x #* y
3581       --     x #/ y
3582       --     x #mod y
3583       --     x #rem y
3584
3585       --  Gigi restriction: For * / mod rem with fixed-point operands, Gigi
3586       --  will only be given nodes with the Treat_Fixed_As_Integer flag set.
3587       --  All handling of smalls for multiplication and division is handled
3588       --  by the front end (mod and rem result only from expansion). Gigi
3589       --  thus never needs to worry about small values (for other operators
3590       --  operating on fixed-point, e.g. addition, the small value does not
3591       --  have any semantic effect anyway, these are always integer operations.
3592
3593       --  Gigi restriction: For all operators taking Boolean operands, the
3594       --  type is always Standard.Boolean. The expander inserts the required
3595       --  conversion operations where needed to ensure this is the case.
3596
3597       --  N_Op_And
3598       --  Sloc points to AND
3599       --  Do_Length_Check (Flag4-Sem)
3600       --  plus fields for binary operator
3601       --  plus fields for expression
3602
3603       --  N_Op_Or
3604       --  Sloc points to OR
3605       --  Do_Length_Check (Flag4-Sem)
3606       --  plus fields for binary operator
3607       --  plus fields for expression
3608
3609       --  N_Op_Xor
3610       --  Sloc points to XOR
3611       --  Do_Length_Check (Flag4-Sem)
3612       --  plus fields for binary operator
3613       --  plus fields for expression
3614
3615       --  N_Op_Eq
3616       --  Sloc points to =
3617       --  plus fields for binary operator
3618       --  plus fields for expression
3619
3620       --  N_Op_Ne
3621       --  Sloc points to /=
3622       --  plus fields for binary operator
3623       --  plus fields for expression
3624
3625       --  N_Op_Lt
3626       --  Sloc points to <
3627       --  plus fields for binary operator
3628       --  plus fields for expression
3629
3630       --  N_Op_Le
3631       --  Sloc points to <=
3632       --  plus fields for binary operator
3633       --  plus fields for expression
3634
3635       --  N_Op_Gt
3636       --  Sloc points to >
3637       --  plus fields for binary operator
3638       --  plus fields for expression
3639
3640       --  N_Op_Ge
3641       --  Sloc points to >=
3642       --  plus fields for binary operator
3643       --  plus fields for expression
3644
3645       --  N_Op_Add
3646       --  Sloc points to + (binary)
3647       --  plus fields for binary operator
3648       --  plus fields for expression
3649
3650       --  N_Op_Subtract
3651       --  Sloc points to - (binary)
3652       --  plus fields for binary operator
3653       --  plus fields for expression
3654
3655       --  N_Op_Concat
3656       --  Sloc points to &
3657       --  Is_Component_Left_Opnd (Flag13-Sem)
3658       --  Is_Component_Right_Opnd (Flag14-Sem)
3659       --  plus fields for binary operator
3660       --  plus fields for expression
3661
3662       --  N_Op_Multiply
3663       --  Sloc points to *
3664       --  Treat_Fixed_As_Integer (Flag14-Sem)
3665       --  Rounded_Result (Flag18-Sem)
3666       --  plus fields for binary operator
3667       --  plus fields for expression
3668
3669       --  N_Op_Divide
3670       --  Sloc points to /
3671       --  Treat_Fixed_As_Integer (Flag14-Sem)
3672       --  Do_Division_Check (Flag13-Sem)
3673       --  Rounded_Result (Flag18-Sem)
3674       --  plus fields for binary operator
3675       --  plus fields for expression
3676
3677       --  N_Op_Mod
3678       --  Sloc points to MOD
3679       --  Treat_Fixed_As_Integer (Flag14-Sem)
3680       --  Do_Division_Check (Flag13-Sem)
3681       --  plus fields for binary operator
3682       --  plus fields for expression
3683
3684       --  N_Op_Rem
3685       --  Sloc points to REM
3686       --  Treat_Fixed_As_Integer (Flag14-Sem)
3687       --  Do_Division_Check (Flag13-Sem)
3688       --  plus fields for binary operator
3689       --  plus fields for expression
3690
3691       --  N_Op_Expon
3692       --  Is_Power_Of_2_For_Shift (Flag13-Sem)
3693       --  Sloc points to **
3694       --  plus fields for binary operator
3695       --  plus fields for expression
3696
3697       --  N_Op_Plus
3698       --  Sloc points to + (unary)
3699       --  plus fields for unary operator
3700       --  plus fields for expression
3701
3702       --  N_Op_Minus
3703       --  Sloc points to - (unary)
3704       --  plus fields for unary operator
3705       --  plus fields for expression
3706
3707       --  N_Op_Abs
3708       --  Sloc points to ABS
3709       --  plus fields for unary operator
3710       --  plus fields for expression
3711
3712       --  N_Op_Not
3713       --  Sloc points to NOT
3714       --  plus fields for unary operator
3715       --  plus fields for expression
3716
3717       --  See also shift operators in section B.2
3718
3719       --  Note on fixed-point operations passed to Gigi: For adding operators,
3720       --  the semantics is to treat these simply as integer operations, with
3721       --  the small values being ignored (the bounds are already stored in
3722       --  units of small, so that constraint checking works as usual). For the
3723       --  case of multiply/divide/rem/mod operations, Gigi will only see fixed
3724       --  point operands if the Treat_Fixed_As_Integer flag is set and will
3725       --  thus treat these nodes in identical manner, ignoring small values.
3726
3727       --------------------------
3728       -- 4.6  Type Conversion --
3729       --------------------------
3730
3731       --  TYPE_CONVERSION ::=
3732       --    SUBTYPE_MARK (EXPRESSION) | SUBTYPE_MARK (NAME)
3733
3734       --  In the (NAME) case, the name is stored as the expression
3735
3736       --  Note: the parser never generates a type conversion node, since it
3737       --  looks like an indexed component which is generated by preference.
3738       --  The semantic pass must correct this misidentification.
3739
3740       --  Gigi handles conversions that involve no change in the root type,
3741       --  and also all conversions from integer to floating-point types.
3742       --  Conversions from floating-point to integer are only handled in
3743       --  the case where Float_Truncate flag set. Other conversions from
3744       --  floating-point to integer (involving rounding) and all conversions
3745       --  involving fixed-point types are handled by the expander.
3746
3747       --  Sprint syntax if Float_Truncate set: X^(Y)
3748       --  Sprint syntax if Conversion_OK set X?(Y)
3749       --  Sprint syntax if both flags set X?^(Y)
3750
3751       --  Note: If either the operand or result type is fixed-point, Gigi will
3752       --  only see a type conversion node with Conversion_OK set. The front end
3753       --  takes care of all handling of small's for fixed-point conversions.
3754
3755       --  N_Type_Conversion
3756       --  Sloc points to first token of subtype mark
3757       --  Subtype_Mark (Node4)
3758       --  Expression (Node3)
3759       --  Do_Tag_Check (Flag13-Sem)
3760       --  Do_Length_Check (Flag4-Sem)
3761       --  Do_Overflow_Check (Flag17-Sem)
3762       --  Float_Truncate (Flag11-Sem)
3763       --  Rounded_Result (Flag18-Sem)
3764       --  Conversion_OK (Flag14-Sem)
3765       --  plus fields for expression
3766
3767       --  Note: if a range check is required, then the Do_Range_Check flag
3768       --  is set in the Expression with the check being done against the
3769       --  target type range (after the base type conversion, if any).
3770
3771       -------------------------------
3772       -- 4.7  Qualified Expression --
3773       -------------------------------
3774
3775       --  QUALIFIED_EXPRESSION ::=
3776       --    SUBTYPE_MARK ' (EXPRESSION) | SUBTYPE_MARK ' AGGREGATE
3777
3778       --  Note: the parentheses in the (EXPRESSION) case are deemed to enclose
3779       --  the expression, so the Expression field of this node always points
3780       --  to a parenthesized expression in this case (i.e. Paren_Count will
3781       --  always be non-zero for the referenced expression if it is not an
3782       --  aggregate).
3783
3784       --  N_Qualified_Expression
3785       --  Sloc points to apostrophe
3786       --  Subtype_Mark (Node4)
3787       --  Expression (Node3) expression or aggregate
3788       --  plus fields for expression
3789
3790       --------------------
3791       -- 4.8  Allocator --
3792       --------------------
3793
3794       --  ALLOCATOR ::=
3795       --    new [NULL_EXCLUSION] SUBTYPE_INDICATION | new QUALIFIED_EXPRESSION
3796
3797       --  Sprint syntax (when storage pool present)
3798       --    new xxx (storage_pool = pool)
3799
3800       --  N_Allocator
3801       --  Sloc points to NEW
3802       --  Expression (Node3) subtype indication or qualified expression
3803       --  Storage_Pool (Node1-Sem)
3804       --  Procedure_To_Call (Node2-Sem)
3805       --  Coextensions (Elist4-Sem)
3806       --  Null_Exclusion_Present (Flag11)
3807       --  No_Initialization (Flag13-Sem)
3808       --  Is_Static_Coextension (Flag14-Sem)
3809       --  Do_Storage_Check (Flag17-Sem)
3810       --  Is_Dynamic_Coextension (Flag18-Sem)
3811       --  plus fields for expression
3812
3813       --  Note: like all nodes, the N_Allocator has the Comes_From_Source flag.
3814       --  This flag has a special function in conjunction with the restriction
3815       --  No_Implicit_Heap_Allocations, which will be triggered if this flag
3816       --  is not set. This means that if a source allocator is replaced with
3817       --  a constructed allocator, the Comes_From_Source flag should be copied
3818       --  to the newly created allocator.
3819
3820       ---------------------------------
3821       -- 5.1  Sequence Of Statements --
3822       ---------------------------------
3823
3824       --  SEQUENCE_OF_STATEMENTS ::= STATEMENT {STATEMENT}
3825
3826       --  Note: Although the parser will not accept a declaration as a
3827       --  statement, the semantic analyzer may insert declarations (e.g.
3828       --  declarations of implicit types needed for execution of other
3829       --  statements) into a sequence of statements, so the code generator
3830       --  should be prepared to accept a declaration where a statement is
3831       --  expected. Note also that pragmas can appear as statements.
3832
3833       --------------------
3834       -- 5.1  Statement --
3835       --------------------
3836
3837       --  STATEMENT ::=
3838       --    {LABEL} SIMPLE_STATEMENT | {LABEL} COMPOUND_STATEMENT
3839
3840       --  There is no explicit node in the tree for a statement. Instead, the
3841       --  individual statement appears directly. Labels are treated  as a
3842       --  kind of statement, i.e. they are linked into a statement list at
3843       --  the point they appear, so the labeled statement appears following
3844       --  the label or labels in the statement list.
3845
3846       ---------------------------
3847       -- 5.1  Simple Statement --
3848       ---------------------------
3849
3850       --  SIMPLE_STATEMENT ::=        NULL_STATEMENT
3851       --  | ASSIGNMENT_STATEMENT    | EXIT_STATEMENT
3852       --  | GOTO_STATEMENT          | PROCEDURE_CALL_STATEMENT
3853       --  | SIMPLE_RETURN_STATEMENT | ENTRY_CALL_STATEMENT
3854       --  | REQUEUE_STATEMENT       | DELAY_STATEMENT
3855       --  | ABORT_STATEMENT         | RAISE_STATEMENT
3856       --  | CODE_STATEMENT
3857
3858       -----------------------------
3859       -- 5.1  Compound Statement --
3860       -----------------------------
3861
3862       --  COMPOUND_STATEMENT ::=
3863       --    IF_STATEMENT              | CASE_STATEMENT
3864       --  | LOOP_STATEMENT            | BLOCK_STATEMENT
3865       --  | EXTENDED_RETURN_STATEMENT
3866       --  | ACCEPT_STATEMENT          | SELECT_STATEMENT
3867
3868       -------------------------
3869       -- 5.1  Null Statement --
3870       -------------------------
3871
3872       --  NULL_STATEMENT ::= null;
3873
3874       --  N_Null_Statement
3875       --  Sloc points to NULL
3876
3877       ----------------
3878       -- 5.1  Label --
3879       ----------------
3880
3881       --  LABEL ::= <<label_STATEMENT_IDENTIFIER>>
3882
3883       --  Note that the occurrence of a label is not a defining identifier,
3884       --  but rather a referencing occurrence. The defining occurrence is
3885       --  in the implicit label declaration which occurs in the innermost
3886       --  enclosing block.
3887
3888       --  N_Label
3889       --  Sloc points to <<
3890       --  Identifier (Node1) direct name of statement identifier
3891       --  Exception_Junk (Flag8-Sem)
3892
3893       -------------------------------
3894       -- 5.1  Statement Identifier --
3895       -------------------------------
3896
3897       --  STATEMENT_IDENTIFIER ::= DIRECT_NAME
3898
3899       --  The IDENTIFIER of a STATEMENT_IDENTIFIER shall be an identifier
3900       --  (not an OPERATOR_SYMBOL)
3901
3902       -------------------------------
3903       -- 5.2  Assignment Statement --
3904       -------------------------------
3905
3906       --  ASSIGNMENT_STATEMENT ::=
3907       --    variable_NAME := EXPRESSION;
3908
3909       --  N_Assignment_Statement
3910       --  Sloc points to :=
3911       --  Name (Node2)
3912       --  Expression (Node3)
3913       --  Do_Tag_Check (Flag13-Sem)
3914       --  Do_Length_Check (Flag4-Sem)
3915       --  Forwards_OK (Flag5-Sem)
3916       --  Backwards_OK (Flag6-Sem)
3917       --  No_Ctrl_Actions (Flag7-Sem)
3918       --  Componentwise_Assignment (Flag14-Sem)
3919
3920       --  Note: if a range check is required, then the Do_Range_Check flag
3921       --  is set in the Expression (right hand side), with the check being
3922       --  done against the type of the Name (left hand side).
3923
3924       --  Note: the back end places some restrictions on the form of the
3925       --  Expression field. If the object being assigned to is Atomic, then
3926       --  the Expression may not have the form of an aggregate (since this
3927       --  might cause the back end to generate separate assignments). In this
3928       --  case the front end must generate an extra temporary and initialize
3929       --  this temporary as required (the temporary itself is not atomic).
3930
3931       -----------------------
3932       -- 5.3  If Statement --
3933       -----------------------
3934
3935       --  IF_STATEMENT ::=
3936       --    if CONDITION then
3937       --      SEQUENCE_OF_STATEMENTS
3938       --    {elsif CONDITION then
3939       --      SEQUENCE_OF_STATEMENTS}
3940       --    [else
3941       --      SEQUENCE_OF_STATEMENTS]
3942       --    end if;
3943
3944       --  Gigi restriction: This expander ensures that the type of the
3945       --  Condition fields is always Standard.Boolean, even if the type
3946       --  in the source is some non-standard boolean type.
3947
3948       --  N_If_Statement
3949       --  Sloc points to IF
3950       --  Condition (Node1)
3951       --  Then_Statements (List2)
3952       --  Elsif_Parts (List3) (set to No_List if none present)
3953       --  Else_Statements (List4) (set to No_List if no else part present)
3954       --  End_Span (Uint5) (set to No_Uint if expander generated)
3955
3956       --  N_Elsif_Part
3957       --  Sloc points to ELSIF
3958       --  Condition (Node1)
3959       --  Then_Statements (List2)
3960       --  Condition_Actions (List3-Sem)
3961
3962       --------------------
3963       -- 5.3  Condition --
3964       --------------------
3965
3966       --  CONDITION ::= boolean_EXPRESSION
3967
3968       -------------------------
3969       -- 5.4  Case Statement --
3970       -------------------------
3971
3972       --  CASE_STATEMENT ::=
3973       --    case EXPRESSION is
3974       --      CASE_STATEMENT_ALTERNATIVE
3975       --      {CASE_STATEMENT_ALTERNATIVE}
3976       --    end case;
3977
3978       --  Note: the Alternatives can contain pragmas. These only occur at
3979       --  the start of the list, since any pragmas occurring after the first
3980       --  alternative are absorbed into the corresponding statement sequence.
3981
3982       --  N_Case_Statement
3983       --  Sloc points to CASE
3984       --  Expression (Node3)
3985       --  Alternatives (List4)
3986       --  End_Span (Uint5) (set to No_Uint if expander generated)
3987
3988       -------------------------------------
3989       -- 5.4  Case Statement Alternative --
3990       -------------------------------------
3991
3992       --  CASE_STATEMENT_ALTERNATIVE ::=
3993       --    when DISCRETE_CHOICE_LIST =>
3994       --      SEQUENCE_OF_STATEMENTS
3995
3996       --  N_Case_Statement_Alternative
3997       --  Sloc points to WHEN
3998       --  Discrete_Choices (List4)
3999       --  Statements (List3)
4000
4001       -------------------------
4002       -- 5.5  Loop Statement --
4003       -------------------------
4004
4005       --  LOOP_STATEMENT ::=
4006       --    [loop_STATEMENT_IDENTIFIER :]
4007       --      [ITERATION_SCHEME] loop
4008       --        SEQUENCE_OF_STATEMENTS
4009       --      end loop [loop_IDENTIFIER];
4010
4011       --  Note: The occurrence of a loop label is not a defining identifier
4012       --  but rather a referencing occurrence. The defining occurrence is in
4013       --  the implicit label declaration which occurs in the innermost
4014       --  enclosing block.
4015
4016       --  Note: there is always a loop statement identifier present in
4017       --  the tree, even if none was given in the source. In the case where
4018       --  no loop identifier is given in the source, the parser creates
4019       --  a name of the form _Loop_n, where n is a decimal integer (the
4020       --  two underlines ensure that the loop names created in this manner
4021       --  do not conflict with any user defined identifiers), and the flag
4022       --  Has_Created_Identifier is set to True. The only exception to the
4023       --  rule that all loop statement nodes have identifiers occurs for
4024       --  loops constructed by the expander, and the semantic analyzer will
4025       --  create and supply dummy loop identifiers in these cases.
4026
4027       --  N_Loop_Statement
4028       --  Sloc points to LOOP
4029       --  Identifier (Node1) loop identifier (set to Empty if no identifier)
4030       --  Iteration_Scheme (Node2) (set to Empty if no iteration scheme)
4031       --  Statements (List3)
4032       --  End_Label (Node4)
4033       --  Has_Created_Identifier (Flag15)
4034       --  Is_Null_Loop (Flag16)
4035       --  Suppress_Loop_Warnings (Flag17)
4036
4037       --------------------------
4038       -- 5.5 Iteration Scheme --
4039       --------------------------
4040
4041       --  ITERATION_SCHEME ::=
4042       --    while CONDITION | for LOOP_PARAMETER_SPECIFICATION
4043
4044       --  Gigi restriction: This expander ensures that the type of the
4045       --  Condition field is always Standard.Boolean, even if the type
4046       --  in the source is some non-standard boolean type.
4047
4048       --  N_Iteration_Scheme
4049       --  Sloc points to WHILE or FOR
4050       --  Condition (Node1) (set to Empty if FOR case)
4051       --  Condition_Actions (List3-Sem)
4052       --  Loop_Parameter_Specification (Node4) (set to Empty if WHILE case)
4053
4054       ---------------------------------------
4055       -- 5.5  Loop parameter specification --
4056       ---------------------------------------
4057
4058       --  LOOP_PARAMETER_SPECIFICATION ::=
4059       --    DEFINING_IDENTIFIER in [reverse] DISCRETE_SUBTYPE_DEFINITION
4060
4061       --  N_Loop_Parameter_Specification
4062       --  Sloc points to first identifier
4063       --  Defining_Identifier (Node1)
4064       --  Reverse_Present (Flag15)
4065       --  Discrete_Subtype_Definition (Node4)
4066
4067       --------------------------
4068       -- 5.6  Block Statement --
4069       --------------------------
4070
4071       --  BLOCK_STATEMENT ::=
4072       --    [block_STATEMENT_IDENTIFIER:]
4073       --      [declare
4074       --        DECLARATIVE_PART]
4075       --      begin
4076       --        HANDLED_SEQUENCE_OF_STATEMENTS
4077       --      end [block_IDENTIFIER];
4078
4079       --  Note that the occurrence of a block identifier is not a defining
4080       --  identifier, but rather a referencing occurrence. The defining
4081       --  occurrence is an E_Block entity declared by the implicit label
4082       --  declaration which occurs in the innermost enclosing block statement
4083       --  or body; the block identifier denotes that E_Block.
4084
4085       --  For block statements that come from source code, there is always a
4086       --  block statement identifier present in the tree, denoting an
4087       --  E_Block. In the case where no block identifier is given in the
4088       --  source, the parser creates a name of the form B_n, where n is a
4089       --  decimal integer, and the flag Has_Created_Identifier is set to
4090       --  True. Blocks constructed by the expander usually have no identifier,
4091       --  and no corresponding entity.
4092
4093       --  Note: the block statement created for an extended return statement
4094       --  has an entity, and this entity is an E_Return_Statement, rather than
4095       --  the usual E_Block.
4096
4097       --  Note: Exception_Junk is set for the wrapping blocks created during
4098       --  local raise optimization (Exp_Ch11.Expand_Local_Exception_Handlers).
4099
4100       --  N_Block_Statement
4101       --  Sloc points to DECLARE or BEGIN
4102       --  Identifier (Node1) block direct name (set to Empty if not present)
4103       --  Declarations (List2) (set to No_List if no DECLARE part)
4104       --  Handled_Statement_Sequence (Node4)
4105       --  Is_Task_Master (Flag5-Sem)
4106       --  Activation_Chain_Entity (Node3-Sem)
4107       --  Has_Created_Identifier (Flag15)
4108       --  Is_Task_Allocation_Block (Flag6)
4109       --  Is_Asynchronous_Call_Block (Flag7)
4110       --  Exception_Junk (Flag8-Sem)
4111
4112       -------------------------
4113       -- 5.7  Exit Statement --
4114       -------------------------
4115
4116       --  EXIT_STATEMENT ::= exit [loop_NAME] [when CONDITION];
4117
4118       --  Gigi restriction: This expander ensures that the type of the
4119       --  Condition field is always Standard.Boolean, even if the type
4120       --  in the source is some non-standard boolean type.
4121
4122       --  N_Exit_Statement
4123       --  Sloc points to EXIT
4124       --  Name (Node2) (set to Empty if no loop name present)
4125       --  Condition (Node1) (set to Empty if no when part present)
4126
4127       -------------------------
4128       -- 5.9  Goto Statement --
4129       -------------------------
4130
4131       --  GOTO_STATEMENT ::= goto label_NAME;
4132
4133       --  N_Goto_Statement
4134       --  Sloc points to GOTO
4135       --  Name (Node2)
4136       --  Exception_Junk (Flag8-Sem)
4137
4138       ---------------------------------
4139       -- 6.1  Subprogram Declaration --
4140       ---------------------------------
4141
4142       --  SUBPROGRAM_DECLARATION ::= SUBPROGRAM_SPECIFICATION;
4143
4144       --  N_Subprogram_Declaration
4145       --  Sloc points to FUNCTION or PROCEDURE
4146       --  Specification (Node1)
4147       --  Body_To_Inline (Node3-Sem)
4148       --  Corresponding_Body (Node5-Sem)
4149       --  Parent_Spec (Node4-Sem)
4150
4151       ------------------------------------------
4152       -- 6.1  Abstract Subprogram Declaration --
4153       ------------------------------------------
4154
4155       --  ABSTRACT_SUBPROGRAM_DECLARATION ::=
4156       --    SUBPROGRAM_SPECIFICATION is abstract;
4157
4158       --  N_Abstract_Subprogram_Declaration
4159       --  Sloc points to ABSTRACT
4160       --  Specification (Node1)
4161
4162       -----------------------------------
4163       -- 6.1  Subprogram Specification --
4164       -----------------------------------
4165
4166       --  SUBPROGRAM_SPECIFICATION ::=
4167       --    [[not] overriding]
4168       --    procedure DEFINING_PROGRAM_UNIT_NAME PARAMETER_PROFILE
4169       --  | [[not] overriding]
4170       --    function DEFINING_DESIGNATOR PARAMETER_AND_RESULT_PROFILE
4171
4172       --  Note: there are no separate nodes for the profiles, instead the
4173       --  information appears directly in the following nodes.
4174
4175       --  N_Function_Specification
4176       --  Sloc points to FUNCTION
4177       --  Defining_Unit_Name (Node1) (the designator)
4178       --  Elaboration_Boolean (Node2-Sem)
4179       --  Parameter_Specifications (List3) (set to No_List if no formal part)
4180       --  Null_Exclusion_Present (Flag11)
4181       --  Result_Definition (Node4) for result subtype
4182       --  Generic_Parent (Node5-Sem)
4183       --  Must_Override (Flag14) set if overriding indicator present
4184       --  Must_Not_Override (Flag15) set if not_overriding indicator present
4185
4186       --  N_Procedure_Specification
4187       --  Sloc points to PROCEDURE
4188       --  Defining_Unit_Name (Node1)
4189       --  Elaboration_Boolean (Node2-Sem)
4190       --  Parameter_Specifications (List3) (set to No_List if no formal part)
4191       --  Generic_Parent (Node5-Sem)
4192       --  Null_Present (Flag13) set for null procedure case (Ada 2005 feature)
4193       --  Must_Override (Flag14) set if overriding indicator present
4194       --  Must_Not_Override (Flag15) set if not_overriding indicator present
4195
4196       --  Note: overriding indicator is an Ada 2005 feature
4197
4198       ---------------------
4199       -- 6.1  Designator --
4200       ---------------------
4201
4202       --  DESIGNATOR ::=
4203       --    [PARENT_UNIT_NAME .] IDENTIFIER | OPERATOR_SYMBOL
4204
4205       --  Designators that are simply identifiers or operator symbols appear
4206       --  directly in the tree in this form. The following node is used only
4207       --  in the case where the designator has a parent unit name component.
4208
4209       --  N_Designator
4210       --  Sloc points to period
4211       --  Name (Node2) holds the parent unit name. Note that this is always
4212       --   non-Empty, since this node is only used for the case where a
4213       --   parent library unit package name is present.
4214       --  Identifier (Node1)
4215
4216       --  Note that the identifier can also be an operator symbol here
4217
4218       ------------------------------
4219       -- 6.1  Defining Designator --
4220       ------------------------------
4221
4222       --  DEFINING_DESIGNATOR ::=
4223       --    DEFINING_PROGRAM_UNIT_NAME | DEFINING_OPERATOR_SYMBOL
4224
4225       -------------------------------------
4226       -- 6.1  Defining Program Unit Name --
4227       -------------------------------------
4228
4229       --  DEFINING_PROGRAM_UNIT_NAME ::=
4230       --    [PARENT_UNIT_NAME .] DEFINING_IDENTIFIER
4231
4232       --  The parent unit name is present only in the case of a child unit
4233       --  name (permissible only for Ada 95 for a library level unit, i.e.
4234       --  a unit at scope level one). If no such name is present, the defining
4235       --  program unit name is represented simply as the defining identifier.
4236       --  In the child unit case, the following node is used to represent the
4237       --  child unit name.
4238
4239       --  N_Defining_Program_Unit_Name
4240       --  Sloc points to period
4241       --  Name (Node2) holds the parent unit name. Note that this is always
4242       --   non-Empty, since this node is only used for the case where a
4243       --   parent unit name is present.
4244       --  Defining_Identifier (Node1)
4245
4246       --------------------------
4247       -- 6.1  Operator Symbol --
4248       --------------------------
4249
4250       --  OPERATOR_SYMBOL ::= STRING_LITERAL
4251
4252       --  Note: the fields of the N_Operator_Symbol node are laid out to
4253       --  match the corresponding fields of an N_Character_Literal node. This
4254       --  allows easy conversion of the operator symbol node into a character
4255       --  literal node in the case where a string constant of the form of an
4256       --  operator symbol is scanned out as such, but turns out semantically
4257       --  to be a string literal that is not an operator. For details see
4258       --  Sinfo.CN.Change_Operator_Symbol_To_String_Literal.
4259
4260       --  N_Operator_Symbol
4261       --  Sloc points to literal
4262       --  Chars (Name1) contains the Name_Id for the operator symbol
4263       --  Strval (Str3) Id of string value. This is used if the operator
4264       --   symbol turns out to be a normal string after all.
4265       --  Entity (Node4-Sem)
4266       --  Associated_Node (Node4-Sem)
4267       --  Has_Private_View (Flag11-Sem) set in generic units.
4268       --  Etype (Node5-Sem)
4269
4270       --  Note: the Strval field may be set to No_String for generated
4271       --  operator symbols that are known not to be string literals
4272       --  semantically.
4273
4274       -----------------------------------
4275       -- 6.1  Defining Operator Symbol --
4276       -----------------------------------
4277
4278       --  DEFINING_OPERATOR_SYMBOL ::= OPERATOR_SYMBOL
4279
4280       --  A defining operator symbol is an entity, which has additional
4281       --  fields depending on the setting of the Ekind field. These
4282       --  additional fields are defined (and access subprograms declared)
4283       --  in package Einfo.
4284
4285       --  Note: N_Defining_Operator_Symbol is an extended node whose fields
4286       --  are deliberately layed out to match the layout of fields in an
4287       --  ordinary N_Operator_Symbol node allowing for easy alteration of
4288       --  an operator symbol node into a defining operator symbol node.
4289       --  See Sinfo.CN.Change_Operator_Symbol_To_Defining_Operator_Symbol
4290       --  for further details.
4291
4292       --  N_Defining_Operator_Symbol
4293       --  Sloc points to literal
4294       --  Chars (Name1) contains the Name_Id for the operator symbol
4295       --  Next_Entity (Node2-Sem)
4296       --  Scope (Node3-Sem)
4297       --  Etype (Node5-Sem)
4298
4299       ----------------------------
4300       -- 6.1  Parameter Profile --
4301       ----------------------------
4302
4303       --  PARAMETER_PROFILE ::= [FORMAL_PART]
4304
4305       ---------------------------------------
4306       -- 6.1  Parameter and Result Profile --
4307       ---------------------------------------
4308
4309       --  PARAMETER_AND_RESULT_PROFILE ::=
4310       --    [FORMAL_PART] return [NULL_EXCLUSION] SUBTYPE_MARK
4311       --  | [FORMAL_PART] return ACCESS_DEFINITION
4312
4313       --  There is no explicit node in the tree for a parameter and result
4314       --  profile. Instead the information appears directly in the parent.
4315
4316       ----------------------
4317       -- 6.1  Formal part --
4318       ----------------------
4319
4320       --  FORMAL_PART ::=
4321       --    (PARAMETER_SPECIFICATION {; PARAMETER_SPECIFICATION})
4322
4323       ----------------------------------
4324       -- 6.1  Parameter specification --
4325       ----------------------------------
4326
4327       --  PARAMETER_SPECIFICATION ::=
4328       --    DEFINING_IDENTIFIER_LIST : MODE [NULL_EXCLUSION] SUBTYPE_MARK
4329       --      [:= DEFAULT_EXPRESSION]
4330       --  | DEFINING_IDENTIFIER_LIST : ACCESS_DEFINITION
4331       --      [:= DEFAULT_EXPRESSION]
4332
4333       --  Although the syntax allows multiple identifiers in the list, the
4334       --  semantics is as though successive specifications were given with
4335       --  identical type definition and expression components. To simplify
4336       --  semantic processing, the parser represents a multiple declaration
4337       --  case as a sequence of single Specifications, using the More_Ids and
4338       --  Prev_Ids flags to preserve the original source form as described
4339       --  in the section on "Handling of Defining Identifier Lists".
4340
4341       --  N_Parameter_Specification
4342       --  Sloc points to first identifier
4343       --  Defining_Identifier (Node1)
4344       --  In_Present (Flag15)
4345       --  Out_Present (Flag17)
4346       --  Null_Exclusion_Present (Flag11)
4347       --  Parameter_Type (Node2) subtype mark or access definition
4348       --  Expression (Node3) (set to Empty if no default expression present)
4349       --  Do_Accessibility_Check (Flag13-Sem)
4350       --  More_Ids (Flag5) (set to False if no more identifiers in list)
4351       --  Prev_Ids (Flag6) (set to False if no previous identifiers in list)
4352       --  Default_Expression (Node5-Sem)
4353
4354       ---------------
4355       -- 6.1  Mode --
4356       ---------------
4357
4358       --  MODE ::= [in] | in out | out
4359
4360       --  There is no explicit node in the tree for the Mode. Instead the
4361       --  In_Present and Out_Present flags are set in the parent node to
4362       --  record the presence of keywords specifying the mode.
4363
4364       --------------------------
4365       -- 6.3  Subprogram Body --
4366       --------------------------
4367
4368       --  SUBPROGRAM_BODY ::=
4369       --    SUBPROGRAM_SPECIFICATION is
4370       --      DECLARATIVE_PART
4371       --    begin
4372       --      HANDLED_SEQUENCE_OF_STATEMENTS
4373       --    end [DESIGNATOR];
4374
4375       --  N_Subprogram_Body
4376       --  Sloc points to FUNCTION or PROCEDURE
4377       --  Specification (Node1)
4378       --  Declarations (List2)
4379       --  Handled_Statement_Sequence (Node4)
4380       --  Activation_Chain_Entity (Node3-Sem)
4381       --  Corresponding_Spec (Node5-Sem)
4382       --  Acts_As_Spec (Flag4-Sem)
4383       --  Bad_Is_Detected (Flag15) used only by parser
4384       --  Do_Storage_Check (Flag17-Sem)
4385       --  Has_Priority_Pragma (Flag6-Sem)
4386       --  Is_Protected_Subprogram_Body (Flag7-Sem)
4387       --  Is_Entry_Barrier_Function (Flag8-Sem)
4388       --  Is_Task_Master (Flag5-Sem)
4389       --  Was_Originally_Stub (Flag13-Sem)
4390       --  Has_Relative_Deadline_Pragma (Flag9-Sem)
4391
4392       -----------------------------------
4393       -- 6.4  Procedure Call Statement --
4394       -----------------------------------
4395
4396       --  PROCEDURE_CALL_STATEMENT ::=
4397       --    procedure_NAME; | procedure_PREFIX ACTUAL_PARAMETER_PART;
4398
4399       --  Note: the reason that a procedure call has expression fields is
4400       --  that it semantically resembles an expression, e.g. overloading is
4401       --  allowed and a type is concocted for semantic processing purposes.
4402       --  Certain of these fields, such as Parens are not relevant, but it
4403       --  is easier to just supply all of them together!
4404
4405       --  N_Procedure_Call_Statement
4406       --  Sloc points to first token of name or prefix
4407       --  Name (Node2) stores name or prefix
4408       --  Parameter_Associations (List3) (set to No_List if no
4409       --   actual parameter part)
4410       --  First_Named_Actual (Node4-Sem)
4411       --  Controlling_Argument (Node1-Sem) (set to Empty if not dispatching)
4412       --  Do_Tag_Check (Flag13-Sem)
4413       --  No_Elaboration_Check (Flag14-Sem)
4414       --  Parameter_List_Truncated (Flag17-Sem)
4415       --  ABE_Is_Certain (Flag18-Sem)
4416       --  plus fields for expression
4417
4418       --  If any IN parameter requires a range check, then the corresponding
4419       --  argument expression has the Do_Range_Check flag set, and the range
4420       --  check is done against the formal type. Note that this argument
4421       --  expression may appear directly in the Parameter_Associations list,
4422       --  or may be a descendent of an N_Parameter_Association node that
4423       --  appears in this list.
4424
4425       ------------------------
4426       -- 6.4  Function Call --
4427       ------------------------
4428
4429       --  FUNCTION_CALL ::=
4430       --    function_NAME | function_PREFIX ACTUAL_PARAMETER_PART
4431
4432       --  Note: the parser may generate an indexed component node or simply
4433       --  a name node instead of a function call node. The semantic pass must
4434       --  correct this misidentification.
4435
4436       --  N_Function_Call
4437       --  Sloc points to first token of name or prefix
4438       --  Name (Node2) stores name or prefix
4439       --  Parameter_Associations (List3) (set to No_List if no
4440       --   actual parameter part)
4441       --  First_Named_Actual (Node4-Sem)
4442       --  Controlling_Argument (Node1-Sem) (set to Empty if not dispatching)
4443       --  Is_Expanded_Build_In_Place_Call (Flag11-Sem)
4444       --  Do_Tag_Check (Flag13-Sem)
4445       --  No_Elaboration_Check (Flag14-Sem)
4446       --  Parameter_List_Truncated (Flag17-Sem)
4447       --  ABE_Is_Certain (Flag18-Sem)
4448       --  plus fields for expression
4449
4450       --------------------------------
4451       -- 6.4  Actual Parameter Part --
4452       --------------------------------
4453
4454       --  ACTUAL_PARAMETER_PART ::=
4455       --    (PARAMETER_ASSOCIATION {,PARAMETER_ASSOCIATION})
4456
4457       --------------------------------
4458       -- 6.4  Parameter Association --
4459       --------------------------------
4460
4461       --  PARAMETER_ASSOCIATION ::=
4462       --    [formal_parameter_SELECTOR_NAME =>] EXPLICIT_ACTUAL_PARAMETER
4463
4464       --  Note: the N_Parameter_Association node is built only if a formal
4465       --  parameter selector name is present, otherwise the parameter
4466       --  association appears in the tree simply as the node for the
4467       --  explicit actual parameter.
4468
4469       --  N_Parameter_Association
4470       --  Sloc points to formal parameter
4471       --  Selector_Name (Node2) (always non-Empty)
4472       --  Explicit_Actual_Parameter (Node3)
4473       --  Next_Named_Actual (Node4-Sem)
4474       --  Is_Accessibility_Actual (Flag13-Sem)
4475
4476       ---------------------------
4477       -- 6.4  Actual Parameter --
4478       ---------------------------
4479
4480       --  EXPLICIT_ACTUAL_PARAMETER ::= EXPRESSION | variable_NAME
4481
4482       ---------------------------
4483       -- 6.5  Return Statement --
4484       ---------------------------
4485
4486       --  RETURN_STATEMENT ::= return [EXPRESSION]; -- Ada 95
4487
4488       --  In Ada 2005, we have:
4489
4490       --  SIMPLE_RETURN_STATEMENT ::= return [EXPRESSION];
4491
4492       --  EXTENDED_RETURN_STATEMENT ::=
4493       --    return DEFINING_IDENTIFIER : [aliased] RETURN_SUBTYPE_INDICATION
4494       --                                           [:= EXPRESSION] [do
4495       --      HANDLED_SEQUENCE_OF_STATEMENTS
4496       --    end return];
4497
4498       --  RETURN_SUBTYPE_INDICATION ::= SUBTYPE_INDICATION | ACCESS_DEFINITION
4499
4500       --  So in Ada 2005, RETURN_STATEMENT is no longer a nonterminal, but
4501       --  "return statement" is defined in 6.5 to mean a
4502       --  SIMPLE_RETURN_STATEMENT or an EXTENDED_RETURN_STATEMENT.
4503
4504       --  N_Return_Statement
4505       --  Sloc points to RETURN
4506       --  Return_Statement_Entity (Node5-Sem)
4507       --  Expression (Node3) (set to Empty if no expression present)
4508       --  Storage_Pool (Node1-Sem)
4509       --  Procedure_To_Call (Node2-Sem)
4510       --  Do_Tag_Check (Flag13-Sem)
4511       --  By_Ref (Flag5-Sem)
4512       --  Comes_From_Extended_Return_Statement (Flag18-Sem)
4513
4514       --  N_Return_Statement represents a simple_return_statement, and is
4515       --  renamed to be N_Simple_Return_Statement below. Clients should refer
4516       --  to N_Simple_Return_Statement. We retain N_Return_Statement because
4517       --  that's how gigi knows it. See also renaming of Make_Return_Statement
4518       --  as Make_Simple_Return_Statement in Sem_Util.
4519
4520       --  Note: Return_Statement_Entity points to an E_Return_Statement
4521
4522       --  If a range check is required, then Do_Range_Check is set on the
4523       --  Expression. The check is against the return subtype of the function.
4524
4525       --  N_Extended_Return_Statement
4526       --  Sloc points to RETURN
4527       --  Return_Statement_Entity (Node5-Sem)
4528       --  Return_Object_Declarations (List3)
4529       --  Handled_Statement_Sequence (Node4) (set to Empty if not present)
4530       --  Storage_Pool (Node1-Sem)
4531       --  Procedure_To_Call (Node2-Sem)
4532       --  Do_Tag_Check (Flag13-Sem)
4533       --  By_Ref (Flag5-Sem)
4534
4535       --  Note: Return_Statement_Entity points to an E_Return_Statement.
4536       --  Note that Return_Object_Declarations is a list containing the
4537       --  N_Object_Declaration -- see comment on this field above.
4538       --  The declared object will have Is_Return_Object = True.
4539       --  There is no such syntactic category as return_object_declaration
4540       --  in the RM. Return_Object_Declarations represents this portion of
4541       --  the syntax for EXTENDED_RETURN_STATEMENT:
4542       --      DEFINING_IDENTIFIER : [aliased] RETURN_SUBTYPE_INDICATION
4543       --                                      [:= EXPRESSION]
4544
4545       --  There are two entities associated with an extended_return_statement:
4546       --  the Return_Statement_Entity represents the statement itself, and the
4547       --  Defining_Identifier of the Object_Declaration in
4548       --  Return_Object_Declarations represents the object being
4549       --  returned. N_Simple_Return_Statement has only the former.
4550
4551       ------------------------------
4552       -- 7.1  Package Declaration --
4553       ------------------------------
4554
4555       --  PACKAGE_DECLARATION ::= PACKAGE_SPECIFICATION;
4556
4557       --  Note: the activation chain entity for a package spec is used for
4558       --  all tasks declared in the package spec, or in the package body.
4559
4560       --  N_Package_Declaration
4561       --  Sloc points to PACKAGE
4562       --  Specification (Node1)
4563       --  Corresponding_Body (Node5-Sem)
4564       --  Parent_Spec (Node4-Sem)
4565       --  Activation_Chain_Entity (Node3-Sem)
4566
4567       --------------------------------
4568       -- 7.1  Package Specification --
4569       --------------------------------
4570
4571       --  PACKAGE_SPECIFICATION ::=
4572       --    package DEFINING_PROGRAM_UNIT_NAME is
4573       --      {BASIC_DECLARATIVE_ITEM}
4574       --    [private
4575       --      {BASIC_DECLARATIVE_ITEM}]
4576       --    end [[PARENT_UNIT_NAME .] IDENTIFIER]
4577
4578       --  N_Package_Specification
4579       --  Sloc points to PACKAGE
4580       --  Defining_Unit_Name (Node1)
4581       --  Visible_Declarations (List2)
4582       --  Private_Declarations (List3) (set to No_List if no private
4583       --   part present)
4584       --  End_Label (Node4)
4585       --  Generic_Parent (Node5-Sem)
4586       --  Limited_View_Installed (Flag18-Sem)
4587
4588       -----------------------
4589       -- 7.1  Package Body --
4590       -----------------------
4591
4592       --  PACKAGE_BODY ::=
4593       --    package body DEFINING_PROGRAM_UNIT_NAME is
4594       --      DECLARATIVE_PART
4595       --    [begin
4596       --      HANDLED_SEQUENCE_OF_STATEMENTS]
4597       --    end [[PARENT_UNIT_NAME .] IDENTIFIER];
4598
4599       --  N_Package_Body
4600       --  Sloc points to PACKAGE
4601       --  Defining_Unit_Name (Node1)
4602       --  Declarations (List2)
4603       --  Handled_Statement_Sequence (Node4) (set to Empty if no HSS present)
4604       --  Corresponding_Spec (Node5-Sem)
4605       --  Was_Originally_Stub (Flag13-Sem)
4606
4607       --  Note: if a source level package does not contain a handled sequence
4608       --  of statements, then the parser supplies a dummy one with a null
4609       --  sequence of statements. Comes_From_Source will be False in this
4610       --  constructed sequence. The reason we need this is for the End_Label
4611       --  field in the HSS.
4612
4613       -----------------------------------
4614       -- 7.4  Private Type Declaration --
4615       -----------------------------------
4616
4617       --  PRIVATE_TYPE_DECLARATION ::=
4618       --    type DEFINING_IDENTIFIER [DISCRIMINANT_PART]
4619       --      is [[abstract] tagged] [limited] private;
4620
4621       --  Note: TAGGED is not permitted in Ada 83 mode
4622
4623       --  N_Private_Type_Declaration
4624       --  Sloc points to TYPE
4625       --  Defining_Identifier (Node1)
4626       --  Discriminant_Specifications (List4) (set to No_List if no
4627       --   discriminant part)
4628       --  Unknown_Discriminants_Present (Flag13) set if (<>) discriminant
4629       --  Abstract_Present (Flag4)
4630       --  Tagged_Present (Flag15)
4631       --  Limited_Present (Flag17)
4632
4633       ----------------------------------------
4634       -- 7.4  Private Extension Declaration --
4635       ----------------------------------------
4636
4637       --  PRIVATE_EXTENSION_DECLARATION ::=
4638       --    type DEFINING_IDENTIFIER [DISCRIMINANT_PART] is
4639       --      [abstract] [limited | synchronized]
4640       --        new ancestor_SUBTYPE_INDICATION [and INTERFACE_LIST]
4641       --           with private;
4642
4643       --  Note: LIMITED, and private extension declarations are not allowed
4644       --        in Ada 83 mode.
4645
4646       --  N_Private_Extension_Declaration
4647       --  Sloc points to TYPE
4648       --  Defining_Identifier (Node1)
4649       --  Discriminant_Specifications (List4) (set to No_List if no
4650       --   discriminant part)
4651       --  Unknown_Discriminants_Present (Flag13) set if (<>) discriminant
4652       --  Abstract_Present (Flag4)
4653       --  Limited_Present (Flag17)
4654       --  Synchronized_Present (Flag7)
4655       --  Subtype_Indication (Node5)
4656       --  Interface_List (List2) (set to No_List if none)
4657
4658       ---------------------
4659       -- 8.4  Use Clause --
4660       ---------------------
4661
4662       --  USE_CLAUSE ::= USE_PACKAGE_CLAUSE | USE_TYPE_CLAUSE
4663
4664       -----------------------------
4665       -- 8.4  Use Package Clause --
4666       -----------------------------
4667
4668       --  USE_PACKAGE_CLAUSE ::= use package_NAME {, package_NAME};
4669
4670       --  N_Use_Package_Clause
4671       --  Sloc points to USE
4672       --  Names (List2)
4673       --  Next_Use_Clause (Node3-Sem)
4674       --  Hidden_By_Use_Clause (Elist4-Sem)
4675
4676       --------------------------
4677       -- 8.4  Use Type Clause --
4678       --------------------------
4679
4680       --  USE_TYPE_CLAUSE ::= use type SUBTYPE_MARK {, SUBTYPE_MARK};
4681
4682       --  Note: use type clause is not permitted in Ada 83 mode
4683
4684       --  N_Use_Type_Clause
4685       --  Sloc points to USE
4686       --  Subtype_Marks (List2)
4687       --  Next_Use_Clause (Node3-Sem)
4688       --  Hidden_By_Use_Clause (Elist4-Sem)
4689
4690       -------------------------------
4691       -- 8.5  Renaming Declaration --
4692       -------------------------------
4693
4694       --  RENAMING_DECLARATION ::=
4695       --    OBJECT_RENAMING_DECLARATION
4696       --  | EXCEPTION_RENAMING_DECLARATION
4697       --  | PACKAGE_RENAMING_DECLARATION
4698       --  | SUBPROGRAM_RENAMING_DECLARATION
4699       --  | GENERIC_RENAMING_DECLARATION
4700
4701       --------------------------------------
4702       -- 8.5  Object Renaming Declaration --
4703       --------------------------------------
4704
4705       --  OBJECT_RENAMING_DECLARATION ::=
4706       --    DEFINING_IDENTIFIER :
4707       --      [NULL_EXCLUSION] SUBTYPE_MARK renames object_NAME;
4708       --  | DEFINING_IDENTIFIER :
4709       --      ACCESS_DEFINITION renames object_NAME;
4710
4711       --  Note: Access_Definition is an optional field that gives support to
4712       --  Ada 2005 (AI-230). The parser generates nodes that have either the
4713       --  Subtype_Indication field or else the Access_Definition field.
4714
4715       --  N_Object_Renaming_Declaration
4716       --  Sloc points to first identifier
4717       --  Defining_Identifier (Node1)
4718       --  Null_Exclusion_Present (Flag11) (set to False if not present)
4719       --  Subtype_Mark (Node4) (set to Empty if not present)
4720       --  Access_Definition (Node3) (set to Empty if not present)
4721       --  Name (Node2)
4722       --  Corresponding_Generic_Association (Node5-Sem)
4723
4724       -----------------------------------------
4725       -- 8.5  Exception Renaming Declaration --
4726       -----------------------------------------
4727
4728       --  EXCEPTION_RENAMING_DECLARATION ::=
4729       --    DEFINING_IDENTIFIER : exception renames exception_NAME;
4730
4731       --  N_Exception_Renaming_Declaration
4732       --  Sloc points to first identifier
4733       --  Defining_Identifier (Node1)
4734       --  Name (Node2)
4735
4736       ---------------------------------------
4737       -- 8.5  Package Renaming Declaration --
4738       ---------------------------------------
4739
4740       --  PACKAGE_RENAMING_DECLARATION ::=
4741       --    package DEFINING_PROGRAM_UNIT_NAME renames package_NAME;
4742
4743       --  N_Package_Renaming_Declaration
4744       --  Sloc points to PACKAGE
4745       --  Defining_Unit_Name (Node1)
4746       --  Name (Node2)
4747       --  Parent_Spec (Node4-Sem)
4748
4749       ------------------------------------------
4750       -- 8.5  Subprogram Renaming Declaration --
4751       ------------------------------------------
4752
4753       --  SUBPROGRAM_RENAMING_DECLARATION ::=
4754       --    SUBPROGRAM_SPECIFICATION renames callable_entity_NAME;
4755
4756       --  N_Subprogram_Renaming_Declaration
4757       --  Sloc points to RENAMES
4758       --  Specification (Node1)
4759       --  Name (Node2)
4760       --  Parent_Spec (Node4-Sem)
4761       --  Corresponding_Spec (Node5-Sem)
4762       --  Corresponding_Formal_Spec (Node3-Sem)
4763       --  From_Default (Flag6-Sem)
4764
4765       -----------------------------------------
4766       -- 8.5.5  Generic Renaming Declaration --
4767       -----------------------------------------
4768
4769       --  GENERIC_RENAMING_DECLARATION ::=
4770       --    generic package DEFINING_PROGRAM_UNIT_NAME
4771       --      renames generic_package_NAME
4772       --  | generic procedure DEFINING_PROGRAM_UNIT_NAME
4773       --      renames generic_procedure_NAME
4774       --  | generic function DEFINING_PROGRAM_UNIT_NAME
4775       --      renames generic_function_NAME
4776
4777       --  N_Generic_Package_Renaming_Declaration
4778       --  Sloc points to GENERIC
4779       --  Defining_Unit_Name (Node1)
4780       --  Name (Node2)
4781       --  Parent_Spec (Node4-Sem)
4782
4783       --  N_Generic_Procedure_Renaming_Declaration
4784       --  Sloc points to GENERIC
4785       --  Defining_Unit_Name (Node1)
4786       --  Name (Node2)
4787       --  Parent_Spec (Node4-Sem)
4788
4789       --  N_Generic_Function_Renaming_Declaration
4790       --  Sloc points to GENERIC
4791       --  Defining_Unit_Name (Node1)
4792       --  Name (Node2)
4793       --  Parent_Spec (Node4-Sem)
4794
4795       --------------------------------
4796       -- 9.1  Task Type Declaration --
4797       --------------------------------
4798
4799       --  TASK_TYPE_DECLARATION ::=
4800       --    task type DEFINING_IDENTIFIER [KNOWN_DISCRIMINANT_PART]
4801       --      [is [new INTERFACE_LIST with] TASK_DEFINITION];
4802
4803       --  N_Task_Type_Declaration
4804       --  Sloc points to TASK
4805       --  Defining_Identifier (Node1)
4806       --  Discriminant_Specifications (List4) (set to No_List if no
4807       --   discriminant part)
4808       --  Interface_List (List2) (set to No_List if none)
4809       --  Task_Definition (Node3) (set to Empty if not present)
4810       --  Corresponding_Body (Node5-Sem)
4811
4812       ----------------------------------
4813       -- 9.1  Single Task Declaration --
4814       ----------------------------------
4815
4816       --  SINGLE_TASK_DECLARATION ::=
4817       --    task DEFINING_IDENTIFIER
4818       --      [is [new INTERFACE_LIST with] TASK_DEFINITION];
4819
4820       --  N_Single_Task_Declaration
4821       --  Sloc points to TASK
4822       --  Defining_Identifier (Node1)
4823       --  Interface_List (List2) (set to No_List if none)
4824       --  Task_Definition (Node3) (set to Empty if not present)
4825
4826       --------------------------
4827       -- 9.1  Task Definition --
4828       --------------------------
4829
4830       --  TASK_DEFINITION ::=
4831       --      {TASK_ITEM}
4832       --    [private
4833       --      {TASK_ITEM}]
4834       --    end [task_IDENTIFIER]
4835
4836       --  Note: as a result of semantic analysis, the list of task items can
4837       --  include implicit type declarations resulting from entry families.
4838
4839       --  N_Task_Definition
4840       --  Sloc points to first token of task definition
4841       --  Visible_Declarations (List2)
4842       --  Private_Declarations (List3) (set to No_List if no private part)
4843       --  End_Label (Node4)
4844       --  Has_Priority_Pragma (Flag6-Sem)
4845       --  Has_Storage_Size_Pragma (Flag5-Sem)
4846       --  Has_Task_Info_Pragma (Flag7-Sem)
4847       --  Has_Task_Name_Pragma (Flag8-Sem)
4848       --  Has_Relative_Deadline_Pragma (Flag9-Sem)
4849
4850       --------------------
4851       -- 9.1  Task Item --
4852       --------------------
4853
4854       --  TASK_ITEM ::= ENTRY_DECLARATION | REPRESENTATION_CLAUSE
4855
4856       --------------------
4857       -- 9.1  Task Body --
4858       --------------------
4859
4860       --  TASK_BODY ::=
4861       --    task body task_DEFINING_IDENTIFIER is
4862       --      DECLARATIVE_PART
4863       --    begin
4864       --      HANDLED_SEQUENCE_OF_STATEMENTS
4865       --    end [task_IDENTIFIER];
4866
4867       --  Gigi restriction: This node never appears
4868
4869       --  N_Task_Body
4870       --  Sloc points to TASK
4871       --  Defining_Identifier (Node1)
4872       --  Declarations (List2)
4873       --  Handled_Statement_Sequence (Node4)
4874       --  Is_Task_Master (Flag5-Sem)
4875       --  Activation_Chain_Entity (Node3-Sem)
4876       --  Corresponding_Spec (Node5-Sem)
4877       --  Was_Originally_Stub (Flag13-Sem)
4878
4879       -------------------------------------
4880       -- 9.4  Protected Type Declaration --
4881       -------------------------------------
4882
4883       --  PROTECTED_TYPE_DECLARATION ::=
4884       --    protected type DEFINING_IDENTIFIER [KNOWN_DISCRIMINANT_PART]
4885       --      is [new INTERFACE_LIST with] PROTECTED_DEFINITION;
4886
4887       --  Note: protected type declarations are not permitted in Ada 83 mode
4888
4889       --  N_Protected_Type_Declaration
4890       --  Sloc points to PROTECTED
4891       --  Defining_Identifier (Node1)
4892       --  Discriminant_Specifications (List4) (set to No_List if no
4893       --   discriminant part)
4894       --  Interface_List (List2) (set to No_List if none)
4895       --  Protected_Definition (Node3)
4896       --  Corresponding_Body (Node5-Sem)
4897
4898       ---------------------------------------
4899       -- 9.4  Single Protected Declaration --
4900       ---------------------------------------
4901
4902       --  SINGLE_PROTECTED_DECLARATION ::=
4903       --    protected DEFINING_IDENTIFIER
4904       --      is [new INTERFACE_LIST with] PROTECTED_DEFINITION;
4905
4906       --  Note: single protected declarations are not allowed in Ada 83 mode
4907
4908       --  N_Single_Protected_Declaration
4909       --  Sloc points to PROTECTED
4910       --  Defining_Identifier (Node1)
4911       --  Interface_List (List2) (set to No_List if none)
4912       --  Protected_Definition (Node3)
4913
4914       -------------------------------
4915       -- 9.4  Protected Definition --
4916       -------------------------------
4917
4918       --  PROTECTED_DEFINITION ::=
4919       --      {PROTECTED_OPERATION_DECLARATION}
4920       --    [private
4921       --      {PROTECTED_ELEMENT_DECLARATION}]
4922       --    end [protected_IDENTIFIER]
4923
4924       --  N_Protected_Definition
4925       --  Sloc points to first token of protected definition
4926       --  Visible_Declarations (List2)
4927       --  Private_Declarations (List3) (set to No_List if no private part)
4928       --  End_Label (Node4)
4929       --  Has_Priority_Pragma (Flag6-Sem)
4930
4931       ------------------------------------------
4932       -- 9.4  Protected Operation Declaration --
4933       ------------------------------------------
4934
4935       --  PROTECTED_OPERATION_DECLARATION ::=
4936       --    SUBPROGRAM_DECLARATION
4937       --  | ENTRY_DECLARATION
4938       --  | REPRESENTATION_CLAUSE
4939
4940       ----------------------------------------
4941       -- 9.4  Protected Element Declaration --
4942       ----------------------------------------
4943
4944       --  PROTECTED_ELEMENT_DECLARATION ::=
4945       --    PROTECTED_OPERATION_DECLARATION | COMPONENT_DECLARATION
4946
4947       -------------------------
4948       -- 9.4  Protected Body --
4949       -------------------------
4950
4951       --  PROTECTED_BODY ::=
4952       --    protected body DEFINING_IDENTIFIER is
4953       --      {PROTECTED_OPERATION_ITEM}
4954       --    end [protected_IDENTIFIER];
4955
4956       --  Note: protected bodies are not allowed in Ada 83 mode
4957
4958       --  Gigi restriction: This node never appears
4959
4960       --  N_Protected_Body
4961       --  Sloc points to PROTECTED
4962       --  Defining_Identifier (Node1)
4963       --  Declarations (List2) protected operation items (and pragmas)
4964       --  End_Label (Node4)
4965       --  Corresponding_Spec (Node5-Sem)
4966       --  Was_Originally_Stub (Flag13-Sem)
4967
4968       -----------------------------------
4969       -- 9.4  Protected Operation Item --
4970       -----------------------------------
4971
4972       --  PROTECTED_OPERATION_ITEM ::=
4973       --    SUBPROGRAM_DECLARATION
4974       --  | SUBPROGRAM_BODY
4975       --  | ENTRY_BODY
4976       --  | REPRESENTATION_CLAUSE
4977
4978       ------------------------------
4979       -- 9.5.2  Entry Declaration --
4980       ------------------------------
4981
4982       --  ENTRY_DECLARATION ::=
4983       --    [[not] overriding]
4984       --    entry DEFINING_IDENTIFIER
4985       --      [(DISCRETE_SUBTYPE_DEFINITION)] PARAMETER_PROFILE;
4986
4987       --  N_Entry_Declaration
4988       --  Sloc points to ENTRY
4989       --  Defining_Identifier (Node1)
4990       --  Discrete_Subtype_Definition (Node4) (set to Empty if not present)
4991       --  Parameter_Specifications (List3) (set to No_List if no formal part)
4992       --  Corresponding_Body (Node5-Sem)
4993       --  Must_Override (Flag14) set if overriding indicator present
4994       --  Must_Not_Override (Flag15) set if not_overriding indicator present
4995
4996       --  Note: overriding indicator is an Ada 2005 feature
4997
4998       -----------------------------
4999       -- 9.5.2  Accept statement --
5000       -----------------------------
5001
5002       --  ACCEPT_STATEMENT ::=
5003       --    accept entry_DIRECT_NAME
5004       --      [(ENTRY_INDEX)] PARAMETER_PROFILE [do
5005       --        HANDLED_SEQUENCE_OF_STATEMENTS
5006       --    end [entry_IDENTIFIER]];
5007
5008       --  Gigi restriction: This node never appears
5009
5010       --  Note: there are no explicit declarations allowed in an accept
5011       --  statement. However, the implicit declarations for any statement
5012       --  identifiers (labels and block/loop identifiers) are declarations
5013       --  that belong logically to the accept statement, and that is why
5014       --  there is a Declarations field in this node.
5015
5016       --  N_Accept_Statement
5017       --  Sloc points to ACCEPT
5018       --  Entry_Direct_Name (Node1)
5019       --  Entry_Index (Node5) (set to Empty if not present)
5020       --  Parameter_Specifications (List3) (set to No_List if no formal part)
5021       --  Handled_Statement_Sequence (Node4)
5022       --  Declarations (List2) (set to No_List if no declarations)
5023
5024       ------------------------
5025       -- 9.5.2  Entry Index --
5026       ------------------------
5027
5028       --  ENTRY_INDEX ::= EXPRESSION
5029
5030       -----------------------
5031       -- 9.5.2  Entry Body --
5032       -----------------------
5033
5034       --  ENTRY_BODY ::=
5035       --    entry DEFINING_IDENTIFIER ENTRY_BODY_FORMAL_PART ENTRY_BARRIER is
5036       --      DECLARATIVE_PART
5037       --    begin
5038       --      HANDLED_SEQUENCE_OF_STATEMENTS
5039       --    end [entry_IDENTIFIER];
5040
5041       --  ENTRY_BARRIER ::= when CONDITION
5042
5043       --  Note: we store the CONDITION of the ENTRY_BARRIER in the node for
5044       --  the ENTRY_BODY_FORMAL_PART to avoid the N_Entry_Body node getting
5045       --  too full (it would otherwise have too many fields)
5046
5047       --  Gigi restriction: This node never appears
5048
5049       --  N_Entry_Body
5050       --  Sloc points to ENTRY
5051       --  Defining_Identifier (Node1)
5052       --  Entry_Body_Formal_Part (Node5)
5053       --  Declarations (List2)
5054       --  Handled_Statement_Sequence (Node4)
5055       --  Activation_Chain_Entity (Node3-Sem)
5056
5057       -----------------------------------
5058       -- 9.5.2  Entry Body Formal Part --
5059       -----------------------------------
5060
5061       --  ENTRY_BODY_FORMAL_PART ::=
5062       --    [(ENTRY_INDEX_SPECIFICATION)] PARAMETER_PROFILE
5063
5064       --  Note that an entry body formal part node is present even if it is
5065       --  empty. This reflects the grammar, in which it is the components of
5066       --  the entry body formal part that are optional, not the entry body
5067       --  formal part itself. Also this means that the barrier condition
5068       --  always has somewhere to be stored.
5069
5070       --  Gigi restriction: This node never appears
5071
5072       --  N_Entry_Body_Formal_Part
5073       --  Sloc points to first token
5074       --  Entry_Index_Specification (Node4) (set to Empty if not present)
5075       --  Parameter_Specifications (List3) (set to No_List if no formal part)
5076       --  Condition (Node1) from entry barrier of entry body
5077
5078       --------------------------
5079       -- 9.5.2  Entry Barrier --
5080       --------------------------
5081
5082       --  ENTRY_BARRIER ::= when CONDITION
5083
5084       --------------------------------------
5085       -- 9.5.2  Entry Index Specification --
5086       --------------------------------------
5087
5088       --  ENTRY_INDEX_SPECIFICATION ::=
5089       --    for DEFINING_IDENTIFIER in DISCRETE_SUBTYPE_DEFINITION
5090
5091       --  Gigi restriction: This node never appears
5092
5093       --  N_Entry_Index_Specification
5094       --  Sloc points to FOR
5095       --  Defining_Identifier (Node1)
5096       --  Discrete_Subtype_Definition (Node4)
5097
5098       ---------------------------------
5099       -- 9.5.3  Entry Call Statement --
5100       ---------------------------------
5101
5102       --  ENTRY_CALL_STATEMENT ::= entry_NAME [ACTUAL_PARAMETER_PART];
5103
5104       --  The parser may generate a procedure call for this construct. The
5105       --  semantic pass must correct this misidentification where needed.
5106
5107       --  Gigi restriction: This node never appears
5108
5109       --  N_Entry_Call_Statement
5110       --  Sloc points to first token of name
5111       --  Name (Node2)
5112       --  Parameter_Associations (List3) (set to No_List if no
5113       --   actual parameter part)
5114       --  First_Named_Actual (Node4-Sem)
5115
5116       ------------------------------
5117       -- 9.5.4  Requeue Statement --
5118       ------------------------------
5119
5120       --  REQUEUE_STATEMENT ::= requeue entry_NAME [with abort];
5121
5122       --  Note: requeue statements are not permitted in Ada 83 mode
5123
5124       --  Gigi restriction: This node never appears
5125
5126       --  N_Requeue_Statement
5127       --  Sloc points to REQUEUE
5128       --  Name (Node2)
5129       --  Abort_Present (Flag15)
5130
5131       --------------------------
5132       -- 9.6  Delay Statement --
5133       --------------------------
5134
5135       --  DELAY_STATEMENT ::=
5136       --    DELAY_UNTIL_STATEMENT
5137       --  | DELAY_RELATIVE_STATEMENT
5138
5139       --------------------------------
5140       -- 9.6  Delay Until Statement --
5141       --------------------------------
5142
5143       --  DELAY_UNTIL_STATEMENT ::= delay until delay_EXPRESSION;
5144
5145       --  Note: delay until statements are not permitted in Ada 83 mode
5146
5147       --  Gigi restriction: This node never appears
5148
5149       --  N_Delay_Until_Statement
5150       --  Sloc points to DELAY
5151       --  Expression (Node3)
5152
5153       -----------------------------------
5154       -- 9.6  Delay Relative Statement --
5155       -----------------------------------
5156
5157       --  DELAY_RELATIVE_STATEMENT ::= delay delay_EXPRESSION;
5158
5159       --  Gigi restriction: This node never appears
5160
5161       --  N_Delay_Relative_Statement
5162       --  Sloc points to DELAY
5163       --  Expression (Node3)
5164
5165       ---------------------------
5166       -- 9.7  Select Statement --
5167       ---------------------------
5168
5169       --  SELECT_STATEMENT ::=
5170       --    SELECTIVE_ACCEPT
5171       --  | TIMED_ENTRY_CALL
5172       --  | CONDITIONAL_ENTRY_CALL
5173       --  | ASYNCHRONOUS_SELECT
5174
5175       -----------------------------
5176       -- 9.7.1  Selective Accept --
5177       -----------------------------
5178
5179       --  SELECTIVE_ACCEPT ::=
5180       --    select
5181       --      [GUARD]
5182       --        SELECT_ALTERNATIVE
5183       --    {or
5184       --      [GUARD]
5185       --        SELECT_ALTERNATIVE}
5186       --    [else
5187       --      SEQUENCE_OF_STATEMENTS]
5188       --    end select;
5189
5190       --  Gigi restriction: This node never appears
5191
5192       --  Note: the guard expression, if present, appears in the node for
5193       --  the select alternative.
5194
5195       --  N_Selective_Accept
5196       --  Sloc points to SELECT
5197       --  Select_Alternatives (List1)
5198       --  Else_Statements (List4) (set to No_List if no else part)
5199
5200       ------------------
5201       -- 9.7.1  Guard --
5202       ------------------
5203
5204       --  GUARD ::= when CONDITION =>
5205
5206       --  As noted above, the CONDITION that is part of a GUARD is included
5207       --  in the node for the select alternative for convenience.
5208
5209       -------------------------------
5210       -- 9.7.1  Select Alternative --
5211       -------------------------------
5212
5213       --  SELECT_ALTERNATIVE ::=
5214       --    ACCEPT_ALTERNATIVE
5215       --  | DELAY_ALTERNATIVE
5216       --  | TERMINATE_ALTERNATIVE
5217
5218       -------------------------------
5219       -- 9.7.1  Accept Alternative --
5220       -------------------------------
5221
5222       --  ACCEPT_ALTERNATIVE ::=
5223       --    ACCEPT_STATEMENT [SEQUENCE_OF_STATEMENTS]
5224
5225       --  Gigi restriction: This node never appears
5226
5227       --  N_Accept_Alternative
5228       --  Sloc points to ACCEPT
5229       --  Accept_Statement (Node2)
5230       --  Condition (Node1) from the guard (set to Empty if no guard present)
5231       --  Statements (List3) (set to Empty_List if no statements)
5232       --  Pragmas_Before (List4) pragmas before alt (set to No_List if none)
5233       --  Accept_Handler_Records (List5-Sem)
5234
5235       ------------------------------
5236       -- 9.7.1  Delay Alternative --
5237       ------------------------------
5238
5239       --  DELAY_ALTERNATIVE ::=
5240       --    DELAY_STATEMENT [SEQUENCE_OF_STATEMENTS]
5241
5242       --  Gigi restriction: This node never appears
5243
5244       --  N_Delay_Alternative
5245       --  Sloc points to DELAY
5246       --  Delay_Statement (Node2)
5247       --  Condition (Node1) from the guard (set to Empty if no guard present)
5248       --  Statements (List3) (set to Empty_List if no statements)
5249       --  Pragmas_Before (List4) pragmas before alt (set to No_List if none)
5250
5251       ----------------------------------
5252       -- 9.7.1  Terminate Alternative --
5253       ----------------------------------
5254
5255       --  TERMINATE_ALTERNATIVE ::= terminate;
5256
5257       --  Gigi restriction: This node never appears
5258
5259       --  N_Terminate_Alternative
5260       --  Sloc points to TERMINATE
5261       --  Condition (Node1) from the guard (set to Empty if no guard present)
5262       --  Pragmas_Before (List4) pragmas before alt (set to No_List if none)
5263       --  Pragmas_After (List5) pragmas after alt (set to No_List if none)
5264
5265       -----------------------------
5266       -- 9.7.2  Timed Entry Call --
5267       -----------------------------
5268
5269       --  TIMED_ENTRY_CALL ::=
5270       --    select
5271       --      ENTRY_CALL_ALTERNATIVE
5272       --    or
5273       --      DELAY_ALTERNATIVE
5274       --    end select;
5275
5276       --  Gigi restriction: This node never appears
5277
5278       --  N_Timed_Entry_Call
5279       --  Sloc points to SELECT
5280       --  Entry_Call_Alternative (Node1)
5281       --  Delay_Alternative (Node4)
5282
5283       -----------------------------------
5284       -- 9.7.2  Entry Call Alternative --
5285       -----------------------------------
5286
5287       --  ENTRY_CALL_ALTERNATIVE ::=
5288       --    PROCEDURE_OR_ENTRY_CALL [SEQUENCE_OF_STATEMENTS]
5289
5290       --  PROCEDURE_OR_ENTRY_CALL ::=
5291       --    PROCEDURE_CALL_STATEMENT | ENTRY_CALL_STATEMENT
5292
5293       --  Gigi restriction: This node never appears
5294
5295       --  N_Entry_Call_Alternative
5296       --  Sloc points to first token of entry call statement
5297       --  Entry_Call_Statement (Node1)
5298       --  Statements (List3) (set to Empty_List if no statements)
5299       --  Pragmas_Before (List4) pragmas before alt (set to No_List if none)
5300
5301       -----------------------------------
5302       -- 9.7.3  Conditional Entry Call --
5303       -----------------------------------
5304
5305       --  CONDITIONAL_ENTRY_CALL ::=
5306       --    select
5307       --      ENTRY_CALL_ALTERNATIVE
5308       --    else
5309       --      SEQUENCE_OF_STATEMENTS
5310       --    end select;
5311
5312       --  Gigi restriction: This node never appears
5313
5314       --  N_Conditional_Entry_Call
5315       --  Sloc points to SELECT
5316       --  Entry_Call_Alternative (Node1)
5317       --  Else_Statements (List4)
5318
5319       --------------------------------
5320       -- 9.7.4  Asynchronous Select --
5321       --------------------------------
5322
5323       --  ASYNCHRONOUS_SELECT ::=
5324       --    select
5325       --      TRIGGERING_ALTERNATIVE
5326       --    then abort
5327       --      ABORTABLE_PART
5328       --    end select;
5329
5330       --  Note: asynchronous select is not permitted in Ada 83 mode
5331
5332       --  Gigi restriction: This node never appears
5333
5334       --  N_Asynchronous_Select
5335       --  Sloc points to SELECT
5336       --  Triggering_Alternative (Node1)
5337       --  Abortable_Part (Node2)
5338
5339       -----------------------------------
5340       -- 9.7.4  Triggering Alternative --
5341       -----------------------------------
5342
5343       --  TRIGGERING_ALTERNATIVE ::=
5344       --    TRIGGERING_STATEMENT [SEQUENCE_OF_STATEMENTS]
5345
5346       --  Gigi restriction: This node never appears
5347
5348       --  N_Triggering_Alternative
5349       --  Sloc points to first token of triggering statement
5350       --  Triggering_Statement (Node1)
5351       --  Statements (List3) (set to Empty_List if no statements)
5352       --  Pragmas_Before (List4) pragmas before alt (set to No_List if none)
5353
5354       ---------------------------------
5355       -- 9.7.4  Triggering Statement --
5356       ---------------------------------
5357
5358       --  TRIGGERING_STATEMENT ::= PROCEDURE_OR_ENTRY_CALL | DELAY_STATEMENT
5359
5360       ---------------------------
5361       -- 9.7.4  Abortable Part --
5362       ---------------------------
5363
5364       --  ABORTABLE_PART ::= SEQUENCE_OF_STATEMENTS
5365
5366       --  Gigi restriction: This node never appears
5367
5368       --  N_Abortable_Part
5369       --  Sloc points to ABORT
5370       --  Statements (List3)
5371
5372       --------------------------
5373       -- 9.8  Abort Statement --
5374       --------------------------
5375
5376       --  ABORT_STATEMENT ::= abort task_NAME {, task_NAME};
5377
5378       --  Gigi restriction: This node never appears
5379
5380       --  N_Abort_Statement
5381       --  Sloc points to ABORT
5382       --  Names (List2)
5383
5384       -------------------------
5385       -- 10.1.1  Compilation --
5386       -------------------------
5387
5388       --  COMPILATION ::= {COMPILATION_UNIT}
5389
5390       --  There is no explicit node in the tree for a compilation, since in
5391       --  general the compiler is processing only a single compilation unit
5392       --  at a time. It is possible to parse multiple units in syntax check
5393       --  only mode, but the trees are discarded in that case.
5394
5395       ------------------------------
5396       -- 10.1.1  Compilation Unit --
5397       ------------------------------
5398
5399       --  COMPILATION_UNIT ::=
5400       --    CONTEXT_CLAUSE LIBRARY_ITEM
5401       --  | CONTEXT_CLAUSE SUBUNIT
5402
5403       --  The N_Compilation_Unit node itself represents the above syntax.
5404       --  However, there are two additional items not reflected in the above
5405       --  syntax. First we have the global declarations that are added by the
5406       --  code generator. These are outer level declarations (so they cannot
5407       --  be represented as being inside the units). An example is the wrapper
5408       --  subprograms that are created to do ABE checking. As always a list of
5409       --  declarations can contain actions as well (i.e. statements), and such
5410       --  statements are executed as part of the elaboration of the unit. Note
5411       --  that all such declarations are elaborated before the library unit.
5412
5413       --  Similarly, certain actions need to be elaborated at the completion
5414       --  of elaboration of the library unit (notably the statement that sets
5415       --  the Boolean flag indicating that elaboration is complete).
5416
5417       --  The third item not reflected in the syntax is pragmas that appear
5418       --  after the compilation unit. As always pragmas are a problem since
5419       --  they are not part of the formal syntax, but can be stuck into the
5420       --  source following a set of ad hoc rules, and we have to find an ad
5421       --  hoc way of sticking them into the tree. For pragmas that appear
5422       --  before the library unit, we just consider them to be part of the
5423       --  context clause, and pragmas can appear in the Context_Items list
5424       --  of the compilation unit. However, pragmas can also appear after
5425       --  the library item.
5426
5427       --  To deal with all these problems, we create an auxiliary node for
5428       --  a compilation unit, referenced from the N_Compilation_Unit node
5429       --  that contains these three items.
5430
5431       --  N_Compilation_Unit
5432       --  Sloc points to first token of defining unit name
5433       --  Library_Unit (Node4-Sem) corresponding/parent spec/body
5434       --  Context_Items (List1) context items and pragmas preceding unit
5435       --  Private_Present (Flag15) set if library unit has private keyword
5436       --  Unit (Node2) library item or subunit
5437       --  Aux_Decls_Node (Node5) points to the N_Compilation_Unit_Aux node
5438       --  Has_No_Elaboration_Code (Flag17-Sem)
5439       --  Body_Required (Flag13-Sem) set for spec if body is required
5440       --  Acts_As_Spec (Flag4-Sem) flag for subprogram body with no spec
5441       --  Context_Pending (Flag16-Sem)
5442       --  First_Inlined_Subprogram (Node3-Sem)
5443
5444       --  N_Compilation_Unit_Aux
5445       --  Sloc is a copy of the Sloc from the N_Compilation_Unit node
5446       --  Declarations (List2) (set to No_List if no global declarations)
5447       --  Actions (List1) (set to No_List if no actions)
5448       --  Pragmas_After (List5) pragmas after unit (set to No_List if none)
5449       --  Config_Pragmas (List4) config pragmas (set to Empty_List if none)
5450
5451       --------------------------
5452       -- 10.1.1  Library Item --
5453       --------------------------
5454
5455       --  LIBRARY_ITEM ::=
5456       --    [private] LIBRARY_UNIT_DECLARATION
5457       --  | LIBRARY_UNIT_BODY
5458       --  | [private] LIBRARY_UNIT_RENAMING_DECLARATION
5459
5460       --  Note: PRIVATE is not allowed in Ada 83 mode
5461
5462       --  There is no explicit node in the tree for library item, instead
5463       --  the declaration or body, and the flag for private if present,
5464       --  appear in the N_Compilation_Unit node.
5465
5466       --------------------------------------
5467       -- 10.1.1  Library Unit Declaration --
5468       --------------------------------------
5469
5470       --  LIBRARY_UNIT_DECLARATION ::=
5471       --    SUBPROGRAM_DECLARATION | PACKAGE_DECLARATION
5472       --  | GENERIC_DECLARATION    | GENERIC_INSTANTIATION
5473
5474       -----------------------------------------------
5475       -- 10.1.1  Library Unit Renaming Declaration --
5476       -----------------------------------------------
5477
5478       --  LIBRARY_UNIT_RENAMING_DECLARATION ::=
5479       --    PACKAGE_RENAMING_DECLARATION
5480       --  | GENERIC_RENAMING_DECLARATION
5481       --  | SUBPROGRAM_RENAMING_DECLARATION
5482
5483       -------------------------------
5484       -- 10.1.1  Library unit body --
5485       -------------------------------
5486
5487       --  LIBRARY_UNIT_BODY ::= SUBPROGRAM_BODY | PACKAGE_BODY
5488
5489       ------------------------------
5490       -- 10.1.1  Parent Unit Name --
5491       ------------------------------
5492
5493       --  PARENT_UNIT_NAME ::= NAME
5494
5495       ----------------------------
5496       -- 10.1.2  Context clause --
5497       ----------------------------
5498
5499       --  CONTEXT_CLAUSE ::= {CONTEXT_ITEM}
5500
5501       --  The context clause can include pragmas, and any pragmas that appear
5502       --  before the context clause proper (i.e. all configuration pragmas,
5503       --  also appear at the front of this list).
5504
5505       --------------------------
5506       -- 10.1.2  Context_Item --
5507       --------------------------
5508
5509       --  CONTEXT_ITEM ::= WITH_CLAUSE | USE_CLAUSE  | WITH_TYPE_CLAUSE
5510
5511       -------------------------
5512       -- 10.1.2  With clause --
5513       -------------------------
5514
5515       --  WITH_CLAUSE ::=
5516       --    with library_unit_NAME {,library_unit_NAME};
5517
5518       --  A separate With clause is built for each name, so that we have
5519       --  a Corresponding_Spec field for each with'ed spec. The flags
5520       --  First_Name and Last_Name are used to reconstruct the exact
5521       --  source form. When a list of names appears in one with clause,
5522       --  the first name in the list has First_Name set, and the last
5523       --  has Last_Name set. If the with clause has only one name, then
5524       --  both of the flags First_Name and Last_Name are set in this name.
5525
5526       --  Note: in the case of implicit with's that are installed by the
5527       --  Rtsfind routine, Implicit_With is set, and the Sloc is typically
5528       --  set to Standard_Location, but it is incorrect to test the Sloc
5529       --  to find out if a with clause is implicit, test the flag instead.
5530
5531       --  N_With_Clause
5532       --  Sloc points to first token of library unit name
5533       --  Name (Node2)
5534       --  Next_Implicit_With (Node3-Sem)
5535       --  Library_Unit (Node4-Sem)
5536       --  Corresponding_Spec (Node5-Sem)
5537       --  First_Name (Flag5) (set to True if first name or only one name)
5538       --  Last_Name (Flag6) (set to True if last name or only one name)
5539       --  Context_Installed (Flag13-Sem)
5540       --  Elaborate_Present (Flag4-Sem)
5541       --  Elaborate_All_Present (Flag14-Sem)
5542       --  Elaborate_All_Desirable (Flag9-Sem)
5543       --  Elaborate_Desirable (Flag11-Sem)
5544       --  Private_Present (Flag15) set if with_clause has private keyword
5545       --  Implicit_With (Flag16-Sem)
5546       --  Limited_Present (Flag17)  set if LIMITED is present
5547       --  Limited_View_Installed (Flag18-Sem)
5548       --  Unreferenced_In_Spec (Flag7-Sem)
5549       --  No_Entities_Ref_In_Spec (Flag8-Sem)
5550
5551       --  Note: Limited_Present and Limited_View_Installed give support to
5552       --        Ada 2005 (AI-50217).
5553       --  Similarly, Private_Present gives support to AI-50262.
5554
5555       ----------------------
5556       -- With_Type clause --
5557       ----------------------
5558
5559       --  This is a GNAT extension, used to implement mutually recursive
5560       --  types declared in different packages.
5561       --  Note: this is now obsolete. The functionality of this construct
5562       --  is now implemented by the Ada 2005 Limited_with_Clause.
5563
5564       ---------------------
5565       -- 10.2  Body stub --
5566       ---------------------
5567
5568       --  BODY_STUB ::=
5569       --    SUBPROGRAM_BODY_STUB
5570       --  | PACKAGE_BODY_STUB
5571       --  | TASK_BODY_STUB
5572       --  | PROTECTED_BODY_STUB
5573
5574       ----------------------------------
5575       -- 10.1.3  Subprogram Body Stub --
5576       ----------------------------------
5577
5578       --  SUBPROGRAM_BODY_STUB ::=
5579       --    SUBPROGRAM_SPECIFICATION is separate;
5580
5581       --  N_Subprogram_Body_Stub
5582       --  Sloc points to FUNCTION or PROCEDURE
5583       --  Specification (Node1)
5584       --  Library_Unit (Node4-Sem) points to the subunit
5585       --  Corresponding_Body (Node5-Sem)
5586
5587       -------------------------------
5588       -- 10.1.3  Package Body Stub --
5589       -------------------------------
5590
5591       --  PACKAGE_BODY_STUB ::=
5592       --    package body DEFINING_IDENTIFIER is separate;
5593
5594       --  N_Package_Body_Stub
5595       --  Sloc points to PACKAGE
5596       --  Defining_Identifier (Node1)
5597       --  Library_Unit (Node4-Sem) points to the subunit
5598       --  Corresponding_Body (Node5-Sem)
5599
5600       ----------------------------
5601       -- 10.1.3  Task Body Stub --
5602       ----------------------------
5603
5604       --  TASK_BODY_STUB ::=
5605       --    task body DEFINING_IDENTIFIER is separate;
5606
5607       --  N_Task_Body_Stub
5608       --  Sloc points to TASK
5609       --  Defining_Identifier (Node1)
5610       --  Library_Unit (Node4-Sem) points to the subunit
5611       --  Corresponding_Body (Node5-Sem)
5612
5613       ---------------------------------
5614       -- 10.1.3  Protected Body Stub --
5615       ---------------------------------
5616
5617       --  PROTECTED_BODY_STUB ::=
5618       --    protected body DEFINING_IDENTIFIER is separate;
5619
5620       --  Note: protected body stubs are not allowed in Ada 83 mode
5621
5622       --  N_Protected_Body_Stub
5623       --  Sloc points to PROTECTED
5624       --  Defining_Identifier (Node1)
5625       --  Library_Unit (Node4-Sem) points to the subunit
5626       --  Corresponding_Body (Node5-Sem)
5627
5628       ---------------------
5629       -- 10.1.3  Subunit --
5630       ---------------------
5631
5632       --  SUBUNIT ::= separate (PARENT_UNIT_NAME) PROPER_BODY
5633
5634       --  N_Subunit
5635       --  Sloc points to SEPARATE
5636       --  Name (Node2) is the name of the parent unit
5637       --  Proper_Body (Node1) is the subunit body
5638       --  Corresponding_Stub (Node3-Sem) is the stub declaration for the unit.
5639
5640       ---------------------------------
5641       -- 11.1  Exception Declaration --
5642       ---------------------------------
5643
5644       --  EXCEPTION_DECLARATION ::= DEFINING_IDENTIFIER_LIST : exception;
5645
5646       --  For consistency with object declarations etc., the parser converts
5647       --  the case of multiple identifiers being declared to a series of
5648       --  declarations in which the expression is copied, using the More_Ids
5649       --  and Prev_Ids flags to remember the source form as described in the
5650       --  section on "Handling of Defining Identifier Lists".
5651
5652       --  N_Exception_Declaration
5653       --  Sloc points to EXCEPTION
5654       --  Defining_Identifier (Node1)
5655       --  Expression (Node3-Sem)
5656       --  Renaming_Exception (Node2-Sem)
5657       --  More_Ids (Flag5) (set to False if no more identifiers in list)
5658       --  Prev_Ids (Flag6) (set to False if no previous identifiers in list)
5659
5660       ------------------------------------------
5661       -- 11.2  Handled Sequence Of Statements --
5662       ------------------------------------------
5663
5664       --  HANDLED_SEQUENCE_OF_STATEMENTS ::=
5665       --      SEQUENCE_OF_STATEMENTS
5666       --    [exception
5667       --      EXCEPTION_HANDLER
5668       --      {EXCEPTION_HANDLER}]
5669       --    [at end
5670       --      cleanup_procedure_call (param, param, param, ...);]
5671
5672       --  The AT END phrase is a GNAT extension to provide for cleanups. It is
5673       --  used only internally currently, but is considered to be syntactic.
5674       --  At the moment, the only cleanup action allowed is a single call to
5675       --  a parameterless procedure, and the Identifier field of the node is
5676       --  the procedure to be called. Also there is a current restriction
5677       --  that exception handles and a cleanup cannot be present in the same
5678       --  frame, so at least one of Exception_Handlers or the Identifier must
5679       --  be missing.
5680
5681       --  Actually, more accurately, this restriction applies to the original
5682       --  source program. In the expanded tree, if the At_End_Proc field is
5683       --  present, then there will also be an exception handler of the form:
5684
5685       --     when all others =>
5686       --        cleanup;
5687       --        raise;
5688
5689       --  where cleanup is the procedure to be generated. The reason we do
5690       --  this is so that the front end can handle the necessary entries in
5691       --  the exception tables, and other exception handler actions required
5692       --  as part of the normal handling for exception handlers.
5693
5694       --  The AT END cleanup handler protects only the sequence of statements
5695       --  (not the associated declarations of the parent), just like exception
5696       --  handlers. The big difference is that the cleanup procedure is called
5697       --  on either a normal or an abnormal exit from the statement sequence.
5698
5699       --  Note: the list of Exception_Handlers can contain pragmas as well
5700       --  as actual handlers. In practice these pragmas can only occur at
5701       --  the start of the list, since any pragmas occurring later on will
5702       --  be included in the statement list of the corresponding handler.
5703
5704       --  Note: although in the Ada syntax, the sequence of statements in
5705       --  a handled sequence of statements can only contain statements, we
5706       --  allow free mixing of declarations and statements in the resulting
5707       --  expanded tree. This is for example used to deal with the case of
5708       --  a cleanup procedure that must handle declarations as well as the
5709       --  statements of a block.
5710
5711       --  N_Handled_Sequence_Of_Statements
5712       --  Sloc points to first token of first statement
5713       --  Statements (List3)
5714       --  End_Label (Node4) (set to Empty if expander generated)
5715       --  Exception_Handlers (List5) (set to No_List if none present)
5716       --  At_End_Proc (Node1) (set to Empty if no clean up procedure)
5717       --  First_Real_Statement (Node2-Sem)
5718       --  Zero_Cost_Handling (Flag5-Sem)
5719
5720       --  Note: the parent always contains a Declarations field which contains
5721       --  declarations associated with the handled sequence of statements. This
5722       --  is true even in the case of an accept statement (see description of
5723       --  the N_Accept_Statement node).
5724
5725       --  End_Label refers to the containing construct
5726
5727       -----------------------------
5728       -- 11.2  Exception Handler --
5729       -----------------------------
5730
5731       --  EXCEPTION_HANDLER ::=
5732       --    when [CHOICE_PARAMETER_SPECIFICATION :]
5733       --      EXCEPTION_CHOICE {| EXCEPTION_CHOICE} =>
5734       --        SEQUENCE_OF_STATEMENTS
5735
5736       --  Note: choice parameter specification is not allowed in Ada 83 mode
5737
5738       --  N_Exception_Handler
5739       --  Sloc points to WHEN
5740       --  Choice_Parameter (Node2) (set to Empty if not present)
5741       --  Exception_Choices (List4)
5742       --  Statements (List3)
5743       --  Exception_Label (Node5-Sem) (set to Empty of not present)
5744       --  Zero_Cost_Handling (Flag5-Sem)
5745       --  Local_Raise_Statements (Elist1-Sem) (set to No_Elist if not present)
5746       --  Local_Raise_Not_OK (Flag7-Sem)
5747       --  Has_Local_Raise (Flag8-Sem)
5748
5749       ------------------------------------------
5750       -- 11.2  Choice parameter specification --
5751       ------------------------------------------
5752
5753       --  CHOICE_PARAMETER_SPECIFICATION ::= DEFINING_IDENTIFIER
5754
5755       ----------------------------
5756       -- 11.2  Exception Choice --
5757       ----------------------------
5758
5759       --  EXCEPTION_CHOICE ::= exception_NAME | others
5760
5761       --  Except in the case of OTHERS, no explicit node appears in the tree
5762       --  for exception choice. Instead the exception name appears directly.
5763       --  An OTHERS choice is represented by a N_Others_Choice node (see
5764       --  section 3.8.1.
5765
5766       --  Note: for the exception choice created for an at end handler, the
5767       --  exception choice is an N_Others_Choice node with All_Others set.
5768
5769       ---------------------------
5770       -- 11.3  Raise Statement --
5771       ---------------------------
5772
5773       --  RAISE_STATEMENT ::= raise [exception_NAME];
5774
5775       --  In Ada 2005, we have
5776
5777       --  RAISE_STATEMENT ::= raise; | raise exception_NAME [with EXPRESSION];
5778
5779       --  N_Raise_Statement
5780       --  Sloc points to RAISE
5781       --  Name (Node2) (set to Empty if no exception name present)
5782       --  Expression (Node3) (set to Empty if no expression present)
5783       --  From_At_End (Flag4-Sem)
5784
5785       -------------------------------
5786       -- 12.1  Generic Declaration --
5787       -------------------------------
5788
5789       --  GENERIC_DECLARATION ::=
5790       --    GENERIC_SUBPROGRAM_DECLARATION | GENERIC_PACKAGE_DECLARATION
5791
5792       ------------------------------------------
5793       -- 12.1  Generic Subprogram Declaration --
5794       ------------------------------------------
5795
5796       --  GENERIC_SUBPROGRAM_DECLARATION ::=
5797       --    GENERIC_FORMAL_PART SUBPROGRAM_SPECIFICATION;
5798
5799       --  Note: Generic_Formal_Declarations can include pragmas
5800
5801       --  N_Generic_Subprogram_Declaration
5802       --  Sloc points to GENERIC
5803       --  Specification (Node1) subprogram specification
5804       --  Corresponding_Body (Node5-Sem)
5805       --  Generic_Formal_Declarations (List2) from generic formal part
5806       --  Parent_Spec (Node4-Sem)
5807
5808       ---------------------------------------
5809       -- 12.1  Generic Package Declaration --
5810       ---------------------------------------
5811
5812       --  GENERIC_PACKAGE_DECLARATION ::=
5813       --    GENERIC_FORMAL_PART PACKAGE_SPECIFICATION;
5814
5815       --  Note: when we do generics right, the Activation_Chain_Entity entry
5816       --  for this node can be removed (since the expander won't see generic
5817       --  units any more)???.
5818
5819       --  Note: Generic_Formal_Declarations can include pragmas
5820
5821       --  N_Generic_Package_Declaration
5822       --  Sloc points to GENERIC
5823       --  Specification (Node1) package specification
5824       --  Corresponding_Body (Node5-Sem)
5825       --  Generic_Formal_Declarations (List2) from generic formal part
5826       --  Parent_Spec (Node4-Sem)
5827       --  Activation_Chain_Entity (Node3-Sem)
5828
5829       -------------------------------
5830       -- 12.1  Generic Formal Part --
5831       -------------------------------
5832
5833       --  GENERIC_FORMAL_PART ::=
5834       --    generic {GENERIC_FORMAL_PARAMETER_DECLARATION | USE_CLAUSE}
5835
5836       ------------------------------------------------
5837       -- 12.1  Generic Formal Parameter Declaration --
5838       ------------------------------------------------
5839
5840       --  GENERIC_FORMAL_PARAMETER_DECLARATION ::=
5841       --    FORMAL_OBJECT_DECLARATION
5842       --  | FORMAL_TYPE_DECLARATION
5843       --  | FORMAL_SUBPROGRAM_DECLARATION
5844       --  | FORMAL_PACKAGE_DECLARATION
5845
5846       ---------------------------------
5847       -- 12.3  Generic Instantiation --
5848       ---------------------------------
5849
5850       --  GENERIC_INSTANTIATION ::=
5851       --    package DEFINING_PROGRAM_UNIT_NAME is
5852       --      new generic_package_NAME [GENERIC_ACTUAL_PART];
5853       --  | [[not] overriding]
5854       --    procedure DEFINING_PROGRAM_UNIT_NAME is
5855       --      new generic_procedure_NAME [GENERIC_ACTUAL_PART];
5856       --  | [[not] overriding]
5857       --    function DEFINING_DESIGNATOR is
5858       --      new generic_function_NAME [GENERIC_ACTUAL_PART];
5859
5860       --  N_Package_Instantiation
5861       --  Sloc points to PACKAGE
5862       --  Defining_Unit_Name (Node1)
5863       --  Name (Node2)
5864       --  Generic_Associations (List3) (set to No_List if no
5865       --   generic actual part)
5866       --  Parent_Spec (Node4-Sem)
5867       --  Instance_Spec (Node5-Sem)
5868       --  ABE_Is_Certain (Flag18-Sem)
5869
5870       --  N_Procedure_Instantiation
5871       --  Sloc points to PROCEDURE
5872       --  Defining_Unit_Name (Node1)
5873       --  Name (Node2)
5874       --  Parent_Spec (Node4-Sem)
5875       --  Generic_Associations (List3) (set to No_List if no
5876       --   generic actual part)
5877       --  Instance_Spec (Node5-Sem)
5878       --  Must_Override (Flag14) set if overriding indicator present
5879       --  Must_Not_Override (Flag15) set if not_overriding indicator present
5880       --  ABE_Is_Certain (Flag18-Sem)
5881
5882       --  N_Function_Instantiation
5883       --  Sloc points to FUNCTION
5884       --  Defining_Unit_Name (Node1)
5885       --  Name (Node2)
5886       --  Generic_Associations (List3) (set to No_List if no
5887       --   generic actual part)
5888       --  Parent_Spec (Node4-Sem)
5889       --  Instance_Spec (Node5-Sem)
5890       --  Must_Override (Flag14) set if overriding indicator present
5891       --  Must_Not_Override (Flag15) set if not_overriding indicator present
5892       --  ABE_Is_Certain (Flag18-Sem)
5893
5894       --  Note: overriding indicator is an Ada 2005 feature
5895
5896       -------------------------------
5897       -- 12.3  Generic Actual Part --
5898       -------------------------------
5899
5900       --  GENERIC_ACTUAL_PART ::=
5901       --    (GENERIC_ASSOCIATION {, GENERIC_ASSOCIATION})
5902
5903       -------------------------------
5904       -- 12.3  Generic Association --
5905       -------------------------------
5906
5907       --  GENERIC_ASSOCIATION ::=
5908       --    [generic_formal_parameter_SELECTOR_NAME =>]
5909
5910       --  Note: unlike the procedure call case, a generic association node
5911       --  is generated for every association, even if no formal parameter
5912       --  selector name is present. In this case the parser will leave the
5913       --  Selector_Name field set to Empty, to be filled in later by the
5914       --  semantic pass.
5915
5916       --  In Ada 2005, a formal may be associated with a box, if the
5917       --  association is part of the list of actuals for a formal package.
5918       --  If the association is given by  OTHERS => <>, the association is
5919       --  an N_Others_Choice.
5920
5921       --  N_Generic_Association
5922       --  Sloc points to first token of generic association
5923       --  Selector_Name (Node2) (set to Empty if no formal
5924       --   parameter selector name)
5925       --  Explicit_Generic_Actual_Parameter (Node1) (Empty if box present)
5926       --  Box_Present (Flag15) (for formal_package associations with a box)
5927
5928       ---------------------------------------------
5929       -- 12.3  Explicit Generic Actual Parameter --
5930       ---------------------------------------------
5931
5932       --  EXPLICIT_GENERIC_ACTUAL_PARAMETER ::=
5933       --    EXPRESSION      | variable_NAME   | subprogram_NAME
5934       --  | entry_NAME      | SUBTYPE_MARK    | package_instance_NAME
5935
5936       -------------------------------------
5937       -- 12.4  Formal Object Declaration --
5938       -------------------------------------
5939
5940       --  FORMAL_OBJECT_DECLARATION ::=
5941       --    DEFINING_IDENTIFIER_LIST :
5942       --      MODE [NULL_EXCLUSION] SUBTYPE_MARK [:= DEFAULT_EXPRESSION];
5943       --  | DEFINING_IDENTIFIER_LIST :
5944       --      MODE ACCESS_DEFINITION [:= DEFAULT_EXPRESSION];
5945
5946       --  Although the syntax allows multiple identifiers in the list, the
5947       --  semantics is as though successive declarations were given with
5948       --  identical type definition and expression components. To simplify
5949       --  semantic processing, the parser represents a multiple declaration
5950       --  case as a sequence of single declarations, using the More_Ids and
5951       --  Prev_Ids flags to preserve the original source form as described
5952       --  in the section on "Handling of Defining Identifier Lists".
5953
5954       --  N_Formal_Object_Declaration
5955       --  Sloc points to first identifier
5956       --  Defining_Identifier (Node1)
5957       --  In_Present (Flag15)
5958       --  Out_Present (Flag17)
5959       --  Null_Exclusion_Present (Flag11) (set to False if not present)
5960       --  Subtype_Mark (Node4) (set to Empty if not present)
5961       --  Access_Definition (Node3) (set to Empty if not present)
5962       --  Default_Expression (Node5) (set to Empty if no default expression)
5963       --  More_Ids (Flag5) (set to False if no more identifiers in list)
5964       --  Prev_Ids (Flag6) (set to False if no previous identifiers in list)
5965
5966       -----------------------------------
5967       -- 12.5  Formal Type Declaration --
5968       -----------------------------------
5969
5970       --  FORMAL_TYPE_DECLARATION ::=
5971       --    type DEFINING_IDENTIFIER [DISCRIMINANT_PART]
5972       --      is FORMAL_TYPE_DEFINITION;
5973
5974       --  N_Formal_Type_Declaration
5975       --  Sloc points to TYPE
5976       --  Defining_Identifier (Node1)
5977       --  Formal_Type_Definition (Node3)
5978       --  Discriminant_Specifications (List4) (set to No_List if no
5979       --   discriminant part)
5980       --  Unknown_Discriminants_Present (Flag13) set if (<>) discriminant
5981
5982       ----------------------------------
5983       -- 12.5  Formal type definition --
5984       ----------------------------------
5985
5986       --  FORMAL_TYPE_DEFINITION ::=
5987       --    FORMAL_PRIVATE_TYPE_DEFINITION
5988       --  | FORMAL_DERIVED_TYPE_DEFINITION
5989       --  | FORMAL_DISCRETE_TYPE_DEFINITION
5990       --  | FORMAL_SIGNED_INTEGER_TYPE_DEFINITION
5991       --  | FORMAL_MODULAR_TYPE_DEFINITION
5992       --  | FORMAL_FLOATING_POINT_DEFINITION
5993       --  | FORMAL_ORDINARY_FIXED_POINT_DEFINITION
5994       --  | FORMAL_DECIMAL_FIXED_POINT_DEFINITION
5995       --  | FORMAL_ARRAY_TYPE_DEFINITION
5996       --  | FORMAL_ACCESS_TYPE_DEFINITION
5997       --  | FORMAL_INTERFACE_TYPE_DEFINITION
5998
5999       ---------------------------------------------
6000       -- 12.5.1  Formal Private Type Definition --
6001       ---------------------------------------------
6002
6003       --  FORMAL_PRIVATE_TYPE_DEFINITION ::=
6004       --    [[abstract] tagged] [limited] private
6005
6006       --  Note: TAGGED is not allowed in Ada 83 mode
6007
6008       --  N_Formal_Private_Type_Definition
6009       --  Sloc points to PRIVATE
6010       --  Abstract_Present (Flag4)
6011       --  Tagged_Present (Flag15)
6012       --  Limited_Present (Flag17)
6013
6014       --------------------------------------------
6015       -- 12.5.1  Formal Derived Type Definition --
6016       --------------------------------------------
6017
6018       --  FORMAL_DERIVED_TYPE_DEFINITION ::=
6019       --    [abstract] [limited | synchronized]
6020       --       new SUBTYPE_MARK [[and INTERFACE_LIST] with private]
6021       --  Note: this construct is not allowed in Ada 83 mode
6022
6023       --  N_Formal_Derived_Type_Definition
6024       --  Sloc points to NEW
6025       --  Subtype_Mark (Node4)
6026       --  Private_Present (Flag15)
6027       --  Abstract_Present (Flag4)
6028       --  Limited_Present (Flag17)
6029       --  Synchronized_Present (Flag7)
6030       --  Interface_List (List2) (set to No_List if none)
6031
6032       ---------------------------------------------
6033       -- 12.5.2  Formal Discrete Type Definition --
6034       ---------------------------------------------
6035
6036       --  FORMAL_DISCRETE_TYPE_DEFINITION ::= (<>)
6037
6038       --  N_Formal_Discrete_Type_Definition
6039       --  Sloc points to (
6040
6041       ---------------------------------------------------
6042       -- 12.5.2  Formal Signed Integer Type Definition --
6043       ---------------------------------------------------
6044
6045       --  FORMAL_SIGNED_INTEGER_TYPE_DEFINITION ::= range <>
6046
6047       --  N_Formal_Signed_Integer_Type_Definition
6048       --  Sloc points to RANGE
6049
6050       --------------------------------------------
6051       -- 12.5.2  Formal Modular Type Definition --
6052       --------------------------------------------
6053
6054       --  FORMAL_MODULAR_TYPE_DEFINITION ::= mod <>
6055
6056       --  N_Formal_Modular_Type_Definition
6057       --  Sloc points to MOD
6058
6059       ----------------------------------------------
6060       -- 12.5.2  Formal Floating Point Definition --
6061       ----------------------------------------------
6062
6063       --  FORMAL_FLOATING_POINT_DEFINITION ::= digits <>
6064
6065       --  N_Formal_Floating_Point_Definition
6066       --  Sloc points to DIGITS
6067
6068       ----------------------------------------------------
6069       -- 12.5.2  Formal Ordinary Fixed Point Definition --
6070       ----------------------------------------------------
6071
6072       --  FORMAL_ORDINARY_FIXED_POINT_DEFINITION ::= delta <>
6073
6074       --  N_Formal_Ordinary_Fixed_Point_Definition
6075       --  Sloc points to DELTA
6076
6077       ---------------------------------------------------
6078       -- 12.5.2  Formal Decimal Fixed Point Definition --
6079       ---------------------------------------------------
6080
6081       --  FORMAL_DECIMAL_FIXED_POINT_DEFINITION ::= delta <> digits <>
6082
6083       --  Note: formal decimal fixed point definition not allowed in Ada 83
6084
6085       --  N_Formal_Decimal_Fixed_Point_Definition
6086       --  Sloc points to DELTA
6087
6088       ------------------------------------------
6089       -- 12.5.3  Formal Array Type Definition --
6090       ------------------------------------------
6091
6092       --  FORMAL_ARRAY_TYPE_DEFINITION ::= ARRAY_TYPE_DEFINITION
6093
6094       -------------------------------------------
6095       -- 12.5.4  Formal Access Type Definition --
6096       -------------------------------------------
6097
6098       --  FORMAL_ACCESS_TYPE_DEFINITION ::= ACCESS_TYPE_DEFINITION
6099
6100       ----------------------------------------------
6101       -- 12.5.5  Formal Interface Type Definition --
6102       ----------------------------------------------
6103
6104       --  FORMAL_INTERFACE_TYPE_DEFINITION ::= INTERFACE_TYPE_DEFINITION
6105
6106       -----------------------------------------
6107       -- 12.6  Formal Subprogram Declaration --
6108       -----------------------------------------
6109
6110       --  FORMAL_SUBPROGRAM_DECLARATION ::=
6111       --    FORMAL_CONCRETE_SUBPROGRAM_DECLARATION
6112       --  | FORMAL_ABSTRACT_SUBPROGRAM_DECLARATION
6113
6114       --------------------------------------------------
6115       -- 12.6  Formal Concrete Subprogram Declaration --
6116       --------------------------------------------------
6117
6118       --  FORMAL_CONCRETE_SUBPROGRAM_DECLARATION ::=
6119       --    with SUBPROGRAM_SPECIFICATION [is SUBPROGRAM_DEFAULT];
6120
6121       --  N_Formal_Concrete_Subprogram_Declaration
6122       --  Sloc points to WITH
6123       --  Specification (Node1)
6124       --  Default_Name (Node2) (set to Empty if no subprogram default)
6125       --  Box_Present (Flag15)
6126
6127       --  Note: if no subprogram default is present, then Name is set
6128       --  to Empty, and Box_Present is False.
6129
6130       --------------------------------------------------
6131       -- 12.6  Formal Abstract Subprogram Declaration --
6132       --------------------------------------------------
6133
6134       --  FORMAL_ABSTRACT_SUBPROGRAM_DECLARATION ::=
6135       --    with SUBPROGRAM_SPECIFICATION is abstract [SUBPROGRAM_DEFAULT];
6136
6137       --  N_Formal_Abstract_Subprogram_Declaration
6138       --  Sloc points to WITH
6139       --  Specification (Node1)
6140       --  Default_Name (Node2) (set to Empty if no subprogram default)
6141       --  Box_Present (Flag15)
6142
6143       --  Note: if no subprogram default is present, then Name is set
6144       --  to Empty, and Box_Present is False.
6145
6146       ------------------------------
6147       -- 12.6  Subprogram Default --
6148       ------------------------------
6149
6150       --  SUBPROGRAM_DEFAULT ::= DEFAULT_NAME | <>
6151
6152       --  There is no separate node in the tree for a subprogram default.
6153       --  Instead the parent (N_Formal_Concrete_Subprogram_Declaration
6154       --  or N_Formal_Abstract_Subprogram_Declaration) node contains the
6155       --  default name or box indication, as needed.
6156
6157       ------------------------
6158       -- 12.6  Default Name --
6159       ------------------------
6160
6161       --  DEFAULT_NAME ::= NAME
6162
6163       --------------------------------------
6164       -- 12.7  Formal Package Declaration --
6165       --------------------------------------
6166
6167       --  FORMAL_PACKAGE_DECLARATION ::=
6168       --    with package DEFINING_IDENTIFIER
6169       --      is new generic_package_NAME FORMAL_PACKAGE_ACTUAL_PART;
6170
6171       --  Note: formal package declarations not allowed in Ada 83 mode
6172
6173       --  N_Formal_Package_Declaration
6174       --  Sloc points to WITH
6175       --  Defining_Identifier (Node1)
6176       --  Name (Node2)
6177       --  Generic_Associations (List3) (set to No_List if (<>) case or
6178       --   empty generic actual part)
6179       --  Box_Present (Flag15)
6180       --  Instance_Spec (Node5-Sem)
6181       --  ABE_Is_Certain (Flag18-Sem)
6182
6183       --------------------------------------
6184       -- 12.7  Formal Package Actual Part --
6185       --------------------------------------
6186
6187       --  FORMAL_PACKAGE_ACTUAL_PART ::=
6188       --    ([OTHERS] => <>)
6189       --    | [GENERIC_ACTUAL_PART]
6190       --    (FORMAL_PACKAGE_ASSOCIATION {. FORMAL_PACKAGE_ASSOCIATION}
6191
6192       --  FORMAL_PACKAGE_ASSOCIATION ::=
6193       --   GENERIC_ASSOCIATION
6194       --  | GENERIC_FORMAL_PARAMETER_SELECTOR_NAME => <>
6195
6196       --  There is no explicit node in the tree for a formal package actual
6197       --  part. Instead the information appears in the parent node (i.e. the
6198       --  formal package declaration node itself).
6199
6200       --  There is no explicit node for a formal package association. All of
6201       --  them are represented either by a generic association, possibly with
6202       --  Box_Present, or by an N_Others_Choice.
6203
6204       ---------------------------------
6205       -- 13.1  Representation clause --
6206       ---------------------------------
6207
6208       --  REPRESENTATION_CLAUSE ::=
6209       --    ATTRIBUTE_DEFINITION_CLAUSE
6210       --  | ENUMERATION_REPRESENTATION_CLAUSE
6211       --  | RECORD_REPRESENTATION_CLAUSE
6212       --  | AT_CLAUSE
6213
6214       ----------------------
6215       -- 13.1  Local Name --
6216       ----------------------
6217
6218       --  LOCAL_NAME :=
6219       --    DIRECT_NAME
6220       --  | DIRECT_NAME'ATTRIBUTE_DESIGNATOR
6221       --  | library_unit_NAME
6222
6223       --  The construct DIRECT_NAME'ATTRIBUTE_DESIGNATOR appears in the tree
6224       --  as an attribute reference, which has essentially the same form.
6225
6226       ---------------------------------------
6227       -- 13.3  Attribute definition clause --
6228       ---------------------------------------
6229
6230       --  ATTRIBUTE_DEFINITION_CLAUSE ::=
6231       --    for LOCAL_NAME'ATTRIBUTE_DESIGNATOR use EXPRESSION;
6232       --  | for LOCAL_NAME'ATTRIBUTE_DESIGNATOR use NAME;
6233
6234       --  In Ada 83, the expression must be a simple expression and the
6235       --  local name must be a direct name.
6236
6237       --  Note: the only attribute definition clause that is processed by
6238       --  gigi is an address clause. For all other cases, the information
6239       --  is extracted by the front end and either results in setting entity
6240       --  information, e.g. Esize for the Size clause, or in appropriate
6241       --  expansion actions (e.g. in the case of Storage_Size).
6242
6243       --  For an address clause, Gigi constructs the appropriate addressing
6244       --  code. It also ensures that no aliasing optimizations are made
6245       --  for the object for which the address clause appears.
6246
6247       --  Note: for an address clause used to achieve an overlay:
6248
6249       --    A : Integer;
6250       --    B : Integer;
6251       --    for B'Address use A'Address;
6252
6253       --  the above rule means that Gigi will ensure that no optimizations
6254       --  will be made for B that would violate the implementation advice
6255       --  of RM 13.3(19). However, this advice applies only to B and not
6256       --  to A, which seems unfortunate. The GNAT front end will mark the
6257       --  object A as volatile to also prevent unwanted optimization
6258       --  assumptions based on no aliasing being made for B.
6259
6260       --  N_Attribute_Definition_Clause
6261       --  Sloc points to FOR
6262       --  Name (Node2) the local name
6263       --  Chars (Name1) the identifier name from the attribute designator
6264       --  Expression (Node3) the expression or name
6265       --  Entity (Node4-Sem)
6266       --  Next_Rep_Item (Node5-Sem)
6267       --  From_At_Mod (Flag4-Sem)
6268       --  Check_Address_Alignment (Flag11-Sem)
6269       --  Address_Warning_Posted (Flag18-Sem)
6270
6271       ---------------------------------------------
6272       -- 13.4  Enumeration representation clause --
6273       ---------------------------------------------
6274
6275       --  ENUMERATION_REPRESENTATION_CLAUSE ::=
6276       --    for first_subtype_LOCAL_NAME use ENUMERATION_AGGREGATE;
6277
6278       --  In Ada 83, the name must be a direct name
6279
6280       --  N_Enumeration_Representation_Clause
6281       --  Sloc points to FOR
6282       --  Identifier (Node1) direct name
6283       --  Array_Aggregate (Node3)
6284       --  Next_Rep_Item (Node5-Sem)
6285
6286       ---------------------------------
6287       -- 13.4  Enumeration aggregate --
6288       ---------------------------------
6289
6290       --  ENUMERATION_AGGREGATE ::= ARRAY_AGGREGATE
6291
6292       ------------------------------------------
6293       -- 13.5.1  Record representation clause --
6294       ------------------------------------------
6295
6296       --  RECORD_REPRESENTATION_CLAUSE ::=
6297       --    for first_subtype_LOCAL_NAME use
6298       --      record [MOD_CLAUSE]
6299       --        {COMPONENT_CLAUSE}
6300       --      end record;
6301
6302       --  Gigi restriction: Mod_Clause is always Empty (if present it is
6303       --  replaced by a corresponding Alignment attribute definition clause).
6304
6305       --  Note: Component_Clauses can include pragmas
6306
6307       --  N_Record_Representation_Clause
6308       --  Sloc points to FOR
6309       --  Identifier (Node1) direct name
6310       --  Mod_Clause (Node2) (set to Empty if no mod clause present)
6311       --  Component_Clauses (List3)
6312       --  Next_Rep_Item (Node5-Sem)
6313
6314       ------------------------------
6315       -- 13.5.1  Component clause --
6316       ------------------------------
6317
6318       --  COMPONENT_CLAUSE ::=
6319       --    component_LOCAL_NAME at POSITION
6320       --      range FIRST_BIT .. LAST_BIT;
6321
6322       --  N_Component_Clause
6323       --  Sloc points to AT
6324       --  Component_Name (Node1) points to Name or Attribute_Reference
6325       --  Position (Node2)
6326       --  First_Bit (Node3)
6327       --  Last_Bit (Node4)
6328
6329       ----------------------
6330       -- 13.5.1  Position --
6331       ----------------------
6332
6333       --  POSITION ::= static_EXPRESSION
6334
6335       -----------------------
6336       -- 13.5.1  First_Bit --
6337       -----------------------
6338
6339       --  FIRST_BIT ::= static_SIMPLE_EXPRESSION
6340
6341       ----------------------
6342       -- 13.5.1  Last_Bit --
6343       ----------------------
6344
6345       --  LAST_BIT ::= static_SIMPLE_EXPRESSION
6346
6347       --------------------------
6348       -- 13.8  Code statement --
6349       --------------------------
6350
6351       --  CODE_STATEMENT ::= QUALIFIED_EXPRESSION;
6352
6353       --  Note: in GNAT, the qualified expression has the form
6354
6355       --    Asm_Insn'(Asm (...));
6356
6357       --  See package System.Machine_Code in file s-maccod.ads for details on
6358       --  the allowed parameters to Asm. There are two ways this node can
6359       --  arise, as a code statement, in which case the expression is the
6360       --  qualified expression, or as a result of the expansion of an intrinsic
6361       --  call to the Asm or Asm_Input procedure.
6362
6363       --  N_Code_Statement
6364       --  Sloc points to first token of the expression
6365       --  Expression (Node3)
6366
6367       --  Note: package Exp_Code contains an abstract functional interface
6368       --  for use by Gigi in accessing the data from N_Code_Statement nodes.
6369
6370       ------------------------
6371       -- 13.12  Restriction --
6372       ------------------------
6373
6374       --  RESTRICTION ::=
6375       --    restriction_IDENTIFIER
6376       --  | restriction_parameter_IDENTIFIER => EXPRESSION
6377
6378       --  There is no explicit node for restrictions. Instead the restriction
6379       --  appears in normal pragma syntax as a pragma argument association,
6380       --  which has the same syntactic form.
6381
6382       --------------------------
6383       -- B.2  Shift Operators --
6384       --------------------------
6385
6386       --  Calls to the intrinsic shift functions are converted to one of
6387       --  the following shift nodes, which have the form of normal binary
6388       --  operator names. Note that for a given shift operation, one node
6389       --  covers all possible types, as for normal operators.
6390
6391       --  Note: it is perfectly permissible for the expander to generate
6392       --  shift operation nodes directly, in which case they will be analyzed
6393       --  and parsed in the usual manner.
6394
6395       --  Sprint syntax: shift-function-name!(expr, count)
6396
6397       --  Note: the Left_Opnd field holds the first argument (the value to
6398       --  be shifted). The Right_Opnd field holds the second argument (the
6399       --  shift count). The Chars field is the name of the intrinsic function.
6400
6401       --  N_Op_Rotate_Left
6402       --  Sloc points to the function name
6403       --  plus fields for binary operator
6404       --  plus fields for expression
6405       --  Shift_Count_OK (Flag4-Sem)
6406
6407       --  N_Op_Rotate_Right
6408       --  Sloc points to the function name
6409       --  plus fields for binary operator
6410       --  plus fields for expression
6411       --  Shift_Count_OK (Flag4-Sem)
6412
6413       --  N_Op_Shift_Left
6414       --  Sloc points to the function name
6415       --  plus fields for binary operator
6416       --  plus fields for expression
6417       --  Shift_Count_OK (Flag4-Sem)
6418
6419       --  N_Op_Shift_Right_Arithmetic
6420       --  Sloc points to the function name
6421       --  plus fields for binary operator
6422       --  plus fields for expression
6423       --  Shift_Count_OK (Flag4-Sem)
6424
6425       --  N_Op_Shift_Right
6426       --  Sloc points to the function name
6427       --  plus fields for binary operator
6428       --  plus fields for expression
6429       --  Shift_Count_OK (Flag4-Sem)
6430
6431    --------------------------
6432    -- Obsolescent Features --
6433    --------------------------
6434
6435       --  The syntax descriptions and tree nodes for obsolescent features are
6436       --  grouped together, corresponding to their location in appendix I in
6437       --  the RM. However, parsing and semantic analysis for these constructs
6438       --  is located in an appropriate chapter (see individual notes).
6439
6440       ---------------------------
6441       -- J.3  Delta Constraint --
6442       ---------------------------
6443
6444       --  Note: the parse routine for this construct is located in section
6445       --  3.5.9 of Par-Ch3, and semantic analysis is in Sem_Ch3, which is
6446       --  where delta constraint logically belongs.
6447
6448       --  DELTA_CONSTRAINT ::= DELTA static_EXPRESSION [RANGE_CONSTRAINT]
6449
6450       --  N_Delta_Constraint
6451       --  Sloc points to DELTA
6452       --  Delta_Expression (Node3)
6453       --  Range_Constraint (Node4) (set to Empty if not present)
6454
6455       --------------------
6456       -- J.7  At Clause --
6457       --------------------
6458
6459       --  AT_CLAUSE ::= for DIRECT_NAME use at EXPRESSION;
6460
6461       --  Note: the parse routine for this construct is located in Par-Ch13,
6462       --  and the semantic analysis is in Sem_Ch13, where at clause logically
6463       --  belongs if it were not obsolescent.
6464
6465       --  Note: in Ada 83 the expression must be a simple expression
6466
6467       --  Gigi restriction: This node never appears, it is rewritten as an
6468       --  address attribute definition clause.
6469
6470       --  N_At_Clause
6471       --  Sloc points to FOR
6472       --  Identifier (Node1)
6473       --  Expression (Node3)
6474
6475       ---------------------
6476       -- J.8  Mod clause --
6477       ---------------------
6478
6479       --  MOD_CLAUSE ::= at mod static_EXPRESSION;
6480
6481       --  Note: the parse routine for this construct is located in Par-Ch13,
6482       --  and the semantic analysis is in Sem_Ch13, where mod clause logically
6483       --  belongs if it were not obsolescent.
6484
6485       --  Note: in Ada 83, the expression must be a simple expression
6486
6487       --  Gigi restriction: this node never appears. It is replaced
6488       --  by a corresponding Alignment attribute definition clause.
6489
6490       --  Note: pragmas can appear before and after the MOD_CLAUSE since
6491       --  its name has "clause" in it. This is rather strange, but is quite
6492       --  definitely specified. The pragmas before are collected in the
6493       --  Pragmas_Before field of the mod clause node itself, and pragmas
6494       --  after are simply swallowed up in the list of component clauses.
6495
6496       --  N_Mod_Clause
6497       --  Sloc points to AT
6498       --  Expression (Node3)
6499       --  Pragmas_Before (List4) Pragmas before mod clause (No_List if none)
6500
6501    --------------------
6502    -- Semantic Nodes --
6503    --------------------
6504
6505    --  These semantic nodes are used to hold additional semantic information.
6506    --  They are inserted into the tree as a result of semantic processing.
6507    --  Although there are no legitimate source syntax constructions that
6508    --  correspond directly to these nodes, we need a source syntax for the
6509    --  reconstructed tree printed by Sprint, and the node descriptions here
6510    --  show this syntax.
6511
6512    --  Note: Conditional_Expression is in this section for historical reasons.
6513    --  We will move it to its appropriate place when it is officially approved
6514    --  as an extension (and then we will know what the exact grammar and place
6515    --  in the Reference Manual is!)
6516
6517       ----------------------------
6518       -- Conditional Expression --
6519       ----------------------------
6520
6521       --  This node is used to represent an expression corresponding to the
6522       --  C construct (condition ? then-expression : else_expression), where
6523       --  Expressions is a three element list, whose first expression is the
6524       --  condition, and whose second and third expressions are the then and
6525       --  else expressions respectively.
6526
6527       --  Note: the Then_Actions and Else_Actions fields are always set to
6528       --  No_List in the tree passed to Gigi. These fields are used only
6529       --  for temporary processing purposes in the expander.
6530
6531       --  The Ada language does not permit conditional expressions, however
6532       --  this is under discussion as a possible extension by the ARG, and we
6533       --  have implemented a form of this capability in GNAT under control of
6534       --  the -gnatX switch. The syntax is:
6535
6536       --  CONDITIONAL_EXPRESSION ::=
6537       --    if EXPRESSION then EXPRESSION
6538       --                  {elsif EXPRESSION then EXPRESSION}
6539       --                  [else EXPRESSION]
6540
6541       --  And we add the additional constructs
6542
6543       --  PRIMARY ::= ( CONDITIONAL_EXPRESION )
6544       --  PRAGMA_ARGUMENT_ASSOCIATION ::= CONDITIONAL_EXPRESSION
6545
6546       --  Note: if we have (IF x1 THEN x2 ELSIF x3 THEN x4 ELSE x5) then it
6547       --  is represented as (IF x1 THEN x2 ELSE (IF x3 THEN x4 ELSE x5)) and
6548       --  the Is_Elsif flag is set on the inner conditional expression.
6549
6550       --  N_Conditional_Expression
6551       --  Sloc points to IF or ELSIF keyword
6552       --  Expressions (List1)
6553       --  Then_Actions (List2-Sem)
6554       --  Else_Actions (List3-Sem)
6555       --  Is_Elsif (Flag13) (set if comes from ELSIF)
6556       --  plus fields for expression
6557
6558       -------------------
6559       -- Expanded_Name --
6560       -------------------
6561
6562       --  The N_Expanded_Name node is used to represent a selected component
6563       --  name that has been resolved to an expanded name. The semantic phase
6564       --  replaces N_Selected_Component nodes that represent names by the use
6565       --  of this node, leaving the N_Selected_Component node used only when
6566       --  the prefix is a record or protected type.
6567
6568       --  The fields of the N_Expanded_Name node are layed out identically
6569       --  to those of the N_Selected_Component node, allowing conversion of
6570       --  an expanded name node to a selected component node to be done
6571       --  easily, see Sinfo.CN.Change_Selected_Component_To_Expanded_Name.
6572
6573       --  There is no special sprint syntax for an expanded name
6574
6575       --  N_Expanded_Name
6576       --  Sloc points to the period
6577       --  Chars (Name1) copy of Chars field of selector name
6578       --  Prefix (Node3)
6579       --  Selector_Name (Node2)
6580       --  Entity (Node4-Sem)
6581       --  Associated_Node (Node4-Sem)
6582       --  Redundant_Use (Flag13-Sem)
6583       --  Has_Private_View (Flag11-Sem) set in generic units.
6584       --  plus fields for expression
6585
6586       --------------------
6587       -- Free Statement --
6588       --------------------
6589
6590       --  The N_Free_Statement node is generated as a result of a call to an
6591       --  instantiation of Unchecked_Deallocation. The instantiation of this
6592       --  generic is handled specially and generates this node directly.
6593
6594       --  Sprint syntax: free expression
6595
6596       --  N_Free_Statement
6597       --  Sloc is copied from the unchecked deallocation call
6598       --  Expression (Node3) argument to unchecked deallocation call
6599       --  Storage_Pool (Node1-Sem)
6600       --  Procedure_To_Call (Node2-Sem)
6601       --  Actual_Designated_Subtype (Node4-Sem)
6602
6603       --  Note: in the case where a debug source file is generated, the Sloc
6604       --  for this node points to the FREE keyword in the Sprint file output.
6605
6606       -------------------
6607       -- Freeze Entity --
6608       -------------------
6609
6610       --  This node marks the point in a declarative part at which an entity
6611       --  declared therein becomes frozen. The expander places initialization
6612       --  procedures for types at those points. Gigi uses the freezing point
6613       --  to elaborate entities that may depend on previous private types.
6614
6615       --  See the section in Einfo "Delayed Freezing and Elaboration" for
6616       --  a full description of the use of this node.
6617
6618       --  The Entity field points back to the entity for the type (whose
6619       --  Freeze_Node field points back to this freeze node).
6620
6621       --  The Actions field contains a list of declarations and statements
6622       --  generated by the expander which are associated with the freeze
6623       --  node, and are elaborated as though the freeze node were replaced
6624       --  by this sequence of actions.
6625
6626       --  Note: the Sloc field in the freeze node references a construct
6627       --  associated with the freezing point. This is used for posting
6628       --  messages in some error/warning situations, e.g. the case where
6629       --  a primitive operation of a tagged type is declared too late.
6630
6631       --  Sprint syntax: freeze entity-name [
6632       --                   freeze actions
6633       --                 ]
6634
6635       --  N_Freeze_Entity
6636       --  Sloc points near freeze point (see above special note)
6637       --  Entity (Node4-Sem)
6638       --  Access_Types_To_Process (Elist2-Sem) (set to No_Elist if none)
6639       --  TSS_Elist (Elist3-Sem) (set to No_Elist if no associated TSS's)
6640       --  Actions (List1) (set to No_List if no freeze actions)
6641       --  First_Subtype_Link (Node5-Sem) (set to Empty if no link)
6642
6643       --  The Actions field holds actions associated with the freeze. These
6644       --  actions are elaborated at the point where the type is frozen.
6645
6646       --  Note: in the case where a debug source file is generated, the Sloc
6647       --  for this node points to the FREEZE keyword in the Sprint file output.
6648
6649       --------------------------------
6650       -- Implicit Label Declaration --
6651       --------------------------------
6652
6653       --  An implicit label declaration is created for every occurrence of a
6654       --  label on a statement or a label on a block or loop. It is chained
6655       --  in the declarations of the innermost enclosing block as specified
6656       --  in RM section 5.1 (3).
6657
6658       --  The Defining_Identifier is the actual identifier for the statement
6659       --  identifier. Note that the occurrence of the label is a reference, NOT
6660       --  the defining occurrence. The defining occurrence occurs at the head
6661       --  of the innermost enclosing block, and is represented by this node.
6662
6663       --  Note: from the grammar, this might better be called an implicit
6664       --  statement identifier declaration, but the term we choose seems
6665       --  friendlier, since at least informally statement identifiers are
6666       --  called labels in both cases (i.e. when used in labels, and when
6667       --  used as the identifiers of blocks and loops).
6668
6669       --  Note: although this is logically a semantic node, since it does not
6670       --  correspond directly to a source syntax construction, these nodes are
6671       --  actually created by the parser in a post pass done just after parsing
6672       --  is complete, before semantic analysis is started (see Par.Labl).
6673
6674       --  Sprint syntax: labelname : label;
6675
6676       --  N_Implicit_Label_Declaration
6677       --  Sloc points to the << of the label
6678       --  Defining_Identifier (Node1)
6679       --  Label_Construct (Node2-Sem)
6680
6681       --  Note: in the case where a debug source file is generated, the Sloc
6682       --  for this node points to the label name in the generated declaration.
6683
6684       ---------------------
6685       -- Itype_Reference --
6686       ---------------------
6687
6688       --  This node is used to create a reference to an Itype. The only purpose
6689       --  is to make sure the Itype is defined if this is the first reference.
6690
6691       --  A typical use of this node is when an Itype is to be referenced in
6692       --  two branches of an IF statement. In this case it is important that
6693       --  the first use of the Itype not be inside the conditional, since then
6694       --  it might not be defined if the other branch of the IF is taken, in
6695       --  the case where the definition generates elaboration code.
6696
6697       --  The Itype field points to the referenced Itype
6698
6699       --  Sprint syntax: reference itype-name
6700
6701       --  N_Itype_Reference
6702       --  Sloc points to the node generating the reference
6703       --  Itype (Node1-Sem)
6704
6705       --  Note: in the case where a debug source file is generated, the Sloc
6706       --  for this node points to the REFERENCE keyword in the file output.
6707
6708       ---------------------
6709       -- Raise_xxx_Error --
6710       ---------------------
6711
6712       --  One of these nodes is created during semantic analysis to replace
6713       --  a node for an expression that is determined to definitely raise
6714       --  the corresponding exception.
6715
6716       --  The N_Raise_xxx_Error node may also stand alone in place
6717       --  of a declaration or statement, in which case it simply causes
6718       --  the exception to be raised (i.e. it is equivalent to a raise
6719       --  statement that raises the corresponding exception). This use
6720       --  is distinguished by the fact that the Etype in this case is
6721       --  Standard_Void_Type, In the subexpression case, the Etype is the
6722       --  same as the type of the subexpression which it replaces.
6723
6724       --  If Condition is empty, then the raise is unconditional. If the
6725       --  Condition field is non-empty, it is a boolean expression which
6726       --  is first evaluated, and the exception is raised only if the
6727       --  value of the expression is True. In the unconditional case, the
6728       --  creation of this node is usually accompanied by a warning message
6729       --  error. The creation of this node will usually be accompanied by a
6730       --  message (unless it appears within the right operand of a short
6731       --  circuit form whose left argument is static and decisively
6732       --  eliminates elaboration of the raise operation. The condition field
6733       --  can ONLY be present when the node is used as a statement form, it
6734       --  may NOT be present in the case where the node appears within an
6735       --  expression.
6736
6737       --  The exception is generated with a message that contains the
6738       --  file name and line number, and then appended text. The Reason
6739       --  code shows the text to be added. The Reason code is an element
6740       --  of the type Types.RT_Exception_Code, and indicates both the
6741       --  message to be added, and the exception to be raised (which must
6742       --  match the node type). The value is stored by storing a Uint which
6743       --  is the Pos value of the enumeration element in this type.
6744
6745       --  Gigi restriction: This expander ensures that the type of the
6746       --  Condition field is always Standard.Boolean, even if the type
6747       --  in the source is some non-standard boolean type.
6748
6749       --  Sprint syntax: [xxx_error "msg"]
6750       --             or: [xxx_error when condition "msg"]
6751
6752       --  N_Raise_Constraint_Error
6753       --  Sloc references related construct
6754       --  Condition (Node1) (set to Empty if no condition)
6755       --  Reason (Uint3)
6756       --  plus fields for expression
6757
6758       --  N_Raise_Program_Error
6759       --  Sloc references related construct
6760       --  Condition (Node1) (set to Empty if no condition)
6761       --  Reason (Uint3)
6762       --  plus fields for expression
6763
6764       --  N_Raise_Storage_Error
6765       --  Sloc references related construct
6766       --  Condition (Node1) (set to Empty if no condition)
6767       --  Reason (Uint3)
6768       --  plus fields for expression
6769
6770       --  Note: Sloc is copied from the expression generating the exception.
6771       --  In the case where a debug source file is generated, the Sloc for
6772       --  this node points to the left bracket in the Sprint file output.
6773
6774       --  Note: the back end may be required to translate these nodes into
6775       --  appropriate goto statements. See description of N_Push/Pop_xxx_Label.
6776
6777       ---------------------------------------------
6778       -- Optimization of Exception Raise to Goto --
6779       ---------------------------------------------
6780
6781       --  In some cases, the front end will determine that any exception raised
6782       --  by the back end for a certain exception should be transformed into a
6783       --  goto statement.
6784
6785       --  There are three kinds of exceptions raised by the back end (note that
6786       --  for this purpose we consider gigi to be part of the back end in the
6787       --  gcc case):
6788
6789       --     1. Exceptions resulting from N_Raise_xxx_Error nodes
6790       --     2. Exceptions from checks triggered by Do_xxx_Check flags
6791       --     3. Other cases not specifically marked by the front end
6792
6793       --  Normally all such exceptions are translated into calls to the proper
6794       --  Rcheck_xx procedure, where xx encodes both the exception to be raised
6795       --  and the exception message.
6796
6797       --  The front end may determine that for a particular sequence of code,
6798       --  exceptions in any of these three categories for a particular builtin
6799       --  exception should result in a goto, rather than a call to Rcheck_xx.
6800       --  The exact sequence to be generated is:
6801
6802       --      Local_Raise (exception'Identity);
6803       --      goto Label
6804
6805       --  The front end marks such a sequence of code by bracketing it with
6806       --  push and pop nodes:
6807
6808       --       N_Push_xxx_Label (referencing the label)
6809       --       ...
6810       --       (code where transformation is expected for exception xxx)
6811       --       ...
6812       --       N_Pop_xxx_Label
6813
6814       --  The use of push/pop reflects the fact that such regions can properly
6815       --  nest, and one special case is a subregion in which no transformation
6816       --  is allowed. Such a region is marked by a N_Push_xxx_Label node whose
6817       --  Exception_Label field is Empty.
6818
6819       --  N_Push_Constraint_Error_Label
6820       --  Sloc references first statement in region covered
6821       --  Exception_Label (Node5-Sem)
6822
6823       --  N_Push_Program_Error_Label
6824       --  Sloc references first statement in region covered
6825       --  Exception_Label (Node5-Sem)
6826
6827       --  N_Push_Storage_Error_Label
6828       --  Sloc references first statement in region covered
6829       --  Exception_Label (Node5-Sem)
6830
6831       --  N_Pop_Constraint_Error_Label
6832       --  Sloc references last statement in region covered
6833
6834       --  N_Pop_Program_Error_Label
6835       --  Sloc references last statement in region covered
6836
6837       --  N_Pop_Storage_Error_Label
6838       --  Sloc references last statement in region covered
6839
6840       ---------------
6841       -- Reference --
6842       ---------------
6843
6844       --  For a number of purposes, we need to construct references to objects.
6845       --  These references are subsequently treated as normal access values.
6846       --  An example is the construction of the parameter block passed to a
6847       --  task entry. The N_Reference node is provided for this purpose. It is
6848       --  similar in effect to the use of the Unrestricted_Access attribute,
6849       --  and like Unrestricted_Access can be applied to objects which would
6850       --  not be valid prefixes for the Unchecked_Access attribute (e.g.
6851       --  objects which are not aliased, and slices). In addition it can be
6852       --  applied to composite type values as well as objects, including string
6853       --  values and aggregates.
6854
6855       --  Note: we use the Prefix field for this expression so that the
6856       --  resulting node can be treated using common code with the attribute
6857       --  nodes for the 'Access and related attributes. Logically it would make
6858       --  more sense to call it an Expression field, but then we would have to
6859       --  special case the treatment of the N_Reference node.
6860
6861       --  Sprint syntax: prefix'reference
6862
6863       --  N_Reference
6864       --  Sloc is copied from the expression
6865       --  Prefix (Node3)
6866       --  plus fields for expression
6867
6868       --  Note: in the case where a debug source file is generated, the Sloc
6869       --  for this node points to the quote in the Sprint file output.
6870
6871       -----------------
6872       --  SCIL Nodes --
6873       -----------------
6874
6875       --  SCIL nodes are special nodes added to the tree when the CodePeer
6876       --  mode is active. They help the CodePeer backend to locate nodes that
6877       --  require special processing.
6878
6879       --  Major documentation on the general design of the SCIL interface, and
6880       --  in particular detailed description of these nodes is missing and is
6881       --  to be supplied in the future, when the design has finalized ???
6882
6883       --  Meanwhile these nodes should be considered in experimental form, and
6884       --  should be ignored by all code generating back ends. ???
6885
6886       --  N_SCIL_Dispatch_Table_Object_Init
6887       --  Sloc references a declaration node containing a dispatch table
6888       --  SCIL_Related_Node (Node1-Sem)
6889       --  SCIL_Entity (Node4-Sem)
6890
6891       --  N_SCIL_Dispatch_Table_Tag_Init
6892       --  Sloc references a node for a tag initialization
6893       --  SCIL_Related_Node (Node1-Sem)
6894       --  SCIL_Entity (Node4-Sem)
6895
6896       --  N_SCIL_Dispatching_Call
6897       --  Sloc references the node of a dispatching call
6898       --  SCIL_Related_Node (Node1-Sem)
6899       --  SCIL_Target_Prim (Node2-Sem)
6900       --  SCIL_Entity (Node4-Sem)
6901       --  SCIL_Controlling_Tag (Node5-Sem)
6902
6903       --  N_SCIL_Membership_Test
6904       --  Sloc references the node of a membership test
6905       --  SCIL_Related_Node (Node1-Sem)
6906       --  SCIL_Tag_Value (Node5-Sem)
6907       --  SCIL_Entity (Node4-Sem)
6908
6909       --  N_SCIL_Tag_Init
6910       --  Sloc references the node of a tag component initialization
6911       --  SCIL_Related_Node (Node1-Sem)
6912       --  SCIL_Entity (Node4-Sem)
6913
6914       ---------------------
6915       -- Subprogram_Info --
6916       ---------------------
6917
6918       --  This node generates the appropriate Subprogram_Info value for a
6919       --  given procedure. See Ada.Exceptions for further details
6920
6921       --  Sprint syntax: subprog'subprogram_info
6922
6923       --  N_Subprogram_Info
6924       --  Sloc points to the entity for the procedure
6925       --  Identifier (Node1) identifier referencing the procedure
6926       --  Etype (Node5-Sem) type (always set to Ada.Exceptions.Code_Loc
6927
6928       --  Note: in the case where a debug source file is generated, the Sloc
6929       --  for this node points to the quote in the Sprint file output.
6930
6931       --------------------------
6932       -- Unchecked Expression --
6933       --------------------------
6934
6935       --  An unchecked expression is one that must be analyzed and resolved
6936       --  with all checks off, regardless of the current setting of scope
6937       --  suppress flags.
6938
6939       --  Sprint syntax: `(expression)
6940
6941       --  Note: this node is always removed from the tree (and replaced by
6942       --  its constituent expression) on completion of analysis, so it only
6943       --  appears in intermediate trees, and will never be seen by Gigi.
6944
6945       --  N_Unchecked_Expression
6946       --  Sloc is a copy of the Sloc of the expression
6947       --  Expression (Node3)
6948       --  plus fields for expression
6949
6950       --  Note: in the case where a debug source file is generated, the Sloc
6951       --  for this node points to the back quote in the Sprint file output.
6952
6953       -------------------------------
6954       -- Unchecked Type Conversion --
6955       -------------------------------
6956
6957       --  An unchecked type conversion node represents the semantic action
6958       --  corresponding to a call to an instantiation of Unchecked_Conversion.
6959       --  It is generated as a result of actual use of Unchecked_Conversion
6960       --  and also the expander generates unchecked type conversion nodes
6961       --  directly for expansion of complex semantic actions.
6962
6963       --  Note: an unchecked type conversion is a variable as far as the
6964       --  semantics are concerned, which is convenient for the expander.
6965       --  This does not change what Ada source programs are legal, since
6966       --  clearly a function call to an instantiation of Unchecked_Conversion
6967       --  is not a variable in any case.
6968
6969       --  Sprint syntax: subtype-mark!(expression)
6970
6971       --  N_Unchecked_Type_Conversion
6972       --  Sloc points to related node in source
6973       --  Subtype_Mark (Node4)
6974       --  Expression (Node3)
6975       --  Kill_Range_Check (Flag11-Sem)
6976       --  No_Truncation (Flag17-Sem)
6977       --  plus fields for expression
6978
6979       --  Note: in the case where a debug source file is generated, the Sloc
6980       --  for this node points to the exclamation in the Sprint file output.
6981
6982       -----------------------------------
6983       -- Validate_Unchecked_Conversion --
6984       -----------------------------------
6985
6986       --  The front end does most of the validation of unchecked conversion,
6987       --  including checking sizes (this is done after the back end is called
6988       --  to take advantage of back-annotation of calculated sizes).
6989
6990       --  The front end also deals with specific cases that are not allowed
6991       --  e.g. involving unconstrained array types.
6992
6993       --  For the case of the standard gigi backend, this means that all
6994       --  checks are done in the front-end.
6995
6996       --  However, in the case of specialized back-ends, notably the JVM
6997       --  backend for JGNAT, additional requirements and restrictions apply
6998       --  to unchecked conversion, and these are most conveniently performed
6999       --  in the specialized back-end.
7000
7001       --  To accommodate this requirement, for such back ends, the following
7002       --  special node is generated recording an unchecked conversion that
7003       --  needs to be validated. The back end should post an appropriate
7004       --  error message if the unchecked conversion is invalid or warrants
7005       --  a special warning message.
7006
7007       --  Source_Type and Target_Type point to the entities for the two
7008       --  types involved in the unchecked conversion instantiation that
7009       --  is to be validated.
7010
7011       --  Sprint syntax: validate Unchecked_Conversion (source, target);
7012
7013       --  N_Validate_Unchecked_Conversion
7014       --  Sloc points to instantiation (location for warning message)
7015       --  Source_Type (Node1-Sem)
7016       --  Target_Type (Node2-Sem)
7017
7018       --  Note: in the case where a debug source file is generated, the Sloc
7019       --  for this node points to the VALIDATE keyword in the file output.
7020
7021    -----------
7022    -- Empty --
7023    -----------
7024
7025    --  Used as the contents of the Nkind field of the dummy Empty node
7026    --  and in some other situations to indicate an uninitialized value.
7027
7028    --  N_Empty
7029    --  Chars (Name1) is set to No_Name
7030
7031    -----------
7032    -- Error --
7033    -----------
7034
7035    --  Used as the contents of the Nkind field of the dummy Error node.
7036    --  Has an Etype field, which gets set to Any_Type later on, to help
7037    --  error recovery (Error_Posted is also set in the Error node).
7038
7039    --  N_Error
7040    --  Chars (Name1) is set to Error_Name
7041    --  Etype (Node5-Sem)
7042
7043    --------------------------
7044    -- Node Type Definition --
7045    --------------------------
7046
7047    --  The following is the definition of the Node_Kind type. As previously
7048    --  discussed, this is separated off to allow rearrangement of the order
7049    --  to facilitate definition of subtype ranges. The comments show the
7050    --  subtype classes which apply to each set of node kinds. The first
7051    --  entry in the comment characterizes the following list of nodes.
7052
7053    type Node_Kind is (
7054       N_Unused_At_Start,
7055
7056       --  N_Representation_Clause
7057
7058       N_At_Clause,
7059       N_Component_Clause,
7060       N_Enumeration_Representation_Clause,
7061       N_Mod_Clause,
7062       N_Record_Representation_Clause,
7063
7064       --  N_Representation_Clause, N_Has_Chars
7065
7066       N_Attribute_Definition_Clause,
7067
7068       --  N_Has_Chars
7069
7070       N_Empty,
7071       N_Pragma_Argument_Association,
7072
7073       --  N_Has_Etype
7074
7075       N_Error,
7076
7077       --  N_Entity, N_Has_Etype, N_Has_Chars
7078
7079       N_Defining_Character_Literal,
7080       N_Defining_Identifier,
7081       N_Defining_Operator_Symbol,
7082
7083       --  N_Subexpr, N_Has_Etype, N_Has_Chars, N_Has_Entity
7084
7085       N_Expanded_Name,
7086
7087       --  N_Direct_Name, N_Subexpr, N_Has_Etype,
7088       --  N_Has_Chars, N_Has_Entity
7089
7090       N_Identifier,
7091       N_Operator_Symbol,
7092
7093       --  N_Direct_Name, N_Subexpr, N_Has_Etype,
7094       --  N_Has_Chars, N_Has_Entity
7095
7096       N_Character_Literal,
7097
7098       --  N_Binary_Op, N_Op, N_Subexpr,
7099       --  N_Has_Etype, N_Has_Chars, N_Has_Entity
7100
7101       N_Op_Add,
7102       N_Op_Concat,
7103       N_Op_Expon,
7104       N_Op_Subtract,
7105
7106       --  N_Binary_Op, N_Op, N_Subexpr, N_Has_Treat_Fixed_As_Integer
7107       --  N_Has_Etype, N_Has_Chars, N_Has_Entity, N_Multiplying_Operator
7108
7109       N_Op_Divide,
7110       N_Op_Mod,
7111       N_Op_Multiply,
7112       N_Op_Rem,
7113
7114       --  N_Binary_Op, N_Op, N_Subexpr, N_Has_Etype
7115       --  N_Has_Entity, N_Has_Chars, N_Op_Boolean
7116
7117       N_Op_And,
7118
7119       --  N_Binary_Op, N_Op, N_Subexpr, N_Has_Etype
7120       --  N_Has_Entity, N_Has_Chars, N_Op_Boolean, N_Op_Compare
7121
7122       N_Op_Eq,
7123       N_Op_Ge,
7124       N_Op_Gt,
7125       N_Op_Le,
7126       N_Op_Lt,
7127       N_Op_Ne,
7128
7129       --  N_Binary_Op, N_Op, N_Subexpr, N_Has_Etype
7130       --  N_Has_Entity, N_Has_Chars, N_Op_Boolean
7131
7132       N_Op_Or,
7133       N_Op_Xor,
7134
7135       --  N_Binary_Op, N_Op, N_Subexpr, N_Has_Etype,
7136       --  N_Op_Shift, N_Has_Chars, N_Has_Entity
7137
7138       N_Op_Rotate_Left,
7139       N_Op_Rotate_Right,
7140       N_Op_Shift_Left,
7141       N_Op_Shift_Right,
7142       N_Op_Shift_Right_Arithmetic,
7143
7144       --  N_Unary_Op, N_Op, N_Subexpr, N_Has_Etype,
7145       --  N_Has_Chars, N_Has_Entity
7146
7147       N_Op_Abs,
7148       N_Op_Minus,
7149       N_Op_Not,
7150       N_Op_Plus,
7151
7152       --  N_Subexpr, N_Has_Etype, N_Has_Entity
7153
7154       N_Attribute_Reference,
7155
7156       --  N_Subexpr, N_Has_Etype, N_Membership_Test
7157
7158       N_In,
7159       N_Not_In,
7160
7161       --  N_Subexpr, N_Has_Etype, N_Short_Circuit
7162
7163       N_And_Then,
7164       N_Or_Else,
7165
7166       --  N_Subexpr, N_Has_Etype
7167
7168       N_Conditional_Expression,
7169       N_Explicit_Dereference,
7170       N_Function_Call,
7171       N_Indexed_Component,
7172       N_Integer_Literal,
7173       N_Null,
7174       N_Procedure_Call_Statement,
7175       N_Qualified_Expression,
7176
7177       --  N_Raise_xxx_Error, N_Subexpr, N_Has_Etype
7178
7179       N_Raise_Constraint_Error,
7180       N_Raise_Program_Error,
7181       N_Raise_Storage_Error,
7182
7183       --  N_Subexpr, N_Has_Etype
7184
7185       N_Aggregate,
7186       N_Allocator,
7187       N_Extension_Aggregate,
7188       N_Range,
7189       N_Real_Literal,
7190       N_Reference,
7191       N_Selected_Component,
7192       N_Slice,
7193       N_String_Literal,
7194       N_Subprogram_Info,
7195       N_Type_Conversion,
7196       N_Unchecked_Expression,
7197       N_Unchecked_Type_Conversion,
7198
7199       --  N_Has_Etype
7200
7201       N_Subtype_Indication,
7202
7203       --  N_Declaration
7204
7205       N_Component_Declaration,
7206       N_Entry_Declaration,
7207       N_Formal_Object_Declaration,
7208       N_Formal_Type_Declaration,
7209       N_Full_Type_Declaration,
7210       N_Incomplete_Type_Declaration,
7211       N_Loop_Parameter_Specification,
7212       N_Object_Declaration,
7213       N_Protected_Type_Declaration,
7214       N_Private_Extension_Declaration,
7215       N_Private_Type_Declaration,
7216       N_Subtype_Declaration,
7217
7218       --  N_Subprogram_Specification, N_Declaration
7219
7220       N_Function_Specification,
7221       N_Procedure_Specification,
7222
7223       --  N_Access_To_Subprogram_Definition
7224
7225       N_Access_Function_Definition,
7226       N_Access_Procedure_Definition,
7227
7228       --  N_Later_Decl_Item
7229
7230       N_Task_Type_Declaration,
7231
7232       --  N_Body_Stub, N_Later_Decl_Item
7233
7234       N_Package_Body_Stub,
7235       N_Protected_Body_Stub,
7236       N_Subprogram_Body_Stub,
7237       N_Task_Body_Stub,
7238
7239       --  N_Generic_Instantiation, N_Later_Decl_Item
7240       --  N_Subprogram_Instantiation
7241
7242       N_Function_Instantiation,
7243       N_Procedure_Instantiation,
7244
7245       --  N_Generic_Instantiation, N_Later_Decl_Item
7246
7247       N_Package_Instantiation,
7248
7249       --  N_Unit_Body, N_Later_Decl_Item, N_Proper_Body
7250
7251       N_Package_Body,
7252       N_Subprogram_Body,
7253
7254       --  N_Later_Decl_Item, N_Proper_Body
7255
7256       N_Protected_Body,
7257       N_Task_Body,
7258
7259       --  N_Later_Decl_Item
7260
7261       N_Implicit_Label_Declaration,
7262       N_Package_Declaration,
7263       N_Single_Task_Declaration,
7264       N_Subprogram_Declaration,
7265       N_Use_Package_Clause,
7266
7267       --  N_Generic_Declaration, N_Later_Decl_Item
7268
7269       N_Generic_Package_Declaration,
7270       N_Generic_Subprogram_Declaration,
7271
7272       --  N_Array_Type_Definition
7273
7274       N_Constrained_Array_Definition,
7275       N_Unconstrained_Array_Definition,
7276
7277       --  N_Renaming_Declaration
7278
7279       N_Exception_Renaming_Declaration,
7280       N_Object_Renaming_Declaration,
7281       N_Package_Renaming_Declaration,
7282       N_Subprogram_Renaming_Declaration,
7283
7284       --  N_Generic_Renaming_Declaration, N_Renaming_Declaration
7285
7286       N_Generic_Function_Renaming_Declaration,
7287       N_Generic_Package_Renaming_Declaration,
7288       N_Generic_Procedure_Renaming_Declaration,
7289
7290       --  N_Statement_Other_Than_Procedure_Call
7291
7292       N_Abort_Statement,
7293       N_Accept_Statement,
7294       N_Assignment_Statement,
7295       N_Asynchronous_Select,
7296       N_Block_Statement,
7297       N_Case_Statement,
7298       N_Code_Statement,
7299       N_Conditional_Entry_Call,
7300
7301       --  N_Statement_Other_Than_Procedure_Call. N_Delay_Statement
7302
7303       N_Delay_Relative_Statement,
7304       N_Delay_Until_Statement,
7305
7306       --  N_Statement_Other_Than_Procedure_Call
7307
7308       N_Entry_Call_Statement,
7309       N_Free_Statement,
7310       N_Goto_Statement,
7311       N_Loop_Statement,
7312       N_Null_Statement,
7313       N_Raise_Statement,
7314       N_Requeue_Statement,
7315       N_Return_Statement, -- renamed as N_Simple_Return_Statement below
7316       N_Extended_Return_Statement,
7317       N_Selective_Accept,
7318       N_Timed_Entry_Call,
7319
7320       --  N_Statement_Other_Than_Procedure_Call, N_Has_Condition
7321
7322       N_Exit_Statement,
7323       N_If_Statement,
7324
7325       --  N_Has_Condition
7326
7327       N_Accept_Alternative,
7328       N_Delay_Alternative,
7329       N_Elsif_Part,
7330       N_Entry_Body_Formal_Part,
7331       N_Iteration_Scheme,
7332       N_Terminate_Alternative,
7333
7334       --  N_Formal_Subprogram_Declaration
7335
7336       N_Formal_Abstract_Subprogram_Declaration,
7337       N_Formal_Concrete_Subprogram_Declaration,
7338
7339       --  N_Push_xxx_Label, N_Push_Pop_xxx_Label
7340
7341       N_Push_Constraint_Error_Label,
7342       N_Push_Program_Error_Label,
7343       N_Push_Storage_Error_Label,
7344
7345       --  N_Pop_xxx_Label, N_Push_Pop_xxx_Label
7346
7347       N_Pop_Constraint_Error_Label,
7348       N_Pop_Program_Error_Label,
7349       N_Pop_Storage_Error_Label,
7350
7351       --  SCIL nodes
7352
7353       N_SCIL_Dispatch_Table_Object_Init,
7354       N_SCIL_Dispatch_Table_Tag_Init,
7355       N_SCIL_Dispatching_Call,
7356       N_SCIL_Membership_Test,
7357       N_SCIL_Tag_Init,
7358
7359       --  Other nodes (not part of any subtype class)
7360
7361       N_Abortable_Part,
7362       N_Abstract_Subprogram_Declaration,
7363       N_Access_Definition,
7364       N_Access_To_Object_Definition,
7365       N_Case_Statement_Alternative,
7366       N_Compilation_Unit,
7367       N_Compilation_Unit_Aux,
7368       N_Component_Association,
7369       N_Component_Definition,
7370       N_Component_List,
7371       N_Derived_Type_Definition,
7372       N_Decimal_Fixed_Point_Definition,
7373       N_Defining_Program_Unit_Name,
7374       N_Delta_Constraint,
7375       N_Designator,
7376       N_Digits_Constraint,
7377       N_Discriminant_Association,
7378       N_Discriminant_Specification,
7379       N_Enumeration_Type_Definition,
7380       N_Entry_Body,
7381       N_Entry_Call_Alternative,
7382       N_Entry_Index_Specification,
7383       N_Exception_Declaration,
7384       N_Exception_Handler,
7385       N_Floating_Point_Definition,
7386       N_Formal_Decimal_Fixed_Point_Definition,
7387       N_Formal_Derived_Type_Definition,
7388       N_Formal_Discrete_Type_Definition,
7389       N_Formal_Floating_Point_Definition,
7390       N_Formal_Modular_Type_Definition,
7391       N_Formal_Ordinary_Fixed_Point_Definition,
7392       N_Formal_Package_Declaration,
7393       N_Formal_Private_Type_Definition,
7394       N_Formal_Signed_Integer_Type_Definition,
7395       N_Freeze_Entity,
7396       N_Generic_Association,
7397       N_Handled_Sequence_Of_Statements,
7398       N_Index_Or_Discriminant_Constraint,
7399       N_Itype_Reference,
7400       N_Label,
7401       N_Modular_Type_Definition,
7402       N_Number_Declaration,
7403       N_Ordinary_Fixed_Point_Definition,
7404       N_Others_Choice,
7405       N_Package_Specification,
7406       N_Parameter_Association,
7407       N_Parameter_Specification,
7408       N_Pragma,
7409       N_Protected_Definition,
7410       N_Range_Constraint,
7411       N_Real_Range_Specification,
7412       N_Record_Definition,
7413       N_Signed_Integer_Type_Definition,
7414       N_Single_Protected_Declaration,
7415       N_Subunit,
7416       N_Task_Definition,
7417       N_Triggering_Alternative,
7418       N_Use_Type_Clause,
7419       N_Validate_Unchecked_Conversion,
7420       N_Variant,
7421       N_Variant_Part,
7422       N_With_Clause,
7423       N_Unused_At_End);
7424
7425    for Node_Kind'Size use 8;
7426    --  The data structures in Atree assume this!
7427
7428    ----------------------------
7429    -- Node Class Definitions --
7430    ----------------------------
7431
7432    subtype N_Access_To_Subprogram_Definition is Node_Kind range
7433      N_Access_Function_Definition ..
7434      N_Access_Procedure_Definition;
7435
7436    subtype N_Array_Type_Definition is Node_Kind range
7437      N_Constrained_Array_Definition ..
7438      N_Unconstrained_Array_Definition;
7439
7440    subtype N_Binary_Op is Node_Kind range
7441      N_Op_Add ..
7442      N_Op_Shift_Right_Arithmetic;
7443
7444    subtype N_Body_Stub is Node_Kind range
7445      N_Package_Body_Stub ..
7446      N_Task_Body_Stub;
7447
7448    subtype N_Declaration is Node_Kind range
7449      N_Component_Declaration ..
7450      N_Procedure_Specification;
7451    --  Note: this includes all constructs normally thought of as declarations
7452    --  except those which are separately grouped as later declarations.
7453
7454    subtype N_Delay_Statement is Node_Kind range
7455       N_Delay_Relative_Statement ..
7456       N_Delay_Until_Statement;
7457
7458    subtype N_Direct_Name is Node_Kind range
7459      N_Identifier ..
7460      N_Character_Literal;
7461
7462    subtype N_Entity is Node_Kind range
7463      N_Defining_Character_Literal ..
7464      N_Defining_Operator_Symbol;
7465
7466    subtype N_Formal_Subprogram_Declaration is Node_Kind range
7467      N_Formal_Abstract_Subprogram_Declaration ..
7468      N_Formal_Concrete_Subprogram_Declaration;
7469
7470    subtype N_Generic_Declaration is Node_Kind range
7471      N_Generic_Package_Declaration ..
7472      N_Generic_Subprogram_Declaration;
7473
7474    subtype N_Generic_Instantiation is Node_Kind range
7475      N_Function_Instantiation ..
7476      N_Package_Instantiation;
7477
7478    subtype N_Generic_Renaming_Declaration is Node_Kind range
7479      N_Generic_Function_Renaming_Declaration ..
7480      N_Generic_Procedure_Renaming_Declaration;
7481
7482    subtype N_Has_Chars is Node_Kind range
7483      N_Attribute_Definition_Clause ..
7484      N_Op_Plus;
7485
7486    subtype N_Has_Entity is Node_Kind range
7487      N_Expanded_Name ..
7488      N_Attribute_Reference;
7489    --  Nodes that have Entity fields
7490    --  Warning: DOES NOT INCLUDE N_Freeze_Entity!
7491
7492    subtype N_Has_Etype is Node_Kind range
7493      N_Error ..
7494      N_Subtype_Indication;
7495
7496    subtype N_Has_Treat_Fixed_As_Integer is Node_Kind range
7497       N_Op_Divide ..
7498       N_Op_Rem;
7499
7500    subtype N_Multiplying_Operator is Node_Kind range
7501       N_Op_Divide ..
7502       N_Op_Rem;
7503
7504    subtype N_Later_Decl_Item is Node_Kind range
7505      N_Task_Type_Declaration ..
7506      N_Generic_Subprogram_Declaration;
7507    --  Note: this is Ada 83 relevant only (see Ada 83 RM 3.9 (2)) and includes
7508    --  only those items which can appear as later declarative items. This also
7509    --  includes N_Implicit_Label_Declaration which is not specifically in the
7510    --  grammar but may appear as a valid later declarative items. It does NOT
7511    --  include N_Pragma which can also appear among later declarative items.
7512    --  It does however include N_Protected_Body, which is a bit peculiar, but
7513    --  harmless since this cannot appear in Ada 83 mode anyway.
7514
7515    subtype N_Membership_Test is Node_Kind range
7516       N_In ..
7517       N_Not_In;
7518
7519    subtype N_Op is Node_Kind range
7520      N_Op_Add ..
7521      N_Op_Plus;
7522
7523    subtype N_Op_Boolean is Node_Kind range
7524      N_Op_And ..
7525      N_Op_Xor;
7526    --  Binary operators which take operands of a boolean type, and yield
7527    --  a result of a boolean type.
7528
7529    subtype N_Op_Compare is Node_Kind range
7530      N_Op_Eq ..
7531      N_Op_Ne;
7532
7533    subtype N_Op_Shift is Node_Kind range
7534      N_Op_Rotate_Left ..
7535      N_Op_Shift_Right_Arithmetic;
7536
7537    subtype N_Proper_Body is Node_Kind range
7538      N_Package_Body ..
7539      N_Task_Body;
7540
7541    subtype N_Push_xxx_Label is Node_Kind range
7542      N_Push_Constraint_Error_Label ..
7543      N_Push_Storage_Error_Label;
7544
7545    subtype N_Pop_xxx_Label is Node_Kind range
7546      N_Pop_Constraint_Error_Label ..
7547      N_Pop_Storage_Error_Label;
7548
7549    subtype N_Push_Pop_xxx_Label is Node_Kind range
7550      N_Push_Constraint_Error_Label ..
7551      N_Pop_Storage_Error_Label;
7552
7553    subtype N_Raise_xxx_Error is Node_Kind range
7554      N_Raise_Constraint_Error ..
7555      N_Raise_Storage_Error;
7556
7557    subtype N_Renaming_Declaration is Node_Kind range
7558      N_Exception_Renaming_Declaration ..
7559      N_Generic_Procedure_Renaming_Declaration;
7560
7561    subtype N_Representation_Clause is Node_Kind range
7562      N_At_Clause ..
7563      N_Attribute_Definition_Clause;
7564
7565    subtype N_Short_Circuit is Node_Kind range
7566      N_And_Then ..
7567      N_Or_Else;
7568
7569    subtype N_SCIL_Node is Node_Kind range
7570      N_SCIL_Dispatch_Table_Object_Init ..
7571      N_SCIL_Tag_Init;
7572
7573    subtype N_Statement_Other_Than_Procedure_Call is Node_Kind range
7574      N_Abort_Statement ..
7575      N_If_Statement;
7576    --  Note that this includes all statement types except for the cases of the
7577    --  N_Procedure_Call_Statement which is considered to be a subexpression
7578    --  (since overloading is possible, so it needs to go through the normal
7579    --  overloading resolution for expressions).
7580
7581    subtype N_Subprogram_Instantiation is Node_Kind range
7582      N_Function_Instantiation ..
7583      N_Procedure_Instantiation;
7584
7585    subtype N_Has_Condition is Node_Kind range
7586      N_Exit_Statement ..
7587      N_Terminate_Alternative;
7588    --  Nodes with condition fields (does not include N_Raise_xxx_Error)
7589
7590    subtype N_Subexpr is Node_Kind range
7591      N_Expanded_Name ..
7592      N_Unchecked_Type_Conversion;
7593    --  Nodes with expression fields
7594
7595    subtype N_Subprogram_Specification is Node_Kind range
7596      N_Function_Specification ..
7597      N_Procedure_Specification;
7598
7599    subtype N_Unary_Op is Node_Kind range
7600      N_Op_Abs ..
7601      N_Op_Plus;
7602
7603    subtype N_Unit_Body is Node_Kind range
7604      N_Package_Body ..
7605        N_Subprogram_Body;
7606
7607    ---------------------------
7608    -- Node Access Functions --
7609    ---------------------------
7610
7611    --  The following functions return the contents of the indicated field of
7612    --  the node referenced by the argument, which is a Node_Id. They provide
7613    --  logical access to fields in the node which could be accessed using the
7614    --  Atree.Unchecked_Access package, but the idea is always to use these
7615    --  higher level routines which preserve strong typing. In debug mode,
7616    --  these routines check that they are being applied to an appropriate
7617    --  node, as well as checking that the node is in range.
7618
7619    function ABE_Is_Certain
7620      (N : Node_Id) return Boolean;    -- Flag18
7621
7622    function Abort_Present
7623      (N : Node_Id) return Boolean;    -- Flag15
7624
7625    function Abortable_Part
7626      (N : Node_Id) return Node_Id;    -- Node2
7627
7628    function Abstract_Present
7629      (N : Node_Id) return Boolean;    -- Flag4
7630
7631    function Accept_Handler_Records
7632      (N : Node_Id) return List_Id;    -- List5
7633
7634    function Accept_Statement
7635      (N : Node_Id) return Node_Id;    -- Node2
7636
7637    function Access_Definition
7638      (N : Node_Id) return Node_Id;    -- Node3
7639
7640    function Access_To_Subprogram_Definition
7641      (N : Node_Id) return Node_Id;    -- Node3
7642
7643    function Access_Types_To_Process
7644      (N : Node_Id) return Elist_Id;   -- Elist2
7645
7646    function Actions
7647      (N : Node_Id) return List_Id;    -- List1
7648
7649    function Activation_Chain_Entity
7650      (N : Node_Id) return Node_Id;    -- Node3
7651
7652    function Acts_As_Spec
7653      (N : Node_Id) return Boolean;    -- Flag4
7654
7655    function Actual_Designated_Subtype
7656      (N : Node_Id) return Node_Id;    -- Node4
7657
7658    function Address_Warning_Posted
7659      (N : Node_Id) return Boolean;    -- Flag18
7660
7661    function Aggregate_Bounds
7662      (N : Node_Id) return Node_Id;    -- Node3
7663
7664    function Aliased_Present
7665      (N : Node_Id) return Boolean;    -- Flag4
7666
7667    function All_Others
7668      (N : Node_Id) return Boolean;    -- Flag11
7669
7670    function All_Present
7671      (N : Node_Id) return Boolean;    -- Flag15
7672
7673    function Alternatives
7674      (N : Node_Id) return List_Id;    -- List4
7675
7676    function Ancestor_Part
7677      (N : Node_Id) return Node_Id;    -- Node3
7678
7679    function Array_Aggregate
7680      (N : Node_Id) return Node_Id;    -- Node3
7681
7682    function Assignment_OK
7683      (N : Node_Id) return Boolean;    -- Flag15
7684
7685    function Associated_Node
7686      (N : Node_Id) return Node_Id;    -- Node4
7687
7688    function At_End_Proc
7689      (N : Node_Id) return Node_Id;    -- Node1
7690
7691    function Attribute_Name
7692      (N : Node_Id) return Name_Id;    -- Name2
7693
7694    function Aux_Decls_Node
7695      (N : Node_Id) return Node_Id;    -- Node5
7696
7697    function Backwards_OK
7698      (N : Node_Id) return Boolean;    -- Flag6
7699
7700    function Bad_Is_Detected
7701      (N : Node_Id) return Boolean;    -- Flag15
7702
7703    function By_Ref
7704      (N : Node_Id) return Boolean;    -- Flag5
7705
7706    function Body_Required
7707      (N : Node_Id) return Boolean;    -- Flag13
7708
7709    function Body_To_Inline
7710      (N : Node_Id) return Node_Id;    -- Node3
7711
7712    function Box_Present
7713      (N : Node_Id) return Boolean;    -- Flag15
7714
7715    function Char_Literal_Value
7716      (N : Node_Id) return Uint;       -- Uint2
7717
7718    function Chars
7719      (N : Node_Id) return Name_Id;    -- Name1
7720
7721    function Check_Address_Alignment
7722      (N : Node_Id) return Boolean;    -- Flag11
7723
7724    function Choice_Parameter
7725      (N : Node_Id) return Node_Id;    -- Node2
7726
7727    function Choices
7728      (N : Node_Id) return List_Id;    -- List1
7729
7730    function Coextensions
7731       (N : Node_Id) return Elist_Id;  -- Elist4
7732
7733    function Comes_From_Extended_Return_Statement
7734      (N : Node_Id) return Boolean;    -- Flag18
7735
7736    function Compile_Time_Known_Aggregate
7737      (N : Node_Id) return Boolean;    -- Flag18
7738
7739    function Component_Associations
7740      (N : Node_Id) return List_Id;    -- List2
7741
7742    function Component_Clauses
7743      (N : Node_Id) return List_Id;    -- List3
7744
7745    function Component_Definition
7746      (N : Node_Id) return Node_Id;    -- Node4
7747
7748    function Component_Items
7749      (N : Node_Id) return List_Id;    -- List3
7750
7751    function Component_List
7752      (N : Node_Id) return Node_Id;    -- Node1
7753
7754    function Component_Name
7755      (N : Node_Id) return Node_Id;    -- Node1
7756
7757    function Componentwise_Assignment
7758      (N : Node_Id) return Boolean;    -- Flag14
7759
7760    function Condition
7761      (N : Node_Id) return Node_Id;    -- Node1
7762
7763    function Condition_Actions
7764      (N : Node_Id) return List_Id;    -- List3
7765
7766    function Config_Pragmas
7767      (N : Node_Id) return List_Id;    -- List4
7768
7769    function Constant_Present
7770      (N : Node_Id) return Boolean;    -- Flag17
7771
7772    function Constraint
7773      (N : Node_Id) return Node_Id;    -- Node3
7774
7775    function Constraints
7776      (N : Node_Id) return List_Id;    -- List1
7777
7778    function Context_Installed
7779      (N : Node_Id) return Boolean;    -- Flag13
7780
7781    function Context_Pending
7782      (N : Node_Id) return Boolean;    -- Flag16
7783
7784    function Context_Items
7785      (N : Node_Id) return List_Id;    -- List1
7786
7787    function Controlling_Argument
7788      (N : Node_Id) return Node_Id;    -- Node1
7789
7790    function Conversion_OK
7791      (N : Node_Id) return Boolean;    -- Flag14
7792
7793    function Corresponding_Body
7794      (N : Node_Id) return Node_Id;    -- Node5
7795
7796    function Corresponding_Formal_Spec
7797      (N : Node_Id) return Node_Id;    -- Node3
7798
7799    function Corresponding_Generic_Association
7800      (N : Node_Id) return Node_Id;    -- Node5
7801
7802    function Corresponding_Integer_Value
7803      (N : Node_Id) return Uint;       -- Uint4
7804
7805    function Corresponding_Spec
7806      (N : Node_Id) return Node_Id;    -- Node5
7807
7808    function Corresponding_Stub
7809      (N : Node_Id) return Node_Id;    -- Node3
7810
7811    function Dcheck_Function
7812      (N : Node_Id) return Entity_Id;  -- Node5
7813
7814    function Debug_Statement
7815      (N : Node_Id) return Node_Id;    -- Node3
7816
7817    function Declarations
7818      (N : Node_Id) return List_Id;    -- List2
7819
7820    function Default_Expression
7821      (N : Node_Id) return Node_Id;    -- Node5
7822
7823    function Default_Name
7824      (N : Node_Id) return Node_Id;    -- Node2
7825
7826    function Defining_Identifier
7827      (N : Node_Id) return Entity_Id;  -- Node1
7828
7829    function Defining_Unit_Name
7830      (N : Node_Id) return Node_Id;    -- Node1
7831
7832    function Delay_Alternative
7833      (N : Node_Id) return Node_Id;    -- Node4
7834
7835    function Delay_Statement
7836      (N : Node_Id) return Node_Id;    -- Node2
7837
7838    function Delta_Expression
7839      (N : Node_Id) return Node_Id;    -- Node3
7840
7841    function Digits_Expression
7842      (N : Node_Id) return Node_Id;    -- Node2
7843
7844    function Discr_Check_Funcs_Built
7845      (N : Node_Id) return Boolean;    -- Flag11
7846
7847    function Discrete_Choices
7848      (N : Node_Id) return List_Id;    -- List4
7849
7850    function Discrete_Range
7851      (N : Node_Id) return Node_Id;    -- Node4
7852
7853    function Discrete_Subtype_Definition
7854      (N : Node_Id) return Node_Id;    -- Node4
7855
7856    function Discrete_Subtype_Definitions
7857      (N : Node_Id) return List_Id;    -- List2
7858
7859    function Discriminant_Specifications
7860      (N : Node_Id) return List_Id;    -- List4
7861
7862    function Discriminant_Type
7863      (N : Node_Id) return Node_Id;    -- Node5
7864
7865    function Do_Accessibility_Check
7866      (N : Node_Id) return Boolean;    -- Flag13
7867
7868    function Do_Discriminant_Check
7869      (N : Node_Id) return Boolean;    -- Flag13
7870
7871    function Do_Division_Check
7872      (N : Node_Id) return Boolean;    -- Flag13
7873
7874    function Do_Length_Check
7875      (N : Node_Id) return Boolean;    -- Flag4
7876
7877    function Do_Overflow_Check
7878      (N : Node_Id) return Boolean;    -- Flag17
7879
7880    function Do_Range_Check
7881      (N : Node_Id) return Boolean;    -- Flag9
7882
7883    function Do_Storage_Check
7884      (N : Node_Id) return Boolean;    -- Flag17
7885
7886    function Do_Tag_Check
7887      (N : Node_Id) return Boolean;    -- Flag13
7888
7889    function Elaborate_All_Desirable
7890      (N : Node_Id) return Boolean;    -- Flag9
7891
7892    function Elaborate_All_Present
7893      (N : Node_Id) return Boolean;    -- Flag14
7894
7895    function Elaborate_Desirable
7896      (N : Node_Id) return Boolean;    -- Flag11
7897
7898    function Elaborate_Present
7899      (N : Node_Id) return Boolean;    -- Flag4
7900
7901    function Elaboration_Boolean
7902      (N : Node_Id) return Node_Id;    -- Node2
7903
7904    function Else_Actions
7905      (N : Node_Id) return List_Id;    -- List3
7906
7907    function Else_Statements
7908      (N : Node_Id) return List_Id;    -- List4
7909
7910    function Elsif_Parts
7911      (N : Node_Id) return List_Id;    -- List3
7912
7913    function Enclosing_Variant
7914      (N : Node_Id) return Node_Id;    -- Node2
7915
7916    function End_Label
7917      (N : Node_Id) return Node_Id;    -- Node4
7918
7919    function End_Span
7920      (N : Node_Id) return Uint;       -- Uint5
7921
7922    function Entity
7923      (N : Node_Id) return Node_Id;    -- Node4
7924
7925    function Entity_Or_Associated_Node
7926      (N : Node_Id) return Node_Id;    -- Node4
7927
7928    function Entry_Body_Formal_Part
7929      (N : Node_Id) return Node_Id;    -- Node5
7930
7931    function Entry_Call_Alternative
7932      (N : Node_Id) return Node_Id;    -- Node1
7933
7934    function Entry_Call_Statement
7935      (N : Node_Id) return Node_Id;    -- Node1
7936
7937    function Entry_Direct_Name
7938      (N : Node_Id) return Node_Id;    -- Node1
7939
7940    function Entry_Index
7941      (N : Node_Id) return Node_Id;    -- Node5
7942
7943    function Entry_Index_Specification
7944      (N : Node_Id) return Node_Id;    -- Node4
7945
7946    function Etype
7947      (N : Node_Id) return Node_Id;    -- Node5
7948
7949    function Exception_Choices
7950      (N : Node_Id) return List_Id;    -- List4
7951
7952    function Exception_Handlers
7953      (N : Node_Id) return List_Id;    -- List5
7954
7955    function Exception_Junk
7956      (N : Node_Id) return Boolean;    -- Flag8
7957
7958    function Exception_Label
7959      (N : Node_Id) return Node_Id;    -- Node5
7960
7961    function Explicit_Actual_Parameter
7962      (N : Node_Id) return Node_Id;    -- Node3
7963
7964    function Expansion_Delayed
7965      (N : Node_Id) return Boolean;    -- Flag11
7966
7967    function Explicit_Generic_Actual_Parameter
7968      (N : Node_Id) return Node_Id;    -- Node1
7969
7970    function Expression
7971      (N : Node_Id) return Node_Id;    -- Node3
7972
7973    function Expressions
7974      (N : Node_Id) return List_Id;    -- List1
7975
7976    function First_Bit
7977      (N : Node_Id) return Node_Id;    -- Node3
7978
7979    function First_Inlined_Subprogram
7980      (N : Node_Id) return Entity_Id;  -- Node3
7981
7982    function First_Name
7983      (N : Node_Id) return Boolean;    -- Flag5
7984
7985    function First_Named_Actual
7986      (N : Node_Id) return Node_Id;    -- Node4
7987
7988    function First_Real_Statement
7989      (N : Node_Id) return Node_Id;    -- Node2
7990
7991    function First_Subtype_Link
7992      (N : Node_Id) return Entity_Id;  -- Node5
7993
7994    function Float_Truncate
7995      (N : Node_Id) return Boolean;    -- Flag11
7996
7997    function Formal_Type_Definition
7998      (N : Node_Id) return Node_Id;    -- Node3
7999
8000    function Forwards_OK
8001      (N : Node_Id) return Boolean;    -- Flag5
8002
8003    function From_At_End
8004      (N : Node_Id) return Boolean;    -- Flag4
8005
8006    function From_At_Mod
8007      (N : Node_Id) return Boolean;    -- Flag4
8008
8009    function From_Default
8010      (N : Node_Id) return Boolean;    -- Flag6
8011
8012    function Generic_Associations
8013      (N : Node_Id) return List_Id;    -- List3
8014
8015    function Generic_Formal_Declarations
8016      (N : Node_Id) return List_Id;    -- List2
8017
8018    function Generic_Parent
8019      (N : Node_Id) return Node_Id;    -- Node5
8020
8021    function Generic_Parent_Type
8022      (N : Node_Id) return Node_Id;    -- Node4
8023
8024    function Handled_Statement_Sequence
8025      (N : Node_Id) return Node_Id;    -- Node4
8026
8027    function Handler_List_Entry
8028      (N : Node_Id) return Node_Id;    -- Node2
8029
8030    function Has_Created_Identifier
8031      (N : Node_Id) return Boolean;    -- Flag15
8032
8033    function Has_Dynamic_Length_Check
8034      (N : Node_Id) return Boolean;    -- Flag10
8035
8036    function Has_Dynamic_Range_Check
8037      (N : Node_Id) return Boolean;    -- Flag12
8038
8039    function Has_Init_Expression
8040      (N : Node_Id) return Boolean;    -- Flag14
8041
8042    function Has_Local_Raise
8043      (N : Node_Id) return Boolean;    -- Flag8
8044
8045    function Has_No_Elaboration_Code
8046      (N : Node_Id) return Boolean;    -- Flag17
8047
8048    function Has_Priority_Pragma
8049      (N : Node_Id) return Boolean;    -- Flag6
8050
8051    function Has_Private_View
8052      (N : Node_Id) return Boolean;    -- Flag11
8053
8054    function Has_Relative_Deadline_Pragma
8055      (N : Node_Id) return Boolean;    -- Flag9
8056
8057    function Has_Self_Reference
8058      (N : Node_Id) return Boolean;    -- Flag13
8059
8060    function Has_Storage_Size_Pragma
8061      (N : Node_Id) return Boolean;    -- Flag5
8062
8063    function Has_Task_Info_Pragma
8064      (N : Node_Id) return Boolean;    -- Flag7
8065
8066    function Has_Task_Name_Pragma
8067      (N : Node_Id) return Boolean;    -- Flag8
8068
8069    function Has_Wide_Character
8070      (N : Node_Id) return Boolean;    -- Flag11
8071
8072    function Has_Wide_Wide_Character
8073      (N : Node_Id) return Boolean;    -- Flag13
8074
8075    function Hidden_By_Use_Clause
8076      (N : Node_Id) return Elist_Id;   -- Elist4
8077
8078    function High_Bound
8079      (N : Node_Id) return Node_Id;    -- Node2
8080
8081    function Identifier
8082      (N : Node_Id) return Node_Id;    -- Node1
8083
8084    function Interface_List
8085      (N : Node_Id) return List_Id;    -- List2
8086
8087    function Interface_Present
8088      (N : Node_Id) return Boolean;    -- Flag16
8089
8090    function Implicit_With
8091      (N : Node_Id) return Boolean;    -- Flag16
8092
8093    function In_Present
8094      (N : Node_Id) return Boolean;    -- Flag15
8095
8096    function Includes_Infinities
8097      (N : Node_Id) return Boolean;    -- Flag11
8098
8099    function Instance_Spec
8100      (N : Node_Id) return Node_Id;    -- Node5
8101
8102    function Intval
8103      (N : Node_Id) return Uint;       -- Uint3
8104
8105    function Is_Accessibility_Actual
8106      (N : Node_Id) return Boolean;    -- Flag13
8107
8108    function Is_Asynchronous_Call_Block
8109      (N : Node_Id) return Boolean;    -- Flag7
8110
8111    function Is_Component_Left_Opnd
8112      (N : Node_Id) return Boolean;    -- Flag13
8113
8114    function Is_Component_Right_Opnd
8115      (N : Node_Id) return Boolean;    -- Flag14
8116
8117    function Is_Controlling_Actual
8118      (N : Node_Id) return Boolean;    -- Flag16
8119
8120    function Is_Dynamic_Coextension
8121      (N : Node_Id) return Boolean;    -- Flag18
8122
8123    function Is_Elsif
8124      (N : Node_Id) return Boolean;    -- Flag13
8125
8126    function Is_Entry_Barrier_Function
8127      (N : Node_Id) return Boolean;    -- Flag8
8128
8129    function Is_Expanded_Build_In_Place_Call
8130      (N : Node_Id) return Boolean;    -- Flag11
8131
8132    function Is_Folded_In_Parser
8133      (N : Node_Id) return Boolean;    -- Flag4
8134
8135    function Is_In_Discriminant_Check
8136      (N : Node_Id) return Boolean;    -- Flag11
8137
8138    function Is_Machine_Number
8139      (N : Node_Id) return Boolean;    -- Flag11
8140
8141    function Is_Null_Loop
8142      (N : Node_Id) return Boolean;    -- Flag16
8143
8144    function Is_Overloaded
8145      (N : Node_Id) return Boolean;    -- Flag5
8146
8147    function Is_Power_Of_2_For_Shift
8148      (N : Node_Id) return Boolean;    -- Flag13
8149
8150    function Is_Protected_Subprogram_Body
8151      (N : Node_Id) return Boolean;    -- Flag7
8152
8153    function Is_Static_Coextension
8154      (N : Node_Id) return Boolean;    -- Flag14
8155
8156    function Is_Static_Expression
8157      (N : Node_Id) return Boolean;    -- Flag6
8158
8159    function Is_Subprogram_Descriptor
8160      (N : Node_Id) return Boolean;    -- Flag16
8161
8162    function Is_Task_Allocation_Block
8163      (N : Node_Id) return Boolean;    -- Flag6
8164
8165    function Is_Task_Master
8166      (N : Node_Id) return Boolean;    -- Flag5
8167
8168    function Iteration_Scheme
8169      (N : Node_Id) return Node_Id;    -- Node2
8170
8171    function Itype
8172      (N : Node_Id) return Entity_Id;  -- Node1
8173
8174    function Kill_Range_Check
8175      (N : Node_Id) return Boolean;    -- Flag11
8176
8177    function Label_Construct
8178      (N : Node_Id) return Node_Id;    -- Node2
8179
8180    function Left_Opnd
8181      (N : Node_Id) return Node_Id;    -- Node2
8182
8183    function Last_Bit
8184      (N : Node_Id) return Node_Id;    -- Node4
8185
8186    function Last_Name
8187      (N : Node_Id) return Boolean;    -- Flag6
8188
8189    function Library_Unit
8190      (N : Node_Id) return Node_Id;    -- Node4
8191
8192    function Limited_View_Installed
8193      (N : Node_Id) return Boolean;    -- Flag18
8194
8195    function Limited_Present
8196      (N : Node_Id) return Boolean;    -- Flag17
8197
8198    function Literals
8199      (N : Node_Id) return List_Id;    -- List1
8200
8201    function Local_Raise_Not_OK
8202      (N : Node_Id) return Boolean;    -- Flag7
8203
8204    function Local_Raise_Statements
8205      (N : Node_Id) return Elist_Id;   -- Elist1
8206
8207    function Loop_Actions
8208      (N : Node_Id) return List_Id;    -- List2
8209
8210    function Loop_Parameter_Specification
8211      (N : Node_Id) return Node_Id;    -- Node4
8212
8213    function Low_Bound
8214      (N : Node_Id) return Node_Id;    -- Node1
8215
8216    function Mod_Clause
8217      (N : Node_Id) return Node_Id;    -- Node2
8218
8219    function More_Ids
8220      (N : Node_Id) return Boolean;    -- Flag5
8221
8222    function Must_Be_Byte_Aligned
8223      (N : Node_Id) return Boolean;    -- Flag14
8224
8225    function Must_Not_Freeze
8226      (N : Node_Id) return Boolean;    -- Flag8
8227
8228    function Must_Not_Override
8229      (N : Node_Id) return Boolean;    -- Flag15
8230
8231    function Must_Override
8232      (N : Node_Id) return Boolean;    -- Flag14
8233
8234    function Name
8235      (N : Node_Id) return Node_Id;    -- Node2
8236
8237    function Names
8238      (N : Node_Id) return List_Id;    -- List2
8239
8240    function Next_Entity
8241      (N : Node_Id) return Node_Id;    -- Node2
8242
8243    function Next_Implicit_With
8244      (N : Node_Id) return Node_Id;    -- Node3
8245
8246    function Next_Named_Actual
8247      (N : Node_Id) return Node_Id;    -- Node4
8248
8249    function Next_Pragma
8250      (N : Node_Id) return Node_Id;    -- Node1
8251
8252    function Next_Rep_Item
8253      (N : Node_Id) return Node_Id;    -- Node5
8254
8255    function Next_Use_Clause
8256      (N : Node_Id) return Node_Id;    -- Node3
8257
8258    function No_Ctrl_Actions
8259      (N : Node_Id) return Boolean;    -- Flag7
8260
8261    function No_Elaboration_Check
8262      (N : Node_Id) return Boolean;    -- Flag14
8263
8264    function No_Entities_Ref_In_Spec
8265      (N : Node_Id) return Boolean;    -- Flag8
8266
8267    function No_Initialization
8268      (N : Node_Id) return Boolean;    -- Flag13
8269
8270    function No_Truncation
8271      (N : Node_Id) return Boolean;    -- Flag17
8272
8273    function Null_Present
8274      (N : Node_Id) return Boolean;    -- Flag13
8275
8276    function Null_Exclusion_Present
8277      (N : Node_Id) return Boolean;    -- Flag11
8278
8279    function Null_Exclusion_In_Return_Present
8280      (N : Node_Id) return Boolean;    -- Flag14
8281
8282    function Null_Record_Present
8283      (N : Node_Id) return Boolean;    -- Flag17
8284
8285    function Object_Definition
8286      (N : Node_Id) return Node_Id;    -- Node4
8287
8288    function Original_Discriminant
8289      (N : Node_Id) return Node_Id;    -- Node2
8290
8291    function Original_Entity
8292      (N : Node_Id) return Entity_Id;  -- Node2
8293
8294    function Others_Discrete_Choices
8295      (N : Node_Id) return List_Id;    -- List1
8296
8297    function Out_Present
8298      (N : Node_Id) return Boolean;    -- Flag17
8299
8300    function Parameter_Associations
8301      (N : Node_Id) return List_Id;    -- List3
8302
8303    function Parameter_List_Truncated
8304      (N : Node_Id) return Boolean;    -- Flag17
8305
8306    function Parameter_Specifications
8307      (N : Node_Id) return List_Id;    -- List3
8308
8309    function Parameter_Type
8310      (N : Node_Id) return Node_Id;    -- Node2
8311
8312    function Parent_Spec
8313      (N : Node_Id) return Node_Id;    -- Node4
8314
8315    function Position
8316      (N : Node_Id) return Node_Id;    -- Node2
8317
8318    function Pragma_Argument_Associations
8319      (N : Node_Id) return List_Id;    -- List2
8320
8321    function Pragma_Enabled
8322      (N : Node_Id) return Boolean;    -- Flag5
8323
8324    function Pragma_Identifier
8325      (N : Node_Id) return Node_Id;    -- Node4
8326
8327    function Pragmas_After
8328      (N : Node_Id) return List_Id;    -- List5
8329
8330    function Pragmas_Before
8331      (N : Node_Id) return List_Id;    -- List4
8332
8333    function Prefix
8334      (N : Node_Id) return Node_Id;    -- Node3
8335
8336    function Present_Expr
8337      (N : Node_Id) return Uint;       -- Uint3
8338
8339    function Prev_Ids
8340      (N : Node_Id) return Boolean;    -- Flag6
8341
8342    function Print_In_Hex
8343      (N : Node_Id) return Boolean;    -- Flag13
8344
8345    function Private_Declarations
8346      (N : Node_Id) return List_Id;    -- List3
8347
8348    function Private_Present
8349      (N : Node_Id) return Boolean;    -- Flag15
8350
8351    function Procedure_To_Call
8352      (N : Node_Id) return Node_Id;    -- Node2
8353
8354    function Proper_Body
8355      (N : Node_Id) return Node_Id;    -- Node1
8356
8357    function Protected_Definition
8358      (N : Node_Id) return Node_Id;    -- Node3
8359
8360    function Protected_Present
8361      (N : Node_Id) return Boolean;    -- Flag6
8362
8363    function Raises_Constraint_Error
8364      (N : Node_Id) return Boolean;    -- Flag7
8365
8366    function Range_Constraint
8367      (N : Node_Id) return Node_Id;    -- Node4
8368
8369    function Range_Expression
8370      (N : Node_Id) return Node_Id;    -- Node4
8371
8372    function Real_Range_Specification
8373      (N : Node_Id) return Node_Id;    -- Node4
8374
8375    function Realval
8376      (N : Node_Id) return Ureal;      -- Ureal3
8377
8378    function Reason
8379      (N : Node_Id) return Uint;       -- Uint3
8380
8381    function Record_Extension_Part
8382      (N : Node_Id) return Node_Id;    -- Node3
8383
8384    function Redundant_Use
8385      (N : Node_Id) return Boolean;    -- Flag13
8386
8387    function Renaming_Exception
8388      (N : Node_Id) return Node_Id;    -- Node2
8389
8390    function Result_Definition
8391      (N : Node_Id) return Node_Id;    -- Node4
8392
8393    function Return_Object_Declarations
8394      (N : Node_Id) return List_Id;    -- List3
8395
8396    function Return_Statement_Entity
8397      (N : Node_Id) return Node_Id;    -- Node5
8398
8399    function Reverse_Present
8400      (N : Node_Id) return Boolean;    -- Flag15
8401
8402    function Right_Opnd
8403      (N : Node_Id) return Node_Id;    -- Node3
8404
8405    function Rounded_Result
8406      (N : Node_Id) return Boolean;    -- Flag18
8407
8408    function SCIL_Controlling_Tag
8409      (N : Node_Id) return Node_Id;    -- Node5
8410
8411    function SCIL_Entity
8412      (N : Node_Id) return Node_Id;    -- Node4
8413
8414    function SCIL_Related_Node
8415      (N : Node_Id) return Node_Id;    -- Node1
8416
8417    function SCIL_Tag_Value
8418      (N : Node_Id) return Node_Id;    -- Node5
8419
8420    function SCIL_Target_Prim
8421      (N : Node_Id) return Node_Id;    -- Node2
8422
8423    function Scope
8424      (N : Node_Id) return Node_Id;    -- Node3
8425
8426    function Select_Alternatives
8427      (N : Node_Id) return List_Id;    -- List1
8428
8429    function Selector_Name
8430      (N : Node_Id) return Node_Id;    -- Node2
8431
8432    function Selector_Names
8433      (N : Node_Id) return List_Id;    -- List1
8434
8435    function Shift_Count_OK
8436      (N : Node_Id) return Boolean;    -- Flag4
8437
8438    function Source_Type
8439      (N : Node_Id) return Entity_Id;  -- Node1
8440
8441    function Specification
8442      (N : Node_Id) return Node_Id;    -- Node1
8443
8444    function Statements
8445      (N : Node_Id) return List_Id;    -- List3
8446
8447    function Static_Processing_OK
8448      (N : Node_Id) return Boolean;    -- Flag4
8449
8450    function Storage_Pool
8451      (N : Node_Id) return Node_Id;    -- Node1
8452
8453    function Strval
8454      (N : Node_Id) return String_Id;  -- Str3
8455
8456    function Subtype_Indication
8457      (N : Node_Id) return Node_Id;    -- Node5
8458
8459    function Subtype_Mark
8460      (N : Node_Id) return Node_Id;    -- Node4
8461
8462    function Subtype_Marks
8463      (N : Node_Id) return List_Id;    -- List2
8464
8465    function Suppress_Loop_Warnings
8466      (N : Node_Id) return Boolean;    -- Flag17
8467
8468    function Synchronized_Present
8469      (N : Node_Id) return Boolean;    -- Flag7
8470
8471    function Tagged_Present
8472      (N : Node_Id) return Boolean;    -- Flag15
8473
8474    function Target_Type
8475      (N : Node_Id) return Entity_Id;  -- Node2
8476
8477    function Task_Definition
8478      (N : Node_Id) return Node_Id;    -- Node3
8479
8480    function Task_Present
8481      (N : Node_Id) return Boolean;    -- Flag5
8482
8483    function Then_Actions
8484      (N : Node_Id) return List_Id;    -- List2
8485
8486    function Then_Statements
8487      (N : Node_Id) return List_Id;    -- List2
8488
8489    function Treat_Fixed_As_Integer
8490      (N : Node_Id) return Boolean;    -- Flag14
8491
8492    function Triggering_Alternative
8493      (N : Node_Id) return Node_Id;    -- Node1
8494
8495    function Triggering_Statement
8496      (N : Node_Id) return Node_Id;    -- Node1
8497
8498    function TSS_Elist
8499      (N : Node_Id) return Elist_Id;   -- Elist3
8500
8501    function Type_Definition
8502      (N : Node_Id) return Node_Id;    -- Node3
8503
8504    function Unit
8505      (N : Node_Id) return Node_Id;    -- Node2
8506
8507    function Unknown_Discriminants_Present
8508      (N : Node_Id) return Boolean;    -- Flag13
8509
8510    function Unreferenced_In_Spec
8511      (N : Node_Id) return Boolean;    -- Flag7
8512
8513    function Variant_Part
8514      (N : Node_Id) return Node_Id;    -- Node4
8515
8516    function Variants
8517      (N : Node_Id) return List_Id;    -- List1
8518
8519    function Visible_Declarations
8520      (N : Node_Id) return List_Id;    -- List2
8521
8522    function Was_Originally_Stub
8523      (N : Node_Id) return Boolean;    -- Flag13
8524
8525    function Zero_Cost_Handling
8526      (N : Node_Id) return Boolean;    -- Flag5
8527
8528    --  End functions (note used by xsinfo utility program to end processing)
8529
8530    ----------------------------
8531    -- Node Update Procedures --
8532    ----------------------------
8533
8534    --  These are the corresponding node update routines, which again provide
8535    --  a high level logical access with type checking. In addition to setting
8536    --  the indicated field of the node N to the given Val, in the case of
8537    --  tree pointers (List1-4), the parent pointer of the Val node is set to
8538    --  point back to node N. This automates the setting of the parent pointer.
8539
8540    procedure Set_ABE_Is_Certain
8541      (N : Node_Id; Val : Boolean := True);    -- Flag18
8542
8543    procedure Set_Abort_Present
8544      (N : Node_Id; Val : Boolean := True);    -- Flag15
8545
8546    procedure Set_Abortable_Part
8547      (N : Node_Id; Val : Node_Id);            -- Node2
8548
8549    procedure Set_Abstract_Present
8550      (N : Node_Id; Val : Boolean := True);    -- Flag4
8551
8552    procedure Set_Accept_Handler_Records
8553      (N : Node_Id; Val : List_Id);            -- List5
8554
8555    procedure Set_Accept_Statement
8556      (N : Node_Id; Val : Node_Id);            -- Node2
8557
8558    procedure Set_Access_Definition
8559      (N : Node_Id; Val : Node_Id);            -- Node3
8560
8561    procedure Set_Access_To_Subprogram_Definition
8562      (N : Node_Id; Val : Node_Id);            -- Node3
8563
8564    procedure Set_Access_Types_To_Process
8565      (N : Node_Id; Val : Elist_Id);           -- Elist2
8566
8567    procedure Set_Actions
8568      (N : Node_Id; Val : List_Id);            -- List1
8569
8570    procedure Set_Activation_Chain_Entity
8571      (N : Node_Id; Val : Node_Id);            -- Node3
8572
8573    procedure Set_Acts_As_Spec
8574      (N : Node_Id; Val : Boolean := True);    -- Flag4
8575
8576    procedure Set_Actual_Designated_Subtype
8577      (N : Node_Id; Val : Node_Id);            -- Node4
8578
8579    procedure Set_Address_Warning_Posted
8580      (N : Node_Id; Val : Boolean := True);    -- Flag18
8581
8582    procedure Set_Aggregate_Bounds
8583      (N : Node_Id; Val : Node_Id);            -- Node3
8584
8585    procedure Set_Aliased_Present
8586      (N : Node_Id; Val : Boolean := True);    -- Flag4
8587
8588    procedure Set_All_Others
8589      (N : Node_Id; Val : Boolean := True);    -- Flag11
8590
8591    procedure Set_All_Present
8592      (N : Node_Id; Val : Boolean := True);    -- Flag15
8593
8594    procedure Set_Alternatives
8595      (N : Node_Id; Val : List_Id);            -- List4
8596
8597    procedure Set_Ancestor_Part
8598      (N : Node_Id; Val : Node_Id);            -- Node3
8599
8600    procedure Set_Array_Aggregate
8601      (N : Node_Id; Val : Node_Id);            -- Node3
8602
8603    procedure Set_Assignment_OK
8604      (N : Node_Id; Val : Boolean := True);    -- Flag15
8605
8606    procedure Set_Associated_Node
8607      (N : Node_Id; Val : Node_Id);            -- Node4
8608
8609    procedure Set_Attribute_Name
8610      (N : Node_Id; Val : Name_Id);            -- Name2
8611
8612    procedure Set_At_End_Proc
8613      (N : Node_Id; Val : Node_Id);            -- Node1
8614
8615    procedure Set_Aux_Decls_Node
8616      (N : Node_Id; Val : Node_Id);            -- Node5
8617
8618    procedure Set_Backwards_OK
8619      (N : Node_Id; Val : Boolean := True);    -- Flag6
8620
8621    procedure Set_Bad_Is_Detected
8622      (N : Node_Id; Val : Boolean := True);    -- Flag15
8623
8624    procedure Set_Body_Required
8625      (N : Node_Id; Val : Boolean := True);    -- Flag13
8626
8627    procedure Set_Body_To_Inline
8628      (N : Node_Id; Val : Node_Id);            -- Node3
8629
8630    procedure Set_Box_Present
8631      (N : Node_Id; Val : Boolean := True);    -- Flag15
8632
8633    procedure Set_By_Ref
8634      (N : Node_Id; Val : Boolean := True);    -- Flag5
8635
8636    procedure Set_Char_Literal_Value
8637      (N : Node_Id; Val : Uint);               -- Uint2
8638
8639    procedure Set_Chars
8640      (N : Node_Id; Val : Name_Id);            -- Name1
8641
8642    procedure Set_Check_Address_Alignment
8643      (N : Node_Id; Val : Boolean := True);    -- Flag11
8644
8645    procedure Set_Choice_Parameter
8646      (N : Node_Id; Val : Node_Id);            -- Node2
8647
8648    procedure Set_Coextensions
8649      (N : Node_Id; Val : Elist_Id);           -- Elist4
8650
8651    procedure Set_Choices
8652      (N : Node_Id; Val : List_Id);            -- List1
8653
8654    procedure Set_Comes_From_Extended_Return_Statement
8655      (N : Node_Id; Val : Boolean := True);    -- Flag18
8656
8657    procedure Set_Compile_Time_Known_Aggregate
8658      (N : Node_Id; Val : Boolean := True);    -- Flag18
8659
8660    procedure Set_Component_Associations
8661      (N : Node_Id; Val : List_Id);            -- List2
8662
8663    procedure Set_Component_Clauses
8664      (N : Node_Id; Val : List_Id);            -- List3
8665
8666    procedure Set_Component_Definition
8667      (N : Node_Id; Val : Node_Id);            -- Node4
8668
8669    procedure Set_Component_Items
8670      (N : Node_Id; Val : List_Id);            -- List3
8671
8672    procedure Set_Component_List
8673      (N : Node_Id; Val : Node_Id);            -- Node1
8674
8675    procedure Set_Component_Name
8676      (N : Node_Id; Val : Node_Id);            -- Node1
8677
8678    procedure Set_Componentwise_Assignment
8679      (N : Node_Id; Val : Boolean := True);    -- Flag14
8680
8681    procedure Set_Condition
8682      (N : Node_Id; Val : Node_Id);            -- Node1
8683
8684    procedure Set_Condition_Actions
8685      (N : Node_Id; Val : List_Id);            -- List3
8686
8687    procedure Set_Config_Pragmas
8688      (N : Node_Id; Val : List_Id);            -- List4
8689
8690    procedure Set_Constant_Present
8691      (N : Node_Id; Val : Boolean := True);    -- Flag17
8692
8693    procedure Set_Constraint
8694      (N : Node_Id; Val : Node_Id);            -- Node3
8695
8696    procedure Set_Constraints
8697      (N : Node_Id; Val : List_Id);            -- List1
8698
8699    procedure Set_Context_Installed
8700      (N : Node_Id; Val : Boolean := True);    -- Flag13
8701
8702    procedure Set_Context_Items
8703      (N : Node_Id; Val : List_Id);            -- List1
8704
8705    procedure Set_Context_Pending
8706      (N : Node_Id; Val : Boolean := True);    -- Flag16
8707
8708    procedure Set_Controlling_Argument
8709      (N : Node_Id; Val : Node_Id);            -- Node1
8710
8711    procedure Set_Conversion_OK
8712      (N : Node_Id; Val : Boolean := True);    -- Flag14
8713
8714    procedure Set_Corresponding_Body
8715      (N : Node_Id; Val : Node_Id);            -- Node5
8716
8717    procedure Set_Corresponding_Formal_Spec
8718      (N : Node_Id; Val : Node_Id);            -- Node3
8719
8720    procedure Set_Corresponding_Generic_Association
8721      (N : Node_Id; Val : Node_Id);            -- Node5
8722
8723    procedure Set_Corresponding_Integer_Value
8724      (N : Node_Id; Val : Uint);               -- Uint4
8725
8726    procedure Set_Corresponding_Spec
8727      (N : Node_Id; Val : Node_Id);            -- Node5
8728
8729    procedure Set_Corresponding_Stub
8730      (N : Node_Id; Val : Node_Id);            -- Node3
8731
8732    procedure Set_Dcheck_Function
8733      (N : Node_Id; Val : Entity_Id);          -- Node5
8734
8735    procedure Set_Debug_Statement
8736      (N : Node_Id; Val : Node_Id);            -- Node3
8737
8738    procedure Set_Declarations
8739      (N : Node_Id; Val : List_Id);            -- List2
8740
8741    procedure Set_Default_Expression
8742      (N : Node_Id; Val : Node_Id);            -- Node5
8743
8744    procedure Set_Default_Name
8745      (N : Node_Id; Val : Node_Id);            -- Node2
8746
8747    procedure Set_Defining_Identifier
8748      (N : Node_Id; Val : Entity_Id);          -- Node1
8749
8750    procedure Set_Defining_Unit_Name
8751      (N : Node_Id; Val : Node_Id);            -- Node1
8752
8753    procedure Set_Delay_Alternative
8754      (N : Node_Id; Val : Node_Id);            -- Node4
8755
8756    procedure Set_Delay_Statement
8757      (N : Node_Id; Val : Node_Id);            -- Node2
8758
8759    procedure Set_Delta_Expression
8760      (N : Node_Id; Val : Node_Id);            -- Node3
8761
8762    procedure Set_Digits_Expression
8763      (N : Node_Id; Val : Node_Id);            -- Node2
8764
8765    procedure Set_Discr_Check_Funcs_Built
8766      (N : Node_Id; Val : Boolean := True);    -- Flag11
8767
8768    procedure Set_Discrete_Choices
8769      (N : Node_Id; Val : List_Id);            -- List4
8770
8771    procedure Set_Discrete_Range
8772      (N : Node_Id; Val : Node_Id);            -- Node4
8773
8774    procedure Set_Discrete_Subtype_Definition
8775      (N : Node_Id; Val : Node_Id);            -- Node4
8776
8777    procedure Set_Discrete_Subtype_Definitions
8778      (N : Node_Id; Val : List_Id);            -- List2
8779
8780    procedure Set_Discriminant_Specifications
8781      (N : Node_Id; Val : List_Id);            -- List4
8782
8783    procedure Set_Discriminant_Type
8784      (N : Node_Id; Val : Node_Id);            -- Node5
8785
8786    procedure Set_Do_Accessibility_Check
8787      (N : Node_Id; Val : Boolean := True);    -- Flag13
8788
8789    procedure Set_Do_Discriminant_Check
8790      (N : Node_Id; Val : Boolean := True);    -- Flag13
8791
8792    procedure Set_Do_Division_Check
8793      (N : Node_Id; Val : Boolean := True);    -- Flag13
8794
8795    procedure Set_Do_Length_Check
8796      (N : Node_Id; Val : Boolean := True);    -- Flag4
8797
8798    procedure Set_Do_Overflow_Check
8799      (N : Node_Id; Val : Boolean := True);    -- Flag17
8800
8801    procedure Set_Do_Range_Check
8802      (N : Node_Id; Val : Boolean := True);    -- Flag9
8803
8804    procedure Set_Do_Storage_Check
8805      (N : Node_Id; Val : Boolean := True);    -- Flag17
8806
8807    procedure Set_Do_Tag_Check
8808      (N : Node_Id; Val : Boolean := True);    -- Flag13
8809
8810    procedure Set_Elaborate_All_Desirable
8811      (N : Node_Id; Val : Boolean := True);    -- Flag9
8812
8813    procedure Set_Elaborate_All_Present
8814      (N : Node_Id; Val : Boolean := True);    -- Flag14
8815
8816    procedure Set_Elaborate_Desirable
8817      (N : Node_Id; Val : Boolean := True);    -- Flag11
8818
8819    procedure Set_Elaborate_Present
8820      (N : Node_Id; Val : Boolean := True);    -- Flag4
8821
8822    procedure Set_Elaboration_Boolean
8823      (N : Node_Id; Val : Node_Id);            -- Node2
8824
8825    procedure Set_Else_Actions
8826      (N : Node_Id; Val : List_Id);            -- List3
8827
8828    procedure Set_Else_Statements
8829      (N : Node_Id; Val : List_Id);            -- List4
8830
8831    procedure Set_Elsif_Parts
8832      (N : Node_Id; Val : List_Id);            -- List3
8833
8834    procedure Set_Enclosing_Variant
8835      (N : Node_Id; Val : Node_Id);            -- Node2
8836
8837    procedure Set_End_Label
8838      (N : Node_Id; Val : Node_Id);            -- Node4
8839
8840    procedure Set_End_Span
8841      (N : Node_Id; Val : Uint);               -- Uint5
8842
8843    procedure Set_Entity
8844      (N : Node_Id; Val : Node_Id);            -- Node4
8845
8846    procedure Set_Entry_Body_Formal_Part
8847      (N : Node_Id; Val : Node_Id);            -- Node5
8848
8849    procedure Set_Entry_Call_Alternative
8850      (N : Node_Id; Val : Node_Id);            -- Node1
8851
8852    procedure Set_Entry_Call_Statement
8853      (N : Node_Id; Val : Node_Id);            -- Node1
8854
8855    procedure Set_Entry_Direct_Name
8856      (N : Node_Id; Val : Node_Id);            -- Node1
8857
8858    procedure Set_Entry_Index
8859      (N : Node_Id; Val : Node_Id);            -- Node5
8860
8861    procedure Set_Entry_Index_Specification
8862      (N : Node_Id; Val : Node_Id);            -- Node4
8863
8864    procedure Set_Etype
8865      (N : Node_Id; Val : Node_Id);            -- Node5
8866
8867    procedure Set_Exception_Choices
8868      (N : Node_Id; Val : List_Id);            -- List4
8869
8870    procedure Set_Exception_Handlers
8871      (N : Node_Id; Val : List_Id);            -- List5
8872
8873    procedure Set_Exception_Junk
8874      (N : Node_Id; Val : Boolean := True);    -- Flag8
8875
8876    procedure Set_Exception_Label
8877      (N : Node_Id; Val : Node_Id);            -- Node5
8878
8879    procedure Set_Expansion_Delayed
8880      (N : Node_Id; Val : Boolean := True);    -- Flag11
8881
8882    procedure Set_Explicit_Actual_Parameter
8883      (N : Node_Id; Val : Node_Id);            -- Node3
8884
8885    procedure Set_Explicit_Generic_Actual_Parameter
8886      (N : Node_Id; Val : Node_Id);            -- Node1
8887
8888    procedure Set_Expression
8889      (N : Node_Id; Val : Node_Id);            -- Node3
8890
8891    procedure Set_Expressions
8892      (N : Node_Id; Val : List_Id);            -- List1
8893
8894    procedure Set_First_Bit
8895      (N : Node_Id; Val : Node_Id);            -- Node3
8896
8897    procedure Set_First_Inlined_Subprogram
8898      (N : Node_Id; Val : Entity_Id);          -- Node3
8899
8900    procedure Set_First_Name
8901      (N : Node_Id; Val : Boolean := True);    -- Flag5
8902
8903    procedure Set_First_Named_Actual
8904      (N : Node_Id; Val : Node_Id);            -- Node4
8905
8906    procedure Set_First_Real_Statement
8907      (N : Node_Id; Val : Node_Id);            -- Node2
8908
8909    procedure Set_First_Subtype_Link
8910      (N : Node_Id; Val : Entity_Id);          -- Node5
8911
8912    procedure Set_Float_Truncate
8913      (N : Node_Id; Val : Boolean := True);    -- Flag11
8914
8915    procedure Set_Formal_Type_Definition
8916      (N : Node_Id; Val : Node_Id);            -- Node3
8917
8918    procedure Set_Forwards_OK
8919      (N : Node_Id; Val : Boolean := True);    -- Flag5
8920
8921    procedure Set_From_At_Mod
8922      (N : Node_Id; Val : Boolean := True);    -- Flag4
8923
8924    procedure Set_From_At_End
8925      (N : Node_Id; Val : Boolean := True);    -- Flag4
8926
8927    procedure Set_From_Default
8928      (N : Node_Id; Val : Boolean := True);    -- Flag6
8929
8930    procedure Set_Generic_Associations
8931      (N : Node_Id; Val : List_Id);            -- List3
8932
8933    procedure Set_Generic_Formal_Declarations
8934      (N : Node_Id; Val : List_Id);            -- List2
8935
8936    procedure Set_Generic_Parent
8937      (N : Node_Id; Val : Node_Id);            -- Node5
8938
8939    procedure Set_Generic_Parent_Type
8940      (N : Node_Id; Val : Node_Id);            -- Node4
8941
8942    procedure Set_Handled_Statement_Sequence
8943      (N : Node_Id; Val : Node_Id);            -- Node4
8944
8945    procedure Set_Handler_List_Entry
8946      (N : Node_Id; Val : Node_Id);            -- Node2
8947
8948    procedure Set_Has_Created_Identifier
8949      (N : Node_Id; Val : Boolean := True);    -- Flag15
8950
8951    procedure Set_Has_Dynamic_Length_Check
8952      (N : Node_Id; Val : Boolean := True);    -- Flag10
8953
8954    procedure Set_Has_Dynamic_Range_Check
8955      (N : Node_Id; Val : Boolean := True);    -- Flag12
8956
8957    procedure Set_Has_Init_Expression
8958      (N : Node_Id; Val : Boolean := True);    -- Flag14
8959
8960    procedure Set_Has_Local_Raise
8961      (N : Node_Id; Val : Boolean := True);    -- Flag8
8962
8963    procedure Set_Has_No_Elaboration_Code
8964      (N : Node_Id; Val : Boolean := True);    -- Flag17
8965
8966    procedure Set_Has_Priority_Pragma
8967      (N : Node_Id; Val : Boolean := True);    -- Flag6
8968
8969    procedure Set_Has_Private_View
8970      (N : Node_Id; Val : Boolean := True);    -- Flag11
8971
8972    procedure Set_Has_Relative_Deadline_Pragma
8973      (N : Node_Id; Val : Boolean := True);    -- Flag9
8974
8975    procedure Set_Has_Self_Reference
8976      (N : Node_Id; Val : Boolean := True);    -- Flag13
8977
8978    procedure Set_Has_Storage_Size_Pragma
8979      (N : Node_Id; Val : Boolean := True);    -- Flag5
8980
8981    procedure Set_Has_Task_Info_Pragma
8982      (N : Node_Id; Val : Boolean := True);    -- Flag7
8983
8984    procedure Set_Has_Task_Name_Pragma
8985      (N : Node_Id; Val : Boolean := True);    -- Flag8
8986
8987    procedure Set_Has_Wide_Character
8988      (N : Node_Id; Val : Boolean := True);    -- Flag11
8989
8990    procedure Set_Has_Wide_Wide_Character
8991      (N : Node_Id; Val : Boolean := True);    -- Flag13
8992
8993    procedure Set_Hidden_By_Use_Clause
8994      (N : Node_Id; Val : Elist_Id);           -- Elist4
8995
8996    procedure Set_High_Bound
8997      (N : Node_Id; Val : Node_Id);            -- Node2
8998
8999    procedure Set_Identifier
9000      (N : Node_Id; Val : Node_Id);            -- Node1
9001
9002    procedure Set_Interface_List
9003      (N : Node_Id; Val : List_Id);            -- List2
9004
9005    procedure Set_Interface_Present
9006      (N : Node_Id; Val : Boolean := True);    -- Flag16
9007
9008    procedure Set_Implicit_With
9009      (N : Node_Id; Val : Boolean := True);    -- Flag16
9010
9011    procedure Set_In_Present
9012      (N : Node_Id; Val : Boolean := True);    -- Flag15
9013
9014    procedure Set_Includes_Infinities
9015      (N : Node_Id; Val : Boolean := True);    -- Flag11
9016
9017    procedure Set_Instance_Spec
9018      (N : Node_Id; Val : Node_Id);            -- Node5
9019
9020    procedure Set_Intval
9021      (N : Node_Id; Val : Uint);               -- Uint3
9022
9023    procedure Set_Is_Accessibility_Actual
9024      (N : Node_Id; Val : Boolean := True);    -- Flag13
9025
9026    procedure Set_Is_Asynchronous_Call_Block
9027      (N : Node_Id; Val : Boolean := True);    -- Flag7
9028
9029    procedure Set_Is_Component_Left_Opnd
9030      (N : Node_Id; Val : Boolean := True);    -- Flag13
9031
9032    procedure Set_Is_Component_Right_Opnd
9033      (N : Node_Id; Val : Boolean := True);    -- Flag14
9034
9035    procedure Set_Is_Controlling_Actual
9036      (N : Node_Id; Val : Boolean := True);    -- Flag16
9037
9038    procedure Set_Is_Dynamic_Coextension
9039      (N : Node_Id; Val : Boolean := True);    -- Flag18
9040
9041    procedure Set_Is_Elsif
9042      (N : Node_Id; Val : Boolean := True);    -- Flag13
9043
9044    procedure Set_Is_Entry_Barrier_Function
9045      (N : Node_Id; Val : Boolean := True);    -- Flag8
9046
9047    procedure Set_Is_Expanded_Build_In_Place_Call
9048      (N : Node_Id; Val : Boolean := True);    -- Flag11
9049
9050    procedure Set_Is_Folded_In_Parser
9051      (N : Node_Id; Val : Boolean := True);    -- Flag4
9052
9053    procedure Set_Is_In_Discriminant_Check
9054      (N : Node_Id; Val : Boolean := True);    -- Flag11
9055
9056    procedure Set_Is_Machine_Number
9057      (N : Node_Id; Val : Boolean := True);    -- Flag11
9058
9059    procedure Set_Is_Null_Loop
9060      (N : Node_Id; Val : Boolean := True);    -- Flag16
9061
9062    procedure Set_Is_Overloaded
9063      (N : Node_Id; Val : Boolean := True);    -- Flag5
9064
9065    procedure Set_Is_Power_Of_2_For_Shift
9066      (N : Node_Id; Val : Boolean := True);    -- Flag13
9067
9068    procedure Set_Is_Protected_Subprogram_Body
9069      (N : Node_Id; Val : Boolean := True);    -- Flag7
9070
9071    procedure Set_Is_Static_Coextension
9072      (N : Node_Id; Val : Boolean := True);    -- Flag14
9073
9074    procedure Set_Is_Static_Expression
9075      (N : Node_Id; Val : Boolean := True);    -- Flag6
9076
9077    procedure Set_Is_Subprogram_Descriptor
9078      (N : Node_Id; Val : Boolean := True);    -- Flag16
9079
9080    procedure Set_Is_Task_Allocation_Block
9081      (N : Node_Id; Val : Boolean := True);    -- Flag6
9082
9083    procedure Set_Is_Task_Master
9084      (N : Node_Id; Val : Boolean := True);    -- Flag5
9085
9086    procedure Set_Iteration_Scheme
9087      (N : Node_Id; Val : Node_Id);            -- Node2
9088
9089    procedure Set_Itype
9090      (N : Node_Id; Val : Entity_Id);          -- Node1
9091
9092    procedure Set_Kill_Range_Check
9093      (N : Node_Id; Val : Boolean := True);    -- Flag11
9094
9095    procedure Set_Last_Bit
9096      (N : Node_Id; Val : Node_Id);            -- Node4
9097
9098    procedure Set_Last_Name
9099      (N : Node_Id; Val : Boolean := True);    -- Flag6
9100
9101    procedure Set_Library_Unit
9102      (N : Node_Id; Val : Node_Id);            -- Node4
9103
9104    procedure Set_Label_Construct
9105      (N : Node_Id; Val : Node_Id);            -- Node2
9106
9107    procedure Set_Left_Opnd
9108      (N : Node_Id; Val : Node_Id);            -- Node2
9109
9110    procedure Set_Limited_View_Installed
9111      (N : Node_Id; Val : Boolean := True);    -- Flag18
9112
9113    procedure Set_Limited_Present
9114      (N : Node_Id; Val : Boolean := True);    -- Flag17
9115
9116    procedure Set_Literals
9117      (N : Node_Id; Val : List_Id);            -- List1
9118
9119    procedure Set_Local_Raise_Not_OK
9120      (N : Node_Id; Val : Boolean := True);    -- Flag7
9121
9122    procedure Set_Local_Raise_Statements
9123      (N : Node_Id; Val : Elist_Id);           -- Elist1
9124
9125    procedure Set_Loop_Actions
9126      (N : Node_Id; Val : List_Id);            -- List2
9127
9128    procedure Set_Loop_Parameter_Specification
9129      (N : Node_Id; Val : Node_Id);            -- Node4
9130
9131    procedure Set_Low_Bound
9132      (N : Node_Id; Val : Node_Id);            -- Node1
9133
9134    procedure Set_Mod_Clause
9135      (N : Node_Id; Val : Node_Id);            -- Node2
9136
9137    procedure Set_More_Ids
9138      (N : Node_Id; Val : Boolean := True);    -- Flag5
9139
9140    procedure Set_Must_Be_Byte_Aligned
9141      (N : Node_Id; Val : Boolean := True);    -- Flag14
9142
9143    procedure Set_Must_Not_Freeze
9144      (N : Node_Id; Val : Boolean := True);    -- Flag8
9145
9146    procedure Set_Must_Not_Override
9147      (N : Node_Id; Val : Boolean := True);    -- Flag15
9148
9149    procedure Set_Must_Override
9150      (N : Node_Id; Val : Boolean := True);    -- Flag14
9151
9152    procedure Set_Name
9153      (N : Node_Id; Val : Node_Id);            -- Node2
9154
9155    procedure Set_Names
9156      (N : Node_Id; Val : List_Id);            -- List2
9157
9158    procedure Set_Next_Entity
9159      (N : Node_Id; Val : Node_Id);            -- Node2
9160
9161    procedure Set_Next_Implicit_With
9162      (N : Node_Id; Val : Node_Id);            -- Node3
9163
9164    procedure Set_Next_Named_Actual
9165      (N : Node_Id; Val : Node_Id);            -- Node4
9166
9167    procedure Set_Next_Pragma
9168      (N : Node_Id; Val : Node_Id);            -- Node1
9169
9170    procedure Set_Next_Rep_Item
9171      (N : Node_Id; Val : Node_Id);            -- Node5
9172
9173    procedure Set_Next_Use_Clause
9174      (N : Node_Id; Val : Node_Id);            -- Node3
9175
9176    procedure Set_No_Ctrl_Actions
9177      (N : Node_Id; Val : Boolean := True);    -- Flag7
9178
9179    procedure Set_No_Elaboration_Check
9180      (N : Node_Id; Val : Boolean := True);    -- Flag14
9181
9182    procedure Set_No_Entities_Ref_In_Spec
9183      (N : Node_Id; Val : Boolean := True);    -- Flag8
9184
9185    procedure Set_No_Initialization
9186      (N : Node_Id; Val : Boolean := True);    -- Flag13
9187
9188    procedure Set_No_Truncation
9189      (N : Node_Id; Val : Boolean := True);    -- Flag17
9190
9191    procedure Set_Null_Present
9192      (N : Node_Id; Val : Boolean := True);    -- Flag13
9193
9194    procedure Set_Null_Exclusion_Present
9195      (N : Node_Id; Val : Boolean := True);    -- Flag11
9196
9197    procedure Set_Null_Exclusion_In_Return_Present
9198      (N : Node_Id; Val : Boolean := True);    -- Flag14
9199
9200    procedure Set_Null_Record_Present
9201      (N : Node_Id; Val : Boolean := True);    -- Flag17
9202
9203    procedure Set_Object_Definition
9204      (N : Node_Id; Val : Node_Id);            -- Node4
9205
9206    procedure Set_Original_Discriminant
9207      (N : Node_Id; Val : Node_Id);            -- Node2
9208
9209    procedure Set_Original_Entity
9210      (N : Node_Id; Val : Entity_Id);          -- Node2
9211
9212    procedure Set_Others_Discrete_Choices
9213      (N : Node_Id; Val : List_Id);            -- List1
9214
9215    procedure Set_Out_Present
9216      (N : Node_Id; Val : Boolean := True);    -- Flag17
9217
9218    procedure Set_Parameter_Associations
9219      (N : Node_Id; Val : List_Id);            -- List3
9220
9221    procedure Set_Parameter_List_Truncated
9222      (N : Node_Id; Val : Boolean := True);    -- Flag17
9223
9224    procedure Set_Parameter_Specifications
9225      (N : Node_Id; Val : List_Id);            -- List3
9226
9227    procedure Set_Parameter_Type
9228      (N : Node_Id; Val : Node_Id);            -- Node2
9229
9230    procedure Set_Parent_Spec
9231      (N : Node_Id; Val : Node_Id);            -- Node4
9232
9233    procedure Set_Position
9234      (N : Node_Id; Val : Node_Id);            -- Node2
9235
9236    procedure Set_Pragma_Argument_Associations
9237      (N : Node_Id; Val : List_Id);            -- List2
9238
9239    procedure Set_Pragma_Enabled
9240      (N : Node_Id; Val : Boolean := True);    -- Flag5
9241
9242    procedure Set_Pragma_Identifier
9243      (N : Node_Id; Val : Node_Id);            -- Node4
9244
9245    procedure Set_Pragmas_After
9246      (N : Node_Id; Val : List_Id);            -- List5
9247
9248    procedure Set_Pragmas_Before
9249      (N : Node_Id; Val : List_Id);            -- List4
9250
9251    procedure Set_Prefix
9252      (N : Node_Id; Val : Node_Id);            -- Node3
9253
9254    procedure Set_Present_Expr
9255      (N : Node_Id; Val : Uint);               -- Uint3
9256
9257    procedure Set_Prev_Ids
9258      (N : Node_Id; Val : Boolean := True);    -- Flag6
9259
9260    procedure Set_Print_In_Hex
9261      (N : Node_Id; Val : Boolean := True);    -- Flag13
9262
9263    procedure Set_Private_Declarations
9264      (N : Node_Id; Val : List_Id);            -- List3
9265
9266    procedure Set_Private_Present
9267      (N : Node_Id; Val : Boolean := True);    -- Flag15
9268
9269    procedure Set_Procedure_To_Call
9270      (N : Node_Id; Val : Node_Id);            -- Node2
9271
9272    procedure Set_Proper_Body
9273      (N : Node_Id; Val : Node_Id);            -- Node1
9274
9275    procedure Set_Protected_Definition
9276      (N : Node_Id; Val : Node_Id);            -- Node3
9277
9278    procedure Set_Protected_Present
9279      (N : Node_Id; Val : Boolean := True);    -- Flag6
9280
9281    procedure Set_Raises_Constraint_Error
9282      (N : Node_Id; Val : Boolean := True);    -- Flag7
9283
9284    procedure Set_Range_Constraint
9285      (N : Node_Id; Val : Node_Id);            -- Node4
9286
9287    procedure Set_Range_Expression
9288      (N : Node_Id; Val : Node_Id);            -- Node4
9289
9290    procedure Set_Real_Range_Specification
9291      (N : Node_Id; Val : Node_Id);            -- Node4
9292
9293    procedure Set_Realval
9294      (N : Node_Id; Val : Ureal);              -- Ureal3
9295
9296    procedure Set_Reason
9297      (N : Node_Id; Val : Uint);               -- Uint3
9298
9299    procedure Set_Record_Extension_Part
9300      (N : Node_Id; Val : Node_Id);            -- Node3
9301
9302    procedure Set_Redundant_Use
9303      (N : Node_Id; Val : Boolean := True);    -- Flag13
9304
9305    procedure Set_Renaming_Exception
9306      (N : Node_Id; Val : Node_Id);            -- Node2
9307
9308    procedure Set_Result_Definition
9309      (N : Node_Id; Val : Node_Id);            -- Node4
9310
9311    procedure Set_Return_Object_Declarations
9312      (N : Node_Id; Val : List_Id);            -- List3
9313
9314    procedure Set_Return_Statement_Entity
9315      (N : Node_Id; Val : Node_Id);            -- Node5
9316
9317    procedure Set_Reverse_Present
9318      (N : Node_Id; Val : Boolean := True);    -- Flag15
9319
9320    procedure Set_Right_Opnd
9321      (N : Node_Id; Val : Node_Id);            -- Node3
9322
9323    procedure Set_Rounded_Result
9324      (N : Node_Id; Val : Boolean := True);    -- Flag18
9325
9326    procedure Set_SCIL_Controlling_Tag
9327      (N : Node_Id; Val : Node_Id);            -- Node5
9328
9329    procedure Set_SCIL_Entity
9330      (N : Node_Id; Val : Node_Id);            -- Node4
9331
9332    procedure Set_SCIL_Related_Node
9333      (N : Node_Id; Val : Node_Id);            -- Node1
9334
9335    procedure Set_SCIL_Tag_Value
9336      (N : Node_Id; Val : Node_Id);            -- Node5
9337
9338    procedure Set_SCIL_Target_Prim
9339      (N : Node_Id; Val : Node_Id);            -- Node2
9340
9341    procedure Set_Scope
9342      (N : Node_Id; Val : Node_Id);            -- Node3
9343
9344    procedure Set_Select_Alternatives
9345      (N : Node_Id; Val : List_Id);            -- List1
9346
9347    procedure Set_Selector_Name
9348      (N : Node_Id; Val : Node_Id);            -- Node2
9349
9350    procedure Set_Selector_Names
9351      (N : Node_Id; Val : List_Id);            -- List1
9352
9353    procedure Set_Shift_Count_OK
9354      (N : Node_Id; Val : Boolean := True);    -- Flag4
9355
9356    procedure Set_Source_Type
9357      (N : Node_Id; Val : Entity_Id);          -- Node1
9358
9359    procedure Set_Specification
9360      (N : Node_Id; Val : Node_Id);            -- Node1
9361
9362    procedure Set_Statements
9363      (N : Node_Id; Val : List_Id);            -- List3
9364
9365    procedure Set_Static_Processing_OK
9366      (N : Node_Id; Val : Boolean);            -- Flag4
9367
9368    procedure Set_Storage_Pool
9369      (N : Node_Id; Val : Node_Id);            -- Node1
9370
9371    procedure Set_Strval
9372      (N : Node_Id; Val : String_Id);          -- Str3
9373
9374    procedure Set_Subtype_Indication
9375      (N : Node_Id; Val : Node_Id);            -- Node5
9376
9377    procedure Set_Subtype_Mark
9378      (N : Node_Id; Val : Node_Id);            -- Node4
9379
9380    procedure Set_Subtype_Marks
9381      (N : Node_Id; Val : List_Id);            -- List2
9382
9383    procedure Set_Suppress_Loop_Warnings
9384      (N : Node_Id; Val : Boolean := True);    -- Flag17
9385
9386    procedure Set_Synchronized_Present
9387      (N : Node_Id; Val : Boolean := True);    -- Flag7
9388
9389    procedure Set_Tagged_Present
9390      (N : Node_Id; Val : Boolean := True);    -- Flag15
9391
9392    procedure Set_Target_Type
9393      (N : Node_Id; Val : Entity_Id);          -- Node2
9394
9395    procedure Set_Task_Definition
9396      (N : Node_Id; Val : Node_Id);            -- Node3
9397
9398    procedure Set_Task_Present
9399      (N : Node_Id; Val : Boolean := True);    -- Flag5
9400
9401    procedure Set_Then_Actions
9402      (N : Node_Id; Val : List_Id);            -- List2
9403
9404    procedure Set_Then_Statements
9405      (N : Node_Id; Val : List_Id);            -- List2
9406
9407    procedure Set_Treat_Fixed_As_Integer
9408      (N : Node_Id; Val : Boolean := True);    -- Flag14
9409
9410    procedure Set_Triggering_Alternative
9411      (N : Node_Id; Val : Node_Id);            -- Node1
9412
9413    procedure Set_Triggering_Statement
9414      (N : Node_Id; Val : Node_Id);            -- Node1
9415
9416    procedure Set_TSS_Elist
9417      (N : Node_Id; Val : Elist_Id);           -- Elist3
9418
9419    procedure Set_Type_Definition
9420      (N : Node_Id; Val : Node_Id);            -- Node3
9421
9422    procedure Set_Unit
9423      (N : Node_Id; Val : Node_Id);            -- Node2
9424
9425    procedure Set_Unknown_Discriminants_Present
9426      (N : Node_Id; Val : Boolean := True);    -- Flag13
9427
9428    procedure Set_Unreferenced_In_Spec
9429      (N : Node_Id; Val : Boolean := True);    -- Flag7
9430
9431    procedure Set_Variant_Part
9432      (N : Node_Id; Val : Node_Id);            -- Node4
9433
9434    procedure Set_Variants
9435      (N : Node_Id; Val : List_Id);            -- List1
9436
9437    procedure Set_Visible_Declarations
9438      (N : Node_Id; Val : List_Id);            -- List2
9439
9440    procedure Set_Was_Originally_Stub
9441      (N : Node_Id; Val : Boolean := True);    -- Flag13
9442
9443    procedure Set_Zero_Cost_Handling
9444      (N : Node_Id; Val : Boolean := True);    -- Flag5
9445
9446    -------------------------
9447    -- Iterator Procedures --
9448    -------------------------
9449
9450    --  The call to Next_xxx (N) is equivalent to N := Next_xxx (N)
9451
9452    procedure Next_Entity       (N : in out Node_Id);
9453    procedure Next_Named_Actual (N : in out Node_Id);
9454    procedure Next_Rep_Item     (N : in out Node_Id);
9455    procedure Next_Use_Clause   (N : in out Node_Id);
9456
9457    --------------------------------------
9458    -- Logical Access to End_Span Field --
9459    --------------------------------------
9460
9461    function End_Location (N : Node_Id) return Source_Ptr;
9462    --  N is an N_If_Statement or N_Case_Statement node, and this
9463    --  function returns the location of the IF token in the END IF
9464    --  sequence by translating the value of the End_Span field.
9465
9466    procedure Set_End_Location (N : Node_Id; S : Source_Ptr);
9467    --  N is an N_If_Statement or N_Case_Statement node. This procedure
9468    --  sets the End_Span field to correspond to the given value S. In
9469    --  other words, End_Span is set to the difference between S and
9470    --  Sloc (N), the starting location.
9471
9472    --------------------------------
9473    -- Node_Kind Membership Tests --
9474    --------------------------------
9475
9476    --  The following functions allow a convenient notation for testing whether
9477    --  a Node_Kind value matches any one of a list of possible values. In each
9478    --  case True is returned if the given T argument is equal to any of the V
9479    --  arguments. Note that there is a similar set of functions defined in
9480    --  Atree where the first argument is a Node_Id whose Nkind field is tested.
9481
9482    function Nkind_In
9483      (T  : Node_Kind;
9484       V1 : Node_Kind;
9485       V2 : Node_Kind) return Boolean;
9486
9487    function Nkind_In
9488      (T  : Node_Kind;
9489       V1 : Node_Kind;
9490       V2 : Node_Kind;
9491       V3 : Node_Kind) return Boolean;
9492
9493    function Nkind_In
9494      (T  : Node_Kind;
9495       V1 : Node_Kind;
9496       V2 : Node_Kind;
9497       V3 : Node_Kind;
9498       V4 : Node_Kind) return Boolean;
9499
9500    function Nkind_In
9501      (T  : Node_Kind;
9502       V1 : Node_Kind;
9503       V2 : Node_Kind;
9504       V3 : Node_Kind;
9505       V4 : Node_Kind;
9506       V5 : Node_Kind) return Boolean;
9507
9508    function Nkind_In
9509      (T  : Node_Kind;
9510       V1 : Node_Kind;
9511       V2 : Node_Kind;
9512       V3 : Node_Kind;
9513       V4 : Node_Kind;
9514       V5 : Node_Kind;
9515       V6 : Node_Kind) return Boolean;
9516
9517    function Nkind_In
9518      (T  : Node_Kind;
9519       V1 : Node_Kind;
9520       V2 : Node_Kind;
9521       V3 : Node_Kind;
9522       V4 : Node_Kind;
9523       V5 : Node_Kind;
9524       V6 : Node_Kind;
9525       V7 : Node_Kind) return Boolean;
9526
9527    function Nkind_In
9528      (T  : Node_Kind;
9529       V1 : Node_Kind;
9530       V2 : Node_Kind;
9531       V3 : Node_Kind;
9532       V4 : Node_Kind;
9533       V5 : Node_Kind;
9534       V6 : Node_Kind;
9535       V7 : Node_Kind;
9536       V8 : Node_Kind) return Boolean;
9537
9538    function Nkind_In
9539      (T  : Node_Kind;
9540       V1 : Node_Kind;
9541       V2 : Node_Kind;
9542       V3 : Node_Kind;
9543       V4 : Node_Kind;
9544       V5 : Node_Kind;
9545       V6 : Node_Kind;
9546       V7 : Node_Kind;
9547       V8 : Node_Kind;
9548       V9 : Node_Kind) return Boolean;
9549
9550    pragma Inline (Nkind_In);
9551    --  Inline all above functions
9552
9553    -----------------------
9554    -- Utility Functions --
9555    -----------------------
9556
9557    function Pragma_Name (N : Node_Id) return Name_Id;
9558    pragma Inline (Pragma_Name);
9559    --  Convenient function to obtain Chars field of Pragma_Identifier
9560
9561    -----------------------------
9562    -- Syntactic Parent Tables --
9563    -----------------------------
9564
9565    --  These tables show for each node, and for each of the five fields,
9566    --  whether the corresponding field is syntactic (True) or semantic (False).
9567    --  Unused entries are also set to False.
9568
9569    subtype Field_Num is Natural range 1 .. 5;
9570
9571    Is_Syntactic_Field : constant array (Node_Kind, Field_Num) of Boolean := (
9572
9573    --  Following entries can be built automatically from the sinfo sources
9574    --  using the makeisf utility (currently this program is in spitbol).
9575
9576      N_Identifier =>
9577        (1 => True,    --  Chars (Name1)
9578         2 => False,   --  Original_Discriminant (Node2-Sem)
9579         3 => False,   --  unused
9580         4 => False,   --  Entity (Node4-Sem)
9581         5 => False),  --  Etype (Node5-Sem)
9582
9583      N_Integer_Literal =>
9584        (1 => False,   --  unused
9585         2 => False,   --  Original_Entity (Node2-Sem)
9586         3 => True,    --  Intval (Uint3)
9587         4 => False,   --  unused
9588         5 => False),  --  Etype (Node5-Sem)
9589
9590      N_Real_Literal =>
9591        (1 => False,   --  unused
9592         2 => False,   --  Original_Entity (Node2-Sem)
9593         3 => True,    --  Realval (Ureal3)
9594         4 => False,   --  Corresponding_Integer_Value (Uint4-Sem)
9595         5 => False),  --  Etype (Node5-Sem)
9596
9597      N_Character_Literal =>
9598        (1 => True,    --  Chars (Name1)
9599         2 => True,    --  Char_Literal_Value (Uint2)
9600         3 => False,   --  unused
9601         4 => False,   --  Entity (Node4-Sem)
9602         5 => False),  --  Etype (Node5-Sem)
9603
9604      N_String_Literal =>
9605        (1 => False,   --  unused
9606         2 => False,   --  unused
9607         3 => True,    --  Strval (Str3)
9608         4 => False,   --  unused
9609         5 => False),  --  Etype (Node5-Sem)
9610
9611      N_Pragma =>
9612        (1 => False,   --  Next_Pragma (Node1-Sem)
9613         2 => True,    --  Pragma_Argument_Associations (List2)
9614         3 => True,    --  Debug_Statement (Node3)
9615         4 => True,    --  Pragma_Identifier (Node4)
9616         5 => False),  --  Next_Rep_Item (Node5-Sem)
9617
9618      N_Pragma_Argument_Association =>
9619        (1 => True,    --  Chars (Name1)
9620         2 => False,   --  unused
9621         3 => True,    --  Expression (Node3)
9622         4 => False,   --  unused
9623         5 => False),  --  unused
9624
9625      N_Defining_Identifier =>
9626        (1 => True,    --  Chars (Name1)
9627         2 => False,   --  Next_Entity (Node2-Sem)
9628         3 => False,   --  Scope (Node3-Sem)
9629         4 => False,   --  unused
9630         5 => False),  --  Etype (Node5-Sem)
9631
9632      N_Full_Type_Declaration =>
9633        (1 => True,    --  Defining_Identifier (Node1)
9634         2 => False,   --  unused
9635         3 => True,    --  Type_Definition (Node3)
9636         4 => True,    --  Discriminant_Specifications (List4)
9637         5 => False),  --  unused
9638
9639      N_Subtype_Declaration =>
9640        (1 => True,    --  Defining_Identifier (Node1)
9641         2 => False,   --  unused
9642         3 => False,   --  unused
9643         4 => False,   --  Generic_Parent_Type (Node4-Sem)
9644         5 => True),   --  Subtype_Indication (Node5)
9645
9646      N_Subtype_Indication =>
9647        (1 => False,   --  unused
9648         2 => False,   --  unused
9649         3 => True,    --  Constraint (Node3)
9650         4 => True,    --  Subtype_Mark (Node4)
9651         5 => False),  --  Etype (Node5-Sem)
9652
9653      N_Object_Declaration =>
9654        (1 => True,    --  Defining_Identifier (Node1)
9655         2 => False,   --  Handler_List_Entry (Node2-Sem)
9656         3 => True,    --  Expression (Node3)
9657         4 => True,    --  Object_Definition (Node4)
9658         5 => False),  --  Corresponding_Generic_Association (Node5-Sem)
9659
9660      N_Number_Declaration =>
9661        (1 => True,    --  Defining_Identifier (Node1)
9662         2 => False,   --  unused
9663         3 => True,    --  Expression (Node3)
9664         4 => False,   --  unused
9665         5 => False),  --  unused
9666
9667      N_Derived_Type_Definition =>
9668        (1 => False,   --  unused
9669         2 => True,    --  Interface_List (List2)
9670         3 => True,    --  Record_Extension_Part (Node3)
9671         4 => False,   --  unused
9672         5 => True),   --  Subtype_Indication (Node5)
9673
9674      N_Range_Constraint =>
9675        (1 => False,   --  unused
9676         2 => False,   --  unused
9677         3 => False,   --  unused
9678         4 => True,    --  Range_Expression (Node4)
9679         5 => False),  --  unused
9680
9681      N_Range =>
9682        (1 => True,    --  Low_Bound (Node1)
9683         2 => True,    --  High_Bound (Node2)
9684         3 => False,   --  unused
9685         4 => False,   --  unused
9686         5 => False),  --  Etype (Node5-Sem)
9687
9688      N_Enumeration_Type_Definition =>
9689        (1 => True,    --  Literals (List1)
9690         2 => False,   --  unused
9691         3 => False,   --  unused
9692         4 => True,    --  End_Label (Node4)
9693         5 => False),  --  unused
9694
9695      N_Defining_Character_Literal =>
9696        (1 => True,    --  Chars (Name1)
9697         2 => False,   --  Next_Entity (Node2-Sem)
9698         3 => False,   --  Scope (Node3-Sem)
9699         4 => False,   --  unused
9700         5 => False),  --  Etype (Node5-Sem)
9701
9702      N_Signed_Integer_Type_Definition =>
9703        (1 => True,    --  Low_Bound (Node1)
9704         2 => True,    --  High_Bound (Node2)
9705         3 => False,   --  unused
9706         4 => False,   --  unused
9707         5 => False),  --  unused
9708
9709      N_Modular_Type_Definition =>
9710        (1 => False,   --  unused
9711         2 => False,   --  unused
9712         3 => True,    --  Expression (Node3)
9713         4 => False,   --  unused
9714         5 => False),  --  unused
9715
9716      N_Floating_Point_Definition =>
9717        (1 => False,   --  unused
9718         2 => True,    --  Digits_Expression (Node2)
9719         3 => False,   --  unused
9720         4 => True,    --  Real_Range_Specification (Node4)
9721         5 => False),  --  unused
9722
9723      N_Real_Range_Specification =>
9724        (1 => True,    --  Low_Bound (Node1)
9725         2 => True,    --  High_Bound (Node2)
9726         3 => False,   --  unused
9727         4 => False,   --  unused
9728         5 => False),  --  unused
9729
9730      N_Ordinary_Fixed_Point_Definition =>
9731        (1 => False,   --  unused
9732         2 => False,   --  unused
9733         3 => True,    --  Delta_Expression (Node3)
9734         4 => True,    --  Real_Range_Specification (Node4)
9735         5 => False),  --  unused
9736
9737      N_Decimal_Fixed_Point_Definition =>
9738        (1 => False,   --  unused
9739         2 => True,    --  Digits_Expression (Node2)
9740         3 => True,    --  Delta_Expression (Node3)
9741         4 => True,    --  Real_Range_Specification (Node4)
9742         5 => False),  --  unused
9743
9744      N_Digits_Constraint =>
9745        (1 => False,   --  unused
9746         2 => True,    --  Digits_Expression (Node2)
9747         3 => False,   --  unused
9748         4 => True,    --  Range_Constraint (Node4)
9749         5 => False),  --  unused
9750
9751      N_Unconstrained_Array_Definition =>
9752        (1 => False,   --  unused
9753         2 => True,    --  Subtype_Marks (List2)
9754         3 => False,   --  unused
9755         4 => True,    --  Component_Definition (Node4)
9756         5 => False),  --  unused
9757
9758      N_Constrained_Array_Definition =>
9759        (1 => False,   --  unused
9760         2 => True,    --  Discrete_Subtype_Definitions (List2)
9761         3 => False,   --  unused
9762         4 => True,    --  Component_Definition (Node4)
9763         5 => False),  --  unused
9764
9765      N_Component_Definition =>
9766        (1 => False,   --  unused
9767         2 => False,   --  unused
9768         3 => True,    --  Access_Definition (Node3)
9769         4 => False,   --  unused
9770         5 => True),   --  Subtype_Indication (Node5)
9771
9772      N_Discriminant_Specification =>
9773        (1 => True,    --  Defining_Identifier (Node1)
9774         2 => False,   --  unused
9775         3 => True,    --  Expression (Node3)
9776         4 => False,   --  unused
9777         5 => True),   --  Discriminant_Type (Node5)
9778
9779      N_Index_Or_Discriminant_Constraint =>
9780        (1 => True,    --  Constraints (List1)
9781         2 => False,   --  unused
9782         3 => False,   --  unused
9783         4 => False,   --  unused
9784         5 => False),  --  unused
9785
9786      N_Discriminant_Association =>
9787        (1 => True,    --  Selector_Names (List1)
9788         2 => False,   --  unused
9789         3 => True,    --  Expression (Node3)
9790         4 => False,   --  unused
9791         5 => False),  --  unused
9792
9793      N_Record_Definition =>
9794        (1 => True,    --  Component_List (Node1)
9795         2 => True,    --  Interface_List (List2)
9796         3 => False,   --  unused
9797         4 => True,    --  End_Label (Node4)
9798         5 => False),  --  unused
9799
9800      N_Component_List =>
9801        (1 => False,   --  unused
9802         2 => False,   --  unused
9803         3 => True,    --  Component_Items (List3)
9804         4 => True,    --  Variant_Part (Node4)
9805         5 => False),  --  unused
9806
9807      N_Component_Declaration =>
9808        (1 => True,    --  Defining_Identifier (Node1)
9809         2 => False,   --  unused
9810         3 => True,    --  Expression (Node3)
9811         4 => True,    --  Component_Definition (Node4)
9812         5 => False),  --  unused
9813
9814      N_Variant_Part =>
9815        (1 => True,    --  Variants (List1)
9816         2 => True,    --  Name (Node2)
9817         3 => False,   --  unused
9818         4 => False,   --  unused
9819         5 => False),  --  unused
9820
9821      N_Variant =>
9822        (1 => True,    --  Component_List (Node1)
9823         2 => False,   --  Enclosing_Variant (Node2-Sem)
9824         3 => False,   --  Present_Expr (Uint3-Sem)
9825         4 => True,    --  Discrete_Choices (List4)
9826         5 => False),  --  Dcheck_Function (Node5-Sem)
9827
9828      N_Others_Choice =>
9829        (1 => False,   --  Others_Discrete_Choices (List1-Sem)
9830         2 => False,   --  unused
9831         3 => False,   --  unused
9832         4 => False,   --  unused
9833         5 => False),  --  unused
9834
9835      N_Access_To_Object_Definition =>
9836        (1 => False,   --  unused
9837         2 => False,   --  unused
9838         3 => False,   --  unused
9839         4 => False,   --  unused
9840         5 => True),   --  Subtype_Indication (Node5)
9841
9842      N_Access_Function_Definition =>
9843        (1 => False,   --  unused
9844         2 => False,   --  unused
9845         3 => True,    --  Parameter_Specifications (List3)
9846         4 => True,    --  Result_Definition (Node4)
9847         5 => False),  --  unused
9848
9849      N_Access_Procedure_Definition =>
9850        (1 => False,   --  unused
9851         2 => False,   --  unused
9852         3 => True,    --  Parameter_Specifications (List3)
9853         4 => False,   --  unused
9854         5 => False),  --  unused
9855
9856      N_Access_Definition =>
9857        (1 => False,   --  unused
9858         2 => False,   --  unused
9859         3 => True,    --  Access_To_Subprogram_Definition (Node3)
9860         4 => True,    --  Subtype_Mark (Node4)
9861         5 => False),  --  unused
9862
9863      N_Incomplete_Type_Declaration =>
9864        (1 => True,    --  Defining_Identifier (Node1)
9865         2 => False,   --  unused
9866         3 => False,   --  unused
9867         4 => True,    --  Discriminant_Specifications (List4)
9868         5 => False),  --  unused
9869
9870      N_Explicit_Dereference =>
9871        (1 => False,   --  unused
9872         2 => False,   --  unused
9873         3 => True,    --  Prefix (Node3)
9874         4 => False,   --  Actual_Designated_Subtype (Node4-Sem)
9875         5 => False),  --  Etype (Node5-Sem)
9876
9877      N_Indexed_Component =>
9878        (1 => True,    --  Expressions (List1)
9879         2 => False,   --  unused
9880         3 => True,    --  Prefix (Node3)
9881         4 => False,   --  unused
9882         5 => False),  --  Etype (Node5-Sem)
9883
9884      N_Slice =>
9885        (1 => False,   --  unused
9886         2 => False,   --  unused
9887         3 => True,    --  Prefix (Node3)
9888         4 => True,    --  Discrete_Range (Node4)
9889         5 => False),  --  Etype (Node5-Sem)
9890
9891      N_Selected_Component =>
9892        (1 => False,   --  unused
9893         2 => True,    --  Selector_Name (Node2)
9894         3 => True,    --  Prefix (Node3)
9895         4 => False,   --  unused
9896         5 => False),  --  Etype (Node5-Sem)
9897
9898      N_Attribute_Reference =>
9899        (1 => True,    --  Expressions (List1)
9900         2 => True,    --  Attribute_Name (Name2)
9901         3 => True,    --  Prefix (Node3)
9902         4 => False,   --  Entity (Node4-Sem)
9903         5 => False),  --  Etype (Node5-Sem)
9904
9905      N_Aggregate =>
9906        (1 => True,    --  Expressions (List1)
9907         2 => True,    --  Component_Associations (List2)
9908         3 => False,   --  Aggregate_Bounds (Node3-Sem)
9909         4 => False,   --  unused
9910         5 => False),  --  Etype (Node5-Sem)
9911
9912      N_Component_Association =>
9913        (1 => True,    --  Choices (List1)
9914         2 => False,   --  Loop_Actions (List2-Sem)
9915         3 => True,    --  Expression (Node3)
9916         4 => False,   --  unused
9917         5 => False),  --  unused
9918
9919      N_Extension_Aggregate =>
9920        (1 => True,    --  Expressions (List1)
9921         2 => True,    --  Component_Associations (List2)
9922         3 => True,    --  Ancestor_Part (Node3)
9923         4 => False,   --  unused
9924         5 => False),  --  Etype (Node5-Sem)
9925
9926      N_Null =>
9927        (1 => False,   --  unused
9928         2 => False,   --  unused
9929         3 => False,   --  unused
9930         4 => False,   --  unused
9931         5 => False),  --  Etype (Node5-Sem)
9932
9933      N_And_Then =>
9934        (1 => False,   --  Actions (List1-Sem)
9935         2 => True,    --  Left_Opnd (Node2)
9936         3 => True,    --  Right_Opnd (Node3)
9937         4 => False,   --  unused
9938         5 => False),  --  Etype (Node5-Sem)
9939
9940      N_Or_Else =>
9941        (1 => False,   --  Actions (List1-Sem)
9942         2 => True,    --  Left_Opnd (Node2)
9943         3 => True,    --  Right_Opnd (Node3)
9944         4 => False,   --  unused
9945         5 => False),  --  Etype (Node5-Sem)
9946
9947      N_In =>
9948        (1 => False,   --  unused
9949         2 => True,    --  Left_Opnd (Node2)
9950         3 => True,    --  Right_Opnd (Node3)
9951         4 => True,    --  Alternatives (List4)
9952         5 => False),  --  Etype (Node5-Sem)
9953
9954      N_Not_In =>
9955        (1 => False,   --  unused
9956         2 => True,    --  Left_Opnd (Node2)
9957         3 => True,    --  Right_Opnd (Node3)
9958         4 => True,    --  Alternatives (List4)
9959         5 => False),  --  Etype (Node5-Sem)
9960
9961      N_Op_And =>
9962        (1 => True,    --  Chars (Name1)
9963         2 => True,    --  Left_Opnd (Node2)
9964         3 => True,    --  Right_Opnd (Node3)
9965         4 => False,   --  Entity (Node4-Sem)
9966         5 => False),  --  Etype (Node5-Sem)
9967
9968      N_Op_Or =>
9969        (1 => True,    --  Chars (Name1)
9970         2 => True,    --  Left_Opnd (Node2)
9971         3 => True,    --  Right_Opnd (Node3)
9972         4 => False,   --  Entity (Node4-Sem)
9973         5 => False),  --  Etype (Node5-Sem)
9974
9975      N_Op_Xor =>
9976        (1 => True,    --  Chars (Name1)
9977         2 => True,    --  Left_Opnd (Node2)
9978         3 => True,    --  Right_Opnd (Node3)
9979         4 => False,   --  Entity (Node4-Sem)
9980         5 => False),  --  Etype (Node5-Sem)
9981
9982      N_Op_Eq =>
9983        (1 => True,    --  Chars (Name1)
9984         2 => True,    --  Left_Opnd (Node2)
9985         3 => True,    --  Right_Opnd (Node3)
9986         4 => False,   --  Entity (Node4-Sem)
9987         5 => False),  --  Etype (Node5-Sem)
9988
9989      N_Op_Ne =>
9990        (1 => True,    --  Chars (Name1)
9991         2 => True,    --  Left_Opnd (Node2)
9992         3 => True,    --  Right_Opnd (Node3)
9993         4 => False,   --  Entity (Node4-Sem)
9994         5 => False),  --  Etype (Node5-Sem)
9995
9996      N_Op_Lt =>
9997        (1 => True,    --  Chars (Name1)
9998         2 => True,    --  Left_Opnd (Node2)
9999         3 => True,    --  Right_Opnd (Node3)
10000         4 => False,   --  Entity (Node4-Sem)
10001         5 => False),  --  Etype (Node5-Sem)
10002
10003      N_Op_Le =>
10004        (1 => True,    --  Chars (Name1)
10005         2 => True,    --  Left_Opnd (Node2)
10006         3 => True,    --  Right_Opnd (Node3)
10007         4 => False,   --  Entity (Node4-Sem)
10008         5 => False),  --  Etype (Node5-Sem)
10009
10010      N_Op_Gt =>
10011        (1 => True,    --  Chars (Name1)
10012         2 => True,    --  Left_Opnd (Node2)
10013         3 => True,    --  Right_Opnd (Node3)
10014         4 => False,   --  Entity (Node4-Sem)
10015         5 => False),  --  Etype (Node5-Sem)
10016
10017      N_Op_Ge =>
10018        (1 => True,    --  Chars (Name1)
10019         2 => True,    --  Left_Opnd (Node2)
10020         3 => True,    --  Right_Opnd (Node3)
10021         4 => False,   --  Entity (Node4-Sem)
10022         5 => False),  --  Etype (Node5-Sem)
10023
10024      N_Op_Add =>
10025        (1 => True,    --  Chars (Name1)
10026         2 => True,    --  Left_Opnd (Node2)
10027         3 => True,    --  Right_Opnd (Node3)
10028         4 => False,   --  Entity (Node4-Sem)
10029         5 => False),  --  Etype (Node5-Sem)
10030
10031      N_Op_Subtract =>
10032        (1 => True,    --  Chars (Name1)
10033         2 => True,    --  Left_Opnd (Node2)
10034         3 => True,    --  Right_Opnd (Node3)
10035         4 => False,   --  Entity (Node4-Sem)
10036         5 => False),  --  Etype (Node5-Sem)
10037
10038      N_Op_Concat =>
10039        (1 => True,    --  Chars (Name1)
10040         2 => True,    --  Left_Opnd (Node2)
10041         3 => True,    --  Right_Opnd (Node3)
10042         4 => False,   --  Entity (Node4-Sem)
10043         5 => False),  --  Etype (Node5-Sem)
10044
10045      N_Op_Multiply =>
10046        (1 => True,    --  Chars (Name1)
10047         2 => True,    --  Left_Opnd (Node2)
10048         3 => True,    --  Right_Opnd (Node3)
10049         4 => False,   --  Entity (Node4-Sem)
10050         5 => False),  --  Etype (Node5-Sem)
10051
10052      N_Op_Divide =>
10053        (1 => True,    --  Chars (Name1)
10054         2 => True,    --  Left_Opnd (Node2)
10055         3 => True,    --  Right_Opnd (Node3)
10056         4 => False,   --  Entity (Node4-Sem)
10057         5 => False),  --  Etype (Node5-Sem)
10058
10059      N_Op_Mod =>
10060        (1 => True,    --  Chars (Name1)
10061         2 => True,    --  Left_Opnd (Node2)
10062         3 => True,    --  Right_Opnd (Node3)
10063         4 => False,   --  Entity (Node4-Sem)
10064         5 => False),  --  Etype (Node5-Sem)
10065
10066      N_Op_Rem =>
10067        (1 => True,    --  Chars (Name1)
10068         2 => True,    --  Left_Opnd (Node2)
10069         3 => True,    --  Right_Opnd (Node3)
10070         4 => False,   --  Entity (Node4-Sem)
10071         5 => False),  --  Etype (Node5-Sem)
10072
10073      N_Op_Expon =>
10074        (1 => True,    --  Chars (Name1)
10075         2 => True,    --  Left_Opnd (Node2)
10076         3 => True,    --  Right_Opnd (Node3)
10077         4 => False,   --  Entity (Node4-Sem)
10078         5 => False),  --  Etype (Node5-Sem)
10079
10080      N_Op_Plus =>
10081        (1 => True,    --  Chars (Name1)
10082         2 => False,   --  unused
10083         3 => True,    --  Right_Opnd (Node3)
10084         4 => False,   --  Entity (Node4-Sem)
10085         5 => False),  --  Etype (Node5-Sem)
10086
10087      N_Op_Minus =>
10088        (1 => True,    --  Chars (Name1)
10089         2 => False,   --  unused
10090         3 => True,    --  Right_Opnd (Node3)
10091         4 => False,   --  Entity (Node4-Sem)
10092         5 => False),  --  Etype (Node5-Sem)
10093
10094      N_Op_Abs =>
10095        (1 => True,    --  Chars (Name1)
10096         2 => False,   --  unused
10097         3 => True,    --  Right_Opnd (Node3)
10098         4 => False,   --  Entity (Node4-Sem)
10099         5 => False),  --  Etype (Node5-Sem)
10100
10101      N_Op_Not =>
10102        (1 => True,    --  Chars (Name1)
10103         2 => False,   --  unused
10104         3 => True,    --  Right_Opnd (Node3)
10105         4 => False,   --  Entity (Node4-Sem)
10106         5 => False),  --  Etype (Node5-Sem)
10107
10108      N_Type_Conversion =>
10109        (1 => False,   --  unused
10110         2 => False,   --  unused
10111         3 => True,    --  Expression (Node3)
10112         4 => True,    --  Subtype_Mark (Node4)
10113         5 => False),  --  Etype (Node5-Sem)
10114
10115      N_Qualified_Expression =>
10116        (1 => False,   --  unused
10117         2 => False,   --  unused
10118         3 => True,    --  Expression (Node3)
10119         4 => True,    --  Subtype_Mark (Node4)
10120         5 => False),  --  Etype (Node5-Sem)
10121
10122      N_Allocator =>
10123        (1 => False,   --  Storage_Pool (Node1-Sem)
10124         2 => False,   --  Procedure_To_Call (Node2-Sem)
10125         3 => True,    --  Expression (Node3)
10126         4 => False,   --  Coextensions (Elist4-Sem)
10127         5 => False),  --  Etype (Node5-Sem)
10128
10129      N_Null_Statement =>
10130        (1 => False,   --  unused
10131         2 => False,   --  unused
10132         3 => False,   --  unused
10133         4 => False,   --  unused
10134         5 => False),  --  unused
10135
10136      N_Label =>
10137        (1 => True,    --  Identifier (Node1)
10138         2 => False,   --  unused
10139         3 => False,   --  unused
10140         4 => False,   --  unused
10141         5 => False),  --  unused
10142
10143      N_Assignment_Statement =>
10144        (1 => False,   --  unused
10145         2 => True,    --  Name (Node2)
10146         3 => True,    --  Expression (Node3)
10147         4 => False,   --  unused
10148         5 => False),  --  unused
10149
10150      N_If_Statement =>
10151        (1 => True,    --  Condition (Node1)
10152         2 => True,    --  Then_Statements (List2)
10153         3 => True,    --  Elsif_Parts (List3)
10154         4 => True,    --  Else_Statements (List4)
10155         5 => True),   --  End_Span (Uint5)
10156
10157      N_Elsif_Part =>
10158        (1 => True,    --  Condition (Node1)
10159         2 => True,    --  Then_Statements (List2)
10160         3 => False,   --  Condition_Actions (List3-Sem)
10161         4 => False,   --  unused
10162         5 => False),  --  unused
10163
10164      N_Case_Statement =>
10165        (1 => False,   --  unused
10166         2 => False,   --  unused
10167         3 => True,    --  Expression (Node3)
10168         4 => True,    --  Alternatives (List4)
10169         5 => True),   --  End_Span (Uint5)
10170
10171      N_Case_Statement_Alternative =>
10172        (1 => False,   --  unused
10173         2 => False,   --  unused
10174         3 => True,    --  Statements (List3)
10175         4 => True,    --  Discrete_Choices (List4)
10176         5 => False),  --  unused
10177
10178      N_Loop_Statement =>
10179        (1 => True,    --  Identifier (Node1)
10180         2 => True,    --  Iteration_Scheme (Node2)
10181         3 => True,    --  Statements (List3)
10182         4 => True,    --  End_Label (Node4)
10183         5 => False),  --  unused
10184
10185      N_Iteration_Scheme =>
10186        (1 => True,    --  Condition (Node1)
10187         2 => False,   --  unused
10188         3 => False,   --  Condition_Actions (List3-Sem)
10189         4 => True,    --  Loop_Parameter_Specification (Node4)
10190         5 => False),  --  unused
10191
10192      N_Loop_Parameter_Specification =>
10193        (1 => True,    --  Defining_Identifier (Node1)
10194         2 => False,   --  unused
10195         3 => False,   --  unused
10196         4 => True,    --  Discrete_Subtype_Definition (Node4)
10197         5 => False),  --  unused
10198
10199      N_Block_Statement =>
10200        (1 => True,    --  Identifier (Node1)
10201         2 => True,    --  Declarations (List2)
10202         3 => False,   --  Activation_Chain_Entity (Node3-Sem)
10203         4 => True,    --  Handled_Statement_Sequence (Node4)
10204         5 => False),  --  unused
10205
10206      N_Exit_Statement =>
10207        (1 => True,    --  Condition (Node1)
10208         2 => True,    --  Name (Node2)
10209         3 => False,   --  unused
10210         4 => False,   --  unused
10211         5 => False),  --  unused
10212
10213      N_Goto_Statement =>
10214        (1 => False,   --  unused
10215         2 => True,    --  Name (Node2)
10216         3 => False,   --  unused
10217         4 => False,   --  unused
10218         5 => False),  --  unused
10219
10220      N_Subprogram_Declaration =>
10221        (1 => True,    --  Specification (Node1)
10222         2 => False,   --  unused
10223         3 => False,   --  Body_To_Inline (Node3-Sem)
10224         4 => False,   --  Parent_Spec (Node4-Sem)
10225         5 => False),  --  Corresponding_Body (Node5-Sem)
10226
10227      N_Abstract_Subprogram_Declaration =>
10228        (1 => True,    --  Specification (Node1)
10229         2 => False,   --  unused
10230         3 => False,   --  unused
10231         4 => False,   --  unused
10232         5 => False),  --  unused
10233
10234      N_Function_Specification =>
10235        (1 => True,    --  Defining_Unit_Name (Node1)
10236         2 => False,   --  Elaboration_Boolean (Node2-Sem)
10237         3 => True,    --  Parameter_Specifications (List3)
10238         4 => True,    --  Result_Definition (Node4)
10239         5 => False),  --  Generic_Parent (Node5-Sem)
10240
10241      N_Procedure_Specification =>
10242        (1 => True,    --  Defining_Unit_Name (Node1)
10243         2 => False,   --  Elaboration_Boolean (Node2-Sem)
10244         3 => True,    --  Parameter_Specifications (List3)
10245         4 => False,   --  unused
10246         5 => False),  --  Generic_Parent (Node5-Sem)
10247
10248      N_Designator =>
10249        (1 => True,    --  Identifier (Node1)
10250         2 => True,    --  Name (Node2)
10251         3 => False,   --  unused
10252         4 => False,   --  unused
10253         5 => False),  --  unused
10254
10255      N_Defining_Program_Unit_Name =>
10256        (1 => True,    --  Defining_Identifier (Node1)
10257         2 => True,    --  Name (Node2)
10258         3 => False,   --  unused
10259         4 => False,   --  unused
10260         5 => False),  --  unused
10261
10262      N_Operator_Symbol =>
10263        (1 => True,    --  Chars (Name1)
10264         2 => False,   --  unused
10265         3 => True,    --  Strval (Str3)
10266         4 => False,   --  Entity (Node4-Sem)
10267         5 => False),  --  Etype (Node5-Sem)
10268
10269      N_Defining_Operator_Symbol =>
10270        (1 => True,    --  Chars (Name1)
10271         2 => False,   --  Next_Entity (Node2-Sem)
10272         3 => False,   --  Scope (Node3-Sem)
10273         4 => False,   --  unused
10274         5 => False),  --  Etype (Node5-Sem)
10275
10276      N_Parameter_Specification =>
10277        (1 => True,    --  Defining_Identifier (Node1)
10278         2 => True,    --  Parameter_Type (Node2)
10279         3 => True,    --  Expression (Node3)
10280         4 => False,   --  unused
10281         5 => False),  --  Default_Expression (Node5-Sem)
10282
10283      N_Subprogram_Body =>
10284        (1 => True,    --  Specification (Node1)
10285         2 => True,    --  Declarations (List2)
10286         3 => False,   --  Activation_Chain_Entity (Node3-Sem)
10287         4 => True,    --  Handled_Statement_Sequence (Node4)
10288         5 => False),  --  Corresponding_Spec (Node5-Sem)
10289
10290      N_Procedure_Call_Statement =>
10291        (1 => False,   --  Controlling_Argument (Node1-Sem)
10292         2 => True,    --  Name (Node2)
10293         3 => True,    --  Parameter_Associations (List3)
10294         4 => False,   --  First_Named_Actual (Node4-Sem)
10295         5 => False),  --  Etype (Node5-Sem)
10296
10297      N_Function_Call =>
10298        (1 => False,   --  Controlling_Argument (Node1-Sem)
10299         2 => True,    --  Name (Node2)
10300         3 => True,    --  Parameter_Associations (List3)
10301         4 => False,   --  First_Named_Actual (Node4-Sem)
10302         5 => False),  --  Etype (Node5-Sem)
10303
10304      N_Parameter_Association =>
10305        (1 => False,   --  unused
10306         2 => True,    --  Selector_Name (Node2)
10307         3 => True,    --  Explicit_Actual_Parameter (Node3)
10308         4 => False,   --  Next_Named_Actual (Node4-Sem)
10309         5 => False),  --  unused
10310
10311      N_Return_Statement =>
10312        (1 => False,   --  Storage_Pool (Node1-Sem)
10313         2 => False,   --  Procedure_To_Call (Node2-Sem)
10314         3 => True,    --  Expression (Node3)
10315         4 => False,   --  unused
10316         5 => False),  --  Return_Statement_Entity (Node5-Sem)
10317
10318      N_Extended_Return_Statement =>
10319        (1 => False,   --  Storage_Pool (Node1-Sem)
10320         2 => False,   --  Procedure_To_Call (Node2-Sem)
10321         3 => True,    --  Return_Object_Declarations (List3)
10322         4 => True,    --  Handled_Statement_Sequence (Node4)
10323         5 => False),  --  Return_Statement_Entity (Node5-Sem)
10324
10325      N_Package_Declaration =>
10326        (1 => True,    --  Specification (Node1)
10327         2 => False,   --  unused
10328         3 => False,   --  Activation_Chain_Entity (Node3-Sem)
10329         4 => False,   --  Parent_Spec (Node4-Sem)
10330         5 => False),  --  Corresponding_Body (Node5-Sem)
10331
10332      N_Package_Specification =>
10333        (1 => True,    --  Defining_Unit_Name (Node1)
10334         2 => True,    --  Visible_Declarations (List2)
10335         3 => True,    --  Private_Declarations (List3)
10336         4 => True,    --  End_Label (Node4)
10337         5 => False),  --  Generic_Parent (Node5-Sem)
10338
10339      N_Package_Body =>
10340        (1 => True,    --  Defining_Unit_Name (Node1)
10341         2 => True,    --  Declarations (List2)
10342         3 => False,   --  unused
10343         4 => True,    --  Handled_Statement_Sequence (Node4)
10344         5 => False),  --  Corresponding_Spec (Node5-Sem)
10345
10346      N_Private_Type_Declaration =>
10347        (1 => True,    --  Defining_Identifier (Node1)
10348         2 => False,   --  unused
10349         3 => False,   --  unused
10350         4 => True,    --  Discriminant_Specifications (List4)
10351         5 => False),  --  unused
10352
10353      N_Private_Extension_Declaration =>
10354        (1 => True,    --  Defining_Identifier (Node1)
10355         2 => True,    --  Interface_List (List2)
10356         3 => False,   --  unused
10357         4 => True,    --  Discriminant_Specifications (List4)
10358         5 => True),   --  Subtype_Indication (Node5)
10359
10360      N_Use_Package_Clause =>
10361        (1 => False,   --  unused
10362         2 => True,    --  Names (List2)
10363         3 => False,   --  Next_Use_Clause (Node3-Sem)
10364         4 => False,   --  Hidden_By_Use_Clause (Elist4-Sem)
10365         5 => False),  --  unused
10366
10367      N_Use_Type_Clause =>
10368        (1 => False,   --  unused
10369         2 => True,    --  Subtype_Marks (List2)
10370         3 => False,   --  Next_Use_Clause (Node3-Sem)
10371         4 => False,   --  Hidden_By_Use_Clause (Elist4-Sem)
10372         5 => False),  --  unused
10373
10374      N_Object_Renaming_Declaration =>
10375        (1 => True,    --  Defining_Identifier (Node1)
10376         2 => True,    --  Name (Node2)
10377         3 => True,    --  Access_Definition (Node3)
10378         4 => True,    --  Subtype_Mark (Node4)
10379         5 => False),  --  Corresponding_Generic_Association (Node5-Sem)
10380
10381      N_Exception_Renaming_Declaration =>
10382        (1 => True,    --  Defining_Identifier (Node1)
10383         2 => True,    --  Name (Node2)
10384         3 => False,   --  unused
10385         4 => False,   --  unused
10386         5 => False),  --  unused
10387
10388      N_Package_Renaming_Declaration =>
10389        (1 => True,    --  Defining_Unit_Name (Node1)
10390         2 => True,    --  Name (Node2)
10391         3 => False,   --  unused
10392         4 => False,   --  Parent_Spec (Node4-Sem)
10393         5 => False),  --  unused
10394
10395      N_Subprogram_Renaming_Declaration =>
10396        (1 => True,    --  Specification (Node1)
10397         2 => True,    --  Name (Node2)
10398         3 => False,   --  Corresponding_Formal_Spec (Node3-Sem)
10399         4 => False,   --  Parent_Spec (Node4-Sem)
10400         5 => False),  --  Corresponding_Spec (Node5-Sem)
10401
10402      N_Generic_Package_Renaming_Declaration =>
10403        (1 => True,    --  Defining_Unit_Name (Node1)
10404         2 => True,    --  Name (Node2)
10405         3 => False,   --  unused
10406         4 => False,   --  Parent_Spec (Node4-Sem)
10407         5 => False),  --  unused
10408
10409      N_Generic_Procedure_Renaming_Declaration =>
10410        (1 => True,    --  Defining_Unit_Name (Node1)
10411         2 => True,    --  Name (Node2)
10412         3 => False,   --  unused
10413         4 => False,   --  Parent_Spec (Node4-Sem)
10414         5 => False),  --  unused
10415
10416      N_Generic_Function_Renaming_Declaration =>
10417        (1 => True,    --  Defining_Unit_Name (Node1)
10418         2 => True,    --  Name (Node2)
10419         3 => False,   --  unused
10420         4 => False,   --  Parent_Spec (Node4-Sem)
10421         5 => False),  --  unused
10422
10423      N_Task_Type_Declaration =>
10424        (1 => True,    --  Defining_Identifier (Node1)
10425         2 => True,    --  Interface_List (List2)
10426         3 => True,    --  Task_Definition (Node3)
10427         4 => True,    --  Discriminant_Specifications (List4)
10428         5 => False),  --  Corresponding_Body (Node5-Sem)
10429
10430      N_Single_Task_Declaration =>
10431        (1 => True,    --  Defining_Identifier (Node1)
10432         2 => True,    --  Interface_List (List2)
10433         3 => True,    --  Task_Definition (Node3)
10434         4 => False,   --  unused
10435         5 => False),  --  unused
10436
10437      N_Task_Definition =>
10438        (1 => False,   --  unused
10439         2 => True,    --  Visible_Declarations (List2)
10440         3 => True,    --  Private_Declarations (List3)
10441         4 => True,    --  End_Label (Node4)
10442         5 => False),  --  unused
10443
10444      N_Task_Body =>
10445        (1 => True,    --  Defining_Identifier (Node1)
10446         2 => True,    --  Declarations (List2)
10447         3 => False,   --  Activation_Chain_Entity (Node3-Sem)
10448         4 => True,    --  Handled_Statement_Sequence (Node4)
10449         5 => False),  --  Corresponding_Spec (Node5-Sem)
10450
10451      N_Protected_Type_Declaration =>
10452        (1 => True,    --  Defining_Identifier (Node1)
10453         2 => True,    --  Interface_List (List2)
10454         3 => True,    --  Protected_Definition (Node3)
10455         4 => True,    --  Discriminant_Specifications (List4)
10456         5 => False),  --  Corresponding_Body (Node5-Sem)
10457
10458      N_Single_Protected_Declaration =>
10459        (1 => True,    --  Defining_Identifier (Node1)
10460         2 => True,    --  Interface_List (List2)
10461         3 => True,    --  Protected_Definition (Node3)
10462         4 => False,   --  unused
10463         5 => False),  --  unused
10464
10465      N_Protected_Definition =>
10466        (1 => False,   --  unused
10467         2 => True,    --  Visible_Declarations (List2)
10468         3 => True,    --  Private_Declarations (List3)
10469         4 => True,    --  End_Label (Node4)
10470         5 => False),  --  unused
10471
10472      N_Protected_Body =>
10473        (1 => True,    --  Defining_Identifier (Node1)
10474         2 => True,    --  Declarations (List2)
10475         3 => False,   --  unused
10476         4 => True,    --  End_Label (Node4)
10477         5 => False),  --  Corresponding_Spec (Node5-Sem)
10478
10479      N_Entry_Declaration =>
10480        (1 => True,    --  Defining_Identifier (Node1)
10481         2 => False,   --  unused
10482         3 => True,    --  Parameter_Specifications (List3)
10483         4 => True,    --  Discrete_Subtype_Definition (Node4)
10484         5 => False),  --  Corresponding_Body (Node5-Sem)
10485
10486      N_Accept_Statement =>
10487        (1 => True,    --  Entry_Direct_Name (Node1)
10488         2 => True,    --  Declarations (List2)
10489         3 => True,    --  Parameter_Specifications (List3)
10490         4 => True,    --  Handled_Statement_Sequence (Node4)
10491         5 => True),   --  Entry_Index (Node5)
10492
10493      N_Entry_Body =>
10494        (1 => True,    --  Defining_Identifier (Node1)
10495         2 => True,    --  Declarations (List2)
10496         3 => False,   --  Activation_Chain_Entity (Node3-Sem)
10497         4 => True,    --  Handled_Statement_Sequence (Node4)
10498         5 => True),   --  Entry_Body_Formal_Part (Node5)
10499
10500      N_Entry_Body_Formal_Part =>
10501        (1 => True,    --  Condition (Node1)
10502         2 => False,   --  unused
10503         3 => True,    --  Parameter_Specifications (List3)
10504         4 => True,    --  Entry_Index_Specification (Node4)
10505         5 => False),  --  unused
10506
10507      N_Entry_Index_Specification =>
10508        (1 => True,    --  Defining_Identifier (Node1)
10509         2 => False,   --  unused
10510         3 => False,   --  unused
10511         4 => True,    --  Discrete_Subtype_Definition (Node4)
10512         5 => False),  --  unused
10513
10514      N_Entry_Call_Statement =>
10515        (1 => False,   --  unused
10516         2 => True,    --  Name (Node2)
10517         3 => True,    --  Parameter_Associations (List3)
10518         4 => False,   --  First_Named_Actual (Node4-Sem)
10519         5 => False),  --  unused
10520
10521      N_Requeue_Statement =>
10522        (1 => False,   --  unused
10523         2 => True,    --  Name (Node2)
10524         3 => False,   --  unused
10525         4 => False,   --  unused
10526         5 => False),  --  unused
10527
10528      N_Delay_Until_Statement =>
10529        (1 => False,   --  unused
10530         2 => False,   --  unused
10531         3 => True,    --  Expression (Node3)
10532         4 => False,   --  unused
10533         5 => False),  --  unused
10534
10535      N_Delay_Relative_Statement =>
10536        (1 => False,   --  unused
10537         2 => False,   --  unused
10538         3 => True,    --  Expression (Node3)
10539         4 => False,   --  unused
10540         5 => False),  --  unused
10541
10542      N_Selective_Accept =>
10543        (1 => True,    --  Select_Alternatives (List1)
10544         2 => False,   --  unused
10545         3 => False,   --  unused
10546         4 => True,    --  Else_Statements (List4)
10547         5 => False),  --  unused
10548
10549      N_Accept_Alternative =>
10550        (1 => True,    --  Condition (Node1)
10551         2 => True,    --  Accept_Statement (Node2)
10552         3 => True,    --  Statements (List3)
10553         4 => True,    --  Pragmas_Before (List4)
10554         5 => False),  --  Accept_Handler_Records (List5-Sem)
10555
10556      N_Delay_Alternative =>
10557        (1 => True,    --  Condition (Node1)
10558         2 => True,    --  Delay_Statement (Node2)
10559         3 => True,    --  Statements (List3)
10560         4 => True,    --  Pragmas_Before (List4)
10561         5 => False),  --  unused
10562
10563      N_Terminate_Alternative =>
10564        (1 => True,    --  Condition (Node1)
10565         2 => False,   --  unused
10566         3 => False,   --  unused
10567         4 => True,    --  Pragmas_Before (List4)
10568         5 => True),   --  Pragmas_After (List5)
10569
10570      N_Timed_Entry_Call =>
10571        (1 => True,    --  Entry_Call_Alternative (Node1)
10572         2 => False,   --  unused
10573         3 => False,   --  unused
10574         4 => True,    --  Delay_Alternative (Node4)
10575         5 => False),  --  unused
10576
10577      N_Entry_Call_Alternative =>
10578        (1 => True,    --  Entry_Call_Statement (Node1)
10579         2 => False,   --  unused
10580         3 => True,    --  Statements (List3)
10581         4 => True,    --  Pragmas_Before (List4)
10582         5 => False),  --  unused
10583
10584      N_Conditional_Entry_Call =>
10585        (1 => True,    --  Entry_Call_Alternative (Node1)
10586         2 => False,   --  unused
10587         3 => False,   --  unused
10588         4 => True,    --  Else_Statements (List4)
10589         5 => False),  --  unused
10590
10591      N_Asynchronous_Select =>
10592        (1 => True,    --  Triggering_Alternative (Node1)
10593         2 => True,    --  Abortable_Part (Node2)
10594         3 => False,   --  unused
10595         4 => False,   --  unused
10596         5 => False),  --  unused
10597
10598      N_Triggering_Alternative =>
10599        (1 => True,    --  Triggering_Statement (Node1)
10600         2 => False,   --  unused
10601         3 => True,    --  Statements (List3)
10602         4 => True,    --  Pragmas_Before (List4)
10603         5 => False),  --  unused
10604
10605      N_Abortable_Part =>
10606        (1 => False,   --  unused
10607         2 => False,   --  unused
10608         3 => True,    --  Statements (List3)
10609         4 => False,   --  unused
10610         5 => False),  --  unused
10611
10612      N_Abort_Statement =>
10613        (1 => False,   --  unused
10614         2 => True,    --  Names (List2)
10615         3 => False,   --  unused
10616         4 => False,   --  unused
10617         5 => False),  --  unused
10618
10619      N_Compilation_Unit =>
10620        (1 => True,    --  Context_Items (List1)
10621         2 => True,    --  Unit (Node2)
10622         3 => False,   --  First_Inlined_Subprogram (Node3-Sem)
10623         4 => False,   --  Library_Unit (Node4-Sem)
10624         5 => True),   --  Aux_Decls_Node (Node5)
10625
10626      N_Compilation_Unit_Aux =>
10627        (1 => True,    --  Actions (List1)
10628         2 => True,    --  Declarations (List2)
10629         3 => False,   --  unused
10630         4 => True,    --  Config_Pragmas (List4)
10631         5 => True),   --  Pragmas_After (List5)
10632
10633      N_With_Clause =>
10634        (1 => False,   --  unused
10635         2 => True,    --  Name (Node2)
10636         3 => False,   --  unused
10637         4 => False,   --  Library_Unit (Node4-Sem)
10638         5 => False),  --  Corresponding_Spec (Node5-Sem)
10639
10640      N_Subprogram_Body_Stub =>
10641        (1 => True,    --  Specification (Node1)
10642         2 => False,   --  unused
10643         3 => False,   --  unused
10644         4 => False,   --  Library_Unit (Node4-Sem)
10645         5 => False),  --  Corresponding_Body (Node5-Sem)
10646
10647      N_Package_Body_Stub =>
10648        (1 => True,    --  Defining_Identifier (Node1)
10649         2 => False,   --  unused
10650         3 => False,   --  unused
10651         4 => False,   --  Library_Unit (Node4-Sem)
10652         5 => False),  --  Corresponding_Body (Node5-Sem)
10653
10654      N_Task_Body_Stub =>
10655        (1 => True,    --  Defining_Identifier (Node1)
10656         2 => False,   --  unused
10657         3 => False,   --  unused
10658         4 => False,   --  Library_Unit (Node4-Sem)
10659         5 => False),  --  Corresponding_Body (Node5-Sem)
10660
10661      N_Protected_Body_Stub =>
10662        (1 => True,    --  Defining_Identifier (Node1)
10663         2 => False,   --  unused
10664         3 => False,   --  unused
10665         4 => False,   --  Library_Unit (Node4-Sem)
10666         5 => False),  --  Corresponding_Body (Node5-Sem)
10667
10668      N_Subunit =>
10669        (1 => True,    --  Proper_Body (Node1)
10670         2 => True,    --  Name (Node2)
10671         3 => False,   --  Corresponding_Stub (Node3-Sem)
10672         4 => False,   --  unused
10673         5 => False),  --  unused
10674
10675      N_Exception_Declaration =>
10676        (1 => True,    --  Defining_Identifier (Node1)
10677         2 => False,   --  unused
10678         3 => False,   --  Expression (Node3-Sem)
10679         4 => False,   --  unused
10680         5 => False),  --  unused
10681
10682      N_Handled_Sequence_Of_Statements =>
10683        (1 => True,    --  At_End_Proc (Node1)
10684         2 => False,   --  First_Real_Statement (Node2-Sem)
10685         3 => True,    --  Statements (List3)
10686         4 => True,    --  End_Label (Node4)
10687         5 => True),   --  Exception_Handlers (List5)
10688
10689      N_Exception_Handler =>
10690        (1 => False,   --  Local_Raise_Statements (Elist1)
10691         2 => True,    --  Choice_Parameter (Node2)
10692         3 => True,    --  Statements (List3)
10693         4 => True,    --  Exception_Choices (List4)
10694         5 => False),  --  Exception_Label (Node5)
10695
10696      N_Raise_Statement =>
10697        (1 => False,   --  unused
10698         2 => True,    --  Name (Node2)
10699         3 => True,    --  Expression (Node3)
10700         4 => False,   --  unused
10701         5 => False),  --  unused
10702
10703      N_Generic_Subprogram_Declaration =>
10704        (1 => True,    --  Specification (Node1)
10705         2 => True,    --  Generic_Formal_Declarations (List2)
10706         3 => False,   --  unused
10707         4 => False,   --  Parent_Spec (Node4-Sem)
10708         5 => False),  --  Corresponding_Body (Node5-Sem)
10709
10710      N_Generic_Package_Declaration =>
10711        (1 => True,    --  Specification (Node1)
10712         2 => True,    --  Generic_Formal_Declarations (List2)
10713         3 => False,   --  Activation_Chain_Entity (Node3-Sem)
10714         4 => False,   --  Parent_Spec (Node4-Sem)
10715         5 => False),  --  Corresponding_Body (Node5-Sem)
10716
10717      N_Package_Instantiation =>
10718        (1 => True,    --  Defining_Unit_Name (Node1)
10719         2 => True,    --  Name (Node2)
10720         3 => True,    --  Generic_Associations (List3)
10721         4 => False,   --  Parent_Spec (Node4-Sem)
10722         5 => False),  --  Instance_Spec (Node5-Sem)
10723
10724      N_Procedure_Instantiation =>
10725        (1 => True,    --  Defining_Unit_Name (Node1)
10726         2 => True,    --  Name (Node2)
10727         3 => True,    --  Generic_Associations (List3)
10728         4 => False,   --  Parent_Spec (Node4-Sem)
10729         5 => False),  --  Instance_Spec (Node5-Sem)
10730
10731      N_Function_Instantiation =>
10732        (1 => True,    --  Defining_Unit_Name (Node1)
10733         2 => True,    --  Name (Node2)
10734         3 => True,    --  Generic_Associations (List3)
10735         4 => False,   --  Parent_Spec (Node4-Sem)
10736         5 => False),  --  Instance_Spec (Node5-Sem)
10737
10738      N_Generic_Association =>
10739        (1 => True,    --  Explicit_Generic_Actual_Parameter (Node1)
10740         2 => True,    --  Selector_Name (Node2)
10741         3 => False,   --  unused
10742         4 => False,   --  unused
10743         5 => False),  --  unused
10744
10745      N_Formal_Object_Declaration =>
10746        (1 => True,    --  Defining_Identifier (Node1)
10747         2 => False,   --  unused
10748         3 => True,    --  Access_Definition (Node3)
10749         4 => True,    --  Subtype_Mark (Node4)
10750         5 => True),   --  Default_Expression (Node5)
10751
10752      N_Formal_Type_Declaration =>
10753        (1 => True,    --  Defining_Identifier (Node1)
10754         2 => False,   --  unused
10755         3 => True,    --  Formal_Type_Definition (Node3)
10756         4 => True,    --  Discriminant_Specifications (List4)
10757         5 => False),  --  unused
10758
10759      N_Formal_Private_Type_Definition =>
10760        (1 => False,   --  unused
10761         2 => False,   --  unused
10762         3 => False,   --  unused
10763         4 => False,   --  unused
10764         5 => False),  --  unused
10765
10766      N_Formal_Derived_Type_Definition =>
10767        (1 => False,   --  unused
10768         2 => True,    --  Interface_List (List2)
10769         3 => False,   --  unused
10770         4 => True,    --  Subtype_Mark (Node4)
10771         5 => False),  --  unused
10772
10773      N_Formal_Discrete_Type_Definition =>
10774        (1 => False,   --  unused
10775         2 => False,   --  unused
10776         3 => False,   --  unused
10777         4 => False,   --  unused
10778         5 => False),  --  unused
10779
10780      N_Formal_Signed_Integer_Type_Definition =>
10781        (1 => False,   --  unused
10782         2 => False,   --  unused
10783         3 => False,   --  unused
10784         4 => False,   --  unused
10785         5 => False),  --  unused
10786
10787      N_Formal_Modular_Type_Definition =>
10788        (1 => False,   --  unused
10789         2 => False,   --  unused
10790         3 => False,   --  unused
10791         4 => False,   --  unused
10792         5 => False),  --  unused
10793
10794      N_Formal_Floating_Point_Definition =>
10795        (1 => False,   --  unused
10796         2 => False,   --  unused
10797         3 => False,   --  unused
10798         4 => False,   --  unused
10799         5 => False),  --  unused
10800
10801      N_Formal_Ordinary_Fixed_Point_Definition =>
10802        (1 => False,   --  unused
10803         2 => False,   --  unused
10804         3 => False,   --  unused
10805         4 => False,   --  unused
10806         5 => False),  --  unused
10807
10808      N_Formal_Decimal_Fixed_Point_Definition =>
10809        (1 => False,   --  unused
10810         2 => False,   --  unused
10811         3 => False,   --  unused
10812         4 => False,   --  unused
10813         5 => False),  --  unused
10814
10815      N_Formal_Concrete_Subprogram_Declaration =>
10816        (1 => True,    --  Specification (Node1)
10817         2 => True,    --  Default_Name (Node2)
10818         3 => False,   --  unused
10819         4 => False,   --  unused
10820         5 => False),  --  unused
10821
10822      N_Formal_Abstract_Subprogram_Declaration =>
10823        (1 => True,    --  Specification (Node1)
10824         2 => True,    --  Default_Name (Node2)
10825         3 => False,   --  unused
10826         4 => False,   --  unused
10827         5 => False),  --  unused
10828
10829      N_Formal_Package_Declaration =>
10830        (1 => True,    --  Defining_Identifier (Node1)
10831         2 => True,    --  Name (Node2)
10832         3 => True,    --  Generic_Associations (List3)
10833         4 => False,   --  unused
10834         5 => False),  --  Instance_Spec (Node5-Sem)
10835
10836      N_Attribute_Definition_Clause =>
10837        (1 => True,    --  Chars (Name1)
10838         2 => True,    --  Name (Node2)
10839         3 => True,    --  Expression (Node3)
10840         4 => False,   --  unused
10841         5 => False),  --  Next_Rep_Item (Node5-Sem)
10842
10843      N_Enumeration_Representation_Clause =>
10844        (1 => True,    --  Identifier (Node1)
10845         2 => False,   --  unused
10846         3 => True,    --  Array_Aggregate (Node3)
10847         4 => False,   --  unused
10848         5 => False),  --  Next_Rep_Item (Node5-Sem)
10849
10850      N_Record_Representation_Clause =>
10851        (1 => True,    --  Identifier (Node1)
10852         2 => True,    --  Mod_Clause (Node2)
10853         3 => True,    --  Component_Clauses (List3)
10854         4 => False,   --  unused
10855         5 => False),  --  Next_Rep_Item (Node5-Sem)
10856
10857      N_Component_Clause =>
10858        (1 => True,    --  Component_Name (Node1)
10859         2 => True,    --  Position (Node2)
10860         3 => True,    --  First_Bit (Node3)
10861         4 => True,    --  Last_Bit (Node4)
10862         5 => False),  --  unused
10863
10864      N_Code_Statement =>
10865        (1 => False,   --  unused
10866         2 => False,   --  unused
10867         3 => True,    --  Expression (Node3)
10868         4 => False,   --  unused
10869         5 => False),  --  unused
10870
10871      N_Op_Rotate_Left =>
10872        (1 => True,    --  Chars (Name1)
10873         2 => True,    --  Left_Opnd (Node2)
10874         3 => True,    --  Right_Opnd (Node3)
10875         4 => False,   --  Entity (Node4-Sem)
10876         5 => False),  --  Etype (Node5-Sem)
10877
10878      N_Op_Rotate_Right =>
10879        (1 => True,    --  Chars (Name1)
10880         2 => True,    --  Left_Opnd (Node2)
10881         3 => True,    --  Right_Opnd (Node3)
10882         4 => False,   --  Entity (Node4-Sem)
10883         5 => False),  --  Etype (Node5-Sem)
10884
10885      N_Op_Shift_Left =>
10886        (1 => True,    --  Chars (Name1)
10887         2 => True,    --  Left_Opnd (Node2)
10888         3 => True,    --  Right_Opnd (Node3)
10889         4 => False,   --  Entity (Node4-Sem)
10890         5 => False),  --  Etype (Node5-Sem)
10891
10892      N_Op_Shift_Right_Arithmetic =>
10893        (1 => True,    --  Chars (Name1)
10894         2 => True,    --  Left_Opnd (Node2)
10895         3 => True,    --  Right_Opnd (Node3)
10896         4 => False,   --  Entity (Node4-Sem)
10897         5 => False),  --  Etype (Node5-Sem)
10898
10899      N_Op_Shift_Right =>
10900        (1 => True,    --  Chars (Name1)
10901         2 => True,    --  Left_Opnd (Node2)
10902         3 => True,    --  Right_Opnd (Node3)
10903         4 => False,   --  Entity (Node4-Sem)
10904         5 => False),  --  Etype (Node5-Sem)
10905
10906      N_Delta_Constraint =>
10907        (1 => False,   --  unused
10908         2 => False,   --  unused
10909         3 => True,    --  Delta_Expression (Node3)
10910         4 => True,    --  Range_Constraint (Node4)
10911         5 => False),  --  unused
10912
10913      N_At_Clause =>
10914        (1 => True,    --  Identifier (Node1)
10915         2 => False,   --  unused
10916         3 => True,    --  Expression (Node3)
10917         4 => False,   --  unused
10918         5 => False),  --  unused
10919
10920      N_Mod_Clause =>
10921        (1 => False,   --  unused
10922         2 => False,   --  unused
10923         3 => True,    --  Expression (Node3)
10924         4 => True,    --  Pragmas_Before (List4)
10925         5 => False),  --  unused
10926
10927      N_Conditional_Expression =>
10928        (1 => True,    --  Expressions (List1)
10929         2 => False,   --  Then_Actions (List2-Sem)
10930         3 => False,   --  Else_Actions (List3-Sem)
10931         4 => False,   --  unused
10932         5 => False),  --  Etype (Node5-Sem)
10933
10934      N_Expanded_Name =>
10935        (1 => True,    --  Chars (Name1)
10936         2 => True,    --  Selector_Name (Node2)
10937         3 => True,    --  Prefix (Node3)
10938         4 => False,   --  Entity (Node4-Sem)
10939         5 => False),  --  Etype (Node5-Sem)
10940
10941      N_Free_Statement =>
10942        (1 => False,   --  Storage_Pool (Node1-Sem)
10943         2 => False,   --  Procedure_To_Call (Node2-Sem)
10944         3 => True,    --  Expression (Node3)
10945         4 => False,   --  Actual_Designated_Subtype (Node4-Sem)
10946         5 => False),  --  unused
10947
10948      N_Freeze_Entity =>
10949        (1 => True,    --  Actions (List1)
10950         2 => False,   --  Access_Types_To_Process (Elist2-Sem)
10951         3 => False,   --  TSS_Elist (Elist3-Sem)
10952         4 => False,   --  Entity (Node4-Sem)
10953         5 => False),  --  First_Subtype_Link (Node5-Sem)
10954
10955      N_Implicit_Label_Declaration =>
10956        (1 => True,    --  Defining_Identifier (Node1)
10957         2 => False,   --  Label_Construct (Node2-Sem)
10958         3 => False,   --  unused
10959         4 => False,   --  unused
10960         5 => False),  --  unused
10961
10962      N_Itype_Reference =>
10963        (1 => False,   --  Itype (Node1-Sem)
10964         2 => False,   --  unused
10965         3 => False,   --  unused
10966         4 => False,   --  unused
10967         5 => False),  --  unused
10968
10969      N_Raise_Constraint_Error =>
10970        (1 => True,    --  Condition (Node1)
10971         2 => False,   --  unused
10972         3 => True,    --  Reason (Uint3)
10973         4 => False,   --  unused
10974         5 => False),  --  Etype (Node5-Sem)
10975
10976      N_Raise_Program_Error =>
10977        (1 => True,    --  Condition (Node1)
10978         2 => False,   --  unused
10979         3 => True,    --  Reason (Uint3)
10980         4 => False,   --  unused
10981         5 => False),  --  Etype (Node5-Sem)
10982
10983      N_Raise_Storage_Error =>
10984        (1 => True,    --  Condition (Node1)
10985         2 => False,   --  unused
10986         3 => True,    --  Reason (Uint3)
10987         4 => False,   --  unused
10988         5 => False),  --  Etype (Node5-Sem)
10989
10990      N_Push_Constraint_Error_Label =>
10991        (1 => False,   --  unused
10992         2 => False,   --  unused
10993         3 => False,   --  unused
10994         4 => False,   --  unused
10995         5 => False),  --  unused
10996
10997      N_Push_Program_Error_Label =>
10998        (1 => False,   --  Exception_Label
10999         2 => False,   --  unused
11000         3 => False,   --  unused
11001         4 => False,   --  unused
11002         5 => False),  --  Exception_Label
11003
11004      N_Push_Storage_Error_Label =>
11005        (1 => False,   --  Exception_Label
11006         2 => False,   --  unused
11007         3 => False,   --  unused
11008         4 => False,   --  unused
11009         5 => False),  --  Exception_Label
11010
11011      N_Pop_Constraint_Error_Label =>
11012        (1 => False,   --  unused
11013         2 => False,   --  unused
11014         3 => False,   --  unused
11015         4 => False,   --  unused
11016         5 => False),  --  unused
11017
11018      N_Pop_Program_Error_Label =>
11019        (1 => False,   --  unused
11020         2 => False,   --  unused
11021         3 => False,   --  unused
11022         4 => False,   --  unused
11023         5 => False),  --  unused
11024
11025      N_Pop_Storage_Error_Label =>
11026        (1 => False,   --  unused
11027         2 => False,   --  unused
11028         3 => False,   --  unused
11029         4 => False,   --  unused
11030         5 => False),  --  unused
11031
11032      N_Reference =>
11033        (1 => False,   --  unused
11034         2 => False,   --  unused
11035         3 => True,    --  Prefix (Node3)
11036         4 => False,   --  unused
11037         5 => False),  --  Etype (Node5-Sem)
11038
11039      N_Subprogram_Info =>
11040        (1 => True,    --  Identifier (Node1)
11041         2 => False,   --  unused
11042         3 => False,   --  unused
11043         4 => False,   --  unused
11044         5 => False),  --  Etype (Node5-Sem)
11045
11046      N_Unchecked_Expression =>
11047        (1 => False,   --  unused
11048         2 => False,   --  unused
11049         3 => True,    --  Expression (Node3)
11050         4 => False,   --  unused
11051         5 => False),  --  Etype (Node5-Sem)
11052
11053      N_Unchecked_Type_Conversion =>
11054        (1 => False,   --  unused
11055         2 => False,   --  unused
11056         3 => True,    --  Expression (Node3)
11057         4 => True,    --  Subtype_Mark (Node4)
11058         5 => False),  --  Etype (Node5-Sem)
11059
11060      N_Validate_Unchecked_Conversion =>
11061        (1 => False,   --  Source_Type (Node1-Sem)
11062         2 => False,   --  Target_Type (Node2-Sem)
11063         3 => False,   --  unused
11064         4 => False,   --  unused
11065         5 => False),  --  unused
11066
11067    --  End of inserted output from makeisf program
11068
11069    --  Entries for SCIL nodes
11070
11071      N_SCIL_Dispatch_Table_Object_Init =>
11072        (1 => False,   --  SCIL_Related_Node (Node1-Sem)
11073         2 => False,   --  unused
11074         3 => False,   --  unused
11075         4 => False,   --  SCIL_Entity (Node4-Sem)
11076         5 => False),  --  unused
11077
11078      N_SCIL_Dispatch_Table_Tag_Init =>
11079        (1 => False,   --  SCIL_Related_Node (Node1-Sem)
11080         2 => False,   --  unused
11081         3 => False,   --  unused
11082         4 => False,   --  SCIL_Entity (Node4-Sem)
11083         5 => False),  --  unused
11084
11085      N_SCIL_Dispatching_Call =>
11086        (1 => False,   --  SCIL_Related_Node (Node1-Sem)
11087         2 => False,   --  SCIL_Target_Prim (Node2-Sem)
11088         3 => False,   --  unused
11089         4 => False,   --  SCIL_Entity (Node4-Sem)
11090         5 => False),  --  SCIL_Controlling_Tag (Node5-Sem)
11091
11092      N_SCIL_Membership_Test =>
11093        (1 => False,   --  SCIL_Related_Node (Node1-Sem)
11094         2 => False,   --  unused
11095         3 => False,   --  unused
11096         4 => False,   --  SCIL_Entity (Node4-Sem)
11097         5 => False),  --  SCIL_Tag_Value (Node5-Sem)
11098
11099      N_SCIL_Tag_Init =>
11100        (1 => False,   --  SCIL_Related_Node (Node1-Sem)
11101         2 => False,   --  unused
11102         3 => False,   --  unused
11103         4 => False,   --  SCIL_Entity (Node4-Sem)
11104         5 => False),  --  unused
11105
11106    --  Entries for Empty, Error and Unused. Even thought these have a Chars
11107    --  field for debugging purposes, they are not really syntactic fields, so
11108    --  we mark all fields as unused.
11109
11110      N_Empty =>
11111        (1 => False,   --  unused
11112         2 => False,   --  unused
11113         3 => False,   --  unused
11114         4 => False,   --  unused
11115         5 => False),  --  unused
11116
11117      N_Error =>
11118        (1 => False,   --  unused
11119         2 => False,   --  unused
11120         3 => False,   --  unused
11121         4 => False,   --  unused
11122         5 => False),  --  unused
11123
11124      N_Unused_At_Start =>
11125        (1 => False,   --  unused
11126         2 => False,   --  unused
11127         3 => False,   --  unused
11128         4 => False,   --  unused
11129         5 => False),  --  unused
11130
11131      N_Unused_At_End =>
11132        (1 => False,   --  unused
11133         2 => False,   --  unused
11134         3 => False,   --  unused
11135         4 => False,   --  unused
11136         5 => False)); --  unused
11137
11138    --------------------
11139    -- Inline Pragmas --
11140    --------------------
11141
11142    pragma Inline (ABE_Is_Certain);
11143    pragma Inline (Abort_Present);
11144    pragma Inline (Abortable_Part);
11145    pragma Inline (Abstract_Present);
11146    pragma Inline (Accept_Handler_Records);
11147    pragma Inline (Accept_Statement);
11148    pragma Inline (Access_Definition);
11149    pragma Inline (Access_To_Subprogram_Definition);
11150    pragma Inline (Access_Types_To_Process);
11151    pragma Inline (Actions);
11152    pragma Inline (Activation_Chain_Entity);
11153    pragma Inline (Acts_As_Spec);
11154    pragma Inline (Actual_Designated_Subtype);
11155    pragma Inline (Address_Warning_Posted);
11156    pragma Inline (Aggregate_Bounds);
11157    pragma Inline (Aliased_Present);
11158    pragma Inline (All_Others);
11159    pragma Inline (All_Present);
11160    pragma Inline (Alternatives);
11161    pragma Inline (Ancestor_Part);
11162    pragma Inline (Array_Aggregate);
11163    pragma Inline (Assignment_OK);
11164    pragma Inline (Associated_Node);
11165    pragma Inline (At_End_Proc);
11166    pragma Inline (Attribute_Name);
11167    pragma Inline (Aux_Decls_Node);
11168    pragma Inline (Backwards_OK);
11169    pragma Inline (Bad_Is_Detected);
11170    pragma Inline (Body_To_Inline);
11171    pragma Inline (Body_Required);
11172    pragma Inline (By_Ref);
11173    pragma Inline (Box_Present);
11174    pragma Inline (Char_Literal_Value);
11175    pragma Inline (Chars);
11176    pragma Inline (Check_Address_Alignment);
11177    pragma Inline (Choice_Parameter);
11178    pragma Inline (Choices);
11179    pragma Inline (Coextensions);
11180    pragma Inline (Comes_From_Extended_Return_Statement);
11181    pragma Inline (Compile_Time_Known_Aggregate);
11182    pragma Inline (Component_Associations);
11183    pragma Inline (Component_Clauses);
11184    pragma Inline (Component_Definition);
11185    pragma Inline (Component_Items);
11186    pragma Inline (Component_List);
11187    pragma Inline (Component_Name);
11188    pragma Inline (Componentwise_Assignment);
11189    pragma Inline (Condition);
11190    pragma Inline (Condition_Actions);
11191    pragma Inline (Config_Pragmas);
11192    pragma Inline (Constant_Present);
11193    pragma Inline (Constraint);
11194    pragma Inline (Constraints);
11195    pragma Inline (Context_Installed);
11196    pragma Inline (Context_Items);
11197    pragma Inline (Context_Pending);
11198    pragma Inline (Controlling_Argument);
11199    pragma Inline (Conversion_OK);
11200    pragma Inline (Corresponding_Body);
11201    pragma Inline (Corresponding_Formal_Spec);
11202    pragma Inline (Corresponding_Generic_Association);
11203    pragma Inline (Corresponding_Integer_Value);
11204    pragma Inline (Corresponding_Spec);
11205    pragma Inline (Corresponding_Stub);
11206    pragma Inline (Dcheck_Function);
11207    pragma Inline (Debug_Statement);
11208    pragma Inline (Declarations);
11209    pragma Inline (Default_Expression);
11210    pragma Inline (Default_Name);
11211    pragma Inline (Defining_Identifier);
11212    pragma Inline (Defining_Unit_Name);
11213    pragma Inline (Delay_Alternative);
11214    pragma Inline (Delay_Statement);
11215    pragma Inline (Delta_Expression);
11216    pragma Inline (Digits_Expression);
11217    pragma Inline (Discr_Check_Funcs_Built);
11218    pragma Inline (Discrete_Choices);
11219    pragma Inline (Discrete_Range);
11220    pragma Inline (Discrete_Subtype_Definition);
11221    pragma Inline (Discrete_Subtype_Definitions);
11222    pragma Inline (Discriminant_Specifications);
11223    pragma Inline (Discriminant_Type);
11224    pragma Inline (Do_Accessibility_Check);
11225    pragma Inline (Do_Discriminant_Check);
11226    pragma Inline (Do_Length_Check);
11227    pragma Inline (Do_Division_Check);
11228    pragma Inline (Do_Overflow_Check);
11229    pragma Inline (Do_Range_Check);
11230    pragma Inline (Do_Storage_Check);
11231    pragma Inline (Do_Tag_Check);
11232    pragma Inline (Elaborate_Present);
11233    pragma Inline (Elaborate_All_Desirable);
11234    pragma Inline (Elaborate_All_Present);
11235    pragma Inline (Elaborate_Desirable);
11236    pragma Inline (Elaboration_Boolean);
11237    pragma Inline (Else_Actions);
11238    pragma Inline (Else_Statements);
11239    pragma Inline (Elsif_Parts);
11240    pragma Inline (Enclosing_Variant);
11241    pragma Inline (End_Label);
11242    pragma Inline (End_Span);
11243    pragma Inline (Entity);
11244    pragma Inline (Entity_Or_Associated_Node);
11245    pragma Inline (Entry_Body_Formal_Part);
11246    pragma Inline (Entry_Call_Alternative);
11247    pragma Inline (Entry_Call_Statement);
11248    pragma Inline (Entry_Direct_Name);
11249    pragma Inline (Entry_Index);
11250    pragma Inline (Entry_Index_Specification);
11251    pragma Inline (Etype);
11252    pragma Inline (Exception_Choices);
11253    pragma Inline (Exception_Handlers);
11254    pragma Inline (Exception_Junk);
11255    pragma Inline (Exception_Label);
11256    pragma Inline (Expansion_Delayed);
11257    pragma Inline (Explicit_Actual_Parameter);
11258    pragma Inline (Explicit_Generic_Actual_Parameter);
11259    pragma Inline (Expression);
11260    pragma Inline (Expressions);
11261    pragma Inline (First_Bit);
11262    pragma Inline (First_Inlined_Subprogram);
11263    pragma Inline (First_Name);
11264    pragma Inline (First_Named_Actual);
11265    pragma Inline (First_Real_Statement);
11266    pragma Inline (First_Subtype_Link);
11267    pragma Inline (Float_Truncate);
11268    pragma Inline (Formal_Type_Definition);
11269    pragma Inline (Forwards_OK);
11270    pragma Inline (From_At_End);
11271    pragma Inline (From_At_Mod);
11272    pragma Inline (From_Default);
11273    pragma Inline (Generic_Associations);
11274    pragma Inline (Generic_Formal_Declarations);
11275    pragma Inline (Generic_Parent);
11276    pragma Inline (Generic_Parent_Type);
11277    pragma Inline (Handled_Statement_Sequence);
11278    pragma Inline (Handler_List_Entry);
11279    pragma Inline (Has_Created_Identifier);
11280    pragma Inline (Has_Dynamic_Length_Check);
11281    pragma Inline (Has_Dynamic_Range_Check);
11282    pragma Inline (Has_Init_Expression);
11283    pragma Inline (Has_Local_Raise);
11284    pragma Inline (Has_Self_Reference);
11285    pragma Inline (Has_No_Elaboration_Code);
11286    pragma Inline (Has_Priority_Pragma);
11287    pragma Inline (Has_Private_View);
11288    pragma Inline (Has_Relative_Deadline_Pragma);
11289    pragma Inline (Has_Storage_Size_Pragma);
11290    pragma Inline (Has_Task_Info_Pragma);
11291    pragma Inline (Has_Task_Name_Pragma);
11292    pragma Inline (Has_Wide_Character);
11293    pragma Inline (Has_Wide_Wide_Character);
11294    pragma Inline (Hidden_By_Use_Clause);
11295    pragma Inline (High_Bound);
11296    pragma Inline (Identifier);
11297    pragma Inline (Implicit_With);
11298    pragma Inline (Interface_List);
11299    pragma Inline (Interface_Present);
11300    pragma Inline (Includes_Infinities);
11301    pragma Inline (In_Present);
11302    pragma Inline (Instance_Spec);
11303    pragma Inline (Intval);
11304    pragma Inline (Is_Accessibility_Actual);
11305    pragma Inline (Is_Asynchronous_Call_Block);
11306    pragma Inline (Is_Component_Left_Opnd);
11307    pragma Inline (Is_Component_Right_Opnd);
11308    pragma Inline (Is_Controlling_Actual);
11309    pragma Inline (Is_Dynamic_Coextension);
11310    pragma Inline (Is_Elsif);
11311    pragma Inline (Is_Entry_Barrier_Function);
11312    pragma Inline (Is_Expanded_Build_In_Place_Call);
11313    pragma Inline (Is_Folded_In_Parser);
11314    pragma Inline (Is_In_Discriminant_Check);
11315    pragma Inline (Is_Machine_Number);
11316    pragma Inline (Is_Null_Loop);
11317    pragma Inline (Is_Overloaded);
11318    pragma Inline (Is_Power_Of_2_For_Shift);
11319    pragma Inline (Is_Protected_Subprogram_Body);
11320    pragma Inline (Is_Static_Coextension);
11321    pragma Inline (Is_Static_Expression);
11322    pragma Inline (Is_Subprogram_Descriptor);
11323    pragma Inline (Is_Task_Allocation_Block);
11324    pragma Inline (Is_Task_Master);
11325    pragma Inline (Iteration_Scheme);
11326    pragma Inline (Itype);
11327    pragma Inline (Kill_Range_Check);
11328    pragma Inline (Last_Bit);
11329    pragma Inline (Last_Name);
11330    pragma Inline (Library_Unit);
11331    pragma Inline (Label_Construct);
11332    pragma Inline (Left_Opnd);
11333    pragma Inline (Limited_View_Installed);
11334    pragma Inline (Limited_Present);
11335    pragma Inline (Literals);
11336    pragma Inline (Local_Raise_Not_OK);
11337    pragma Inline (Local_Raise_Statements);
11338    pragma Inline (Loop_Actions);
11339    pragma Inline (Loop_Parameter_Specification);
11340    pragma Inline (Low_Bound);
11341    pragma Inline (Mod_Clause);
11342    pragma Inline (More_Ids);
11343    pragma Inline (Must_Be_Byte_Aligned);
11344    pragma Inline (Must_Not_Freeze);
11345    pragma Inline (Must_Not_Override);
11346    pragma Inline (Must_Override);
11347    pragma Inline (Name);
11348    pragma Inline (Names);
11349    pragma Inline (Next_Entity);
11350    pragma Inline (Next_Implicit_With);
11351    pragma Inline (Next_Named_Actual);
11352    pragma Inline (Next_Pragma);
11353    pragma Inline (Next_Rep_Item);
11354    pragma Inline (Next_Use_Clause);
11355    pragma Inline (No_Ctrl_Actions);
11356    pragma Inline (No_Elaboration_Check);
11357    pragma Inline (No_Entities_Ref_In_Spec);
11358    pragma Inline (No_Initialization);
11359    pragma Inline (No_Truncation);
11360    pragma Inline (Null_Present);
11361    pragma Inline (Null_Exclusion_Present);
11362    pragma Inline (Null_Exclusion_In_Return_Present);
11363    pragma Inline (Null_Record_Present);
11364    pragma Inline (Object_Definition);
11365    pragma Inline (Original_Discriminant);
11366    pragma Inline (Original_Entity);
11367    pragma Inline (Others_Discrete_Choices);
11368    pragma Inline (Out_Present);
11369    pragma Inline (Parameter_Associations);
11370    pragma Inline (Parameter_Specifications);
11371    pragma Inline (Parameter_List_Truncated);
11372    pragma Inline (Parameter_Type);
11373    pragma Inline (Parent_Spec);
11374    pragma Inline (Position);
11375    pragma Inline (Pragma_Argument_Associations);
11376    pragma Inline (Pragma_Enabled);
11377    pragma Inline (Pragma_Identifier);
11378    pragma Inline (Pragmas_After);
11379    pragma Inline (Pragmas_Before);
11380    pragma Inline (Prefix);
11381    pragma Inline (Present_Expr);
11382    pragma Inline (Prev_Ids);
11383    pragma Inline (Print_In_Hex);
11384    pragma Inline (Private_Declarations);
11385    pragma Inline (Private_Present);
11386    pragma Inline (Procedure_To_Call);
11387    pragma Inline (Proper_Body);
11388    pragma Inline (Protected_Definition);
11389    pragma Inline (Protected_Present);
11390    pragma Inline (Raises_Constraint_Error);
11391    pragma Inline (Range_Constraint);
11392    pragma Inline (Range_Expression);
11393    pragma Inline (Real_Range_Specification);
11394    pragma Inline (Realval);
11395    pragma Inline (Reason);
11396    pragma Inline (Record_Extension_Part);
11397    pragma Inline (Redundant_Use);
11398    pragma Inline (Renaming_Exception);
11399    pragma Inline (Result_Definition);
11400    pragma Inline (Return_Object_Declarations);
11401    pragma Inline (Return_Statement_Entity);
11402    pragma Inline (Reverse_Present);
11403    pragma Inline (Right_Opnd);
11404    pragma Inline (Rounded_Result);
11405    pragma Inline (SCIL_Controlling_Tag);
11406    pragma Inline (SCIL_Entity);
11407    pragma Inline (SCIL_Related_Node);
11408    pragma Inline (SCIL_Tag_Value);
11409    pragma Inline (SCIL_Target_Prim);
11410    pragma Inline (Scope);
11411    pragma Inline (Select_Alternatives);
11412    pragma Inline (Selector_Name);
11413    pragma Inline (Selector_Names);
11414    pragma Inline (Shift_Count_OK);
11415    pragma Inline (Source_Type);
11416    pragma Inline (Specification);
11417    pragma Inline (Statements);
11418    pragma Inline (Static_Processing_OK);
11419    pragma Inline (Storage_Pool);
11420    pragma Inline (Strval);
11421    pragma Inline (Subtype_Indication);
11422    pragma Inline (Subtype_Mark);
11423    pragma Inline (Subtype_Marks);
11424    pragma Inline (Suppress_Loop_Warnings);
11425    pragma Inline (Synchronized_Present);
11426    pragma Inline (Tagged_Present);
11427    pragma Inline (Target_Type);
11428    pragma Inline (Task_Definition);
11429    pragma Inline (Task_Present);
11430    pragma Inline (Then_Actions);
11431    pragma Inline (Then_Statements);
11432    pragma Inline (Triggering_Alternative);
11433    pragma Inline (Triggering_Statement);
11434    pragma Inline (Treat_Fixed_As_Integer);
11435    pragma Inline (TSS_Elist);
11436    pragma Inline (Type_Definition);
11437    pragma Inline (Unit);
11438    pragma Inline (Unknown_Discriminants_Present);
11439    pragma Inline (Unreferenced_In_Spec);
11440    pragma Inline (Variant_Part);
11441    pragma Inline (Variants);
11442    pragma Inline (Visible_Declarations);
11443    pragma Inline (Was_Originally_Stub);
11444    pragma Inline (Zero_Cost_Handling);
11445
11446    pragma Inline (Set_ABE_Is_Certain);
11447    pragma Inline (Set_Abort_Present);
11448    pragma Inline (Set_Abortable_Part);
11449    pragma Inline (Set_Abstract_Present);
11450    pragma Inline (Set_Accept_Handler_Records);
11451    pragma Inline (Set_Accept_Statement);
11452    pragma Inline (Set_Access_Definition);
11453    pragma Inline (Set_Access_To_Subprogram_Definition);
11454    pragma Inline (Set_Access_Types_To_Process);
11455    pragma Inline (Set_Actions);
11456    pragma Inline (Set_Activation_Chain_Entity);
11457    pragma Inline (Set_Acts_As_Spec);
11458    pragma Inline (Set_Actual_Designated_Subtype);
11459    pragma Inline (Set_Address_Warning_Posted);
11460    pragma Inline (Set_Aggregate_Bounds);
11461    pragma Inline (Set_Aliased_Present);
11462    pragma Inline (Set_All_Others);
11463    pragma Inline (Set_All_Present);
11464    pragma Inline (Set_Alternatives);
11465    pragma Inline (Set_Ancestor_Part);
11466    pragma Inline (Set_Array_Aggregate);
11467    pragma Inline (Set_Assignment_OK);
11468    pragma Inline (Set_Associated_Node);
11469    pragma Inline (Set_At_End_Proc);
11470    pragma Inline (Set_Attribute_Name);
11471    pragma Inline (Set_Aux_Decls_Node);
11472    pragma Inline (Set_Backwards_OK);
11473    pragma Inline (Set_Bad_Is_Detected);
11474    pragma Inline (Set_Body_To_Inline);
11475    pragma Inline (Set_Body_Required);
11476    pragma Inline (Set_By_Ref);
11477    pragma Inline (Set_Box_Present);
11478    pragma Inline (Set_Char_Literal_Value);
11479    pragma Inline (Set_Chars);
11480    pragma Inline (Set_Check_Address_Alignment);
11481    pragma Inline (Set_Choice_Parameter);
11482    pragma Inline (Set_Choices);
11483    pragma Inline (Set_Coextensions);
11484    pragma Inline (Set_Comes_From_Extended_Return_Statement);
11485    pragma Inline (Set_Compile_Time_Known_Aggregate);
11486    pragma Inline (Set_Component_Associations);
11487    pragma Inline (Set_Component_Clauses);
11488    pragma Inline (Set_Component_Definition);
11489    pragma Inline (Set_Component_Items);
11490    pragma Inline (Set_Component_List);
11491    pragma Inline (Set_Component_Name);
11492    pragma Inline (Set_Componentwise_Assignment);
11493    pragma Inline (Set_Condition);
11494    pragma Inline (Set_Condition_Actions);
11495    pragma Inline (Set_Config_Pragmas);
11496    pragma Inline (Set_Constant_Present);
11497    pragma Inline (Set_Constraint);
11498    pragma Inline (Set_Constraints);
11499    pragma Inline (Set_Context_Installed);
11500    pragma Inline (Set_Context_Items);
11501    pragma Inline (Set_Context_Pending);
11502    pragma Inline (Set_Controlling_Argument);
11503    pragma Inline (Set_Conversion_OK);
11504    pragma Inline (Set_Corresponding_Body);
11505    pragma Inline (Set_Corresponding_Formal_Spec);
11506    pragma Inline (Set_Corresponding_Generic_Association);
11507    pragma Inline (Set_Corresponding_Integer_Value);
11508    pragma Inline (Set_Corresponding_Spec);
11509    pragma Inline (Set_Corresponding_Stub);
11510    pragma Inline (Set_Dcheck_Function);
11511    pragma Inline (Set_Debug_Statement);
11512    pragma Inline (Set_Declarations);
11513    pragma Inline (Set_Default_Expression);
11514    pragma Inline (Set_Default_Name);
11515    pragma Inline (Set_Defining_Identifier);
11516    pragma Inline (Set_Defining_Unit_Name);
11517    pragma Inline (Set_Delay_Alternative);
11518    pragma Inline (Set_Delay_Statement);
11519    pragma Inline (Set_Delta_Expression);
11520    pragma Inline (Set_Digits_Expression);
11521    pragma Inline (Set_Discr_Check_Funcs_Built);
11522    pragma Inline (Set_Discrete_Choices);
11523    pragma Inline (Set_Discrete_Range);
11524    pragma Inline (Set_Discrete_Subtype_Definition);
11525    pragma Inline (Set_Discrete_Subtype_Definitions);
11526    pragma Inline (Set_Discriminant_Specifications);
11527    pragma Inline (Set_Discriminant_Type);
11528    pragma Inline (Set_Do_Accessibility_Check);
11529    pragma Inline (Set_Do_Discriminant_Check);
11530    pragma Inline (Set_Do_Length_Check);
11531    pragma Inline (Set_Do_Division_Check);
11532    pragma Inline (Set_Do_Overflow_Check);
11533    pragma Inline (Set_Do_Range_Check);
11534    pragma Inline (Set_Do_Storage_Check);
11535    pragma Inline (Set_Do_Tag_Check);
11536    pragma Inline (Set_Elaborate_Present);
11537    pragma Inline (Set_Elaborate_All_Desirable);
11538    pragma Inline (Set_Elaborate_All_Present);
11539    pragma Inline (Set_Elaborate_Desirable);
11540    pragma Inline (Set_Elaboration_Boolean);
11541    pragma Inline (Set_Else_Actions);
11542    pragma Inline (Set_Else_Statements);
11543    pragma Inline (Set_Elsif_Parts);
11544    pragma Inline (Set_Enclosing_Variant);
11545    pragma Inline (Set_End_Label);
11546    pragma Inline (Set_End_Span);
11547    pragma Inline (Set_Entity);
11548    pragma Inline (Set_Entry_Body_Formal_Part);
11549    pragma Inline (Set_Entry_Call_Alternative);
11550    pragma Inline (Set_Entry_Call_Statement);
11551    pragma Inline (Set_Entry_Direct_Name);
11552    pragma Inline (Set_Entry_Index);
11553    pragma Inline (Set_Entry_Index_Specification);
11554    pragma Inline (Set_Etype);
11555    pragma Inline (Set_Exception_Choices);
11556    pragma Inline (Set_Exception_Handlers);
11557    pragma Inline (Set_Exception_Junk);
11558    pragma Inline (Set_Exception_Label);
11559    pragma Inline (Set_Expansion_Delayed);
11560    pragma Inline (Set_Explicit_Actual_Parameter);
11561    pragma Inline (Set_Explicit_Generic_Actual_Parameter);
11562    pragma Inline (Set_Expression);
11563    pragma Inline (Set_Expressions);
11564    pragma Inline (Set_First_Bit);
11565    pragma Inline (Set_First_Inlined_Subprogram);
11566    pragma Inline (Set_First_Name);
11567    pragma Inline (Set_First_Named_Actual);
11568    pragma Inline (Set_First_Real_Statement);
11569    pragma Inline (Set_First_Subtype_Link);
11570    pragma Inline (Set_Float_Truncate);
11571    pragma Inline (Set_Formal_Type_Definition);
11572    pragma Inline (Set_Forwards_OK);
11573    pragma Inline (Set_From_At_End);
11574    pragma Inline (Set_From_At_Mod);
11575    pragma Inline (Set_From_Default);
11576    pragma Inline (Set_Generic_Associations);
11577    pragma Inline (Set_Generic_Formal_Declarations);
11578    pragma Inline (Set_Generic_Parent);
11579    pragma Inline (Set_Generic_Parent_Type);
11580    pragma Inline (Set_Handled_Statement_Sequence);
11581    pragma Inline (Set_Handler_List_Entry);
11582    pragma Inline (Set_Has_Created_Identifier);
11583    pragma Inline (Set_Has_Dynamic_Length_Check);
11584    pragma Inline (Set_Has_Init_Expression);
11585    pragma Inline (Set_Has_Local_Raise);
11586    pragma Inline (Set_Has_Dynamic_Range_Check);
11587    pragma Inline (Set_Has_No_Elaboration_Code);
11588    pragma Inline (Set_Has_Priority_Pragma);
11589    pragma Inline (Set_Has_Private_View);
11590    pragma Inline (Set_Has_Relative_Deadline_Pragma);
11591    pragma Inline (Set_Has_Storage_Size_Pragma);
11592    pragma Inline (Set_Has_Task_Info_Pragma);
11593    pragma Inline (Set_Has_Task_Name_Pragma);
11594    pragma Inline (Set_Has_Wide_Character);
11595    pragma Inline (Set_Has_Wide_Wide_Character);
11596    pragma Inline (Set_Hidden_By_Use_Clause);
11597    pragma Inline (Set_High_Bound);
11598    pragma Inline (Set_Identifier);
11599    pragma Inline (Set_Implicit_With);
11600    pragma Inline (Set_Includes_Infinities);
11601    pragma Inline (Set_Interface_List);
11602    pragma Inline (Set_Interface_Present);
11603    pragma Inline (Set_In_Present);
11604    pragma Inline (Set_Instance_Spec);
11605    pragma Inline (Set_Intval);
11606    pragma Inline (Set_Is_Accessibility_Actual);
11607    pragma Inline (Set_Is_Asynchronous_Call_Block);
11608    pragma Inline (Set_Is_Component_Left_Opnd);
11609    pragma Inline (Set_Is_Component_Right_Opnd);
11610    pragma Inline (Set_Is_Controlling_Actual);
11611    pragma Inline (Set_Is_Dynamic_Coextension);
11612    pragma Inline (Set_Is_Elsif);
11613    pragma Inline (Set_Is_Entry_Barrier_Function);
11614    pragma Inline (Set_Is_Expanded_Build_In_Place_Call);
11615    pragma Inline (Set_Is_Folded_In_Parser);
11616    pragma Inline (Set_Is_In_Discriminant_Check);
11617    pragma Inline (Set_Is_Machine_Number);
11618    pragma Inline (Set_Is_Null_Loop);
11619    pragma Inline (Set_Is_Overloaded);
11620    pragma Inline (Set_Is_Power_Of_2_For_Shift);
11621    pragma Inline (Set_Is_Protected_Subprogram_Body);
11622    pragma Inline (Set_Has_Self_Reference);
11623    pragma Inline (Set_Is_Static_Coextension);
11624    pragma Inline (Set_Is_Static_Expression);
11625    pragma Inline (Set_Is_Subprogram_Descriptor);
11626    pragma Inline (Set_Is_Task_Allocation_Block);
11627    pragma Inline (Set_Is_Task_Master);
11628    pragma Inline (Set_Iteration_Scheme);
11629    pragma Inline (Set_Itype);
11630    pragma Inline (Set_Kill_Range_Check);
11631    pragma Inline (Set_Last_Bit);
11632    pragma Inline (Set_Last_Name);
11633    pragma Inline (Set_Library_Unit);
11634    pragma Inline (Set_Label_Construct);
11635    pragma Inline (Set_Left_Opnd);
11636    pragma Inline (Set_Limited_View_Installed);
11637    pragma Inline (Set_Limited_Present);
11638    pragma Inline (Set_Literals);
11639    pragma Inline (Set_Local_Raise_Not_OK);
11640    pragma Inline (Set_Local_Raise_Statements);
11641    pragma Inline (Set_Loop_Actions);
11642    pragma Inline (Set_Loop_Parameter_Specification);
11643    pragma Inline (Set_Low_Bound);
11644    pragma Inline (Set_Mod_Clause);
11645    pragma Inline (Set_More_Ids);
11646    pragma Inline (Set_Must_Be_Byte_Aligned);
11647    pragma Inline (Set_Must_Not_Freeze);
11648    pragma Inline (Set_Must_Not_Override);
11649    pragma Inline (Set_Must_Override);
11650    pragma Inline (Set_Name);
11651    pragma Inline (Set_Names);
11652    pragma Inline (Set_Next_Entity);
11653    pragma Inline (Set_Next_Implicit_With);
11654    pragma Inline (Set_Next_Named_Actual);
11655    pragma Inline (Set_Next_Pragma);
11656    pragma Inline (Set_Next_Rep_Item);
11657    pragma Inline (Set_Next_Use_Clause);
11658    pragma Inline (Set_No_Ctrl_Actions);
11659    pragma Inline (Set_No_Elaboration_Check);
11660    pragma Inline (Set_No_Entities_Ref_In_Spec);
11661    pragma Inline (Set_No_Initialization);
11662    pragma Inline (Set_No_Truncation);
11663    pragma Inline (Set_Null_Present);
11664    pragma Inline (Set_Null_Exclusion_Present);
11665    pragma Inline (Set_Null_Exclusion_In_Return_Present);
11666    pragma Inline (Set_Null_Record_Present);
11667    pragma Inline (Set_Object_Definition);
11668    pragma Inline (Set_Original_Discriminant);
11669    pragma Inline (Set_Original_Entity);
11670    pragma Inline (Set_Others_Discrete_Choices);
11671    pragma Inline (Set_Out_Present);
11672    pragma Inline (Set_Parameter_Associations);
11673    pragma Inline (Set_Parameter_Specifications);
11674    pragma Inline (Set_Parameter_List_Truncated);
11675    pragma Inline (Set_Parameter_Type);
11676    pragma Inline (Set_Parent_Spec);
11677    pragma Inline (Set_Position);
11678    pragma Inline (Set_Pragma_Argument_Associations);
11679    pragma Inline (Set_Pragma_Enabled);
11680    pragma Inline (Set_Pragma_Identifier);
11681    pragma Inline (Set_Pragmas_After);
11682    pragma Inline (Set_Pragmas_Before);
11683    pragma Inline (Set_Prefix);
11684    pragma Inline (Set_Present_Expr);
11685    pragma Inline (Set_Prev_Ids);
11686    pragma Inline (Set_Print_In_Hex);
11687    pragma Inline (Set_Private_Declarations);
11688    pragma Inline (Set_Private_Present);
11689    pragma Inline (Set_Procedure_To_Call);
11690    pragma Inline (Set_Proper_Body);
11691    pragma Inline (Set_Protected_Definition);
11692    pragma Inline (Set_Protected_Present);
11693    pragma Inline (Set_Raises_Constraint_Error);
11694    pragma Inline (Set_Range_Constraint);
11695    pragma Inline (Set_Range_Expression);
11696    pragma Inline (Set_Real_Range_Specification);
11697    pragma Inline (Set_Realval);
11698    pragma Inline (Set_Reason);
11699    pragma Inline (Set_Record_Extension_Part);
11700    pragma Inline (Set_Redundant_Use);
11701    pragma Inline (Set_Renaming_Exception);
11702    pragma Inline (Set_Result_Definition);
11703    pragma Inline (Set_Return_Object_Declarations);
11704    pragma Inline (Set_Reverse_Present);
11705    pragma Inline (Set_Right_Opnd);
11706    pragma Inline (Set_Rounded_Result);
11707    pragma Inline (Set_SCIL_Controlling_Tag);
11708    pragma Inline (Set_SCIL_Entity);
11709    pragma Inline (Set_SCIL_Related_Node);
11710    pragma Inline (Set_SCIL_Tag_Value);
11711    pragma Inline (Set_SCIL_Target_Prim);
11712    pragma Inline (Set_Scope);
11713    pragma Inline (Set_Select_Alternatives);
11714    pragma Inline (Set_Selector_Name);
11715    pragma Inline (Set_Selector_Names);
11716    pragma Inline (Set_Shift_Count_OK);
11717    pragma Inline (Set_Source_Type);
11718    pragma Inline (Set_Specification);
11719    pragma Inline (Set_Statements);
11720    pragma Inline (Set_Static_Processing_OK);
11721    pragma Inline (Set_Storage_Pool);
11722    pragma Inline (Set_Strval);
11723    pragma Inline (Set_Subtype_Indication);
11724    pragma Inline (Set_Subtype_Mark);
11725    pragma Inline (Set_Subtype_Marks);
11726    pragma Inline (Set_Suppress_Loop_Warnings);
11727    pragma Inline (Set_Synchronized_Present);
11728    pragma Inline (Set_Tagged_Present);
11729    pragma Inline (Set_Target_Type);
11730    pragma Inline (Set_Task_Definition);
11731    pragma Inline (Set_Task_Present);
11732    pragma Inline (Set_Then_Actions);
11733    pragma Inline (Set_Then_Statements);
11734    pragma Inline (Set_Triggering_Alternative);
11735    pragma Inline (Set_Triggering_Statement);
11736    pragma Inline (Set_Treat_Fixed_As_Integer);
11737    pragma Inline (Set_TSS_Elist);
11738    pragma Inline (Set_Type_Definition);
11739    pragma Inline (Set_Unit);
11740    pragma Inline (Set_Unknown_Discriminants_Present);
11741    pragma Inline (Set_Unreferenced_In_Spec);
11742    pragma Inline (Set_Variant_Part);
11743    pragma Inline (Set_Variants);
11744    pragma Inline (Set_Visible_Declarations);
11745    pragma Inline (Set_Was_Originally_Stub);
11746    pragma Inline (Set_Zero_Cost_Handling);
11747
11748    N_Simple_Return_Statement : constant Node_Kind := N_Return_Statement;
11749    --  Rename N_Return_Statement to be N_Simple_Return_Statement. Clients
11750    --  should refer to N_Simple_Return_Statement.
11751
11752 end Sinfo;