* g++.dg/template/using30.C: Move ...
[official-gcc.git] / gcc / ada / atree.ads
blob3bc71f5974d6bf3e0d065d6edc14ca61fe67c491
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- A T R E E --
6 -- --
7 -- S p e c --
8 -- --
9 -- Copyright (C) 1992-2014, 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 ------------------------------------------------------------------------------
32 with Alloc;
33 with Sinfo; use Sinfo;
34 with Einfo; use Einfo;
35 with Namet; use Namet;
36 with Types; use Types;
37 with Snames; use Snames;
38 with System; use System;
39 with Table;
40 with Uintp; use Uintp;
41 with Urealp; use Urealp;
42 with Unchecked_Conversion;
44 package Atree is
46 -- This package defines the format of the tree used to represent the Ada
47 -- program internally. Syntactic and semantic information is combined in
48 -- this tree. There is no separate symbol table structure.
50 -- WARNING: There is a C version of this package. Any changes to this source
51 -- file must be properly reflected in the C header file atree.h
53 -- Package Atree defines the basic structure of the tree and its nodes and
54 -- provides the basic abstract interface for manipulating the tree. Two other
55 -- packages use this interface to define the representation of Ada programs
56 -- using this tree format. The package Sinfo defines the basic representation
57 -- of the syntactic structure of the program, as output by the parser. The
58 -- package Einfo defines the semantic information which is added to the tree
59 -- nodes that represent declared entities (i.e. the information which might
60 -- typically be described in a separate symbol table structure).
62 -- The front end of the compiler first parses the program and generates a
63 -- tree that is simply a syntactic representation of the program in abstract
64 -- syntax tree format. Subsequent processing in the front end traverses the
65 -- tree, transforming it in various ways and adding semantic information.
67 ----------------------
68 -- Size of Entities --
69 ----------------------
71 -- Currently entities are composed of 6 sequentially allocated 32-byte
72 -- nodes, considered as a single record. The following definition gives
73 -- the number of extension nodes.
75 Num_Extension_Nodes : Node_Id := 5;
76 -- This value is increased by one if debug flag -gnatd.N is set. This is
77 -- for testing performance impact of adding a new extension node. We make
78 -- this of type Node_Id for easy reference in loops using this value.
80 ----------------------------------------
81 -- Definitions of Fields in Tree Node --
82 ----------------------------------------
84 -- The representation of the tree is completely hidden, using a functional
85 -- interface for accessing and modifying the contents of nodes. Logically
86 -- a node contains a number of fields, much as though the nodes were
87 -- defined as a record type. The fields in a node are as follows:
89 -- Nkind Indicates the kind of the node. This field is present
90 -- in all nodes. The type is Node_Kind, which is declared
91 -- in the package Sinfo.
93 -- Sloc Location (Source_Ptr) of the corresponding token
94 -- in the Source buffer. The individual node definitions
95 -- show which token is referenced by this pointer.
97 -- In_List A flag used to indicate if the node is a member
98 -- of a node list.
100 -- Rewrite_Ins A flag set if a node is marked as a rewrite inserted
101 -- node as a result of a call to Mark_Rewrite_Insertion.
103 -- Paren_Count A 2-bit count used in sub-expression nodes to indicate
104 -- the level of parentheses. The settings are 0,1,2 and
105 -- 3 for many. If the value is 3, then an auxiliary table
106 -- is used to indicate the real value. Set to zero for
107 -- non-subexpression nodes.
109 -- Note: the required parentheses surrounding conditional
110 -- and quantified expressions count as a level of parens
111 -- for this purpose, so e.g. in X := (if A then B else C);
112 -- Paren_Count for the right side will be 1.
114 -- Comes_From_Source
115 -- This flag is present in all nodes. It is set if the
116 -- node is built by the scanner or parser, and clear if
117 -- the node is built by the analyzer or expander. It
118 -- indicates that the node corresponds to a construct
119 -- that appears in the original source program.
121 -- Analyzed This flag is present in all nodes. It is set when
122 -- a node is analyzed, and is used to avoid analyzing
123 -- the same node twice. Analysis includes expansion if
124 -- expansion is active, so in this case if the flag is
125 -- set it means the node has been analyzed and expanded.
127 -- Error_Posted This flag is present in all nodes. It is set when
128 -- an error message is posted which is associated with
129 -- the flagged node. This is used to avoid posting more
130 -- than one message on the same node.
132 -- Field1
133 -- Field2
134 -- Field3
135 -- Field4
136 -- Field5 Five fields holding Union_Id values
138 -- ElistN Synonym for FieldN typed as Elist_Id (Empty = No_Elist)
139 -- ListN Synonym for FieldN typed as List_Id
140 -- NameN Synonym for FieldN typed as Name_Id
141 -- NodeN Synonym for FieldN typed as Node_Id
142 -- StrN Synonym for FieldN typed as String_Id
143 -- UintN Synonym for FieldN typed as Uint (Empty = Uint_0)
144 -- UrealN Synonym for FieldN typed as Ureal
146 -- Note: in the case of ElistN and UintN fields, it is common that we
147 -- end up with a value of Union_Id'(0) as the default value. This value
148 -- is meaningless as a Uint or Elist_Id value. We have two choices here.
149 -- We could require that all Uint and Elist fields be initialized to an
150 -- appropriate value, but that's error prone, since it would be easy to
151 -- miss an initialization. So instead we have the retrieval functions
152 -- generate an appropriate default value (Uint_0 or No_Elist). Probably
153 -- it would be cleaner to generate No_Uint in the Uint case but we got
154 -- stuck with representing an "unset" size value as zero early on, and
155 -- it will take a bit of fiddling to change that ???
157 -- Note: the actual usage of FieldN (i.e. whether it contains a Elist_Id,
158 -- List_Id, Name_Id, Node_Id, String_Id, Uint or Ureal) depends on the
159 -- value in Nkind. Generally the access to this field is always via the
160 -- functional interface, so the field names ElistN, ListN, NameN, NodeN,
161 -- StrN, UintN and UrealN are used only in the bodies of the access
162 -- functions (i.e. in the bodies of Sinfo and Einfo). These access
163 -- functions contain debugging code that checks that the use is
164 -- consistent with Nkind and Ekind values.
166 -- However, in specialized circumstances (examples are the circuit in
167 -- generic instantiation to copy trees, and in the tree dump routine),
168 -- it is useful to be able to do untyped traversals, and an internal
169 -- package in Atree allows for direct untyped accesses in such cases.
171 -- Flag0 Nineteen Boolean flags (use depends on Nkind and
172 -- Flag1 Ekind, as described for FieldN). Again the access
173 -- Flag2 is usually via subprograms in Sinfo and Einfo which
174 -- Flag3 provide high-level synonyms for these flags, and
175 -- Flag4 contain debugging code that checks that the values
176 -- Flag5 in Nkind and Ekind are appropriate for the access.
177 -- Flag6
178 -- Flag7
179 -- Flag8
180 -- Flag9
181 -- Flag10
182 -- Flag11 Note that Flag0-3 are stored separately in the Flags
183 -- Flag12 table, but that's a detail of the implementation which
184 -- Flag13 is entirely hidden by the funcitonal interface.
185 -- Flag14
186 -- Flag15
187 -- Flag16
188 -- Flag17
189 -- Flag18
191 -- Link For a node, points to the Parent. For a list, points
192 -- to the list header. Note that in the latter case, a
193 -- client cannot modify the link field. This field is
194 -- private to the Atree package (but is also modified
195 -- by the Nlists package).
197 -- The following additional fields are present in extended nodes used
198 -- for entities (Nkind in N_Entity).
200 -- Ekind Entity type. This field indicates the type of the
201 -- entity, it is of type Entity_Kind which is defined
202 -- in package Einfo.
204 -- Flag19 299 additional flags
205 -- ...
206 -- Flag317
208 -- Convention Entity convention (Convention_Id value)
210 -- Field6 Additional Union_Id value stored in tree
212 -- Node6 Synonym for Field6 typed as Node_Id
213 -- Elist6 Synonym for Field6 typed as Elist_Id (Empty = No_Elist)
214 -- Uint6 Synonym for Field6 typed as Uint (Empty = Uint_0)
216 -- Similar definitions for Field7 to Field35 (and also Node7-Node35,
217 -- Elist7-Elist35, Uint7-Uint35, Ureal7-Ureal35). Note that not all
218 -- these functions are defined, only the ones that are actually used.
220 function Last_Node_Id return Node_Id;
221 pragma Inline (Last_Node_Id);
222 -- Returns Id of last allocated node Id
224 function Nodes_Address return System.Address;
225 -- Return address of Nodes table (used in Back_End for Gigi call)
227 function Flags_Address return System.Address;
228 -- Return address of Flags table (used in Back_End for Gigi call)
230 function Num_Nodes return Nat;
231 -- Total number of nodes allocated, where an entity counts as a single
232 -- node. This count is incremented every time a node or entity is
233 -- allocated, and decremented every time a node or entity is deleted.
234 -- This value is used by Xref and by Treepr to allocate hash tables of
235 -- suitable size for hashing Node_Id values.
237 -----------------------
238 -- Use of Empty Node --
239 -----------------------
241 -- The special Node_Id Empty is used to mark missing fields. Whenever the
242 -- syntax has an optional component, then the corresponding field will be
243 -- set to Empty if the component is missing.
245 -- Note: Empty is not used to describe an empty list. Instead in this
246 -- case the node field contains a list which is empty, and these cases
247 -- should be distinguished (essentially from a type point of view, Empty
248 -- is a Node, and is thus not a list).
250 -- Note: Empty does in fact correspond to an allocated node. Only the
251 -- Nkind field of this node may be referenced. It contains N_Empty, which
252 -- uniquely identifies the empty case. This allows the Nkind field to be
253 -- dereferenced before the check for Empty which is sometimes useful.
255 -----------------------
256 -- Use of Error Node --
257 -----------------------
259 -- The Error node is used during syntactic and semantic analysis to
260 -- indicate that the corresponding piece of syntactic structure or
261 -- semantic meaning cannot properly be represented in the tree because
262 -- of an illegality in the program.
264 -- If an Error node is encountered, then you know that a previous
265 -- illegality has been detected. The proper reaction should be to
266 -- avoid posting related cascaded error messages, and to propagate
267 -- the error node if necessary.
269 ------------------------
270 -- Current_Error_Node --
271 ------------------------
273 -- The current error node is a global location indicating the current
274 -- node that is being processed for the purposes of placing a compiler
275 -- abort message. This is not necessarily perfectly accurate, it is
276 -- just a reasonably accurate best guess. It is used to output the
277 -- source location in the abort message by Comperr, and also to
278 -- implement the d3 debugging flag. This is also used by Rtsfind
279 -- to generate error messages for high integrity mode.
281 -- There are two ways this gets set. During parsing, when new source
282 -- nodes are being constructed by calls to New_Node and New_Entity,
283 -- either one of these calls sets Current_Error_Node to the newly
284 -- created node. During semantic analysis, this mechanism is not
285 -- used, and instead Current_Error_Node is set by the subprograms in
286 -- Debug_A that mark the start and end of analysis/expansion of a
287 -- node in the tree.
289 Current_Error_Node : Node_Id;
290 -- Node to place error messages
292 ------------------
293 -- Error Counts --
294 ------------------
296 -- The following variables denote the count of errors of various kinds
297 -- detected in the tree. Note that these might be more logically located
298 -- in Err_Vars, but we put it to deal with licensing issues (we need this
299 -- to have the GPL exception licensing, since Check_Error_Detected can
300 -- be called from units with this licensing).
302 Serious_Errors_Detected : Nat := 0;
303 -- This is a count of errors that are serious enough to stop expansion,
304 -- and hence to prevent generation of an object file even if the
305 -- switch -gnatQ is set. Initialized to zero at the start of compilation.
306 -- Initialized for -gnatVa use, see comment above.
308 Total_Errors_Detected : Nat := 0;
309 -- Number of errors detected so far. Includes count of serious errors and
310 -- non-serious errors, so this value is always greater than or equal to the
311 -- Serious_Errors_Detected value. Initialized to zero at the start of
312 -- compilation. Initialized for -gnatVa use, see comment above.
314 Warnings_Detected : Nat := 0;
315 -- Number of warnings detected. Initialized to zero at the start of
316 -- compilation. Initialized for -gnatVa use, see comment above. This
317 -- count includes the count of style and info messages.
319 Info_Messages : Nat := 0;
320 -- Number of info messages generated. Info messages are neved treated as
321 -- errors (whether from use of the pragma, or the compiler switch -gnatwe).
323 Check_Messages : Nat := 0;
324 -- Number of check messages generated. Check messages are neither warnings
325 -- nor errors.
327 Warnings_Treated_As_Errors : Nat := 0;
328 -- Number of warnings changed into errors as a result of matching a pattern
329 -- given in a Warning_As_Error configuration pragma.
331 Configurable_Run_Time_Violations : Nat := 0;
332 -- Count of configurable run time violations so far. This is used to
333 -- suppress certain cascaded error messages when we know that we may not
334 -- have fully expanded some items, due to high integrity violations (e.g.
335 -- the use of constructs not permitted by the library in use, or improper
336 -- constructs in No_Run_Time mode).
338 procedure Check_Error_Detected;
339 -- When an anomaly is found in the tree, many semantic routines silently
340 -- bail out, assuming that the anomaly was caused by a previously detected
341 -- serious error (or configurable run time violation). This routine should
342 -- be called in these cases, and will raise an exception if no such error
343 -- has been detected. This ensure that the anomaly is never allowed to go
344 -- unnoticed.
346 -------------------------------
347 -- Default Setting of Fields --
348 -------------------------------
350 -- Nkind is set to N_Unused_At_Start
352 -- Ekind is set to E_Void
354 -- Sloc is always set, there is no default value
356 -- Field1-5 fields are set to Empty
358 -- Field6-35 fields in extended nodes are set to Empty
360 -- Parent is set to Empty
362 -- All Boolean flag fields are set to False
364 -- Note: the value Empty is used in Field1-Field35 to indicate a null node.
365 -- The usage varies. The common uses are to indicate absence of an optional
366 -- clause or a completely unused Field1-35 field.
368 -------------------------------------
369 -- Use of Synonyms for Node Fields --
370 -------------------------------------
372 -- A subpackage Atree.Unchecked_Access provides routines for reading and
373 -- writing the fields defined above (Field1-35, Node1-35, Flag0-317 etc).
374 -- These unchecked access routines can be used for untyped traversals.
375 -- In addition they are used in the implementations of the Sinfo and
376 -- Einfo packages. These packages both provide logical synonyms for
377 -- the generic fields, together with an appropriate set of access routines.
378 -- Normally access to information within tree nodes uses these synonyms,
379 -- providing a high level typed interface to the tree information.
381 --------------------------------------------------
382 -- Node Allocation and Modification Subprograms --
383 --------------------------------------------------
385 -- Generally the parser builds the tree and then it is further decorated
386 -- (e.g. by setting the entity fields), but not fundamentally modified.
387 -- However, there are cases in which the tree must be restructured by
388 -- adding and rearranging nodes, as a result of disambiguating cases
389 -- which the parser could not parse correctly, and adding additional
390 -- semantic information (e.g. making constraint checks explicit). The
391 -- following subprograms are used for constructing the tree in the first
392 -- place, and then for subsequent modifications as required.
394 procedure Initialize;
395 -- Called at the start of compilation to initialize the allocation of
396 -- the node and list tables and make the standard entries for Empty,
397 -- Error and Error_List. Note that Initialize must not be called if
398 -- Tree_Read is used.
400 procedure Lock;
401 -- Called before the back end is invoked to lock the nodes table
402 -- Also called after Unlock to relock???
404 procedure Unlock;
405 -- Unlocks nodes table, in cases where the back end needs to modify it
407 procedure Tree_Read;
408 -- Initializes internal tables from current tree file using the relevant
409 -- Table.Tree_Read routines. Note that Initialize should not be called if
410 -- Tree_Read is used. Tree_Read includes all necessary initialization.
412 procedure Tree_Write;
413 -- Writes out internal tables to current tree file using the relevant
414 -- Table.Tree_Write routines.
416 function New_Node
417 (New_Node_Kind : Node_Kind;
418 New_Sloc : Source_Ptr) return Node_Id;
419 -- Allocates a completely new node with the given node type and source
420 -- location values. All other fields are set to their standard defaults:
422 -- Empty for all FieldN fields
423 -- False for all FlagN fields
425 -- The usual approach is to build a new node using this function and
426 -- then, using the value returned, use the Set_xxx functions to set
427 -- fields of the node as required. New_Node can only be used for
428 -- non-entity nodes, i.e. it never generates an extended node.
430 -- If we are currently parsing, as indicated by a previous call to
431 -- Set_Comes_From_Source_Default (True), then this call also resets
432 -- the value of Current_Error_Node.
434 function New_Entity
435 (New_Node_Kind : Node_Kind;
436 New_Sloc : Source_Ptr) return Entity_Id;
437 -- Similar to New_Node, except that it is used only for entity nodes
438 -- and returns an extended node.
440 procedure Set_Comes_From_Source_Default (Default : Boolean);
441 -- Sets value of Comes_From_Source flag to be used in all subsequent
442 -- New_Node and New_Entity calls until another call to this procedure
443 -- changes the default. This value is set True during parsing and
444 -- False during semantic analysis. This is also used to determine
445 -- if New_Node and New_Entity should set Current_Error_Node.
447 function Get_Comes_From_Source_Default return Boolean;
448 pragma Inline (Get_Comes_From_Source_Default);
449 -- Gets the current value of the Comes_From_Source flag
451 procedure Preserve_Comes_From_Source (NewN, OldN : Node_Id);
452 pragma Inline (Preserve_Comes_From_Source);
453 -- When a node is rewritten, it is sometimes appropriate to preserve the
454 -- original comes from source indication. This is true when the rewrite
455 -- essentially corresponds to a transformation corresponding exactly to
456 -- semantics in the reference manual. This procedure copies the setting
457 -- of Comes_From_Source from OldN to NewN.
459 function Has_Extension (N : Node_Id) return Boolean;
460 pragma Inline (Has_Extension);
461 -- Returns True if the given node has an extension (i.e. was created by
462 -- a call to New_Entity rather than New_Node, and Nkind is in N_Entity)
464 procedure Change_Node (N : Node_Id; New_Node_Kind : Node_Kind);
465 -- This procedure replaces the given node by setting its Nkind field to
466 -- the indicated value and resetting all other fields to their default
467 -- values except for Sloc, which is unchanged, and the Parent pointer
468 -- and list links, which are also unchanged. All other information in
469 -- the original node is lost. The new node has an extension if the
470 -- original node had an extension.
472 procedure Copy_Node (Source : Node_Id; Destination : Node_Id);
473 -- Copy the entire contents of the source node to the destination node.
474 -- The contents of the source node is not affected. If the source node
475 -- has an extension, then the destination must have an extension also.
476 -- The parent pointer of the destination and its list link, if any, are
477 -- not affected by the copy. Note that parent pointers of descendents
478 -- are not adjusted, so the descendents of the destination node after
479 -- the Copy_Node is completed have dubious parent pointers. Note that
480 -- this routine does NOT copy aspect specifications, the Has_Aspects
481 -- flag in the returned node will always be False. The caller must deal
482 -- with copying aspect specifications where this is required.
484 function New_Copy (Source : Node_Id) return Node_Id;
485 -- This function allocates a completely new node, and then initializes
486 -- it by copying the contents of the source node into it. The contents of
487 -- the source node is not affected. The target node is always marked as
488 -- not being in a list (even if the source is a list member), and not
489 -- overloaded. The new node will have an extension if the source has
490 -- an extension. New_Copy (Empty) returns Empty, and New_Copy (Error)
491 -- returns Error. Note that, unlike Copy_Separate_Tree, New_Copy does not
492 -- recursively copy any descendents, so in general parent pointers are not
493 -- set correctly for the descendents of the copied node. Both normal and
494 -- extended nodes (entities) may be copied using New_Copy.
496 function Relocate_Node (Source : Node_Id) return Node_Id;
497 -- Source is a non-entity node that is to be relocated. A new node is
498 -- allocated, and the contents of Source are copied to this node, using
499 -- New_Copy. The parent pointers of descendents of the node are then
500 -- adjusted to point to the relocated copy. The original node is not
501 -- modified, but the parent pointers of its descendents are no longer
502 -- valid. The new copy is always marked as not overloaded. This routine is
503 -- used in conjunction with the tree rewrite routines (see descriptions of
504 -- Replace/Rewrite).
506 -- Note that the resulting node has the same parent as the source node, and
507 -- is thus still attached to the tree. It is valid for Source to be Empty,
508 -- in which case Relocate_Node simply returns Empty as the result.
510 function Copy_Separate_Tree (Source : Node_Id) return Node_Id;
511 -- Given a node that is the root of a subtree, Copy_Separate_Tree copies
512 -- the entire syntactic subtree, including recursively any descendants
513 -- whose parent field references a copied node (descendants not linked to
514 -- a copied node by the parent field are also copied.) The parent pointers
515 -- in the copy are properly set. Copy_Separate_Tree (Empty/Error) returns
516 -- Empty/Error. The new subtree does not share entities with the source,
517 -- but has new entities with the same name.
519 -- Most of the time this routine is called on an unanalyzed tree, and no
520 -- semantic information is copied. However, to ensure that no entities
521 -- are shared between the two when the source is already analyzed, and
522 -- that the result looks like an unanalyzed tree from the parser, Entity
523 -- fields and Etype fields are set to Empty, and Analyzed flags set False.
525 -- In addition, Expanded_Name nodes are converted back into the original
526 -- parser form (where they are Selected_Components), so that reanalysis
527 -- does the right thing.
529 function Copy_Separate_List (Source : List_Id) return List_Id;
530 -- Applies Copy_Separate_Tree to each element of the Source list, returning
531 -- a new list of the results of these copy operations.
533 procedure Exchange_Entities (E1 : Entity_Id; E2 : Entity_Id);
534 -- Exchange the contents of two entities. The parent pointers are switched
535 -- as well as the Defining_Identifier fields in the parents, so that the
536 -- entities point correctly to their original parents. The effect is thus
537 -- to leave the tree completely unchanged in structure, except that the
538 -- entity ID values of the two entities are interchanged. Neither of the
539 -- two entities may be list members. Note that entities appear on two
540 -- semantic chains: Homonym and Next_Entity: the corresponding links must
541 -- be adjusted by the caller, according to context.
543 function Extend_Node (Node : Node_Id) return Entity_Id;
544 -- This function returns a copy of its input node with an extension added.
545 -- The fields of the extension are set to Empty. Due to the way extensions
546 -- are handled (as four consecutive array elements), it may be necessary
547 -- to reallocate the node, so that the returned value is not the same as
548 -- the input value, but where possible the returned value will be the same
549 -- as the input value (i.e. the extension will occur in place). It is the
550 -- caller's responsibility to ensure that any pointers to the original node
551 -- are appropriately updated. This function is used only by Sinfo.CN to
552 -- change nodes into their corresponding entities.
554 type Report_Proc is access procedure (Target : Node_Id; Source : Node_Id);
556 procedure Set_Reporting_Proc (P : Report_Proc);
557 -- Register a procedure that is invoked when a node is allocated, replaced
558 -- or rewritten.
560 type Traverse_Result is (Abandon, OK, OK_Orig, Skip);
561 -- This is the type of the result returned by the Process function passed
562 -- to Traverse_Func and Traverse_Proc. See below for details.
564 subtype Traverse_Final_Result is Traverse_Result range Abandon .. OK;
565 -- This is the type of the final result returned Traverse_Func, based on
566 -- the results of Process calls. See below for details.
568 generic
569 with function Process (N : Node_Id) return Traverse_Result is <>;
570 function Traverse_Func (Node : Node_Id) return Traverse_Final_Result;
571 -- This is a generic function that, given the parent node for a subtree,
572 -- traverses all syntactic nodes of this tree, calling the given function
573 -- Process on each one, in pre order (i.e. top-down). The order of
574 -- traversing subtrees is arbitrary. The traversal is controlled as follows
575 -- by the result returned by Process:
577 -- OK The traversal continues normally with the syntactic
578 -- children of the node just processed.
580 -- OK_Orig The traversal continues normally with the syntactic
581 -- children of the original node of the node just processed.
583 -- Skip The children of the node just processed are skipped and
584 -- excluded from the traversal, but otherwise processing
585 -- continues elsewhere in the tree.
587 -- Abandon The entire traversal is immediately abandoned, and the
588 -- original call to Traverse returns Abandon.
590 -- The result returned by Traverse is Abandon if processing was terminated
591 -- by a call to Process returning Abandon, otherwise it is OK (meaning that
592 -- all calls to process returned either OK, OK_Orig, or Skip).
594 generic
595 with function Process (N : Node_Id) return Traverse_Result is <>;
596 procedure Traverse_Proc (Node : Node_Id);
597 pragma Inline (Traverse_Proc);
598 -- This is the same as Traverse_Func except that no result is returned,
599 -- i.e. Traverse_Func is called and the result is simply discarded.
601 ---------------------------
602 -- Node Access Functions --
603 ---------------------------
605 -- The following functions return the contents of the indicated field of
606 -- the node referenced by the argument, which is a Node_Id.
608 function Nkind (N : Node_Id) return Node_Kind;
609 pragma Inline (Nkind);
611 function Analyzed (N : Node_Id) return Boolean;
612 pragma Inline (Analyzed);
614 function Has_Aspects (N : Node_Id) return Boolean;
615 pragma Inline (Has_Aspects);
617 function Comes_From_Source (N : Node_Id) return Boolean;
618 pragma Inline (Comes_From_Source);
620 function Error_Posted (N : Node_Id) return Boolean;
621 pragma Inline (Error_Posted);
623 function Sloc (N : Node_Id) return Source_Ptr;
624 pragma Inline (Sloc);
626 function Paren_Count (N : Node_Id) return Nat;
627 pragma Inline (Paren_Count);
629 function Parent (N : Node_Id) return Node_Id;
630 pragma Inline (Parent);
631 -- Returns the parent of a node if the node is not a list member, or else
632 -- the parent of the list containing the node if the node is a list member.
634 function No (N : Node_Id) return Boolean;
635 pragma Inline (No);
636 -- Tests given Id for equality with the Empty node. This allows notations
637 -- like "if No (Variant_Part)" as opposed to "if Variant_Part = Empty".
639 function Present (N : Node_Id) return Boolean;
640 pragma Inline (Present);
641 -- Tests given Id for inequality with the Empty node. This allows notations
642 -- like "if Present (Statement)" as opposed to "if Statement /= Empty".
644 ---------------------
645 -- Node_Kind Tests --
646 ---------------------
648 -- These are like the functions in Sinfo, but the first argument is a
649 -- Node_Id, and the tested field is Nkind (N).
651 function Nkind_In
652 (N : Node_Id;
653 V1 : Node_Kind;
654 V2 : Node_Kind) return Boolean;
656 function Nkind_In
657 (N : Node_Id;
658 V1 : Node_Kind;
659 V2 : Node_Kind;
660 V3 : Node_Kind) return Boolean;
662 function Nkind_In
663 (N : Node_Id;
664 V1 : Node_Kind;
665 V2 : Node_Kind;
666 V3 : Node_Kind;
667 V4 : Node_Kind) return Boolean;
669 function Nkind_In
670 (N : Node_Id;
671 V1 : Node_Kind;
672 V2 : Node_Kind;
673 V3 : Node_Kind;
674 V4 : Node_Kind;
675 V5 : Node_Kind) return Boolean;
677 function Nkind_In
678 (N : Node_Id;
679 V1 : Node_Kind;
680 V2 : Node_Kind;
681 V3 : Node_Kind;
682 V4 : Node_Kind;
683 V5 : Node_Kind;
684 V6 : Node_Kind) return Boolean;
686 function Nkind_In
687 (N : Node_Id;
688 V1 : Node_Kind;
689 V2 : Node_Kind;
690 V3 : Node_Kind;
691 V4 : Node_Kind;
692 V5 : Node_Kind;
693 V6 : Node_Kind;
694 V7 : Node_Kind) return Boolean;
696 function Nkind_In
697 (N : Node_Id;
698 V1 : Node_Kind;
699 V2 : Node_Kind;
700 V3 : Node_Kind;
701 V4 : Node_Kind;
702 V5 : Node_Kind;
703 V6 : Node_Kind;
704 V7 : Node_Kind;
705 V8 : Node_Kind) return Boolean;
707 function Nkind_In
708 (N : Node_Id;
709 V1 : Node_Kind;
710 V2 : Node_Kind;
711 V3 : Node_Kind;
712 V4 : Node_Kind;
713 V5 : Node_Kind;
714 V6 : Node_Kind;
715 V7 : Node_Kind;
716 V8 : Node_Kind;
717 V9 : Node_Kind) return Boolean;
719 pragma Inline (Nkind_In);
720 -- Inline all above functions
722 -----------------------
723 -- Entity_Kind_Tests --
724 -----------------------
726 -- Utility functions to test whether an Entity_Kind value, either given
727 -- directly as the first argument, or the Ekind field of an Entity give
728 -- as the first argument, matches any of the given list of Entity_Kind
729 -- values. Return True if any match, False if no match.
731 function Ekind_In
732 (E : Entity_Id;
733 V1 : Entity_Kind;
734 V2 : Entity_Kind) return Boolean;
736 function Ekind_In
737 (E : Entity_Id;
738 V1 : Entity_Kind;
739 V2 : Entity_Kind;
740 V3 : Entity_Kind) return Boolean;
742 function Ekind_In
743 (E : Entity_Id;
744 V1 : Entity_Kind;
745 V2 : Entity_Kind;
746 V3 : Entity_Kind;
747 V4 : Entity_Kind) return Boolean;
749 function Ekind_In
750 (E : Entity_Id;
751 V1 : Entity_Kind;
752 V2 : Entity_Kind;
753 V3 : Entity_Kind;
754 V4 : Entity_Kind;
755 V5 : Entity_Kind) return Boolean;
757 function Ekind_In
758 (E : Entity_Id;
759 V1 : Entity_Kind;
760 V2 : Entity_Kind;
761 V3 : Entity_Kind;
762 V4 : Entity_Kind;
763 V5 : Entity_Kind;
764 V6 : Entity_Kind) return Boolean;
766 function Ekind_In
767 (E : Entity_Id;
768 V1 : Entity_Kind;
769 V2 : Entity_Kind;
770 V3 : Entity_Kind;
771 V4 : Entity_Kind;
772 V5 : Entity_Kind;
773 V6 : Entity_Kind;
774 V7 : Entity_Kind) return Boolean;
776 function Ekind_In
777 (E : Entity_Id;
778 V1 : Entity_Kind;
779 V2 : Entity_Kind;
780 V3 : Entity_Kind;
781 V4 : Entity_Kind;
782 V5 : Entity_Kind;
783 V6 : Entity_Kind;
784 V7 : Entity_Kind;
785 V8 : Entity_Kind) return Boolean;
787 function Ekind_In
788 (T : Entity_Kind;
789 V1 : Entity_Kind;
790 V2 : Entity_Kind) return Boolean;
792 function Ekind_In
793 (T : Entity_Kind;
794 V1 : Entity_Kind;
795 V2 : Entity_Kind;
796 V3 : Entity_Kind) return Boolean;
798 function Ekind_In
799 (T : Entity_Kind;
800 V1 : Entity_Kind;
801 V2 : Entity_Kind;
802 V3 : Entity_Kind;
803 V4 : Entity_Kind) return Boolean;
805 function Ekind_In
806 (T : Entity_Kind;
807 V1 : Entity_Kind;
808 V2 : Entity_Kind;
809 V3 : Entity_Kind;
810 V4 : Entity_Kind;
811 V5 : Entity_Kind) return Boolean;
813 function Ekind_In
814 (T : Entity_Kind;
815 V1 : Entity_Kind;
816 V2 : Entity_Kind;
817 V3 : Entity_Kind;
818 V4 : Entity_Kind;
819 V5 : Entity_Kind;
820 V6 : Entity_Kind) return Boolean;
822 function Ekind_In
823 (T : Entity_Kind;
824 V1 : Entity_Kind;
825 V2 : Entity_Kind;
826 V3 : Entity_Kind;
827 V4 : Entity_Kind;
828 V5 : Entity_Kind;
829 V6 : Entity_Kind;
830 V7 : Entity_Kind) return Boolean;
832 function Ekind_In
833 (T : Entity_Kind;
834 V1 : Entity_Kind;
835 V2 : Entity_Kind;
836 V3 : Entity_Kind;
837 V4 : Entity_Kind;
838 V5 : Entity_Kind;
839 V6 : Entity_Kind;
840 V7 : Entity_Kind;
841 V8 : Entity_Kind) return Boolean;
843 pragma Inline (Ekind_In);
844 -- Inline all above functions
846 -----------------------------
847 -- Entity Access Functions --
848 -----------------------------
850 -- The following functions apply only to Entity_Id values, i.e.
851 -- to extended nodes.
853 function Ekind (E : Entity_Id) return Entity_Kind;
854 pragma Inline (Ekind);
856 function Convention (E : Entity_Id) return Convention_Id;
857 pragma Inline (Convention);
859 ----------------------------
860 -- Node Update Procedures --
861 ----------------------------
863 -- The following functions set a specified field in the node whose Id is
864 -- passed as the first argument. The second parameter is the new value
865 -- to be set in the specified field. Note that Set_Nkind is in the next
866 -- section, since its use is restricted.
868 procedure Set_Sloc (N : Node_Id; Val : Source_Ptr);
869 pragma Inline (Set_Sloc);
871 procedure Set_Paren_Count (N : Node_Id; Val : Nat);
872 pragma Inline (Set_Paren_Count);
874 procedure Set_Parent (N : Node_Id; Val : Node_Id);
875 pragma Inline (Set_Parent);
877 procedure Set_Analyzed (N : Node_Id; Val : Boolean := True);
878 pragma Inline (Set_Analyzed);
880 procedure Set_Error_Posted (N : Node_Id; Val : Boolean := True);
881 pragma Inline (Set_Error_Posted);
883 procedure Set_Comes_From_Source (N : Node_Id; Val : Boolean);
884 pragma Inline (Set_Comes_From_Source);
885 -- Note that this routine is very rarely used, since usually the
886 -- default mechanism provided sets the right value, but in some
887 -- unusual cases, the value needs to be reset (e.g. when a source
888 -- node is copied, and the copy must not have Comes_From_Source set).
890 procedure Set_Has_Aspects (N : Node_Id; Val : Boolean := True);
891 pragma Inline (Set_Has_Aspects);
893 procedure Set_Original_Node (N : Node_Id; Val : Node_Id);
894 pragma Inline (Set_Original_Node);
895 -- Note that this routine is used only in very peculiar cases. In normal
896 -- cases, the Original_Node link is set by calls to Rewrite. We currently
897 -- use it in ASIS mode to manually set the link from pragma expressions
898 -- to their aspect original source expressions, so that the original source
899 -- expressions accessed by ASIS are also semantically analyzed.
901 ------------------------------
902 -- Entity Update Procedures --
903 ------------------------------
905 -- The following procedures apply only to Entity_Id values, i.e.
906 -- to extended nodes.
908 procedure Basic_Set_Convention (E : Entity_Id; Val : Convention_Id);
909 pragma Inline (Basic_Set_Convention);
910 -- Clients should use Sem_Util.Set_Convention rather than calling this
911 -- routine directly, as Set_Convention also deals with the special
912 -- processing required for access types.
914 procedure Set_Ekind (E : Entity_Id; Val : Entity_Kind);
915 pragma Inline (Set_Ekind);
917 ---------------------------
918 -- Tree Rewrite Routines --
919 ---------------------------
921 -- During the compilation process it is necessary in a number of situations
922 -- to rewrite the tree. In some cases, such rewrites do not affect the
923 -- structure of the tree, for example, when an indexed component node is
924 -- replaced by the corresponding call node (the parser cannot distinguish
925 -- between these two cases).
927 -- In other situations, the rewrite does affect the structure of the
928 -- tree. Examples are the replacement of a generic instantiation by the
929 -- instantiated spec and body, and the static evaluation of expressions.
931 -- If such structural modifications are done by the expander, there are
932 -- no difficulties, since the form of the tree after the expander has no
933 -- special significance, except as input to the backend of the compiler.
934 -- However, if these modifications are done by the semantic phase, then
935 -- it is important that they be done in a manner which allows the original
936 -- tree to be preserved. This is because tools like pretty printers need
937 -- to have this original tree structure available.
939 -- The subprograms in this section allow rewriting of the tree by either
940 -- insertion of new nodes in an existing list, or complete replacement of
941 -- a subtree. The resulting tree for most purposes looks as though it has
942 -- been really changed, and there is no trace of the original. However,
943 -- special subprograms, also defined in this section, allow the original
944 -- tree to be reconstructed if necessary.
946 -- For tree modifications done in the expander, it is permissible to
947 -- destroy the original tree, although it is also allowable to use the
948 -- tree rewrite routines where it is convenient to do so.
950 procedure Mark_Rewrite_Insertion (New_Node : Node_Id);
951 pragma Inline (Mark_Rewrite_Insertion);
952 -- This procedure marks the given node as an insertion made during a tree
953 -- rewriting operation. Only the root needs to be marked. The call does
954 -- not do the actual insertion, which must be done using one of the normal
955 -- list insertion routines. The node is treated normally in all respects
956 -- except for its response to Is_Rewrite_Insertion. The function of these
957 -- calls is to be able to get an accurate original tree. This helps the
958 -- accuracy of Sprint.Sprint_Node, and in particular, when stubs are being
959 -- generated, it is essential that the original tree be accurate.
961 function Is_Rewrite_Insertion (Node : Node_Id) return Boolean;
962 pragma Inline (Is_Rewrite_Insertion);
963 -- Tests whether the given node was marked using Mark_Rewrite_Insertion.
964 -- This is used in reconstructing the original tree (where such nodes are
965 -- to be eliminated).
967 procedure Rewrite (Old_Node, New_Node : Node_Id);
968 -- This is used when a complete subtree is to be replaced. Old_Node is the
969 -- root of the old subtree to be replaced, and New_Node is the root of the
970 -- newly constructed replacement subtree. The actual mechanism is to swap
971 -- the contents of these two nodes fixing up the parent pointers of the
972 -- replaced node (we do not attempt to preserve parent pointers for the
973 -- original node). Neither Old_Node nor New_Node can be extended nodes.
975 -- Note: New_Node may not contain references to Old_Node, for example as
976 -- descendents, since the rewrite would make such references invalid. If
977 -- New_Node does need to reference Old_Node, then these references should
978 -- be to a relocated copy of Old_Node (see Relocate_Node procedure).
980 -- Note: The Original_Node function applied to Old_Node (which has now
981 -- been replaced by the contents of New_Node), can be used to obtain the
982 -- original node, i.e. the old contents of Old_Node.
984 procedure Replace (Old_Node, New_Node : Node_Id);
985 -- This is similar to Rewrite, except that the old value of Old_Node is
986 -- not saved, and the New_Node is deleted after the replace, since it
987 -- is assumed that it can no longer be legitimately needed. The flag
988 -- Is_Rewrite_Substitution will be False for the resulting node, unless
989 -- it was already true on entry, and Original_Node will not return the
990 -- original contents of the Old_Node, but rather the New_Node value (unless
991 -- Old_Node had already been rewritten using Rewrite). Replace also
992 -- preserves the setting of Comes_From_Source.
994 -- Note, New_Node may not contain references to Old_Node, for example as
995 -- descendents, since the rewrite would make such references invalid. If
996 -- New_Node does need to reference Old_Node, then these references should
997 -- be to a relocated copy of Old_Node (see Relocate_Node procedure).
999 -- Replace is used in certain circumstances where it is desirable to
1000 -- suppress any history of the rewriting operation. Notably, it is used
1001 -- when the parser has mis-classified a node (e.g. a task entry call
1002 -- that the parser has parsed as a procedure call).
1004 function Is_Rewrite_Substitution (Node : Node_Id) return Boolean;
1005 pragma Inline (Is_Rewrite_Substitution);
1006 -- Return True iff Node has been rewritten (i.e. if Node is the root
1007 -- of a subtree which was installed using Rewrite).
1009 function Original_Node (Node : Node_Id) return Node_Id;
1010 pragma Inline (Original_Node);
1011 -- If Node has not been rewritten, then returns its input argument
1012 -- unchanged, else returns the Node for the original subtree. Note that
1013 -- this is used extensively by ASIS on the trees constructed in ASIS mode
1014 -- to reconstruct the original semantic tree. See section in sinfo.ads
1015 -- for requirements on original nodes returned by this function.
1017 -- Note: Parents are not preserved in original tree nodes that are
1018 -- retrieved in this way (i.e. their children may have children whose
1019 -- pointers which reference some other node). This needs more details???
1021 -- Note: there is no direct mechanism for deleting an original node (in
1022 -- a manner that can be reversed later). One possible approach is to use
1023 -- Rewrite to substitute a null statement for the node to be deleted.
1025 -----------------------------------
1026 -- Generic Field Access Routines --
1027 -----------------------------------
1029 -- This subpackage provides the functions for accessing and procedures for
1030 -- setting fields that are normally referenced by wrapper subprograms (e.g.
1031 -- logical synonyms defined in packages Sinfo and Einfo, or specialized
1032 -- routines such as Rewrite (for Original_Node), or the node creation
1033 -- routines (for Set_Nkind). The implementations of these wrapper
1034 -- subprograms use the package Atree.Unchecked_Access as do various
1035 -- special case accesses where no wrapper applies. Documentation is always
1036 -- required for such a special case access explaining why it is needed.
1038 package Unchecked_Access is
1040 -- Functions to allow interpretation of Union_Id values as Uint and
1041 -- Ureal values.
1043 function To_Union is new Unchecked_Conversion (Uint, Union_Id);
1044 function To_Union is new Unchecked_Conversion (Ureal, Union_Id);
1046 function From_Union is new Unchecked_Conversion (Union_Id, Uint);
1047 function From_Union is new Unchecked_Conversion (Union_Id, Ureal);
1049 -- Functions to fetch contents of indicated field. It is an error to
1050 -- attempt to read the value of a field which is not present.
1052 function Field1 (N : Node_Id) return Union_Id;
1053 pragma Inline (Field1);
1055 function Field2 (N : Node_Id) return Union_Id;
1056 pragma Inline (Field2);
1058 function Field3 (N : Node_Id) return Union_Id;
1059 pragma Inline (Field3);
1061 function Field4 (N : Node_Id) return Union_Id;
1062 pragma Inline (Field4);
1064 function Field5 (N : Node_Id) return Union_Id;
1065 pragma Inline (Field5);
1067 function Field6 (N : Node_Id) return Union_Id;
1068 pragma Inline (Field6);
1070 function Field7 (N : Node_Id) return Union_Id;
1071 pragma Inline (Field7);
1073 function Field8 (N : Node_Id) return Union_Id;
1074 pragma Inline (Field8);
1076 function Field9 (N : Node_Id) return Union_Id;
1077 pragma Inline (Field9);
1079 function Field10 (N : Node_Id) return Union_Id;
1080 pragma Inline (Field10);
1082 function Field11 (N : Node_Id) return Union_Id;
1083 pragma Inline (Field11);
1085 function Field12 (N : Node_Id) return Union_Id;
1086 pragma Inline (Field12);
1088 function Field13 (N : Node_Id) return Union_Id;
1089 pragma Inline (Field13);
1091 function Field14 (N : Node_Id) return Union_Id;
1092 pragma Inline (Field14);
1094 function Field15 (N : Node_Id) return Union_Id;
1095 pragma Inline (Field15);
1097 function Field16 (N : Node_Id) return Union_Id;
1098 pragma Inline (Field16);
1100 function Field17 (N : Node_Id) return Union_Id;
1101 pragma Inline (Field17);
1103 function Field18 (N : Node_Id) return Union_Id;
1104 pragma Inline (Field18);
1106 function Field19 (N : Node_Id) return Union_Id;
1107 pragma Inline (Field19);
1109 function Field20 (N : Node_Id) return Union_Id;
1110 pragma Inline (Field20);
1112 function Field21 (N : Node_Id) return Union_Id;
1113 pragma Inline (Field21);
1115 function Field22 (N : Node_Id) return Union_Id;
1116 pragma Inline (Field22);
1118 function Field23 (N : Node_Id) return Union_Id;
1119 pragma Inline (Field23);
1121 function Field24 (N : Node_Id) return Union_Id;
1122 pragma Inline (Field24);
1124 function Field25 (N : Node_Id) return Union_Id;
1125 pragma Inline (Field25);
1127 function Field26 (N : Node_Id) return Union_Id;
1128 pragma Inline (Field26);
1130 function Field27 (N : Node_Id) return Union_Id;
1131 pragma Inline (Field27);
1133 function Field28 (N : Node_Id) return Union_Id;
1134 pragma Inline (Field28);
1136 function Field29 (N : Node_Id) return Union_Id;
1137 pragma Inline (Field29);
1139 function Field30 (N : Node_Id) return Union_Id;
1140 pragma Inline (Field30);
1142 function Field31 (N : Node_Id) return Union_Id;
1143 pragma Inline (Field31);
1145 function Field32 (N : Node_Id) return Union_Id;
1146 pragma Inline (Field32);
1148 function Field33 (N : Node_Id) return Union_Id;
1149 pragma Inline (Field33);
1151 function Field34 (N : Node_Id) return Union_Id;
1152 pragma Inline (Field34);
1154 function Field35 (N : Node_Id) return Union_Id;
1155 pragma Inline (Field35);
1157 function Node1 (N : Node_Id) return Node_Id;
1158 pragma Inline (Node1);
1160 function Node2 (N : Node_Id) return Node_Id;
1161 pragma Inline (Node2);
1163 function Node3 (N : Node_Id) return Node_Id;
1164 pragma Inline (Node3);
1166 function Node4 (N : Node_Id) return Node_Id;
1167 pragma Inline (Node4);
1169 function Node5 (N : Node_Id) return Node_Id;
1170 pragma Inline (Node5);
1172 function Node6 (N : Node_Id) return Node_Id;
1173 pragma Inline (Node6);
1175 function Node7 (N : Node_Id) return Node_Id;
1176 pragma Inline (Node7);
1178 function Node8 (N : Node_Id) return Node_Id;
1179 pragma Inline (Node8);
1181 function Node9 (N : Node_Id) return Node_Id;
1182 pragma Inline (Node9);
1184 function Node10 (N : Node_Id) return Node_Id;
1185 pragma Inline (Node10);
1187 function Node11 (N : Node_Id) return Node_Id;
1188 pragma Inline (Node11);
1190 function Node12 (N : Node_Id) return Node_Id;
1191 pragma Inline (Node12);
1193 function Node13 (N : Node_Id) return Node_Id;
1194 pragma Inline (Node13);
1196 function Node14 (N : Node_Id) return Node_Id;
1197 pragma Inline (Node14);
1199 function Node15 (N : Node_Id) return Node_Id;
1200 pragma Inline (Node15);
1202 function Node16 (N : Node_Id) return Node_Id;
1203 pragma Inline (Node16);
1205 function Node17 (N : Node_Id) return Node_Id;
1206 pragma Inline (Node17);
1208 function Node18 (N : Node_Id) return Node_Id;
1209 pragma Inline (Node18);
1211 function Node19 (N : Node_Id) return Node_Id;
1212 pragma Inline (Node19);
1214 function Node20 (N : Node_Id) return Node_Id;
1215 pragma Inline (Node20);
1217 function Node21 (N : Node_Id) return Node_Id;
1218 pragma Inline (Node21);
1220 function Node22 (N : Node_Id) return Node_Id;
1221 pragma Inline (Node22);
1223 function Node23 (N : Node_Id) return Node_Id;
1224 pragma Inline (Node23);
1226 function Node24 (N : Node_Id) return Node_Id;
1227 pragma Inline (Node24);
1229 function Node25 (N : Node_Id) return Node_Id;
1230 pragma Inline (Node25);
1232 function Node26 (N : Node_Id) return Node_Id;
1233 pragma Inline (Node26);
1235 function Node27 (N : Node_Id) return Node_Id;
1236 pragma Inline (Node27);
1238 function Node28 (N : Node_Id) return Node_Id;
1239 pragma Inline (Node28);
1241 function Node29 (N : Node_Id) return Node_Id;
1242 pragma Inline (Node29);
1244 function Node30 (N : Node_Id) return Node_Id;
1245 pragma Inline (Node30);
1247 function Node31 (N : Node_Id) return Node_Id;
1248 pragma Inline (Node31);
1250 function Node32 (N : Node_Id) return Node_Id;
1251 pragma Inline (Node32);
1253 function Node33 (N : Node_Id) return Node_Id;
1254 pragma Inline (Node33);
1256 function Node34 (N : Node_Id) return Node_Id;
1257 pragma Inline (Node34);
1259 function Node35 (N : Node_Id) return Node_Id;
1260 pragma Inline (Node35);
1262 function List1 (N : Node_Id) return List_Id;
1263 pragma Inline (List1);
1265 function List2 (N : Node_Id) return List_Id;
1266 pragma Inline (List2);
1268 function List3 (N : Node_Id) return List_Id;
1269 pragma Inline (List3);
1271 function List4 (N : Node_Id) return List_Id;
1272 pragma Inline (List4);
1274 function List5 (N : Node_Id) return List_Id;
1275 pragma Inline (List5);
1277 function List10 (N : Node_Id) return List_Id;
1278 pragma Inline (List10);
1280 function List14 (N : Node_Id) return List_Id;
1281 pragma Inline (List14);
1283 function List25 (N : Node_Id) return List_Id;
1284 pragma Inline (List25);
1286 function Elist1 (N : Node_Id) return Elist_Id;
1287 pragma Inline (Elist1);
1289 function Elist2 (N : Node_Id) return Elist_Id;
1290 pragma Inline (Elist2);
1292 function Elist3 (N : Node_Id) return Elist_Id;
1293 pragma Inline (Elist3);
1295 function Elist4 (N : Node_Id) return Elist_Id;
1296 pragma Inline (Elist4);
1298 function Elist5 (N : Node_Id) return Elist_Id;
1299 pragma Inline (Elist5);
1301 function Elist8 (N : Node_Id) return Elist_Id;
1302 pragma Inline (Elist8);
1304 function Elist9 (N : Node_Id) return Elist_Id;
1305 pragma Inline (Elist9);
1307 function Elist10 (N : Node_Id) return Elist_Id;
1308 pragma Inline (Elist10);
1310 function Elist13 (N : Node_Id) return Elist_Id;
1311 pragma Inline (Elist13);
1313 function Elist15 (N : Node_Id) return Elist_Id;
1314 pragma Inline (Elist15);
1316 function Elist16 (N : Node_Id) return Elist_Id;
1317 pragma Inline (Elist16);
1319 function Elist18 (N : Node_Id) return Elist_Id;
1320 pragma Inline (Elist18);
1322 function Elist21 (N : Node_Id) return Elist_Id;
1323 pragma Inline (Elist21);
1325 function Elist23 (N : Node_Id) return Elist_Id;
1326 pragma Inline (Elist23);
1328 function Elist24 (N : Node_Id) return Elist_Id;
1329 pragma Inline (Elist24);
1331 function Elist25 (N : Node_Id) return Elist_Id;
1332 pragma Inline (Elist25);
1334 function Elist26 (N : Node_Id) return Elist_Id;
1335 pragma Inline (Elist26);
1337 function Name1 (N : Node_Id) return Name_Id;
1338 pragma Inline (Name1);
1340 function Name2 (N : Node_Id) return Name_Id;
1341 pragma Inline (Name2);
1343 function Str3 (N : Node_Id) return String_Id;
1344 pragma Inline (Str3);
1346 -- Note: the following Uintnn functions have a special test for the
1347 -- Field value being Empty. If an Empty value is found then Uint_0 is
1348 -- returned. This avoids the rather tricky requirement of initializing
1349 -- all Uint fields in nodes and entities.
1351 function Uint2 (N : Node_Id) return Uint;
1352 pragma Inline (Uint2);
1354 function Uint3 (N : Node_Id) return Uint;
1355 pragma Inline (Uint3);
1357 function Uint4 (N : Node_Id) return Uint;
1358 pragma Inline (Uint4);
1360 function Uint5 (N : Node_Id) return Uint;
1361 pragma Inline (Uint5);
1363 function Uint8 (N : Node_Id) return Uint;
1364 pragma Inline (Uint8);
1366 function Uint9 (N : Node_Id) return Uint;
1367 pragma Inline (Uint9);
1369 function Uint10 (N : Node_Id) return Uint;
1370 pragma Inline (Uint10);
1372 function Uint11 (N : Node_Id) return Uint;
1373 pragma Inline (Uint11);
1375 function Uint12 (N : Node_Id) return Uint;
1376 pragma Inline (Uint12);
1378 function Uint13 (N : Node_Id) return Uint;
1379 pragma Inline (Uint13);
1381 function Uint14 (N : Node_Id) return Uint;
1382 pragma Inline (Uint14);
1384 function Uint15 (N : Node_Id) return Uint;
1385 pragma Inline (Uint15);
1387 function Uint16 (N : Node_Id) return Uint;
1388 pragma Inline (Uint16);
1390 function Uint17 (N : Node_Id) return Uint;
1391 pragma Inline (Uint17);
1393 function Uint22 (N : Node_Id) return Uint;
1394 pragma Inline (Uint22);
1396 function Ureal3 (N : Node_Id) return Ureal;
1397 pragma Inline (Ureal3);
1399 function Ureal18 (N : Node_Id) return Ureal;
1400 pragma Inline (Ureal18);
1402 function Ureal21 (N : Node_Id) return Ureal;
1403 pragma Inline (Ureal21);
1405 function Flag0 (N : Node_Id) return Boolean;
1406 pragma Inline (Flag0);
1408 function Flag1 (N : Node_Id) return Boolean;
1409 pragma Inline (Flag1);
1411 function Flag2 (N : Node_Id) return Boolean;
1412 pragma Inline (Flag2);
1414 function Flag3 (N : Node_Id) return Boolean;
1415 pragma Inline (Flag3);
1417 function Flag4 (N : Node_Id) return Boolean;
1418 pragma Inline (Flag4);
1420 function Flag5 (N : Node_Id) return Boolean;
1421 pragma Inline (Flag5);
1423 function Flag6 (N : Node_Id) return Boolean;
1424 pragma Inline (Flag6);
1426 function Flag7 (N : Node_Id) return Boolean;
1427 pragma Inline (Flag7);
1429 function Flag8 (N : Node_Id) return Boolean;
1430 pragma Inline (Flag8);
1432 function Flag9 (N : Node_Id) return Boolean;
1433 pragma Inline (Flag9);
1435 function Flag10 (N : Node_Id) return Boolean;
1436 pragma Inline (Flag10);
1438 function Flag11 (N : Node_Id) return Boolean;
1439 pragma Inline (Flag11);
1441 function Flag12 (N : Node_Id) return Boolean;
1442 pragma Inline (Flag12);
1444 function Flag13 (N : Node_Id) return Boolean;
1445 pragma Inline (Flag13);
1447 function Flag14 (N : Node_Id) return Boolean;
1448 pragma Inline (Flag14);
1450 function Flag15 (N : Node_Id) return Boolean;
1451 pragma Inline (Flag15);
1453 function Flag16 (N : Node_Id) return Boolean;
1454 pragma Inline (Flag16);
1456 function Flag17 (N : Node_Id) return Boolean;
1457 pragma Inline (Flag17);
1459 function Flag18 (N : Node_Id) return Boolean;
1460 pragma Inline (Flag18);
1462 function Flag19 (N : Node_Id) return Boolean;
1463 pragma Inline (Flag19);
1465 function Flag20 (N : Node_Id) return Boolean;
1466 pragma Inline (Flag20);
1468 function Flag21 (N : Node_Id) return Boolean;
1469 pragma Inline (Flag21);
1471 function Flag22 (N : Node_Id) return Boolean;
1472 pragma Inline (Flag22);
1474 function Flag23 (N : Node_Id) return Boolean;
1475 pragma Inline (Flag23);
1477 function Flag24 (N : Node_Id) return Boolean;
1478 pragma Inline (Flag24);
1480 function Flag25 (N : Node_Id) return Boolean;
1481 pragma Inline (Flag25);
1483 function Flag26 (N : Node_Id) return Boolean;
1484 pragma Inline (Flag26);
1486 function Flag27 (N : Node_Id) return Boolean;
1487 pragma Inline (Flag27);
1489 function Flag28 (N : Node_Id) return Boolean;
1490 pragma Inline (Flag28);
1492 function Flag29 (N : Node_Id) return Boolean;
1493 pragma Inline (Flag29);
1495 function Flag30 (N : Node_Id) return Boolean;
1496 pragma Inline (Flag30);
1498 function Flag31 (N : Node_Id) return Boolean;
1499 pragma Inline (Flag31);
1501 function Flag32 (N : Node_Id) return Boolean;
1502 pragma Inline (Flag32);
1504 function Flag33 (N : Node_Id) return Boolean;
1505 pragma Inline (Flag33);
1507 function Flag34 (N : Node_Id) return Boolean;
1508 pragma Inline (Flag34);
1510 function Flag35 (N : Node_Id) return Boolean;
1511 pragma Inline (Flag35);
1513 function Flag36 (N : Node_Id) return Boolean;
1514 pragma Inline (Flag36);
1516 function Flag37 (N : Node_Id) return Boolean;
1517 pragma Inline (Flag37);
1519 function Flag38 (N : Node_Id) return Boolean;
1520 pragma Inline (Flag38);
1522 function Flag39 (N : Node_Id) return Boolean;
1523 pragma Inline (Flag39);
1525 function Flag40 (N : Node_Id) return Boolean;
1526 pragma Inline (Flag40);
1528 function Flag41 (N : Node_Id) return Boolean;
1529 pragma Inline (Flag41);
1531 function Flag42 (N : Node_Id) return Boolean;
1532 pragma Inline (Flag42);
1534 function Flag43 (N : Node_Id) return Boolean;
1535 pragma Inline (Flag43);
1537 function Flag44 (N : Node_Id) return Boolean;
1538 pragma Inline (Flag44);
1540 function Flag45 (N : Node_Id) return Boolean;
1541 pragma Inline (Flag45);
1543 function Flag46 (N : Node_Id) return Boolean;
1544 pragma Inline (Flag46);
1546 function Flag47 (N : Node_Id) return Boolean;
1547 pragma Inline (Flag47);
1549 function Flag48 (N : Node_Id) return Boolean;
1550 pragma Inline (Flag48);
1552 function Flag49 (N : Node_Id) return Boolean;
1553 pragma Inline (Flag49);
1555 function Flag50 (N : Node_Id) return Boolean;
1556 pragma Inline (Flag50);
1558 function Flag51 (N : Node_Id) return Boolean;
1559 pragma Inline (Flag51);
1561 function Flag52 (N : Node_Id) return Boolean;
1562 pragma Inline (Flag52);
1564 function Flag53 (N : Node_Id) return Boolean;
1565 pragma Inline (Flag53);
1567 function Flag54 (N : Node_Id) return Boolean;
1568 pragma Inline (Flag54);
1570 function Flag55 (N : Node_Id) return Boolean;
1571 pragma Inline (Flag55);
1573 function Flag56 (N : Node_Id) return Boolean;
1574 pragma Inline (Flag56);
1576 function Flag57 (N : Node_Id) return Boolean;
1577 pragma Inline (Flag57);
1579 function Flag58 (N : Node_Id) return Boolean;
1580 pragma Inline (Flag58);
1582 function Flag59 (N : Node_Id) return Boolean;
1583 pragma Inline (Flag59);
1585 function Flag60 (N : Node_Id) return Boolean;
1586 pragma Inline (Flag60);
1588 function Flag61 (N : Node_Id) return Boolean;
1589 pragma Inline (Flag61);
1591 function Flag62 (N : Node_Id) return Boolean;
1592 pragma Inline (Flag62);
1594 function Flag63 (N : Node_Id) return Boolean;
1595 pragma Inline (Flag63);
1597 function Flag64 (N : Node_Id) return Boolean;
1598 pragma Inline (Flag64);
1600 function Flag65 (N : Node_Id) return Boolean;
1601 pragma Inline (Flag65);
1603 function Flag66 (N : Node_Id) return Boolean;
1604 pragma Inline (Flag66);
1606 function Flag67 (N : Node_Id) return Boolean;
1607 pragma Inline (Flag67);
1609 function Flag68 (N : Node_Id) return Boolean;
1610 pragma Inline (Flag68);
1612 function Flag69 (N : Node_Id) return Boolean;
1613 pragma Inline (Flag69);
1615 function Flag70 (N : Node_Id) return Boolean;
1616 pragma Inline (Flag70);
1618 function Flag71 (N : Node_Id) return Boolean;
1619 pragma Inline (Flag71);
1621 function Flag72 (N : Node_Id) return Boolean;
1622 pragma Inline (Flag72);
1624 function Flag73 (N : Node_Id) return Boolean;
1625 pragma Inline (Flag73);
1627 function Flag74 (N : Node_Id) return Boolean;
1628 pragma Inline (Flag74);
1630 function Flag75 (N : Node_Id) return Boolean;
1631 pragma Inline (Flag75);
1633 function Flag76 (N : Node_Id) return Boolean;
1634 pragma Inline (Flag76);
1636 function Flag77 (N : Node_Id) return Boolean;
1637 pragma Inline (Flag77);
1639 function Flag78 (N : Node_Id) return Boolean;
1640 pragma Inline (Flag78);
1642 function Flag79 (N : Node_Id) return Boolean;
1643 pragma Inline (Flag79);
1645 function Flag80 (N : Node_Id) return Boolean;
1646 pragma Inline (Flag80);
1648 function Flag81 (N : Node_Id) return Boolean;
1649 pragma Inline (Flag81);
1651 function Flag82 (N : Node_Id) return Boolean;
1652 pragma Inline (Flag82);
1654 function Flag83 (N : Node_Id) return Boolean;
1655 pragma Inline (Flag83);
1657 function Flag84 (N : Node_Id) return Boolean;
1658 pragma Inline (Flag84);
1660 function Flag85 (N : Node_Id) return Boolean;
1661 pragma Inline (Flag85);
1663 function Flag86 (N : Node_Id) return Boolean;
1664 pragma Inline (Flag86);
1666 function Flag87 (N : Node_Id) return Boolean;
1667 pragma Inline (Flag87);
1669 function Flag88 (N : Node_Id) return Boolean;
1670 pragma Inline (Flag88);
1672 function Flag89 (N : Node_Id) return Boolean;
1673 pragma Inline (Flag89);
1675 function Flag90 (N : Node_Id) return Boolean;
1676 pragma Inline (Flag90);
1678 function Flag91 (N : Node_Id) return Boolean;
1679 pragma Inline (Flag91);
1681 function Flag92 (N : Node_Id) return Boolean;
1682 pragma Inline (Flag92);
1684 function Flag93 (N : Node_Id) return Boolean;
1685 pragma Inline (Flag93);
1687 function Flag94 (N : Node_Id) return Boolean;
1688 pragma Inline (Flag94);
1690 function Flag95 (N : Node_Id) return Boolean;
1691 pragma Inline (Flag95);
1693 function Flag96 (N : Node_Id) return Boolean;
1694 pragma Inline (Flag96);
1696 function Flag97 (N : Node_Id) return Boolean;
1697 pragma Inline (Flag97);
1699 function Flag98 (N : Node_Id) return Boolean;
1700 pragma Inline (Flag98);
1702 function Flag99 (N : Node_Id) return Boolean;
1703 pragma Inline (Flag99);
1705 function Flag100 (N : Node_Id) return Boolean;
1706 pragma Inline (Flag100);
1708 function Flag101 (N : Node_Id) return Boolean;
1709 pragma Inline (Flag101);
1711 function Flag102 (N : Node_Id) return Boolean;
1712 pragma Inline (Flag102);
1714 function Flag103 (N : Node_Id) return Boolean;
1715 pragma Inline (Flag103);
1717 function Flag104 (N : Node_Id) return Boolean;
1718 pragma Inline (Flag104);
1720 function Flag105 (N : Node_Id) return Boolean;
1721 pragma Inline (Flag105);
1723 function Flag106 (N : Node_Id) return Boolean;
1724 pragma Inline (Flag106);
1726 function Flag107 (N : Node_Id) return Boolean;
1727 pragma Inline (Flag107);
1729 function Flag108 (N : Node_Id) return Boolean;
1730 pragma Inline (Flag108);
1732 function Flag109 (N : Node_Id) return Boolean;
1733 pragma Inline (Flag109);
1735 function Flag110 (N : Node_Id) return Boolean;
1736 pragma Inline (Flag110);
1738 function Flag111 (N : Node_Id) return Boolean;
1739 pragma Inline (Flag111);
1741 function Flag112 (N : Node_Id) return Boolean;
1742 pragma Inline (Flag112);
1744 function Flag113 (N : Node_Id) return Boolean;
1745 pragma Inline (Flag113);
1747 function Flag114 (N : Node_Id) return Boolean;
1748 pragma Inline (Flag114);
1750 function Flag115 (N : Node_Id) return Boolean;
1751 pragma Inline (Flag115);
1753 function Flag116 (N : Node_Id) return Boolean;
1754 pragma Inline (Flag116);
1756 function Flag117 (N : Node_Id) return Boolean;
1757 pragma Inline (Flag117);
1759 function Flag118 (N : Node_Id) return Boolean;
1760 pragma Inline (Flag118);
1762 function Flag119 (N : Node_Id) return Boolean;
1763 pragma Inline (Flag119);
1765 function Flag120 (N : Node_Id) return Boolean;
1766 pragma Inline (Flag120);
1768 function Flag121 (N : Node_Id) return Boolean;
1769 pragma Inline (Flag121);
1771 function Flag122 (N : Node_Id) return Boolean;
1772 pragma Inline (Flag122);
1774 function Flag123 (N : Node_Id) return Boolean;
1775 pragma Inline (Flag123);
1777 function Flag124 (N : Node_Id) return Boolean;
1778 pragma Inline (Flag124);
1780 function Flag125 (N : Node_Id) return Boolean;
1781 pragma Inline (Flag125);
1783 function Flag126 (N : Node_Id) return Boolean;
1784 pragma Inline (Flag126);
1786 function Flag127 (N : Node_Id) return Boolean;
1787 pragma Inline (Flag127);
1789 function Flag128 (N : Node_Id) return Boolean;
1790 pragma Inline (Flag128);
1792 function Flag129 (N : Node_Id) return Boolean;
1793 pragma Inline (Flag129);
1795 function Flag130 (N : Node_Id) return Boolean;
1796 pragma Inline (Flag130);
1798 function Flag131 (N : Node_Id) return Boolean;
1799 pragma Inline (Flag131);
1801 function Flag132 (N : Node_Id) return Boolean;
1802 pragma Inline (Flag132);
1804 function Flag133 (N : Node_Id) return Boolean;
1805 pragma Inline (Flag133);
1807 function Flag134 (N : Node_Id) return Boolean;
1808 pragma Inline (Flag134);
1810 function Flag135 (N : Node_Id) return Boolean;
1811 pragma Inline (Flag135);
1813 function Flag136 (N : Node_Id) return Boolean;
1814 pragma Inline (Flag136);
1816 function Flag137 (N : Node_Id) return Boolean;
1817 pragma Inline (Flag137);
1819 function Flag138 (N : Node_Id) return Boolean;
1820 pragma Inline (Flag138);
1822 function Flag139 (N : Node_Id) return Boolean;
1823 pragma Inline (Flag139);
1825 function Flag140 (N : Node_Id) return Boolean;
1826 pragma Inline (Flag140);
1828 function Flag141 (N : Node_Id) return Boolean;
1829 pragma Inline (Flag141);
1831 function Flag142 (N : Node_Id) return Boolean;
1832 pragma Inline (Flag142);
1834 function Flag143 (N : Node_Id) return Boolean;
1835 pragma Inline (Flag143);
1837 function Flag144 (N : Node_Id) return Boolean;
1838 pragma Inline (Flag144);
1840 function Flag145 (N : Node_Id) return Boolean;
1841 pragma Inline (Flag145);
1843 function Flag146 (N : Node_Id) return Boolean;
1844 pragma Inline (Flag146);
1846 function Flag147 (N : Node_Id) return Boolean;
1847 pragma Inline (Flag147);
1849 function Flag148 (N : Node_Id) return Boolean;
1850 pragma Inline (Flag148);
1852 function Flag149 (N : Node_Id) return Boolean;
1853 pragma Inline (Flag149);
1855 function Flag150 (N : Node_Id) return Boolean;
1856 pragma Inline (Flag150);
1858 function Flag151 (N : Node_Id) return Boolean;
1859 pragma Inline (Flag151);
1861 function Flag152 (N : Node_Id) return Boolean;
1862 pragma Inline (Flag152);
1864 function Flag153 (N : Node_Id) return Boolean;
1865 pragma Inline (Flag153);
1867 function Flag154 (N : Node_Id) return Boolean;
1868 pragma Inline (Flag154);
1870 function Flag155 (N : Node_Id) return Boolean;
1871 pragma Inline (Flag155);
1873 function Flag156 (N : Node_Id) return Boolean;
1874 pragma Inline (Flag156);
1876 function Flag157 (N : Node_Id) return Boolean;
1877 pragma Inline (Flag157);
1879 function Flag158 (N : Node_Id) return Boolean;
1880 pragma Inline (Flag158);
1882 function Flag159 (N : Node_Id) return Boolean;
1883 pragma Inline (Flag159);
1885 function Flag160 (N : Node_Id) return Boolean;
1886 pragma Inline (Flag160);
1888 function Flag161 (N : Node_Id) return Boolean;
1889 pragma Inline (Flag161);
1891 function Flag162 (N : Node_Id) return Boolean;
1892 pragma Inline (Flag162);
1894 function Flag163 (N : Node_Id) return Boolean;
1895 pragma Inline (Flag163);
1897 function Flag164 (N : Node_Id) return Boolean;
1898 pragma Inline (Flag164);
1900 function Flag165 (N : Node_Id) return Boolean;
1901 pragma Inline (Flag165);
1903 function Flag166 (N : Node_Id) return Boolean;
1904 pragma Inline (Flag166);
1906 function Flag167 (N : Node_Id) return Boolean;
1907 pragma Inline (Flag167);
1909 function Flag168 (N : Node_Id) return Boolean;
1910 pragma Inline (Flag168);
1912 function Flag169 (N : Node_Id) return Boolean;
1913 pragma Inline (Flag169);
1915 function Flag170 (N : Node_Id) return Boolean;
1916 pragma Inline (Flag170);
1918 function Flag171 (N : Node_Id) return Boolean;
1919 pragma Inline (Flag171);
1921 function Flag172 (N : Node_Id) return Boolean;
1922 pragma Inline (Flag172);
1924 function Flag173 (N : Node_Id) return Boolean;
1925 pragma Inline (Flag173);
1927 function Flag174 (N : Node_Id) return Boolean;
1928 pragma Inline (Flag174);
1930 function Flag175 (N : Node_Id) return Boolean;
1931 pragma Inline (Flag175);
1933 function Flag176 (N : Node_Id) return Boolean;
1934 pragma Inline (Flag176);
1936 function Flag177 (N : Node_Id) return Boolean;
1937 pragma Inline (Flag177);
1939 function Flag178 (N : Node_Id) return Boolean;
1940 pragma Inline (Flag178);
1942 function Flag179 (N : Node_Id) return Boolean;
1943 pragma Inline (Flag179);
1945 function Flag180 (N : Node_Id) return Boolean;
1946 pragma Inline (Flag180);
1948 function Flag181 (N : Node_Id) return Boolean;
1949 pragma Inline (Flag181);
1951 function Flag182 (N : Node_Id) return Boolean;
1952 pragma Inline (Flag182);
1954 function Flag183 (N : Node_Id) return Boolean;
1955 pragma Inline (Flag183);
1957 function Flag184 (N : Node_Id) return Boolean;
1958 pragma Inline (Flag184);
1960 function Flag185 (N : Node_Id) return Boolean;
1961 pragma Inline (Flag185);
1963 function Flag186 (N : Node_Id) return Boolean;
1964 pragma Inline (Flag186);
1966 function Flag187 (N : Node_Id) return Boolean;
1967 pragma Inline (Flag187);
1969 function Flag188 (N : Node_Id) return Boolean;
1970 pragma Inline (Flag188);
1972 function Flag189 (N : Node_Id) return Boolean;
1973 pragma Inline (Flag189);
1975 function Flag190 (N : Node_Id) return Boolean;
1976 pragma Inline (Flag190);
1978 function Flag191 (N : Node_Id) return Boolean;
1979 pragma Inline (Flag191);
1981 function Flag192 (N : Node_Id) return Boolean;
1982 pragma Inline (Flag192);
1984 function Flag193 (N : Node_Id) return Boolean;
1985 pragma Inline (Flag193);
1987 function Flag194 (N : Node_Id) return Boolean;
1988 pragma Inline (Flag194);
1990 function Flag195 (N : Node_Id) return Boolean;
1991 pragma Inline (Flag195);
1993 function Flag196 (N : Node_Id) return Boolean;
1994 pragma Inline (Flag196);
1996 function Flag197 (N : Node_Id) return Boolean;
1997 pragma Inline (Flag197);
1999 function Flag198 (N : Node_Id) return Boolean;
2000 pragma Inline (Flag198);
2002 function Flag199 (N : Node_Id) return Boolean;
2003 pragma Inline (Flag199);
2005 function Flag200 (N : Node_Id) return Boolean;
2006 pragma Inline (Flag200);
2008 function Flag201 (N : Node_Id) return Boolean;
2009 pragma Inline (Flag201);
2011 function Flag202 (N : Node_Id) return Boolean;
2012 pragma Inline (Flag202);
2014 function Flag203 (N : Node_Id) return Boolean;
2015 pragma Inline (Flag203);
2017 function Flag204 (N : Node_Id) return Boolean;
2018 pragma Inline (Flag204);
2020 function Flag205 (N : Node_Id) return Boolean;
2021 pragma Inline (Flag205);
2023 function Flag206 (N : Node_Id) return Boolean;
2024 pragma Inline (Flag206);
2026 function Flag207 (N : Node_Id) return Boolean;
2027 pragma Inline (Flag207);
2029 function Flag208 (N : Node_Id) return Boolean;
2030 pragma Inline (Flag208);
2032 function Flag209 (N : Node_Id) return Boolean;
2033 pragma Inline (Flag209);
2035 function Flag210 (N : Node_Id) return Boolean;
2036 pragma Inline (Flag210);
2038 function Flag211 (N : Node_Id) return Boolean;
2039 pragma Inline (Flag211);
2041 function Flag212 (N : Node_Id) return Boolean;
2042 pragma Inline (Flag212);
2044 function Flag213 (N : Node_Id) return Boolean;
2045 pragma Inline (Flag213);
2047 function Flag214 (N : Node_Id) return Boolean;
2048 pragma Inline (Flag214);
2050 function Flag215 (N : Node_Id) return Boolean;
2051 pragma Inline (Flag215);
2053 function Flag216 (N : Node_Id) return Boolean;
2054 pragma Inline (Flag216);
2056 function Flag217 (N : Node_Id) return Boolean;
2057 pragma Inline (Flag217);
2059 function Flag218 (N : Node_Id) return Boolean;
2060 pragma Inline (Flag218);
2062 function Flag219 (N : Node_Id) return Boolean;
2063 pragma Inline (Flag219);
2065 function Flag220 (N : Node_Id) return Boolean;
2066 pragma Inline (Flag220);
2068 function Flag221 (N : Node_Id) return Boolean;
2069 pragma Inline (Flag221);
2071 function Flag222 (N : Node_Id) return Boolean;
2072 pragma Inline (Flag222);
2074 function Flag223 (N : Node_Id) return Boolean;
2075 pragma Inline (Flag223);
2077 function Flag224 (N : Node_Id) return Boolean;
2078 pragma Inline (Flag224);
2080 function Flag225 (N : Node_Id) return Boolean;
2081 pragma Inline (Flag225);
2083 function Flag226 (N : Node_Id) return Boolean;
2084 pragma Inline (Flag226);
2086 function Flag227 (N : Node_Id) return Boolean;
2087 pragma Inline (Flag227);
2089 function Flag228 (N : Node_Id) return Boolean;
2090 pragma Inline (Flag228);
2092 function Flag229 (N : Node_Id) return Boolean;
2093 pragma Inline (Flag229);
2095 function Flag230 (N : Node_Id) return Boolean;
2096 pragma Inline (Flag230);
2098 function Flag231 (N : Node_Id) return Boolean;
2099 pragma Inline (Flag231);
2101 function Flag232 (N : Node_Id) return Boolean;
2102 pragma Inline (Flag232);
2104 function Flag233 (N : Node_Id) return Boolean;
2105 pragma Inline (Flag233);
2107 function Flag234 (N : Node_Id) return Boolean;
2108 pragma Inline (Flag234);
2110 function Flag235 (N : Node_Id) return Boolean;
2111 pragma Inline (Flag235);
2113 function Flag236 (N : Node_Id) return Boolean;
2114 pragma Inline (Flag236);
2116 function Flag237 (N : Node_Id) return Boolean;
2117 pragma Inline (Flag237);
2119 function Flag238 (N : Node_Id) return Boolean;
2120 pragma Inline (Flag238);
2122 function Flag239 (N : Node_Id) return Boolean;
2123 pragma Inline (Flag239);
2125 function Flag240 (N : Node_Id) return Boolean;
2126 pragma Inline (Flag240);
2128 function Flag241 (N : Node_Id) return Boolean;
2129 pragma Inline (Flag241);
2131 function Flag242 (N : Node_Id) return Boolean;
2132 pragma Inline (Flag242);
2134 function Flag243 (N : Node_Id) return Boolean;
2135 pragma Inline (Flag243);
2137 function Flag244 (N : Node_Id) return Boolean;
2138 pragma Inline (Flag244);
2140 function Flag245 (N : Node_Id) return Boolean;
2141 pragma Inline (Flag245);
2143 function Flag246 (N : Node_Id) return Boolean;
2144 pragma Inline (Flag246);
2146 function Flag247 (N : Node_Id) return Boolean;
2147 pragma Inline (Flag247);
2149 function Flag248 (N : Node_Id) return Boolean;
2150 pragma Inline (Flag248);
2152 function Flag249 (N : Node_Id) return Boolean;
2153 pragma Inline (Flag249);
2155 function Flag250 (N : Node_Id) return Boolean;
2156 pragma Inline (Flag250);
2158 function Flag251 (N : Node_Id) return Boolean;
2159 pragma Inline (Flag251);
2161 function Flag252 (N : Node_Id) return Boolean;
2162 pragma Inline (Flag252);
2164 function Flag253 (N : Node_Id) return Boolean;
2165 pragma Inline (Flag253);
2167 function Flag254 (N : Node_Id) return Boolean;
2168 pragma Inline (Flag254);
2170 function Flag255 (N : Node_Id) return Boolean;
2171 pragma Inline (Flag255);
2173 function Flag256 (N : Node_Id) return Boolean;
2174 pragma Inline (Flag256);
2176 function Flag257 (N : Node_Id) return Boolean;
2177 pragma Inline (Flag257);
2179 function Flag258 (N : Node_Id) return Boolean;
2180 pragma Inline (Flag258);
2182 function Flag259 (N : Node_Id) return Boolean;
2183 pragma Inline (Flag259);
2185 function Flag260 (N : Node_Id) return Boolean;
2186 pragma Inline (Flag260);
2188 function Flag261 (N : Node_Id) return Boolean;
2189 pragma Inline (Flag261);
2191 function Flag262 (N : Node_Id) return Boolean;
2192 pragma Inline (Flag262);
2194 function Flag263 (N : Node_Id) return Boolean;
2195 pragma Inline (Flag263);
2197 function Flag264 (N : Node_Id) return Boolean;
2198 pragma Inline (Flag264);
2200 function Flag265 (N : Node_Id) return Boolean;
2201 pragma Inline (Flag265);
2203 function Flag266 (N : Node_Id) return Boolean;
2204 pragma Inline (Flag266);
2206 function Flag267 (N : Node_Id) return Boolean;
2207 pragma Inline (Flag267);
2209 function Flag268 (N : Node_Id) return Boolean;
2210 pragma Inline (Flag268);
2212 function Flag269 (N : Node_Id) return Boolean;
2213 pragma Inline (Flag269);
2215 function Flag270 (N : Node_Id) return Boolean;
2216 pragma Inline (Flag270);
2218 function Flag271 (N : Node_Id) return Boolean;
2219 pragma Inline (Flag271);
2221 function Flag272 (N : Node_Id) return Boolean;
2222 pragma Inline (Flag272);
2224 function Flag273 (N : Node_Id) return Boolean;
2225 pragma Inline (Flag273);
2227 function Flag274 (N : Node_Id) return Boolean;
2228 pragma Inline (Flag274);
2230 function Flag275 (N : Node_Id) return Boolean;
2231 pragma Inline (Flag275);
2233 function Flag276 (N : Node_Id) return Boolean;
2234 pragma Inline (Flag276);
2236 function Flag277 (N : Node_Id) return Boolean;
2237 pragma Inline (Flag277);
2239 function Flag278 (N : Node_Id) return Boolean;
2240 pragma Inline (Flag278);
2242 function Flag279 (N : Node_Id) return Boolean;
2243 pragma Inline (Flag279);
2245 function Flag280 (N : Node_Id) return Boolean;
2246 pragma Inline (Flag280);
2248 function Flag281 (N : Node_Id) return Boolean;
2249 pragma Inline (Flag281);
2251 function Flag282 (N : Node_Id) return Boolean;
2252 pragma Inline (Flag282);
2254 function Flag283 (N : Node_Id) return Boolean;
2255 pragma Inline (Flag283);
2257 function Flag284 (N : Node_Id) return Boolean;
2258 pragma Inline (Flag284);
2260 function Flag285 (N : Node_Id) return Boolean;
2261 pragma Inline (Flag285);
2263 function Flag286 (N : Node_Id) return Boolean;
2264 pragma Inline (Flag286);
2266 function Flag287 (N : Node_Id) return Boolean;
2267 pragma Inline (Flag287);
2269 function Flag288 (N : Node_Id) return Boolean;
2270 pragma Inline (Flag288);
2272 function Flag289 (N : Node_Id) return Boolean;
2273 pragma Inline (Flag289);
2275 function Flag290 (N : Node_Id) return Boolean;
2276 pragma Inline (Flag290);
2278 function Flag291 (N : Node_Id) return Boolean;
2279 pragma Inline (Flag291);
2281 function Flag292 (N : Node_Id) return Boolean;
2282 pragma Inline (Flag292);
2284 function Flag293 (N : Node_Id) return Boolean;
2285 pragma Inline (Flag293);
2287 function Flag294 (N : Node_Id) return Boolean;
2288 pragma Inline (Flag294);
2290 function Flag295 (N : Node_Id) return Boolean;
2291 pragma Inline (Flag295);
2293 function Flag296 (N : Node_Id) return Boolean;
2294 pragma Inline (Flag296);
2296 function Flag297 (N : Node_Id) return Boolean;
2297 pragma Inline (Flag297);
2299 function Flag298 (N : Node_Id) return Boolean;
2300 pragma Inline (Flag298);
2302 function Flag299 (N : Node_Id) return Boolean;
2303 pragma Inline (Flag299);
2305 function Flag300 (N : Node_Id) return Boolean;
2306 pragma Inline (Flag300);
2308 function Flag301 (N : Node_Id) return Boolean;
2309 pragma Inline (Flag301);
2311 function Flag302 (N : Node_Id) return Boolean;
2312 pragma Inline (Flag302);
2314 function Flag303 (N : Node_Id) return Boolean;
2315 pragma Inline (Flag303);
2317 function Flag304 (N : Node_Id) return Boolean;
2318 pragma Inline (Flag304);
2320 function Flag305 (N : Node_Id) return Boolean;
2321 pragma Inline (Flag305);
2323 function Flag306 (N : Node_Id) return Boolean;
2324 pragma Inline (Flag306);
2326 function Flag307 (N : Node_Id) return Boolean;
2327 pragma Inline (Flag307);
2329 function Flag308 (N : Node_Id) return Boolean;
2330 pragma Inline (Flag308);
2332 function Flag309 (N : Node_Id) return Boolean;
2333 pragma Inline (Flag309);
2335 function Flag310 (N : Node_Id) return Boolean;
2336 pragma Inline (Flag310);
2338 function Flag311 (N : Node_Id) return Boolean;
2339 pragma Inline (Flag311);
2341 function Flag312 (N : Node_Id) return Boolean;
2342 pragma Inline (Flag312);
2344 function Flag313 (N : Node_Id) return Boolean;
2345 pragma Inline (Flag313);
2347 function Flag314 (N : Node_Id) return Boolean;
2348 pragma Inline (Flag314);
2350 function Flag315 (N : Node_Id) return Boolean;
2351 pragma Inline (Flag315);
2353 function Flag316 (N : Node_Id) return Boolean;
2354 pragma Inline (Flag316);
2356 function Flag317 (N : Node_Id) return Boolean;
2357 pragma Inline (Flag317);
2359 -- Procedures to set value of indicated field
2361 procedure Set_Nkind (N : Node_Id; Val : Node_Kind);
2362 pragma Inline (Set_Nkind);
2364 procedure Set_Field1 (N : Node_Id; Val : Union_Id);
2365 pragma Inline (Set_Field1);
2367 procedure Set_Field2 (N : Node_Id; Val : Union_Id);
2368 pragma Inline (Set_Field2);
2370 procedure Set_Field3 (N : Node_Id; Val : Union_Id);
2371 pragma Inline (Set_Field3);
2373 procedure Set_Field4 (N : Node_Id; Val : Union_Id);
2374 pragma Inline (Set_Field4);
2376 procedure Set_Field5 (N : Node_Id; Val : Union_Id);
2377 pragma Inline (Set_Field5);
2379 procedure Set_Field6 (N : Node_Id; Val : Union_Id);
2380 pragma Inline (Set_Field6);
2382 procedure Set_Field7 (N : Node_Id; Val : Union_Id);
2383 pragma Inline (Set_Field7);
2385 procedure Set_Field8 (N : Node_Id; Val : Union_Id);
2386 pragma Inline (Set_Field8);
2388 procedure Set_Field9 (N : Node_Id; Val : Union_Id);
2389 pragma Inline (Set_Field9);
2391 procedure Set_Field10 (N : Node_Id; Val : Union_Id);
2392 pragma Inline (Set_Field10);
2394 procedure Set_Field11 (N : Node_Id; Val : Union_Id);
2395 pragma Inline (Set_Field11);
2397 procedure Set_Field12 (N : Node_Id; Val : Union_Id);
2398 pragma Inline (Set_Field12);
2400 procedure Set_Field13 (N : Node_Id; Val : Union_Id);
2401 pragma Inline (Set_Field13);
2403 procedure Set_Field14 (N : Node_Id; Val : Union_Id);
2404 pragma Inline (Set_Field14);
2406 procedure Set_Field15 (N : Node_Id; Val : Union_Id);
2407 pragma Inline (Set_Field15);
2409 procedure Set_Field16 (N : Node_Id; Val : Union_Id);
2410 pragma Inline (Set_Field16);
2412 procedure Set_Field17 (N : Node_Id; Val : Union_Id);
2413 pragma Inline (Set_Field17);
2415 procedure Set_Field18 (N : Node_Id; Val : Union_Id);
2416 pragma Inline (Set_Field18);
2418 procedure Set_Field19 (N : Node_Id; Val : Union_Id);
2419 pragma Inline (Set_Field19);
2421 procedure Set_Field20 (N : Node_Id; Val : Union_Id);
2422 pragma Inline (Set_Field20);
2424 procedure Set_Field21 (N : Node_Id; Val : Union_Id);
2425 pragma Inline (Set_Field21);
2427 procedure Set_Field22 (N : Node_Id; Val : Union_Id);
2428 pragma Inline (Set_Field22);
2430 procedure Set_Field23 (N : Node_Id; Val : Union_Id);
2431 pragma Inline (Set_Field23);
2433 procedure Set_Field24 (N : Node_Id; Val : Union_Id);
2434 pragma Inline (Set_Field24);
2436 procedure Set_Field25 (N : Node_Id; Val : Union_Id);
2437 pragma Inline (Set_Field25);
2439 procedure Set_Field26 (N : Node_Id; Val : Union_Id);
2440 pragma Inline (Set_Field26);
2442 procedure Set_Field27 (N : Node_Id; Val : Union_Id);
2443 pragma Inline (Set_Field27);
2445 procedure Set_Field28 (N : Node_Id; Val : Union_Id);
2446 pragma Inline (Set_Field28);
2448 procedure Set_Field29 (N : Node_Id; Val : Union_Id);
2449 pragma Inline (Set_Field29);
2451 procedure Set_Field30 (N : Node_Id; Val : Union_Id);
2452 pragma Inline (Set_Field30);
2454 procedure Set_Field31 (N : Node_Id; Val : Union_Id);
2455 pragma Inline (Set_Field31);
2457 procedure Set_Field32 (N : Node_Id; Val : Union_Id);
2458 pragma Inline (Set_Field32);
2460 procedure Set_Field33 (N : Node_Id; Val : Union_Id);
2461 pragma Inline (Set_Field33);
2463 procedure Set_Field34 (N : Node_Id; Val : Union_Id);
2464 pragma Inline (Set_Field34);
2466 procedure Set_Field35 (N : Node_Id; Val : Union_Id);
2467 pragma Inline (Set_Field35);
2469 procedure Set_Node1 (N : Node_Id; Val : Node_Id);
2470 pragma Inline (Set_Node1);
2472 procedure Set_Node2 (N : Node_Id; Val : Node_Id);
2473 pragma Inline (Set_Node2);
2475 procedure Set_Node3 (N : Node_Id; Val : Node_Id);
2476 pragma Inline (Set_Node3);
2478 procedure Set_Node4 (N : Node_Id; Val : Node_Id);
2479 pragma Inline (Set_Node4);
2481 procedure Set_Node5 (N : Node_Id; Val : Node_Id);
2482 pragma Inline (Set_Node5);
2484 procedure Set_Node6 (N : Node_Id; Val : Node_Id);
2485 pragma Inline (Set_Node6);
2487 procedure Set_Node7 (N : Node_Id; Val : Node_Id);
2488 pragma Inline (Set_Node7);
2490 procedure Set_Node8 (N : Node_Id; Val : Node_Id);
2491 pragma Inline (Set_Node8);
2493 procedure Set_Node9 (N : Node_Id; Val : Node_Id);
2494 pragma Inline (Set_Node9);
2496 procedure Set_Node10 (N : Node_Id; Val : Node_Id);
2497 pragma Inline (Set_Node10);
2499 procedure Set_Node11 (N : Node_Id; Val : Node_Id);
2500 pragma Inline (Set_Node11);
2502 procedure Set_Node12 (N : Node_Id; Val : Node_Id);
2503 pragma Inline (Set_Node12);
2505 procedure Set_Node13 (N : Node_Id; Val : Node_Id);
2506 pragma Inline (Set_Node13);
2508 procedure Set_Node14 (N : Node_Id; Val : Node_Id);
2509 pragma Inline (Set_Node14);
2511 procedure Set_Node15 (N : Node_Id; Val : Node_Id);
2512 pragma Inline (Set_Node15);
2514 procedure Set_Node16 (N : Node_Id; Val : Node_Id);
2515 pragma Inline (Set_Node16);
2517 procedure Set_Node17 (N : Node_Id; Val : Node_Id);
2518 pragma Inline (Set_Node17);
2520 procedure Set_Node18 (N : Node_Id; Val : Node_Id);
2521 pragma Inline (Set_Node18);
2523 procedure Set_Node19 (N : Node_Id; Val : Node_Id);
2524 pragma Inline (Set_Node19);
2526 procedure Set_Node20 (N : Node_Id; Val : Node_Id);
2527 pragma Inline (Set_Node20);
2529 procedure Set_Node21 (N : Node_Id; Val : Node_Id);
2530 pragma Inline (Set_Node21);
2532 procedure Set_Node22 (N : Node_Id; Val : Node_Id);
2533 pragma Inline (Set_Node22);
2535 procedure Set_Node23 (N : Node_Id; Val : Node_Id);
2536 pragma Inline (Set_Node23);
2538 procedure Set_Node24 (N : Node_Id; Val : Node_Id);
2539 pragma Inline (Set_Node24);
2541 procedure Set_Node25 (N : Node_Id; Val : Node_Id);
2542 pragma Inline (Set_Node25);
2544 procedure Set_Node26 (N : Node_Id; Val : Node_Id);
2545 pragma Inline (Set_Node26);
2547 procedure Set_Node27 (N : Node_Id; Val : Node_Id);
2548 pragma Inline (Set_Node27);
2550 procedure Set_Node28 (N : Node_Id; Val : Node_Id);
2551 pragma Inline (Set_Node28);
2553 procedure Set_Node29 (N : Node_Id; Val : Node_Id);
2554 pragma Inline (Set_Node29);
2556 procedure Set_Node30 (N : Node_Id; Val : Node_Id);
2557 pragma Inline (Set_Node30);
2559 procedure Set_Node31 (N : Node_Id; Val : Node_Id);
2560 pragma Inline (Set_Node31);
2562 procedure Set_Node32 (N : Node_Id; Val : Node_Id);
2563 pragma Inline (Set_Node32);
2565 procedure Set_Node33 (N : Node_Id; Val : Node_Id);
2566 pragma Inline (Set_Node33);
2568 procedure Set_Node34 (N : Node_Id; Val : Node_Id);
2569 pragma Inline (Set_Node34);
2571 procedure Set_Node35 (N : Node_Id; Val : Node_Id);
2572 pragma Inline (Set_Node35);
2574 procedure Set_List1 (N : Node_Id; Val : List_Id);
2575 pragma Inline (Set_List1);
2577 procedure Set_List2 (N : Node_Id; Val : List_Id);
2578 pragma Inline (Set_List2);
2580 procedure Set_List3 (N : Node_Id; Val : List_Id);
2581 pragma Inline (Set_List3);
2583 procedure Set_List4 (N : Node_Id; Val : List_Id);
2584 pragma Inline (Set_List4);
2586 procedure Set_List5 (N : Node_Id; Val : List_Id);
2587 pragma Inline (Set_List5);
2589 procedure Set_List10 (N : Node_Id; Val : List_Id);
2590 pragma Inline (Set_List10);
2592 procedure Set_List14 (N : Node_Id; Val : List_Id);
2593 pragma Inline (Set_List14);
2595 procedure Set_List25 (N : Node_Id; Val : List_Id);
2596 pragma Inline (Set_List25);
2598 procedure Set_Elist1 (N : Node_Id; Val : Elist_Id);
2599 pragma Inline (Set_Elist1);
2601 procedure Set_Elist2 (N : Node_Id; Val : Elist_Id);
2602 pragma Inline (Set_Elist2);
2604 procedure Set_Elist3 (N : Node_Id; Val : Elist_Id);
2605 pragma Inline (Set_Elist3);
2607 procedure Set_Elist4 (N : Node_Id; Val : Elist_Id);
2608 pragma Inline (Set_Elist4);
2610 procedure Set_Elist5 (N : Node_Id; Val : Elist_Id);
2611 pragma Inline (Set_Elist5);
2613 procedure Set_Elist8 (N : Node_Id; Val : Elist_Id);
2614 pragma Inline (Set_Elist8);
2616 procedure Set_Elist9 (N : Node_Id; Val : Elist_Id);
2617 pragma Inline (Set_Elist9);
2619 procedure Set_Elist10 (N : Node_Id; Val : Elist_Id);
2620 pragma Inline (Set_Elist10);
2622 procedure Set_Elist13 (N : Node_Id; Val : Elist_Id);
2623 pragma Inline (Set_Elist13);
2625 procedure Set_Elist15 (N : Node_Id; Val : Elist_Id);
2626 pragma Inline (Set_Elist15);
2628 procedure Set_Elist16 (N : Node_Id; Val : Elist_Id);
2629 pragma Inline (Set_Elist16);
2631 procedure Set_Elist18 (N : Node_Id; Val : Elist_Id);
2632 pragma Inline (Set_Elist18);
2634 procedure Set_Elist21 (N : Node_Id; Val : Elist_Id);
2635 pragma Inline (Set_Elist21);
2637 procedure Set_Elist23 (N : Node_Id; Val : Elist_Id);
2638 pragma Inline (Set_Elist23);
2640 procedure Set_Elist24 (N : Node_Id; Val : Elist_Id);
2641 pragma Inline (Set_Elist24);
2643 procedure Set_Elist25 (N : Node_Id; Val : Elist_Id);
2644 pragma Inline (Set_Elist25);
2646 procedure Set_Elist26 (N : Node_Id; Val : Elist_Id);
2647 pragma Inline (Set_Elist26);
2649 procedure Set_Name1 (N : Node_Id; Val : Name_Id);
2650 pragma Inline (Set_Name1);
2652 procedure Set_Name2 (N : Node_Id; Val : Name_Id);
2653 pragma Inline (Set_Name2);
2655 procedure Set_Str3 (N : Node_Id; Val : String_Id);
2656 pragma Inline (Set_Str3);
2658 procedure Set_Uint2 (N : Node_Id; Val : Uint);
2659 pragma Inline (Set_Uint2);
2661 procedure Set_Uint3 (N : Node_Id; Val : Uint);
2662 pragma Inline (Set_Uint3);
2664 procedure Set_Uint4 (N : Node_Id; Val : Uint);
2665 pragma Inline (Set_Uint4);
2667 procedure Set_Uint5 (N : Node_Id; Val : Uint);
2668 pragma Inline (Set_Uint5);
2670 procedure Set_Uint8 (N : Node_Id; Val : Uint);
2671 pragma Inline (Set_Uint8);
2673 procedure Set_Uint9 (N : Node_Id; Val : Uint);
2674 pragma Inline (Set_Uint9);
2676 procedure Set_Uint10 (N : Node_Id; Val : Uint);
2677 pragma Inline (Set_Uint10);
2679 procedure Set_Uint11 (N : Node_Id; Val : Uint);
2680 pragma Inline (Set_Uint11);
2682 procedure Set_Uint12 (N : Node_Id; Val : Uint);
2683 pragma Inline (Set_Uint12);
2685 procedure Set_Uint13 (N : Node_Id; Val : Uint);
2686 pragma Inline (Set_Uint13);
2688 procedure Set_Uint14 (N : Node_Id; Val : Uint);
2689 pragma Inline (Set_Uint14);
2691 procedure Set_Uint15 (N : Node_Id; Val : Uint);
2692 pragma Inline (Set_Uint15);
2694 procedure Set_Uint16 (N : Node_Id; Val : Uint);
2695 pragma Inline (Set_Uint16);
2697 procedure Set_Uint17 (N : Node_Id; Val : Uint);
2698 pragma Inline (Set_Uint17);
2700 procedure Set_Uint22 (N : Node_Id; Val : Uint);
2701 pragma Inline (Set_Uint22);
2703 procedure Set_Ureal3 (N : Node_Id; Val : Ureal);
2704 pragma Inline (Set_Ureal3);
2706 procedure Set_Ureal18 (N : Node_Id; Val : Ureal);
2707 pragma Inline (Set_Ureal18);
2709 procedure Set_Ureal21 (N : Node_Id; Val : Ureal);
2710 pragma Inline (Set_Ureal21);
2712 procedure Set_Flag0 (N : Node_Id; Val : Boolean);
2713 pragma Inline (Set_Flag0);
2715 procedure Set_Flag1 (N : Node_Id; Val : Boolean);
2716 pragma Inline (Set_Flag1);
2718 procedure Set_Flag2 (N : Node_Id; Val : Boolean);
2719 pragma Inline (Set_Flag2);
2721 procedure Set_Flag3 (N : Node_Id; Val : Boolean);
2722 pragma Inline (Set_Flag3);
2724 procedure Set_Flag4 (N : Node_Id; Val : Boolean);
2725 pragma Inline (Set_Flag4);
2727 procedure Set_Flag5 (N : Node_Id; Val : Boolean);
2728 pragma Inline (Set_Flag5);
2730 procedure Set_Flag6 (N : Node_Id; Val : Boolean);
2731 pragma Inline (Set_Flag6);
2733 procedure Set_Flag7 (N : Node_Id; Val : Boolean);
2734 pragma Inline (Set_Flag7);
2736 procedure Set_Flag8 (N : Node_Id; Val : Boolean);
2737 pragma Inline (Set_Flag8);
2739 procedure Set_Flag9 (N : Node_Id; Val : Boolean);
2740 pragma Inline (Set_Flag9);
2742 procedure Set_Flag10 (N : Node_Id; Val : Boolean);
2743 pragma Inline (Set_Flag10);
2745 procedure Set_Flag11 (N : Node_Id; Val : Boolean);
2746 pragma Inline (Set_Flag11);
2748 procedure Set_Flag12 (N : Node_Id; Val : Boolean);
2749 pragma Inline (Set_Flag12);
2751 procedure Set_Flag13 (N : Node_Id; Val : Boolean);
2752 pragma Inline (Set_Flag13);
2754 procedure Set_Flag14 (N : Node_Id; Val : Boolean);
2755 pragma Inline (Set_Flag14);
2757 procedure Set_Flag15 (N : Node_Id; Val : Boolean);
2758 pragma Inline (Set_Flag15);
2760 procedure Set_Flag16 (N : Node_Id; Val : Boolean);
2761 pragma Inline (Set_Flag16);
2763 procedure Set_Flag17 (N : Node_Id; Val : Boolean);
2764 pragma Inline (Set_Flag17);
2766 procedure Set_Flag18 (N : Node_Id; Val : Boolean);
2767 pragma Inline (Set_Flag18);
2769 procedure Set_Flag19 (N : Node_Id; Val : Boolean);
2770 pragma Inline (Set_Flag19);
2772 procedure Set_Flag20 (N : Node_Id; Val : Boolean);
2773 pragma Inline (Set_Flag20);
2775 procedure Set_Flag21 (N : Node_Id; Val : Boolean);
2776 pragma Inline (Set_Flag21);
2778 procedure Set_Flag22 (N : Node_Id; Val : Boolean);
2779 pragma Inline (Set_Flag22);
2781 procedure Set_Flag23 (N : Node_Id; Val : Boolean);
2782 pragma Inline (Set_Flag23);
2784 procedure Set_Flag24 (N : Node_Id; Val : Boolean);
2785 pragma Inline (Set_Flag24);
2787 procedure Set_Flag25 (N : Node_Id; Val : Boolean);
2788 pragma Inline (Set_Flag25);
2790 procedure Set_Flag26 (N : Node_Id; Val : Boolean);
2791 pragma Inline (Set_Flag26);
2793 procedure Set_Flag27 (N : Node_Id; Val : Boolean);
2794 pragma Inline (Set_Flag27);
2796 procedure Set_Flag28 (N : Node_Id; Val : Boolean);
2797 pragma Inline (Set_Flag28);
2799 procedure Set_Flag29 (N : Node_Id; Val : Boolean);
2800 pragma Inline (Set_Flag29);
2802 procedure Set_Flag30 (N : Node_Id; Val : Boolean);
2803 pragma Inline (Set_Flag30);
2805 procedure Set_Flag31 (N : Node_Id; Val : Boolean);
2806 pragma Inline (Set_Flag31);
2808 procedure Set_Flag32 (N : Node_Id; Val : Boolean);
2809 pragma Inline (Set_Flag32);
2811 procedure Set_Flag33 (N : Node_Id; Val : Boolean);
2812 pragma Inline (Set_Flag33);
2814 procedure Set_Flag34 (N : Node_Id; Val : Boolean);
2815 pragma Inline (Set_Flag34);
2817 procedure Set_Flag35 (N : Node_Id; Val : Boolean);
2818 pragma Inline (Set_Flag35);
2820 procedure Set_Flag36 (N : Node_Id; Val : Boolean);
2821 pragma Inline (Set_Flag36);
2823 procedure Set_Flag37 (N : Node_Id; Val : Boolean);
2824 pragma Inline (Set_Flag37);
2826 procedure Set_Flag38 (N : Node_Id; Val : Boolean);
2827 pragma Inline (Set_Flag38);
2829 procedure Set_Flag39 (N : Node_Id; Val : Boolean);
2830 pragma Inline (Set_Flag39);
2832 procedure Set_Flag40 (N : Node_Id; Val : Boolean);
2833 pragma Inline (Set_Flag40);
2835 procedure Set_Flag41 (N : Node_Id; Val : Boolean);
2836 pragma Inline (Set_Flag41);
2838 procedure Set_Flag42 (N : Node_Id; Val : Boolean);
2839 pragma Inline (Set_Flag42);
2841 procedure Set_Flag43 (N : Node_Id; Val : Boolean);
2842 pragma Inline (Set_Flag43);
2844 procedure Set_Flag44 (N : Node_Id; Val : Boolean);
2845 pragma Inline (Set_Flag44);
2847 procedure Set_Flag45 (N : Node_Id; Val : Boolean);
2848 pragma Inline (Set_Flag45);
2850 procedure Set_Flag46 (N : Node_Id; Val : Boolean);
2851 pragma Inline (Set_Flag46);
2853 procedure Set_Flag47 (N : Node_Id; Val : Boolean);
2854 pragma Inline (Set_Flag47);
2856 procedure Set_Flag48 (N : Node_Id; Val : Boolean);
2857 pragma Inline (Set_Flag48);
2859 procedure Set_Flag49 (N : Node_Id; Val : Boolean);
2860 pragma Inline (Set_Flag49);
2862 procedure Set_Flag50 (N : Node_Id; Val : Boolean);
2863 pragma Inline (Set_Flag50);
2865 procedure Set_Flag51 (N : Node_Id; Val : Boolean);
2866 pragma Inline (Set_Flag51);
2868 procedure Set_Flag52 (N : Node_Id; Val : Boolean);
2869 pragma Inline (Set_Flag52);
2871 procedure Set_Flag53 (N : Node_Id; Val : Boolean);
2872 pragma Inline (Set_Flag53);
2874 procedure Set_Flag54 (N : Node_Id; Val : Boolean);
2875 pragma Inline (Set_Flag54);
2877 procedure Set_Flag55 (N : Node_Id; Val : Boolean);
2878 pragma Inline (Set_Flag55);
2880 procedure Set_Flag56 (N : Node_Id; Val : Boolean);
2881 pragma Inline (Set_Flag56);
2883 procedure Set_Flag57 (N : Node_Id; Val : Boolean);
2884 pragma Inline (Set_Flag57);
2886 procedure Set_Flag58 (N : Node_Id; Val : Boolean);
2887 pragma Inline (Set_Flag58);
2889 procedure Set_Flag59 (N : Node_Id; Val : Boolean);
2890 pragma Inline (Set_Flag59);
2892 procedure Set_Flag60 (N : Node_Id; Val : Boolean);
2893 pragma Inline (Set_Flag60);
2895 procedure Set_Flag61 (N : Node_Id; Val : Boolean);
2896 pragma Inline (Set_Flag61);
2898 procedure Set_Flag62 (N : Node_Id; Val : Boolean);
2899 pragma Inline (Set_Flag62);
2901 procedure Set_Flag63 (N : Node_Id; Val : Boolean);
2902 pragma Inline (Set_Flag63);
2904 procedure Set_Flag64 (N : Node_Id; Val : Boolean);
2905 pragma Inline (Set_Flag64);
2907 procedure Set_Flag65 (N : Node_Id; Val : Boolean);
2908 pragma Inline (Set_Flag65);
2910 procedure Set_Flag66 (N : Node_Id; Val : Boolean);
2911 pragma Inline (Set_Flag66);
2913 procedure Set_Flag67 (N : Node_Id; Val : Boolean);
2914 pragma Inline (Set_Flag67);
2916 procedure Set_Flag68 (N : Node_Id; Val : Boolean);
2917 pragma Inline (Set_Flag68);
2919 procedure Set_Flag69 (N : Node_Id; Val : Boolean);
2920 pragma Inline (Set_Flag69);
2922 procedure Set_Flag70 (N : Node_Id; Val : Boolean);
2923 pragma Inline (Set_Flag70);
2925 procedure Set_Flag71 (N : Node_Id; Val : Boolean);
2926 pragma Inline (Set_Flag71);
2928 procedure Set_Flag72 (N : Node_Id; Val : Boolean);
2929 pragma Inline (Set_Flag72);
2931 procedure Set_Flag73 (N : Node_Id; Val : Boolean);
2932 pragma Inline (Set_Flag73);
2934 procedure Set_Flag74 (N : Node_Id; Val : Boolean);
2935 pragma Inline (Set_Flag74);
2937 procedure Set_Flag75 (N : Node_Id; Val : Boolean);
2938 pragma Inline (Set_Flag75);
2940 procedure Set_Flag76 (N : Node_Id; Val : Boolean);
2941 pragma Inline (Set_Flag76);
2943 procedure Set_Flag77 (N : Node_Id; Val : Boolean);
2944 pragma Inline (Set_Flag77);
2946 procedure Set_Flag78 (N : Node_Id; Val : Boolean);
2947 pragma Inline (Set_Flag78);
2949 procedure Set_Flag79 (N : Node_Id; Val : Boolean);
2950 pragma Inline (Set_Flag79);
2952 procedure Set_Flag80 (N : Node_Id; Val : Boolean);
2953 pragma Inline (Set_Flag80);
2955 procedure Set_Flag81 (N : Node_Id; Val : Boolean);
2956 pragma Inline (Set_Flag81);
2958 procedure Set_Flag82 (N : Node_Id; Val : Boolean);
2959 pragma Inline (Set_Flag82);
2961 procedure Set_Flag83 (N : Node_Id; Val : Boolean);
2962 pragma Inline (Set_Flag83);
2964 procedure Set_Flag84 (N : Node_Id; Val : Boolean);
2965 pragma Inline (Set_Flag84);
2967 procedure Set_Flag85 (N : Node_Id; Val : Boolean);
2968 pragma Inline (Set_Flag85);
2970 procedure Set_Flag86 (N : Node_Id; Val : Boolean);
2971 pragma Inline (Set_Flag86);
2973 procedure Set_Flag87 (N : Node_Id; Val : Boolean);
2974 pragma Inline (Set_Flag87);
2976 procedure Set_Flag88 (N : Node_Id; Val : Boolean);
2977 pragma Inline (Set_Flag88);
2979 procedure Set_Flag89 (N : Node_Id; Val : Boolean);
2980 pragma Inline (Set_Flag89);
2982 procedure Set_Flag90 (N : Node_Id; Val : Boolean);
2983 pragma Inline (Set_Flag90);
2985 procedure Set_Flag91 (N : Node_Id; Val : Boolean);
2986 pragma Inline (Set_Flag91);
2988 procedure Set_Flag92 (N : Node_Id; Val : Boolean);
2989 pragma Inline (Set_Flag92);
2991 procedure Set_Flag93 (N : Node_Id; Val : Boolean);
2992 pragma Inline (Set_Flag93);
2994 procedure Set_Flag94 (N : Node_Id; Val : Boolean);
2995 pragma Inline (Set_Flag94);
2997 procedure Set_Flag95 (N : Node_Id; Val : Boolean);
2998 pragma Inline (Set_Flag95);
3000 procedure Set_Flag96 (N : Node_Id; Val : Boolean);
3001 pragma Inline (Set_Flag96);
3003 procedure Set_Flag97 (N : Node_Id; Val : Boolean);
3004 pragma Inline (Set_Flag97);
3006 procedure Set_Flag98 (N : Node_Id; Val : Boolean);
3007 pragma Inline (Set_Flag98);
3009 procedure Set_Flag99 (N : Node_Id; Val : Boolean);
3010 pragma Inline (Set_Flag99);
3012 procedure Set_Flag100 (N : Node_Id; Val : Boolean);
3013 pragma Inline (Set_Flag100);
3015 procedure Set_Flag101 (N : Node_Id; Val : Boolean);
3016 pragma Inline (Set_Flag101);
3018 procedure Set_Flag102 (N : Node_Id; Val : Boolean);
3019 pragma Inline (Set_Flag102);
3021 procedure Set_Flag103 (N : Node_Id; Val : Boolean);
3022 pragma Inline (Set_Flag103);
3024 procedure Set_Flag104 (N : Node_Id; Val : Boolean);
3025 pragma Inline (Set_Flag104);
3027 procedure Set_Flag105 (N : Node_Id; Val : Boolean);
3028 pragma Inline (Set_Flag105);
3030 procedure Set_Flag106 (N : Node_Id; Val : Boolean);
3031 pragma Inline (Set_Flag106);
3033 procedure Set_Flag107 (N : Node_Id; Val : Boolean);
3034 pragma Inline (Set_Flag107);
3036 procedure Set_Flag108 (N : Node_Id; Val : Boolean);
3037 pragma Inline (Set_Flag108);
3039 procedure Set_Flag109 (N : Node_Id; Val : Boolean);
3040 pragma Inline (Set_Flag109);
3042 procedure Set_Flag110 (N : Node_Id; Val : Boolean);
3043 pragma Inline (Set_Flag110);
3045 procedure Set_Flag111 (N : Node_Id; Val : Boolean);
3046 pragma Inline (Set_Flag111);
3048 procedure Set_Flag112 (N : Node_Id; Val : Boolean);
3049 pragma Inline (Set_Flag112);
3051 procedure Set_Flag113 (N : Node_Id; Val : Boolean);
3052 pragma Inline (Set_Flag113);
3054 procedure Set_Flag114 (N : Node_Id; Val : Boolean);
3055 pragma Inline (Set_Flag114);
3057 procedure Set_Flag115 (N : Node_Id; Val : Boolean);
3058 pragma Inline (Set_Flag115);
3060 procedure Set_Flag116 (N : Node_Id; Val : Boolean);
3061 pragma Inline (Set_Flag116);
3063 procedure Set_Flag117 (N : Node_Id; Val : Boolean);
3064 pragma Inline (Set_Flag117);
3066 procedure Set_Flag118 (N : Node_Id; Val : Boolean);
3067 pragma Inline (Set_Flag118);
3069 procedure Set_Flag119 (N : Node_Id; Val : Boolean);
3070 pragma Inline (Set_Flag119);
3072 procedure Set_Flag120 (N : Node_Id; Val : Boolean);
3073 pragma Inline (Set_Flag120);
3075 procedure Set_Flag121 (N : Node_Id; Val : Boolean);
3076 pragma Inline (Set_Flag121);
3078 procedure Set_Flag122 (N : Node_Id; Val : Boolean);
3079 pragma Inline (Set_Flag122);
3081 procedure Set_Flag123 (N : Node_Id; Val : Boolean);
3082 pragma Inline (Set_Flag123);
3084 procedure Set_Flag124 (N : Node_Id; Val : Boolean);
3085 pragma Inline (Set_Flag124);
3087 procedure Set_Flag125 (N : Node_Id; Val : Boolean);
3088 pragma Inline (Set_Flag125);
3090 procedure Set_Flag126 (N : Node_Id; Val : Boolean);
3091 pragma Inline (Set_Flag126);
3093 procedure Set_Flag127 (N : Node_Id; Val : Boolean);
3094 pragma Inline (Set_Flag127);
3096 procedure Set_Flag128 (N : Node_Id; Val : Boolean);
3097 pragma Inline (Set_Flag128);
3099 procedure Set_Flag129 (N : Node_Id; Val : Boolean);
3100 pragma Inline (Set_Flag129);
3102 procedure Set_Flag130 (N : Node_Id; Val : Boolean);
3103 pragma Inline (Set_Flag130);
3105 procedure Set_Flag131 (N : Node_Id; Val : Boolean);
3106 pragma Inline (Set_Flag131);
3108 procedure Set_Flag132 (N : Node_Id; Val : Boolean);
3109 pragma Inline (Set_Flag132);
3111 procedure Set_Flag133 (N : Node_Id; Val : Boolean);
3112 pragma Inline (Set_Flag133);
3114 procedure Set_Flag134 (N : Node_Id; Val : Boolean);
3115 pragma Inline (Set_Flag134);
3117 procedure Set_Flag135 (N : Node_Id; Val : Boolean);
3118 pragma Inline (Set_Flag135);
3120 procedure Set_Flag136 (N : Node_Id; Val : Boolean);
3121 pragma Inline (Set_Flag136);
3123 procedure Set_Flag137 (N : Node_Id; Val : Boolean);
3124 pragma Inline (Set_Flag137);
3126 procedure Set_Flag138 (N : Node_Id; Val : Boolean);
3127 pragma Inline (Set_Flag138);
3129 procedure Set_Flag139 (N : Node_Id; Val : Boolean);
3130 pragma Inline (Set_Flag139);
3132 procedure Set_Flag140 (N : Node_Id; Val : Boolean);
3133 pragma Inline (Set_Flag140);
3135 procedure Set_Flag141 (N : Node_Id; Val : Boolean);
3136 pragma Inline (Set_Flag141);
3138 procedure Set_Flag142 (N : Node_Id; Val : Boolean);
3139 pragma Inline (Set_Flag142);
3141 procedure Set_Flag143 (N : Node_Id; Val : Boolean);
3142 pragma Inline (Set_Flag143);
3144 procedure Set_Flag144 (N : Node_Id; Val : Boolean);
3145 pragma Inline (Set_Flag144);
3147 procedure Set_Flag145 (N : Node_Id; Val : Boolean);
3148 pragma Inline (Set_Flag145);
3150 procedure Set_Flag146 (N : Node_Id; Val : Boolean);
3151 pragma Inline (Set_Flag146);
3153 procedure Set_Flag147 (N : Node_Id; Val : Boolean);
3154 pragma Inline (Set_Flag147);
3156 procedure Set_Flag148 (N : Node_Id; Val : Boolean);
3157 pragma Inline (Set_Flag148);
3159 procedure Set_Flag149 (N : Node_Id; Val : Boolean);
3160 pragma Inline (Set_Flag149);
3162 procedure Set_Flag150 (N : Node_Id; Val : Boolean);
3163 pragma Inline (Set_Flag150);
3165 procedure Set_Flag151 (N : Node_Id; Val : Boolean);
3166 pragma Inline (Set_Flag151);
3168 procedure Set_Flag152 (N : Node_Id; Val : Boolean);
3169 pragma Inline (Set_Flag152);
3171 procedure Set_Flag153 (N : Node_Id; Val : Boolean);
3172 pragma Inline (Set_Flag153);
3174 procedure Set_Flag154 (N : Node_Id; Val : Boolean);
3175 pragma Inline (Set_Flag154);
3177 procedure Set_Flag155 (N : Node_Id; Val : Boolean);
3178 pragma Inline (Set_Flag155);
3180 procedure Set_Flag156 (N : Node_Id; Val : Boolean);
3181 pragma Inline (Set_Flag156);
3183 procedure Set_Flag157 (N : Node_Id; Val : Boolean);
3184 pragma Inline (Set_Flag157);
3186 procedure Set_Flag158 (N : Node_Id; Val : Boolean);
3187 pragma Inline (Set_Flag158);
3189 procedure Set_Flag159 (N : Node_Id; Val : Boolean);
3190 pragma Inline (Set_Flag159);
3192 procedure Set_Flag160 (N : Node_Id; Val : Boolean);
3193 pragma Inline (Set_Flag160);
3195 procedure Set_Flag161 (N : Node_Id; Val : Boolean);
3196 pragma Inline (Set_Flag161);
3198 procedure Set_Flag162 (N : Node_Id; Val : Boolean);
3199 pragma Inline (Set_Flag162);
3201 procedure Set_Flag163 (N : Node_Id; Val : Boolean);
3202 pragma Inline (Set_Flag163);
3204 procedure Set_Flag164 (N : Node_Id; Val : Boolean);
3205 pragma Inline (Set_Flag164);
3207 procedure Set_Flag165 (N : Node_Id; Val : Boolean);
3208 pragma Inline (Set_Flag165);
3210 procedure Set_Flag166 (N : Node_Id; Val : Boolean);
3211 pragma Inline (Set_Flag166);
3213 procedure Set_Flag167 (N : Node_Id; Val : Boolean);
3214 pragma Inline (Set_Flag167);
3216 procedure Set_Flag168 (N : Node_Id; Val : Boolean);
3217 pragma Inline (Set_Flag168);
3219 procedure Set_Flag169 (N : Node_Id; Val : Boolean);
3220 pragma Inline (Set_Flag169);
3222 procedure Set_Flag170 (N : Node_Id; Val : Boolean);
3223 pragma Inline (Set_Flag170);
3225 procedure Set_Flag171 (N : Node_Id; Val : Boolean);
3226 pragma Inline (Set_Flag171);
3228 procedure Set_Flag172 (N : Node_Id; Val : Boolean);
3229 pragma Inline (Set_Flag172);
3231 procedure Set_Flag173 (N : Node_Id; Val : Boolean);
3232 pragma Inline (Set_Flag173);
3234 procedure Set_Flag174 (N : Node_Id; Val : Boolean);
3235 pragma Inline (Set_Flag174);
3237 procedure Set_Flag175 (N : Node_Id; Val : Boolean);
3238 pragma Inline (Set_Flag175);
3240 procedure Set_Flag176 (N : Node_Id; Val : Boolean);
3241 pragma Inline (Set_Flag176);
3243 procedure Set_Flag177 (N : Node_Id; Val : Boolean);
3244 pragma Inline (Set_Flag177);
3246 procedure Set_Flag178 (N : Node_Id; Val : Boolean);
3247 pragma Inline (Set_Flag178);
3249 procedure Set_Flag179 (N : Node_Id; Val : Boolean);
3250 pragma Inline (Set_Flag179);
3252 procedure Set_Flag180 (N : Node_Id; Val : Boolean);
3253 pragma Inline (Set_Flag180);
3255 procedure Set_Flag181 (N : Node_Id; Val : Boolean);
3256 pragma Inline (Set_Flag181);
3258 procedure Set_Flag182 (N : Node_Id; Val : Boolean);
3259 pragma Inline (Set_Flag182);
3261 procedure Set_Flag183 (N : Node_Id; Val : Boolean);
3262 pragma Inline (Set_Flag183);
3264 procedure Set_Flag184 (N : Node_Id; Val : Boolean);
3265 pragma Inline (Set_Flag184);
3267 procedure Set_Flag185 (N : Node_Id; Val : Boolean);
3268 pragma Inline (Set_Flag185);
3270 procedure Set_Flag186 (N : Node_Id; Val : Boolean);
3271 pragma Inline (Set_Flag186);
3273 procedure Set_Flag187 (N : Node_Id; Val : Boolean);
3274 pragma Inline (Set_Flag187);
3276 procedure Set_Flag188 (N : Node_Id; Val : Boolean);
3277 pragma Inline (Set_Flag188);
3279 procedure Set_Flag189 (N : Node_Id; Val : Boolean);
3280 pragma Inline (Set_Flag189);
3282 procedure Set_Flag190 (N : Node_Id; Val : Boolean);
3283 pragma Inline (Set_Flag190);
3285 procedure Set_Flag191 (N : Node_Id; Val : Boolean);
3286 pragma Inline (Set_Flag191);
3288 procedure Set_Flag192 (N : Node_Id; Val : Boolean);
3289 pragma Inline (Set_Flag192);
3291 procedure Set_Flag193 (N : Node_Id; Val : Boolean);
3292 pragma Inline (Set_Flag193);
3294 procedure Set_Flag194 (N : Node_Id; Val : Boolean);
3295 pragma Inline (Set_Flag194);
3297 procedure Set_Flag195 (N : Node_Id; Val : Boolean);
3298 pragma Inline (Set_Flag195);
3300 procedure Set_Flag196 (N : Node_Id; Val : Boolean);
3301 pragma Inline (Set_Flag196);
3303 procedure Set_Flag197 (N : Node_Id; Val : Boolean);
3304 pragma Inline (Set_Flag197);
3306 procedure Set_Flag198 (N : Node_Id; Val : Boolean);
3307 pragma Inline (Set_Flag198);
3309 procedure Set_Flag199 (N : Node_Id; Val : Boolean);
3310 pragma Inline (Set_Flag199);
3312 procedure Set_Flag200 (N : Node_Id; Val : Boolean);
3313 pragma Inline (Set_Flag200);
3315 procedure Set_Flag201 (N : Node_Id; Val : Boolean);
3316 pragma Inline (Set_Flag201);
3318 procedure Set_Flag202 (N : Node_Id; Val : Boolean);
3319 pragma Inline (Set_Flag202);
3321 procedure Set_Flag203 (N : Node_Id; Val : Boolean);
3322 pragma Inline (Set_Flag203);
3324 procedure Set_Flag204 (N : Node_Id; Val : Boolean);
3325 pragma Inline (Set_Flag204);
3327 procedure Set_Flag205 (N : Node_Id; Val : Boolean);
3328 pragma Inline (Set_Flag205);
3330 procedure Set_Flag206 (N : Node_Id; Val : Boolean);
3331 pragma Inline (Set_Flag206);
3333 procedure Set_Flag207 (N : Node_Id; Val : Boolean);
3334 pragma Inline (Set_Flag207);
3336 procedure Set_Flag208 (N : Node_Id; Val : Boolean);
3337 pragma Inline (Set_Flag208);
3339 procedure Set_Flag209 (N : Node_Id; Val : Boolean);
3340 pragma Inline (Set_Flag209);
3342 procedure Set_Flag210 (N : Node_Id; Val : Boolean);
3343 pragma Inline (Set_Flag210);
3345 procedure Set_Flag211 (N : Node_Id; Val : Boolean);
3346 pragma Inline (Set_Flag211);
3348 procedure Set_Flag212 (N : Node_Id; Val : Boolean);
3349 pragma Inline (Set_Flag212);
3351 procedure Set_Flag213 (N : Node_Id; Val : Boolean);
3352 pragma Inline (Set_Flag213);
3354 procedure Set_Flag214 (N : Node_Id; Val : Boolean);
3355 pragma Inline (Set_Flag214);
3357 procedure Set_Flag215 (N : Node_Id; Val : Boolean);
3358 pragma Inline (Set_Flag215);
3360 procedure Set_Flag216 (N : Node_Id; Val : Boolean);
3361 pragma Inline (Set_Flag216);
3363 procedure Set_Flag217 (N : Node_Id; Val : Boolean);
3364 pragma Inline (Set_Flag217);
3366 procedure Set_Flag218 (N : Node_Id; Val : Boolean);
3367 pragma Inline (Set_Flag218);
3369 procedure Set_Flag219 (N : Node_Id; Val : Boolean);
3370 pragma Inline (Set_Flag219);
3372 procedure Set_Flag220 (N : Node_Id; Val : Boolean);
3373 pragma Inline (Set_Flag220);
3375 procedure Set_Flag221 (N : Node_Id; Val : Boolean);
3376 pragma Inline (Set_Flag221);
3378 procedure Set_Flag222 (N : Node_Id; Val : Boolean);
3379 pragma Inline (Set_Flag222);
3381 procedure Set_Flag223 (N : Node_Id; Val : Boolean);
3382 pragma Inline (Set_Flag223);
3384 procedure Set_Flag224 (N : Node_Id; Val : Boolean);
3385 pragma Inline (Set_Flag224);
3387 procedure Set_Flag225 (N : Node_Id; Val : Boolean);
3388 pragma Inline (Set_Flag225);
3390 procedure Set_Flag226 (N : Node_Id; Val : Boolean);
3391 pragma Inline (Set_Flag226);
3393 procedure Set_Flag227 (N : Node_Id; Val : Boolean);
3394 pragma Inline (Set_Flag227);
3396 procedure Set_Flag228 (N : Node_Id; Val : Boolean);
3397 pragma Inline (Set_Flag228);
3399 procedure Set_Flag229 (N : Node_Id; Val : Boolean);
3400 pragma Inline (Set_Flag229);
3402 procedure Set_Flag230 (N : Node_Id; Val : Boolean);
3403 pragma Inline (Set_Flag230);
3405 procedure Set_Flag231 (N : Node_Id; Val : Boolean);
3406 pragma Inline (Set_Flag231);
3408 procedure Set_Flag232 (N : Node_Id; Val : Boolean);
3409 pragma Inline (Set_Flag232);
3411 procedure Set_Flag233 (N : Node_Id; Val : Boolean);
3412 pragma Inline (Set_Flag233);
3414 procedure Set_Flag234 (N : Node_Id; Val : Boolean);
3415 pragma Inline (Set_Flag234);
3417 procedure Set_Flag235 (N : Node_Id; Val : Boolean);
3418 pragma Inline (Set_Flag235);
3420 procedure Set_Flag236 (N : Node_Id; Val : Boolean);
3421 pragma Inline (Set_Flag236);
3423 procedure Set_Flag237 (N : Node_Id; Val : Boolean);
3424 pragma Inline (Set_Flag237);
3426 procedure Set_Flag238 (N : Node_Id; Val : Boolean);
3427 pragma Inline (Set_Flag238);
3429 procedure Set_Flag239 (N : Node_Id; Val : Boolean);
3430 pragma Inline (Set_Flag239);
3432 procedure Set_Flag240 (N : Node_Id; Val : Boolean);
3433 pragma Inline (Set_Flag240);
3435 procedure Set_Flag241 (N : Node_Id; Val : Boolean);
3436 pragma Inline (Set_Flag241);
3438 procedure Set_Flag242 (N : Node_Id; Val : Boolean);
3439 pragma Inline (Set_Flag242);
3441 procedure Set_Flag243 (N : Node_Id; Val : Boolean);
3442 pragma Inline (Set_Flag243);
3444 procedure Set_Flag244 (N : Node_Id; Val : Boolean);
3445 pragma Inline (Set_Flag244);
3447 procedure Set_Flag245 (N : Node_Id; Val : Boolean);
3448 pragma Inline (Set_Flag245);
3450 procedure Set_Flag246 (N : Node_Id; Val : Boolean);
3451 pragma Inline (Set_Flag246);
3453 procedure Set_Flag247 (N : Node_Id; Val : Boolean);
3454 pragma Inline (Set_Flag247);
3456 procedure Set_Flag248 (N : Node_Id; Val : Boolean);
3457 pragma Inline (Set_Flag248);
3459 procedure Set_Flag249 (N : Node_Id; Val : Boolean);
3460 pragma Inline (Set_Flag249);
3462 procedure Set_Flag250 (N : Node_Id; Val : Boolean);
3463 pragma Inline (Set_Flag250);
3465 procedure Set_Flag251 (N : Node_Id; Val : Boolean);
3466 pragma Inline (Set_Flag251);
3468 procedure Set_Flag252 (N : Node_Id; Val : Boolean);
3469 pragma Inline (Set_Flag252);
3471 procedure Set_Flag253 (N : Node_Id; Val : Boolean);
3472 pragma Inline (Set_Flag253);
3474 procedure Set_Flag254 (N : Node_Id; Val : Boolean);
3475 pragma Inline (Set_Flag254);
3477 procedure Set_Flag255 (N : Node_Id; Val : Boolean);
3478 pragma Inline (Set_Flag255);
3480 procedure Set_Flag256 (N : Node_Id; Val : Boolean);
3481 pragma Inline (Set_Flag256);
3483 procedure Set_Flag257 (N : Node_Id; Val : Boolean);
3484 pragma Inline (Set_Flag257);
3486 procedure Set_Flag258 (N : Node_Id; Val : Boolean);
3487 pragma Inline (Set_Flag258);
3489 procedure Set_Flag259 (N : Node_Id; Val : Boolean);
3490 pragma Inline (Set_Flag259);
3492 procedure Set_Flag260 (N : Node_Id; Val : Boolean);
3493 pragma Inline (Set_Flag260);
3495 procedure Set_Flag261 (N : Node_Id; Val : Boolean);
3496 pragma Inline (Set_Flag261);
3498 procedure Set_Flag262 (N : Node_Id; Val : Boolean);
3499 pragma Inline (Set_Flag262);
3501 procedure Set_Flag263 (N : Node_Id; Val : Boolean);
3502 pragma Inline (Set_Flag263);
3504 procedure Set_Flag264 (N : Node_Id; Val : Boolean);
3505 pragma Inline (Set_Flag264);
3507 procedure Set_Flag265 (N : Node_Id; Val : Boolean);
3508 pragma Inline (Set_Flag265);
3510 procedure Set_Flag266 (N : Node_Id; Val : Boolean);
3511 pragma Inline (Set_Flag266);
3513 procedure Set_Flag267 (N : Node_Id; Val : Boolean);
3514 pragma Inline (Set_Flag267);
3516 procedure Set_Flag268 (N : Node_Id; Val : Boolean);
3517 pragma Inline (Set_Flag268);
3519 procedure Set_Flag269 (N : Node_Id; Val : Boolean);
3520 pragma Inline (Set_Flag269);
3522 procedure Set_Flag270 (N : Node_Id; Val : Boolean);
3523 pragma Inline (Set_Flag270);
3525 procedure Set_Flag271 (N : Node_Id; Val : Boolean);
3526 pragma Inline (Set_Flag271);
3528 procedure Set_Flag272 (N : Node_Id; Val : Boolean);
3529 pragma Inline (Set_Flag272);
3531 procedure Set_Flag273 (N : Node_Id; Val : Boolean);
3532 pragma Inline (Set_Flag273);
3534 procedure Set_Flag274 (N : Node_Id; Val : Boolean);
3535 pragma Inline (Set_Flag274);
3537 procedure Set_Flag275 (N : Node_Id; Val : Boolean);
3538 pragma Inline (Set_Flag275);
3540 procedure Set_Flag276 (N : Node_Id; Val : Boolean);
3541 pragma Inline (Set_Flag276);
3543 procedure Set_Flag277 (N : Node_Id; Val : Boolean);
3544 pragma Inline (Set_Flag277);
3546 procedure Set_Flag278 (N : Node_Id; Val : Boolean);
3547 pragma Inline (Set_Flag278);
3549 procedure Set_Flag279 (N : Node_Id; Val : Boolean);
3550 pragma Inline (Set_Flag279);
3552 procedure Set_Flag280 (N : Node_Id; Val : Boolean);
3553 pragma Inline (Set_Flag280);
3555 procedure Set_Flag281 (N : Node_Id; Val : Boolean);
3556 pragma Inline (Set_Flag281);
3558 procedure Set_Flag282 (N : Node_Id; Val : Boolean);
3559 pragma Inline (Set_Flag282);
3561 procedure Set_Flag283 (N : Node_Id; Val : Boolean);
3562 pragma Inline (Set_Flag283);
3564 procedure Set_Flag284 (N : Node_Id; Val : Boolean);
3565 pragma Inline (Set_Flag284);
3567 procedure Set_Flag285 (N : Node_Id; Val : Boolean);
3568 pragma Inline (Set_Flag285);
3570 procedure Set_Flag286 (N : Node_Id; Val : Boolean);
3571 pragma Inline (Set_Flag286);
3573 procedure Set_Flag287 (N : Node_Id; Val : Boolean);
3574 pragma Inline (Set_Flag287);
3576 procedure Set_Flag288 (N : Node_Id; Val : Boolean);
3577 pragma Inline (Set_Flag288);
3579 procedure Set_Flag289 (N : Node_Id; Val : Boolean);
3580 pragma Inline (Set_Flag289);
3582 procedure Set_Flag290 (N : Node_Id; Val : Boolean);
3583 pragma Inline (Set_Flag290);
3585 procedure Set_Flag291 (N : Node_Id; Val : Boolean);
3586 pragma Inline (Set_Flag291);
3588 procedure Set_Flag292 (N : Node_Id; Val : Boolean);
3589 pragma Inline (Set_Flag292);
3591 procedure Set_Flag293 (N : Node_Id; Val : Boolean);
3592 pragma Inline (Set_Flag293);
3594 procedure Set_Flag294 (N : Node_Id; Val : Boolean);
3595 pragma Inline (Set_Flag294);
3597 procedure Set_Flag295 (N : Node_Id; Val : Boolean);
3598 pragma Inline (Set_Flag295);
3600 procedure Set_Flag296 (N : Node_Id; Val : Boolean);
3601 pragma Inline (Set_Flag296);
3603 procedure Set_Flag297 (N : Node_Id; Val : Boolean);
3604 pragma Inline (Set_Flag297);
3606 procedure Set_Flag298 (N : Node_Id; Val : Boolean);
3607 pragma Inline (Set_Flag298);
3609 procedure Set_Flag299 (N : Node_Id; Val : Boolean);
3610 pragma Inline (Set_Flag299);
3612 procedure Set_Flag300 (N : Node_Id; Val : Boolean);
3613 pragma Inline (Set_Flag300);
3615 procedure Set_Flag301 (N : Node_Id; Val : Boolean);
3616 pragma Inline (Set_Flag301);
3618 procedure Set_Flag302 (N : Node_Id; Val : Boolean);
3619 pragma Inline (Set_Flag302);
3621 procedure Set_Flag303 (N : Node_Id; Val : Boolean);
3622 pragma Inline (Set_Flag303);
3624 procedure Set_Flag304 (N : Node_Id; Val : Boolean);
3625 pragma Inline (Set_Flag304);
3627 procedure Set_Flag305 (N : Node_Id; Val : Boolean);
3628 pragma Inline (Set_Flag305);
3630 procedure Set_Flag306 (N : Node_Id; Val : Boolean);
3631 pragma Inline (Set_Flag306);
3633 procedure Set_Flag307 (N : Node_Id; Val : Boolean);
3634 pragma Inline (Set_Flag307);
3636 procedure Set_Flag308 (N : Node_Id; Val : Boolean);
3637 pragma Inline (Set_Flag308);
3639 procedure Set_Flag309 (N : Node_Id; Val : Boolean);
3640 pragma Inline (Set_Flag309);
3642 procedure Set_Flag310 (N : Node_Id; Val : Boolean);
3643 pragma Inline (Set_Flag310);
3645 procedure Set_Flag311 (N : Node_Id; Val : Boolean);
3646 pragma Inline (Set_Flag311);
3648 procedure Set_Flag312 (N : Node_Id; Val : Boolean);
3649 pragma Inline (Set_Flag312);
3651 procedure Set_Flag313 (N : Node_Id; Val : Boolean);
3652 pragma Inline (Set_Flag313);
3654 procedure Set_Flag314 (N : Node_Id; Val : Boolean);
3655 pragma Inline (Set_Flag314);
3657 procedure Set_Flag315 (N : Node_Id; Val : Boolean);
3658 pragma Inline (Set_Flag315);
3660 procedure Set_Flag316 (N : Node_Id; Val : Boolean);
3661 pragma Inline (Set_Flag316);
3663 procedure Set_Flag317 (N : Node_Id; Val : Boolean);
3664 pragma Inline (Set_Flag317);
3666 -- The following versions of Set_Noden also set the parent pointer of
3667 -- the referenced node if it is not Empty.
3669 procedure Set_Node1_With_Parent (N : Node_Id; Val : Node_Id);
3670 pragma Inline (Set_Node1_With_Parent);
3672 procedure Set_Node2_With_Parent (N : Node_Id; Val : Node_Id);
3673 pragma Inline (Set_Node2_With_Parent);
3675 procedure Set_Node3_With_Parent (N : Node_Id; Val : Node_Id);
3676 pragma Inline (Set_Node3_With_Parent);
3678 procedure Set_Node4_With_Parent (N : Node_Id; Val : Node_Id);
3679 pragma Inline (Set_Node4_With_Parent);
3681 procedure Set_Node5_With_Parent (N : Node_Id; Val : Node_Id);
3682 pragma Inline (Set_Node5_With_Parent);
3684 -- The following versions of Set_Listn also set the parent pointer of
3685 -- the referenced node if it is not Empty.
3687 procedure Set_List1_With_Parent (N : Node_Id; Val : List_Id);
3688 pragma Inline (Set_List1_With_Parent);
3690 procedure Set_List2_With_Parent (N : Node_Id; Val : List_Id);
3691 pragma Inline (Set_List2_With_Parent);
3693 procedure Set_List3_With_Parent (N : Node_Id; Val : List_Id);
3694 pragma Inline (Set_List3_With_Parent);
3696 procedure Set_List4_With_Parent (N : Node_Id; Val : List_Id);
3697 pragma Inline (Set_List4_With_Parent);
3699 procedure Set_List5_With_Parent (N : Node_Id; Val : List_Id);
3700 pragma Inline (Set_List5_With_Parent);
3702 end Unchecked_Access;
3704 -----------------------------
3705 -- Private Part Subpackage --
3706 -----------------------------
3708 -- The following package contains the definition of the data structure
3709 -- used by the implementation of the Atree package. Logically it really
3710 -- corresponds to the private part, hence the name. The reason that it
3711 -- is defined as a sub-package is to allow special access from clients
3712 -- that need to see the internals of the data structures.
3714 package Atree_Private_Part is
3716 -------------------------
3717 -- Tree Representation --
3718 -------------------------
3720 -- The nodes of the tree are stored in a table (i.e. an array). In the
3721 -- case of extended nodes six consecutive components in the array are
3722 -- used. There are thus two formats for array components. One is used
3723 -- for non-extended nodes, and for the first component of extended
3724 -- nodes. The other is used for the extension parts (second, third,
3725 -- fourth, fifth, and sixth components) of an extended node. A variant
3726 -- record structure is used to distinguish the two formats.
3728 type Node_Record (Is_Extension : Boolean := False) is record
3730 -- Logically, the only field in the common part is the above
3731 -- Is_Extension discriminant (a single bit). However, Gigi cannot
3732 -- yet handle such a structure, so we fill out the common part of
3733 -- the record with fields that are used in different ways for
3734 -- normal nodes and node extensions.
3736 Pflag1, Pflag2 : Boolean;
3737 -- The Paren_Count field is represented using two boolean flags,
3738 -- where Pflag1 is worth 1, and Pflag2 is worth 2. This is done
3739 -- because we need to be easily able to reuse this field for
3740 -- extra flags in the extended node case.
3742 In_List : Boolean;
3743 -- Flag used to indicate if node is a member of a list.
3744 -- This field is considered private to the Atree package.
3746 Has_Aspects : Boolean;
3747 -- Flag used to indicate that a node has aspect specifications that
3748 -- are associated with the node. See Aspects package for details.
3750 Rewrite_Ins : Boolean;
3751 -- Flag set by Mark_Rewrite_Insertion procedure.
3752 -- This field is considered private to the Atree package.
3754 Analyzed : Boolean;
3755 -- Flag to indicate the node has been analyzed (and expanded)
3757 Comes_From_Source : Boolean;
3758 -- Flag to indicate that node comes from the source program (i.e.
3759 -- was built by the parser or scanner, not the analyzer or expander).
3761 Error_Posted : Boolean;
3762 -- Flag to indicate that an error message has been posted on the
3763 -- node (to avoid duplicate flags on the same node)
3765 Flag4 : Boolean;
3766 Flag5 : Boolean;
3767 Flag6 : Boolean;
3768 Flag7 : Boolean;
3769 Flag8 : Boolean;
3770 Flag9 : Boolean;
3771 Flag10 : Boolean;
3772 Flag11 : Boolean;
3773 Flag12 : Boolean;
3774 Flag13 : Boolean;
3775 Flag14 : Boolean;
3776 Flag15 : Boolean;
3777 Flag16 : Boolean;
3778 Flag17 : Boolean;
3779 Flag18 : Boolean;
3780 -- Flags 4-18 for a normal node. Note that Flags 0-3 are stored
3781 -- separately in the Flags array.
3783 -- The above fields are used as follows in components 2-6 of
3784 -- an extended node entry.
3786 -- In_List used as Flag19,Flag40,Flag129,Flag216,Flag287
3787 -- Has_Aspects used as Flag20,Flag41,Flag130,Flag217,Flag288
3788 -- Rewrite_Ins used as Flag21,Flag42,Flag131,Flag218,Flag289
3789 -- Analyzed used as Flag22,Flag43,Flag132,Flag219,Flag290
3790 -- Comes_From_Source used as Flag23,Flag44,Flag133,Flag220,Flag291
3791 -- Error_Posted used as Flag24,Flag45,Flag134,Flag221,Flag292
3792 -- Flag4 used as Flag25,Flag46,Flag135,Flag222,Flag293
3793 -- Flag5 used as Flag26,Flag47,Flag136,Flag223,Flag294
3794 -- Flag6 used as Flag27,Flag48,Flag137,Flag224,Flag295
3795 -- Flag7 used as Flag28,Flag49,Flag138,Flag225,Flag296
3796 -- Flag8 used as Flag29,Flag50,Flag139,Flag226,Flag297
3797 -- Flag9 used as Flag30,Flag51,Flag140,Flag227,Flag298
3798 -- Flag10 used as Flag31,Flag52,Flag141,Flag228,Flag299
3799 -- Flag11 used as Flag32,Flag53,Flag142,Flag229,Flag300
3800 -- Flag12 used as Flag33,Flag54,Flag143,Flag230,Flag301
3801 -- Flag13 used as Flag34,Flag55,Flag144,Flag231,Flag302
3802 -- Flag14 used as Flag35,Flag56,Flag145,Flag232,Flag303
3803 -- Flag15 used as Flag36,Flag57,Flag146,Flag233,Flag304
3804 -- Flag16 used as Flag37,Flag58,Flag147,Flag234,Flag305
3805 -- Flag17 used as Flag38,Flag59,Flag148,Flag235,Flag306
3806 -- Flag18 used as Flag39,Flag60,Flag149,Flag236,Flag307
3807 -- Pflag1 used as Flag61,Flag62,Flag150,Flag237,Flag308
3808 -- Pflag2 used as Flag63,Flag64,Flag151,Flag238,Flag309
3810 Nkind : Node_Kind;
3811 -- For a non-extended node, or the initial section of an extended
3812 -- node, this field holds the Node_Kind value. For an extended node,
3813 -- The Nkind field is used as follows:
3815 -- Second entry: holds the Ekind field of the entity
3816 -- Third entry: holds 8 additional flags (Flag65-Flag72)
3817 -- Fourth entry: holds 8 additional flags (Flag239-246)
3818 -- Fifth entry: holds 8 additional flags (Flag247-254)
3819 -- Sixth entry: holds 8 additional flags (Flag310-317)
3821 -- Now finally (on an 32-bit boundary) comes the variant part
3823 case Is_Extension is
3825 -- Non-extended node, or first component of extended node
3827 when False =>
3829 Sloc : Source_Ptr;
3830 -- Source location for this node
3832 Link : Union_Id;
3833 -- This field is used either as the Parent pointer (if In_List
3834 -- is False), or to point to the list header (if In_List is
3835 -- True). This field is considered private and can be modified
3836 -- only by Atree or by Nlists.
3838 Field1 : Union_Id;
3839 Field2 : Union_Id;
3840 Field3 : Union_Id;
3841 Field4 : Union_Id;
3842 Field5 : Union_Id;
3843 -- Five general use fields, which can contain Node_Id, List_Id,
3844 -- Elist_Id, String_Id, or Name_Id values depending on the
3845 -- values in Nkind and (for extended nodes), in Ekind. See
3846 -- packages Sinfo and Einfo for details of their use.
3848 -- Extension (second component) of extended node
3850 when True =>
3852 Field6 : Union_Id;
3853 Field7 : Union_Id;
3854 Field8 : Union_Id;
3855 Field9 : Union_Id;
3856 Field10 : Union_Id;
3857 Field11 : Union_Id;
3858 Field12 : Union_Id;
3859 -- Seven additional general fields available only for entities
3860 -- See package Einfo for details of their use (which depends
3861 -- on the value in the Ekind field).
3863 -- In the third component, the extension format as described
3864 -- above is used to hold additional general fields and flags
3865 -- as follows:
3867 -- Field6-11 Holds Field13-Field18
3868 -- Field12 Holds Flag73-Flag96 and Convention
3870 -- In the fourth component, the extension format as described
3871 -- above is used to hold additional general fields and flags
3872 -- as follows:
3874 -- Field6-10 Holds Field19-Field23
3875 -- Field11 Holds Flag152-Flag183
3876 -- Field12 Holds Flag97-Flag128
3878 -- In the fifth component, the extension format as described
3879 -- above is used to hold additional general fields and flags
3880 -- as follows:
3882 -- Field6-11 Holds Field24-Field29
3883 -- Field12 Holds Flag184-Flag215
3885 -- In the sixth component, the extension format as described
3886 -- above is used to hold additional general fields and flags
3887 -- as follows:
3889 -- Field6-11 Holds Field30-Field35
3890 -- Field12 Holds Flag255-Flag286
3892 end case;
3893 end record;
3895 pragma Pack (Node_Record);
3896 for Node_Record'Size use 8 * 32;
3897 for Node_Record'Alignment use 4;
3899 function E_To_N is new Unchecked_Conversion (Entity_Kind, Node_Kind);
3900 function N_To_E is new Unchecked_Conversion (Node_Kind, Entity_Kind);
3902 -- Default value used to initialize default nodes. Note that some of the
3903 -- fields get overwritten, and in particular, Nkind always gets reset.
3905 Default_Node : Node_Record := (
3906 Is_Extension => False,
3907 Pflag1 => False,
3908 Pflag2 => False,
3909 In_List => False,
3910 Has_Aspects => False,
3911 Rewrite_Ins => False,
3912 Analyzed => False,
3913 Comes_From_Source => False,
3914 -- modified by Set_Comes_From_Source_Default
3915 Error_Posted => False,
3916 Flag4 => False,
3918 Flag5 => False,
3919 Flag6 => False,
3920 Flag7 => False,
3921 Flag8 => False,
3922 Flag9 => False,
3923 Flag10 => False,
3924 Flag11 => False,
3925 Flag12 => False,
3927 Flag13 => False,
3928 Flag14 => False,
3929 Flag15 => False,
3930 Flag16 => False,
3931 Flag17 => False,
3932 Flag18 => False,
3934 Nkind => N_Unused_At_Start,
3936 Sloc => No_Location,
3937 Link => Empty_List_Or_Node,
3938 Field1 => Empty_List_Or_Node,
3939 Field2 => Empty_List_Or_Node,
3940 Field3 => Empty_List_Or_Node,
3941 Field4 => Empty_List_Or_Node,
3942 Field5 => Empty_List_Or_Node);
3944 -- Default value used to initialize node extensions (i.e. the second
3945 -- through sixth components of an extended node). Note we are cheating
3946 -- a bit here when it comes to Node12, which really holds flags and (for
3947 -- the third component), the convention. But it works because Empty,
3948 -- False, Convention_Ada, all happen to be all zero bits.
3950 Default_Node_Extension : constant Node_Record := (
3951 Is_Extension => True,
3952 Pflag1 => False,
3953 Pflag2 => False,
3954 In_List => False,
3955 Has_Aspects => False,
3956 Rewrite_Ins => False,
3957 Analyzed => False,
3958 Comes_From_Source => False,
3959 Error_Posted => False,
3960 Flag4 => False,
3962 Flag5 => False,
3963 Flag6 => False,
3964 Flag7 => False,
3965 Flag8 => False,
3966 Flag9 => False,
3967 Flag10 => False,
3968 Flag11 => False,
3969 Flag12 => False,
3971 Flag13 => False,
3972 Flag14 => False,
3973 Flag15 => False,
3974 Flag16 => False,
3975 Flag17 => False,
3976 Flag18 => False,
3978 Nkind => E_To_N (E_Void),
3980 Field6 => Empty_List_Or_Node,
3981 Field7 => Empty_List_Or_Node,
3982 Field8 => Empty_List_Or_Node,
3983 Field9 => Empty_List_Or_Node,
3984 Field10 => Empty_List_Or_Node,
3985 Field11 => Empty_List_Or_Node,
3986 Field12 => Empty_List_Or_Node);
3988 -- The following defines the extendable array used for the nodes table
3989 -- Nodes with extensions use six consecutive entries in the array
3991 package Nodes is new Table.Table (
3992 Table_Component_Type => Node_Record,
3993 Table_Index_Type => Node_Id'Base,
3994 Table_Low_Bound => First_Node_Id,
3995 Table_Initial => Alloc.Nodes_Initial,
3996 Table_Increment => Alloc.Nodes_Increment,
3997 Table_Name => "Nodes");
3999 -- The following is a parallel table to Nodes, which provides 8 more
4000 -- bits of space that logically belong to the corresponding node. This
4001 -- is currently used to implement Flags 0,1,2,3 for normal nodes, or
4002 -- the first component of an extended node (four bits unused). Entries
4003 -- for extending components are completely unused.
4005 type Flags_Byte is record
4006 Flag0 : Boolean;
4007 Flag1 : Boolean;
4008 Flag2 : Boolean;
4009 Flag3 : Boolean;
4010 Spare0 : Boolean;
4011 Spare1 : Boolean;
4012 Spare2 : Boolean;
4013 Spare3 : Boolean;
4014 end record;
4016 for Flags_Byte'Size use 8;
4017 pragma Pack (Flags_Byte);
4019 Default_Flags : constant Flags_Byte := (others => False);
4020 -- Default value used to initialize new entries
4022 package Flags is new Table.Table (
4023 Table_Component_Type => Flags_Byte,
4024 Table_Index_Type => Node_Id'Base,
4025 Table_Low_Bound => First_Node_Id,
4026 Table_Initial => Alloc.Nodes_Initial,
4027 Table_Increment => Alloc.Nodes_Increment,
4028 Table_Name => "Flags");
4030 end Atree_Private_Part;
4032 end Atree;