111
|
1 ------------------------------------------------------------------------------
|
|
2 -- --
|
|
3 -- GNAT COMPILER COMPONENTS --
|
|
4 -- --
|
|
5 -- A T R E E --
|
|
6 -- --
|
|
7 -- S p e c --
|
|
8 -- --
|
145
|
9 -- Copyright (C) 1992-2019, Free Software Foundation, Inc. --
|
111
|
10 -- --
|
|
11 -- GNAT is free software; you can redistribute it and/or modify it under --
|
|
12 -- terms of the GNU General Public License as published by the Free Soft- --
|
|
13 -- ware Foundation; either version 3, or (at your option) any later ver- --
|
|
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
|
|
15 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
|
|
16 -- or FITNESS FOR A PARTICULAR PURPOSE. --
|
|
17 -- --
|
|
18 -- As a special exception under Section 7 of GPL version 3, you are granted --
|
|
19 -- additional permissions described in the GCC Runtime Library Exception, --
|
|
20 -- version 3.1, as published by the Free Software Foundation. --
|
|
21 -- --
|
|
22 -- You should have received a copy of the GNU General Public License and --
|
|
23 -- a copy of the GCC Runtime Library Exception along with this program; --
|
|
24 -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
|
|
25 -- <http://www.gnu.org/licenses/>. --
|
|
26 -- --
|
|
27 -- GNAT was originally developed by the GNAT team at New York University. --
|
|
28 -- Extensive contributions were provided by Ada Core Technologies Inc. --
|
|
29 -- --
|
|
30 ------------------------------------------------------------------------------
|
|
31
|
|
32 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;
|
|
43
|
|
44 package Atree is
|
|
45
|
|
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.
|
|
49
|
|
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
|
|
52
|
|
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).
|
|
61
|
|
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.
|
|
66
|
|
67 ----------------------
|
|
68 -- Size of Entities --
|
|
69 ----------------------
|
|
70
|
|
71 -- Currently entities are composed of 7 sequentially allocated 32-byte
|
|
72 -- nodes, considered as a single record. The following definition gives
|
|
73 -- the number of extension nodes.
|
|
74
|
|
75 Num_Extension_Nodes : Node_Id := 6;
|
|
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.
|
|
79 -- Print_Statistics can be used to display statistics on entities & nodes.
|
|
80 -- Measurements conducted for the 5->6 bump showed an increase from 1.81 to
|
|
81 -- 2.01 for the nodes/entities ratio and a 2% increase in compilation time
|
|
82 -- on average for the GCC-based compiler at -O0 on a 32-bit x86 host.
|
|
83
|
|
84 ----------------------------------------
|
|
85 -- Definitions of Fields in Tree Node --
|
|
86 ----------------------------------------
|
|
87
|
|
88 -- The representation of the tree is completely hidden, using a functional
|
|
89 -- interface for accessing and modifying the contents of nodes. Logically
|
|
90 -- a node contains a number of fields, much as though the nodes were
|
|
91 -- defined as a record type. The fields in a node are as follows:
|
|
92
|
|
93 -- Nkind Indicates the kind of the node. This field is present
|
|
94 -- in all nodes. The type is Node_Kind, which is declared
|
|
95 -- in the package Sinfo.
|
|
96
|
|
97 -- Sloc Location (Source_Ptr) of the corresponding token
|
|
98 -- in the Source buffer. The individual node definitions
|
|
99 -- show which token is referenced by this pointer.
|
|
100
|
|
101 -- In_List A flag used to indicate if the node is a member
|
|
102 -- of a node list.
|
|
103
|
|
104 -- Rewrite_Ins A flag set if a node is marked as a rewrite inserted
|
|
105 -- node as a result of a call to Mark_Rewrite_Insertion.
|
|
106
|
|
107 -- Paren_Count A 2-bit count used in sub-expression nodes to indicate
|
|
108 -- the level of parentheses. The settings are 0,1,2 and
|
|
109 -- 3 for many. If the value is 3, then an auxiliary table
|
|
110 -- is used to indicate the real value. Set to zero for
|
|
111 -- non-subexpression nodes.
|
|
112
|
|
113 -- Note: the required parentheses surrounding conditional
|
|
114 -- and quantified expressions count as a level of parens
|
|
115 -- for this purpose, so e.g. in X := (if A then B else C);
|
|
116 -- Paren_Count for the right side will be 1.
|
|
117
|
|
118 -- Comes_From_Source
|
|
119 -- This flag is present in all nodes. It is set if the
|
|
120 -- node is built by the scanner or parser, and clear if
|
|
121 -- the node is built by the analyzer or expander. It
|
|
122 -- indicates that the node corresponds to a construct
|
|
123 -- that appears in the original source program.
|
|
124
|
|
125 -- Analyzed This flag is present in all nodes. It is set when
|
|
126 -- a node is analyzed, and is used to avoid analyzing
|
|
127 -- the same node twice. Analysis includes expansion if
|
|
128 -- expansion is active, so in this case if the flag is
|
|
129 -- set it means the node has been analyzed and expanded.
|
|
130
|
|
131 -- Error_Posted This flag is present in all nodes. It is set when
|
|
132 -- an error message is posted which is associated with
|
|
133 -- the flagged node. This is used to avoid posting more
|
|
134 -- than one message on the same node.
|
|
135
|
|
136 -- Field1
|
|
137 -- Field2
|
|
138 -- Field3
|
|
139 -- Field4
|
|
140 -- Field5 Five fields holding Union_Id values
|
|
141
|
|
142 -- ElistN Synonym for FieldN typed as Elist_Id (Empty = No_Elist)
|
|
143 -- ListN Synonym for FieldN typed as List_Id
|
|
144 -- NameN Synonym for FieldN typed as Name_Id
|
|
145 -- NodeN Synonym for FieldN typed as Node_Id
|
|
146 -- StrN Synonym for FieldN typed as String_Id
|
|
147 -- UintN Synonym for FieldN typed as Uint (Empty = Uint_0)
|
|
148 -- UrealN Synonym for FieldN typed as Ureal
|
|
149
|
|
150 -- Note: in the case of ElistN and UintN fields, it is common that we
|
|
151 -- end up with a value of Union_Id'(0) as the default value. This value
|
|
152 -- is meaningless as a Uint or Elist_Id value. We have two choices here.
|
|
153 -- We could require that all Uint and Elist fields be initialized to an
|
|
154 -- appropriate value, but that's error prone, since it would be easy to
|
|
155 -- miss an initialization. So instead we have the retrieval functions
|
|
156 -- generate an appropriate default value (Uint_0 or No_Elist). Probably
|
|
157 -- it would be cleaner to generate No_Uint in the Uint case but we got
|
|
158 -- stuck with representing an "unset" size value as zero early on, and
|
|
159 -- it will take a bit of fiddling to change that ???
|
|
160
|
|
161 -- Note: the actual usage of FieldN (i.e. whether it contains a Elist_Id,
|
|
162 -- List_Id, Name_Id, Node_Id, String_Id, Uint or Ureal) depends on the
|
|
163 -- value in Nkind. Generally the access to this field is always via the
|
|
164 -- functional interface, so the field names ElistN, ListN, NameN, NodeN,
|
|
165 -- StrN, UintN and UrealN are used only in the bodies of the access
|
|
166 -- functions (i.e. in the bodies of Sinfo and Einfo). These access
|
|
167 -- functions contain debugging code that checks that the use is
|
|
168 -- consistent with Nkind and Ekind values.
|
|
169
|
|
170 -- However, in specialized circumstances (examples are the circuit in
|
|
171 -- generic instantiation to copy trees, and in the tree dump routine),
|
|
172 -- it is useful to be able to do untyped traversals, and an internal
|
|
173 -- package in Atree allows for direct untyped accesses in such cases.
|
|
174
|
|
175 -- Flag0 Nineteen Boolean flags (use depends on Nkind and
|
|
176 -- Flag1 Ekind, as described for FieldN). Again the access
|
|
177 -- Flag2 is usually via subprograms in Sinfo and Einfo which
|
|
178 -- Flag3 provide high-level synonyms for these flags, and
|
|
179 -- Flag4 contain debugging code that checks that the values
|
|
180 -- Flag5 in Nkind and Ekind are appropriate for the access.
|
|
181 -- Flag6
|
|
182 -- Flag7
|
|
183 -- Flag8
|
|
184 -- Flag9
|
|
185 -- Flag10
|
|
186 -- Flag11 Note that Flag0-3 are stored separately in the Flags
|
|
187 -- Flag12 table, but that's a detail of the implementation which
|
|
188 -- Flag13 is entirely hidden by the functional interface.
|
|
189 -- Flag14
|
|
190 -- Flag15
|
|
191 -- Flag16
|
|
192 -- Flag17
|
|
193 -- Flag18
|
|
194
|
|
195 -- Link For a node, points to the Parent. For a list, points
|
|
196 -- to the list header. Note that in the latter case, a
|
|
197 -- client cannot modify the link field. This field is
|
|
198 -- private to the Atree package (but is also modified
|
|
199 -- by the Nlists package).
|
|
200
|
|
201 -- The following additional fields are present in extended nodes used
|
|
202 -- for entities (Nkind in N_Entity).
|
|
203
|
|
204 -- Ekind Entity type. This field indicates the type of the
|
|
205 -- entity, it is of type Entity_Kind which is defined
|
|
206 -- in package Einfo.
|
|
207
|
|
208 -- Flag19 299 additional flags
|
|
209 -- ...
|
|
210 -- Flag317
|
|
211
|
|
212 -- Convention Entity convention (Convention_Id value)
|
|
213
|
|
214 -- Field6 Additional Union_Id value stored in tree
|
|
215
|
|
216 -- Node6 Synonym for Field6 typed as Node_Id
|
|
217 -- Elist6 Synonym for Field6 typed as Elist_Id (Empty = No_Elist)
|
|
218 -- Uint6 Synonym for Field6 typed as Uint (Empty = Uint_0)
|
|
219
|
|
220 -- Similar definitions for Field7 to Field41 (and also Node7-Node41,
|
|
221 -- Elist7-Elist41, Uint7-Uint41, Ureal7-Ureal41). Note that not all
|
|
222 -- these functions are defined, only the ones that are actually used.
|
|
223
|
|
224 function Last_Node_Id return Node_Id;
|
|
225 pragma Inline (Last_Node_Id);
|
|
226 -- Returns Id of last allocated node Id
|
|
227
|
|
228 function Nodes_Address return System.Address;
|
|
229 -- Return address of Nodes table (used in Back_End for Gigi call)
|
|
230
|
|
231 function Flags_Address return System.Address;
|
|
232 -- Return address of Flags table (used in Back_End for Gigi call)
|
|
233
|
|
234 function Num_Nodes return Nat;
|
|
235 -- Total number of nodes allocated, where an entity counts as a single
|
|
236 -- node. This count is incremented every time a node or entity is
|
|
237 -- allocated, and decremented every time a node or entity is deleted.
|
|
238 -- This value is used by Xref and by Treepr to allocate hash tables of
|
|
239 -- suitable size for hashing Node_Id values.
|
|
240
|
|
241 -----------------------
|
|
242 -- Use of Empty Node --
|
|
243 -----------------------
|
|
244
|
|
245 -- The special Node_Id Empty is used to mark missing fields. Whenever the
|
|
246 -- syntax has an optional component, then the corresponding field will be
|
|
247 -- set to Empty if the component is missing.
|
|
248
|
|
249 -- Note: Empty is not used to describe an empty list. Instead in this
|
|
250 -- case the node field contains a list which is empty, and these cases
|
|
251 -- should be distinguished (essentially from a type point of view, Empty
|
|
252 -- is a Node, and is thus not a list).
|
|
253
|
|
254 -- Note: Empty does in fact correspond to an allocated node. Only the
|
|
255 -- Nkind field of this node may be referenced. It contains N_Empty, which
|
|
256 -- uniquely identifies the empty case. This allows the Nkind field to be
|
|
257 -- dereferenced before the check for Empty which is sometimes useful.
|
|
258
|
|
259 -----------------------
|
|
260 -- Use of Error Node --
|
|
261 -----------------------
|
|
262
|
|
263 -- The Error node is used during syntactic and semantic analysis to
|
|
264 -- indicate that the corresponding piece of syntactic structure or
|
|
265 -- semantic meaning cannot properly be represented in the tree because
|
|
266 -- of an illegality in the program.
|
|
267
|
|
268 -- If an Error node is encountered, then you know that a previous
|
|
269 -- illegality has been detected. The proper reaction should be to
|
|
270 -- avoid posting related cascaded error messages, and to propagate
|
|
271 -- the error node if necessary.
|
|
272
|
|
273 ------------------------
|
|
274 -- Current_Error_Node --
|
|
275 ------------------------
|
|
276
|
|
277 -- The current error node is a global location indicating the current
|
|
278 -- node that is being processed for the purposes of placing a compiler
|
|
279 -- abort message. This is not necessarily perfectly accurate, it is
|
|
280 -- just a reasonably accurate best guess. It is used to output the
|
|
281 -- source location in the abort message by Comperr, and also to
|
|
282 -- implement the d3 debugging flag. This is also used by Rtsfind
|
|
283 -- to generate error messages for high integrity mode.
|
|
284
|
|
285 -- There are two ways this gets set. During parsing, when new source
|
|
286 -- nodes are being constructed by calls to New_Node and New_Entity,
|
|
287 -- either one of these calls sets Current_Error_Node to the newly
|
|
288 -- created node. During semantic analysis, this mechanism is not
|
|
289 -- used, and instead Current_Error_Node is set by the subprograms in
|
|
290 -- Debug_A that mark the start and end of analysis/expansion of a
|
|
291 -- node in the tree.
|
|
292
|
|
293 Current_Error_Node : Node_Id;
|
|
294 -- Node to place error messages
|
|
295
|
|
296 ------------------
|
|
297 -- Error Counts --
|
|
298 ------------------
|
|
299
|
|
300 -- The following variables denote the count of errors of various kinds
|
|
301 -- detected in the tree. Note that these might be more logically located in
|
|
302 -- Err_Vars, but we put it here to deal with licensing issues (we need this
|
|
303 -- to have the GPL exception licensing, since Check_Error_Detected can be
|
|
304 -- called from units with this licensing).
|
|
305
|
|
306 Serious_Errors_Detected : Nat := 0;
|
|
307 -- This is a count of errors that are serious enough to stop expansion,
|
|
308 -- and hence to prevent generation of an object file even if the
|
|
309 -- switch -gnatQ is set. Initialized to zero at the start of compilation.
|
|
310 -- Initialized for -gnatVa use, see comment above.
|
|
311
|
145
|
312 -- WARNING: There is a matching C declaration of this variable in fe.h
|
|
313
|
111
|
314 Total_Errors_Detected : Nat := 0;
|
|
315 -- Number of errors detected so far. Includes count of serious errors and
|
|
316 -- non-serious errors, so this value is always greater than or equal to the
|
|
317 -- Serious_Errors_Detected value. Initialized to zero at the start of
|
|
318 -- compilation. Initialized for -gnatVa use, see comment above.
|
|
319
|
|
320 Warnings_Detected : Nat := 0;
|
|
321 -- Number of warnings detected. Initialized to zero at the start of
|
|
322 -- compilation. Initialized for -gnatVa use, see comment above. This
|
|
323 -- count includes the count of style and info messages.
|
|
324
|
|
325 Warning_Info_Messages : Nat := 0;
|
|
326 -- Number of info messages generated as warnings. Info messages are never
|
|
327 -- treated as errors (whether from use of the pragma, or the compiler
|
|
328 -- switch -gnatwe).
|
|
329
|
|
330 Report_Info_Messages : Nat := 0;
|
|
331 -- Number of info messages generated as reports. Info messages are never
|
|
332 -- treated as errors (whether from use of the pragma, or the compiler
|
|
333 -- switch -gnatwe). Used under Spark_Mode to report proved checks.
|
|
334
|
|
335 Check_Messages : Nat := 0;
|
|
336 -- Number of check messages generated. Check messages are neither warnings
|
|
337 -- nor errors.
|
|
338
|
|
339 Warnings_Treated_As_Errors : Nat := 0;
|
|
340 -- Number of warnings changed into errors as a result of matching a pattern
|
|
341 -- given in a Warning_As_Error configuration pragma.
|
|
342
|
|
343 Configurable_Run_Time_Violations : Nat := 0;
|
|
344 -- Count of configurable run time violations so far. This is used to
|
|
345 -- suppress certain cascaded error messages when we know that we may not
|
|
346 -- have fully expanded some items, due to high integrity violations (e.g.
|
|
347 -- the use of constructs not permitted by the library in use, or improper
|
|
348 -- constructs in No_Run_Time mode).
|
|
349
|
|
350 procedure Check_Error_Detected;
|
|
351 -- When an anomaly is found in the tree, many semantic routines silently
|
|
352 -- bail out, assuming that the anomaly was caused by a previously detected
|
|
353 -- serious error (or configurable run time violation). This routine should
|
|
354 -- be called in these cases, and will raise an exception if no such error
|
|
355 -- has been detected. This ensure that the anomaly is never allowed to go
|
|
356 -- unnoticed.
|
|
357
|
|
358 -------------------------------
|
|
359 -- Default Setting of Fields --
|
|
360 -------------------------------
|
|
361
|
|
362 -- Nkind is set to N_Unused_At_Start
|
|
363
|
|
364 -- Ekind is set to E_Void
|
|
365
|
|
366 -- Sloc is always set, there is no default value
|
|
367
|
|
368 -- Field1-5 fields are set to Empty
|
|
369
|
|
370 -- Field6-41 fields in extended nodes are set to Empty
|
|
371
|
|
372 -- Parent is set to Empty
|
|
373
|
|
374 -- All Boolean flag fields are set to False
|
|
375
|
|
376 -- Note: the value Empty is used in Field1-Field41 to indicate a null node.
|
|
377 -- The usage varies. The common uses are to indicate absence of an optional
|
|
378 -- clause or a completely unused Field1-35 field.
|
|
379
|
|
380 -------------------------------------
|
|
381 -- Use of Synonyms for Node Fields --
|
|
382 -------------------------------------
|
|
383
|
|
384 -- A subpackage Atree.Unchecked_Access provides routines for reading and
|
|
385 -- writing the fields defined above (Field1-35, Node1-35, Flag0-317 etc).
|
|
386 -- These unchecked access routines can be used for untyped traversals.
|
|
387 -- In addition they are used in the implementations of the Sinfo and
|
|
388 -- Einfo packages. These packages both provide logical synonyms for
|
|
389 -- the generic fields, together with an appropriate set of access routines.
|
|
390 -- Normally access to information within tree nodes uses these synonyms,
|
|
391 -- providing a high level typed interface to the tree information.
|
|
392
|
|
393 --------------------------------------------------
|
|
394 -- Node Allocation and Modification Subprograms --
|
|
395 --------------------------------------------------
|
|
396
|
|
397 -- Generally the parser builds the tree and then it is further decorated
|
|
398 -- (e.g. by setting the entity fields), but not fundamentally modified.
|
|
399 -- However, there are cases in which the tree must be restructured by
|
|
400 -- adding and rearranging nodes, as a result of disambiguating cases
|
|
401 -- which the parser could not parse correctly, and adding additional
|
|
402 -- semantic information (e.g. making constraint checks explicit). The
|
|
403 -- following subprograms are used for constructing the tree in the first
|
|
404 -- place, and then for subsequent modifications as required.
|
|
405
|
|
406 procedure Initialize;
|
|
407 -- Called at the start of compilation to initialize the allocation of
|
|
408 -- the node and list tables and make the standard entries for Empty,
|
|
409 -- Error and Error_List. Note that Initialize must not be called if
|
|
410 -- Tree_Read is used.
|
|
411
|
|
412 procedure Lock;
|
|
413 -- Called before the back end is invoked to lock the nodes table
|
|
414 -- Also called after Unlock to relock???
|
|
415
|
|
416 procedure Lock_Nodes;
|
|
417 -- Called to lock node modifications when assertions are enabled; without
|
|
418 -- assertions calling this subprogram has no effect. The initial state of
|
|
419 -- the lock is unlocked.
|
|
420
|
|
421 procedure Unlock;
|
|
422 -- Unlocks nodes table, in cases where the back end needs to modify it
|
|
423
|
|
424 procedure Unlock_Nodes;
|
|
425 -- Called to unlock entity modifications when assertions are enabled; if
|
|
426 -- assertions are not enabled calling this subprogram has no effect.
|
|
427
|
|
428 procedure Tree_Read;
|
|
429 -- Initializes internal tables from current tree file using the relevant
|
|
430 -- Table.Tree_Read routines. Note that Initialize should not be called if
|
|
431 -- Tree_Read is used. Tree_Read includes all necessary initialization.
|
|
432
|
|
433 procedure Tree_Write;
|
|
434 -- Writes out internal tables to current tree file using the relevant
|
|
435 -- Table.Tree_Write routines.
|
|
436
|
|
437 function New_Node
|
|
438 (New_Node_Kind : Node_Kind;
|
|
439 New_Sloc : Source_Ptr) return Node_Id;
|
|
440 -- Allocates a completely new node with the given node type and source
|
|
441 -- location values. All other fields are set to their standard defaults:
|
|
442 --
|
|
443 -- Empty for all FieldN fields
|
|
444 -- False for all FlagN fields
|
|
445 --
|
|
446 -- The usual approach is to build a new node using this function and
|
|
447 -- then, using the value returned, use the Set_xxx functions to set
|
|
448 -- fields of the node as required. New_Node can only be used for
|
|
449 -- non-entity nodes, i.e. it never generates an extended node.
|
|
450 --
|
|
451 -- If we are currently parsing, as indicated by a previous call to
|
|
452 -- Set_Comes_From_Source_Default (True), then this call also resets
|
|
453 -- the value of Current_Error_Node.
|
|
454
|
|
455 function New_Entity
|
|
456 (New_Node_Kind : Node_Kind;
|
|
457 New_Sloc : Source_Ptr) return Entity_Id;
|
|
458 -- Similar to New_Node, except that it is used only for entity nodes
|
|
459 -- and returns an extended node.
|
|
460
|
|
461 procedure Set_Comes_From_Source_Default (Default : Boolean);
|
|
462 -- Sets value of Comes_From_Source flag to be used in all subsequent
|
|
463 -- New_Node and New_Entity calls until another call to this procedure
|
|
464 -- changes the default. This value is set True during parsing and
|
|
465 -- False during semantic analysis. This is also used to determine
|
|
466 -- if New_Node and New_Entity should set Current_Error_Node.
|
|
467
|
|
468 function Get_Comes_From_Source_Default return Boolean;
|
|
469 pragma Inline (Get_Comes_From_Source_Default);
|
|
470 -- Gets the current value of the Comes_From_Source flag
|
|
471
|
|
472 procedure Preserve_Comes_From_Source (NewN, OldN : Node_Id);
|
|
473 pragma Inline (Preserve_Comes_From_Source);
|
|
474 -- When a node is rewritten, it is sometimes appropriate to preserve the
|
|
475 -- original comes from source indication. This is true when the rewrite
|
|
476 -- essentially corresponds to a transformation corresponding exactly to
|
|
477 -- semantics in the reference manual. This procedure copies the setting
|
|
478 -- of Comes_From_Source from OldN to NewN.
|
|
479
|
|
480 function Has_Extension (N : Node_Id) return Boolean;
|
|
481 pragma Inline (Has_Extension);
|
|
482 -- Returns True if the given node has an extension (i.e. was created by
|
|
483 -- a call to New_Entity rather than New_Node, and Nkind is in N_Entity)
|
|
484
|
|
485 procedure Change_Node (N : Node_Id; New_Node_Kind : Node_Kind);
|
|
486 -- This procedure replaces the given node by setting its Nkind field to
|
|
487 -- the indicated value and resetting all other fields to their default
|
|
488 -- values except for Sloc, which is unchanged, and the Parent pointer
|
|
489 -- and list links, which are also unchanged. All other information in
|
|
490 -- the original node is lost. The new node has an extension if the
|
|
491 -- original node had an extension.
|
|
492
|
|
493 procedure Copy_Node (Source : Node_Id; Destination : Node_Id);
|
|
494 -- Copy the entire contents of the source node to the destination node.
|
|
495 -- The contents of the source node is not affected. If the source node
|
|
496 -- has an extension, then the destination must have an extension also.
|
|
497 -- The parent pointer of the destination and its list link, if any, are
|
|
498 -- not affected by the copy. Note that parent pointers of descendants
|
|
499 -- are not adjusted, so the descendants of the destination node after
|
|
500 -- the Copy_Node is completed have dubious parent pointers. Note that
|
|
501 -- this routine does NOT copy aspect specifications, the Has_Aspects
|
|
502 -- flag in the returned node will always be False. The caller must deal
|
|
503 -- with copying aspect specifications where this is required.
|
|
504
|
|
505 function New_Copy (Source : Node_Id) return Node_Id;
|
|
506 -- This function allocates a completely new node, and then initializes
|
|
507 -- it by copying the contents of the source node into it. The contents of
|
|
508 -- the source node is not affected. The target node is always marked as
|
|
509 -- not being in a list (even if the source is a list member), and not
|
|
510 -- overloaded. The new node will have an extension if the source has
|
|
511 -- an extension. New_Copy (Empty) returns Empty, and New_Copy (Error)
|
|
512 -- returns Error. Note that, unlike Copy_Separate_Tree, New_Copy does not
|
|
513 -- recursively copy any descendants, so in general parent pointers are not
|
|
514 -- set correctly for the descendants of the copied node. Both normal and
|
|
515 -- extended nodes (entities) may be copied using New_Copy.
|
|
516
|
|
517 function Relocate_Node (Source : Node_Id) return Node_Id;
|
|
518 -- Source is a non-entity node that is to be relocated. A new node is
|
|
519 -- allocated, and the contents of Source are copied to this node, using
|
|
520 -- New_Copy. The parent pointers of descendants of the node are then
|
|
521 -- adjusted to point to the relocated copy. The original node is not
|
|
522 -- modified, but the parent pointers of its descendants are no longer
|
|
523 -- valid. The new copy is always marked as not overloaded. This routine is
|
|
524 -- used in conjunction with the tree rewrite routines (see descriptions of
|
|
525 -- Replace/Rewrite).
|
|
526 --
|
|
527 -- Note that the resulting node has the same parent as the source node, and
|
|
528 -- is thus still attached to the tree. It is valid for Source to be Empty,
|
|
529 -- in which case Relocate_Node simply returns Empty as the result.
|
|
530
|
|
531 function Copy_Separate_Tree (Source : Node_Id) return Node_Id;
|
|
532 -- Given a node that is the root of a subtree, Copy_Separate_Tree copies
|
|
533 -- the entire syntactic subtree, including recursively any descendants
|
|
534 -- whose parent field references a copied node (descendants not linked to
|
|
535 -- a copied node by the parent field are also copied.) The parent pointers
|
|
536 -- in the copy are properly set. Copy_Separate_Tree (Empty/Error) returns
|
|
537 -- Empty/Error. The new subtree does not share entities with the source,
|
|
538 -- but has new entities with the same name.
|
|
539 --
|
|
540 -- Most of the time this routine is called on an unanalyzed tree, and no
|
|
541 -- semantic information is copied. However, to ensure that no entities
|
|
542 -- are shared between the two when the source is already analyzed, and
|
|
543 -- that the result looks like an unanalyzed tree from the parser, Entity
|
|
544 -- fields and Etype fields are set to Empty, and Analyzed flags set False.
|
|
545 --
|
|
546 -- In addition, Expanded_Name nodes are converted back into the original
|
|
547 -- parser form (where they are Selected_Components), so that reanalysis
|
|
548 -- does the right thing.
|
|
549
|
|
550 function Copy_Separate_List (Source : List_Id) return List_Id;
|
|
551 -- Applies Copy_Separate_Tree to each element of the Source list, returning
|
|
552 -- a new list of the results of these copy operations.
|
|
553
|
|
554 procedure Exchange_Entities (E1 : Entity_Id; E2 : Entity_Id);
|
|
555 -- Exchange the contents of two entities. The parent pointers are switched
|
|
556 -- as well as the Defining_Identifier fields in the parents, so that the
|
|
557 -- entities point correctly to their original parents. The effect is thus
|
|
558 -- to leave the tree completely unchanged in structure, except that the
|
|
559 -- entity ID values of the two entities are interchanged. Neither of the
|
|
560 -- two entities may be list members. Note that entities appear on two
|
|
561 -- semantic chains: Homonym and Next_Entity: the corresponding links must
|
|
562 -- be adjusted by the caller, according to context.
|
|
563
|
|
564 function Extend_Node (Node : Node_Id) return Entity_Id;
|
|
565 -- This function returns a copy of its input node with an extension added.
|
|
566 -- The fields of the extension are set to Empty. Due to the way extensions
|
|
567 -- are handled (as four consecutive array elements), it may be necessary
|
|
568 -- to reallocate the node, so that the returned value is not the same as
|
|
569 -- the input value, but where possible the returned value will be the same
|
|
570 -- as the input value (i.e. the extension will occur in place). It is the
|
|
571 -- caller's responsibility to ensure that any pointers to the original node
|
|
572 -- are appropriately updated. This function is used only by Sinfo.CN to
|
|
573 -- change nodes into their corresponding entities.
|
|
574
|
131
|
575 type Ignored_Ghost_Record_Proc is access procedure (N : Node_Or_Entity_Id);
|
|
576
|
|
577 procedure Set_Ignored_Ghost_Recording_Proc
|
|
578 (Proc : Ignored_Ghost_Record_Proc);
|
|
579 -- Register a procedure that is invoked when an ignored Ghost node or
|
|
580 -- entity is created.
|
|
581
|
111
|
582 type Report_Proc is access procedure (Target : Node_Id; Source : Node_Id);
|
|
583
|
|
584 procedure Set_Reporting_Proc (Proc : Report_Proc);
|
|
585 -- Register a procedure that is invoked when a node is allocated, replaced
|
|
586 -- or rewritten.
|
|
587
|
|
588 type Rewrite_Proc is access procedure (Target : Node_Id; Source : Node_Id);
|
|
589
|
|
590 procedure Set_Rewriting_Proc (Proc : Rewrite_Proc);
|
|
591 -- Register a procedure that is invoked when a node is rewritten
|
|
592
|
|
593 type Traverse_Result is (Abandon, OK, OK_Orig, Skip);
|
|
594 -- This is the type of the result returned by the Process function passed
|
|
595 -- to Traverse_Func and Traverse_Proc. See below for details.
|
|
596
|
|
597 subtype Traverse_Final_Result is Traverse_Result range Abandon .. OK;
|
|
598 -- This is the type of the final result returned Traverse_Func, based on
|
|
599 -- the results of Process calls. See below for details.
|
|
600
|
|
601 generic
|
|
602 with function Process (N : Node_Id) return Traverse_Result is <>;
|
|
603 function Traverse_Func (Node : Node_Id) return Traverse_Final_Result;
|
|
604 -- This is a generic function that, given the parent node for a subtree,
|
|
605 -- traverses all syntactic nodes of this tree, calling the given function
|
|
606 -- Process on each one, in pre order (i.e. top-down). The order of
|
|
607 -- traversing subtrees is arbitrary. The traversal is controlled as follows
|
|
608 -- by the result returned by Process:
|
|
609
|
|
610 -- OK The traversal continues normally with the syntactic
|
|
611 -- children of the node just processed.
|
|
612
|
|
613 -- OK_Orig The traversal continues normally with the syntactic
|
|
614 -- children of the original node of the node just processed.
|
|
615
|
|
616 -- Skip The children of the node just processed are skipped and
|
|
617 -- excluded from the traversal, but otherwise processing
|
|
618 -- continues elsewhere in the tree.
|
|
619
|
|
620 -- Abandon The entire traversal is immediately abandoned, and the
|
|
621 -- original call to Traverse returns Abandon.
|
|
622
|
|
623 -- The result returned by Traverse is Abandon if processing was terminated
|
|
624 -- by a call to Process returning Abandon, otherwise it is OK (meaning that
|
|
625 -- all calls to process returned either OK, OK_Orig, or Skip).
|
|
626
|
|
627 generic
|
|
628 with function Process (N : Node_Id) return Traverse_Result is <>;
|
|
629 procedure Traverse_Proc (Node : Node_Id);
|
|
630 pragma Inline (Traverse_Proc);
|
|
631 -- This is the same as Traverse_Func except that no result is returned,
|
|
632 -- i.e. Traverse_Func is called and the result is simply discarded.
|
|
633
|
|
634 ---------------------------
|
|
635 -- Node Access Functions --
|
|
636 ---------------------------
|
|
637
|
|
638 -- The following functions return the contents of the indicated field of
|
|
639 -- the node referenced by the argument, which is a Node_Id.
|
|
640
|
|
641 function Analyzed (N : Node_Id) return Boolean;
|
|
642 pragma Inline (Analyzed);
|
|
643
|
|
644 function Check_Actuals (N : Node_Id) return Boolean;
|
|
645 pragma Inline (Check_Actuals);
|
|
646
|
|
647 function Comes_From_Source (N : Node_Id) return Boolean;
|
|
648 pragma Inline (Comes_From_Source);
|
|
649
|
|
650 function Error_Posted (N : Node_Id) return Boolean;
|
|
651 pragma Inline (Error_Posted);
|
|
652
|
|
653 function Has_Aspects (N : Node_Id) return Boolean;
|
|
654 pragma Inline (Has_Aspects);
|
|
655
|
|
656 function Is_Ignored_Ghost_Node (N : Node_Id) return Boolean;
|
|
657 pragma Inline (Is_Ignored_Ghost_Node);
|
|
658
|
|
659 function Nkind (N : Node_Id) return Node_Kind;
|
|
660 pragma Inline (Nkind);
|
|
661
|
|
662 function No (N : Node_Id) return Boolean;
|
|
663 pragma Inline (No);
|
|
664 -- Tests given Id for equality with the Empty node. This allows notations
|
|
665 -- like "if No (Variant_Part)" as opposed to "if Variant_Part = Empty".
|
|
666
|
|
667 function Parent (N : Node_Id) return Node_Id;
|
|
668 pragma Inline (Parent);
|
|
669 -- Returns the parent of a node if the node is not a list member, or else
|
|
670 -- the parent of the list containing the node if the node is a list member.
|
|
671
|
|
672 function Paren_Count (N : Node_Id) return Nat;
|
|
673 pragma Inline (Paren_Count);
|
|
674
|
|
675 function Present (N : Node_Id) return Boolean;
|
|
676 pragma Inline (Present);
|
|
677 -- Tests given Id for inequality with the Empty node. This allows notations
|
|
678 -- like "if Present (Statement)" as opposed to "if Statement /= Empty".
|
|
679
|
|
680 function Sloc (N : Node_Id) return Source_Ptr;
|
|
681 pragma Inline (Sloc);
|
|
682
|
|
683 ---------------------
|
|
684 -- Node_Kind Tests --
|
|
685 ---------------------
|
|
686
|
|
687 -- These are like the functions in Sinfo, but the first argument is a
|
|
688 -- Node_Id, and the tested field is Nkind (N).
|
|
689
|
|
690 function Nkind_In
|
|
691 (N : Node_Id;
|
|
692 V1 : Node_Kind;
|
|
693 V2 : Node_Kind) return Boolean;
|
|
694
|
|
695 function Nkind_In
|
|
696 (N : Node_Id;
|
|
697 V1 : Node_Kind;
|
|
698 V2 : Node_Kind;
|
|
699 V3 : Node_Kind) return Boolean;
|
|
700
|
|
701 function Nkind_In
|
|
702 (N : Node_Id;
|
|
703 V1 : Node_Kind;
|
|
704 V2 : Node_Kind;
|
|
705 V3 : Node_Kind;
|
|
706 V4 : Node_Kind) return Boolean;
|
|
707
|
|
708 function Nkind_In
|
|
709 (N : Node_Id;
|
|
710 V1 : Node_Kind;
|
|
711 V2 : Node_Kind;
|
|
712 V3 : Node_Kind;
|
|
713 V4 : Node_Kind;
|
|
714 V5 : Node_Kind) return Boolean;
|
|
715
|
|
716 function Nkind_In
|
|
717 (N : Node_Id;
|
|
718 V1 : Node_Kind;
|
|
719 V2 : Node_Kind;
|
|
720 V3 : Node_Kind;
|
|
721 V4 : Node_Kind;
|
|
722 V5 : Node_Kind;
|
|
723 V6 : Node_Kind) return Boolean;
|
|
724
|
|
725 function Nkind_In
|
|
726 (N : Node_Id;
|
|
727 V1 : Node_Kind;
|
|
728 V2 : Node_Kind;
|
|
729 V3 : Node_Kind;
|
|
730 V4 : Node_Kind;
|
|
731 V5 : Node_Kind;
|
|
732 V6 : Node_Kind;
|
|
733 V7 : Node_Kind) return Boolean;
|
|
734
|
|
735 function Nkind_In
|
|
736 (N : Node_Id;
|
|
737 V1 : Node_Kind;
|
|
738 V2 : Node_Kind;
|
|
739 V3 : Node_Kind;
|
|
740 V4 : Node_Kind;
|
|
741 V5 : Node_Kind;
|
|
742 V6 : Node_Kind;
|
|
743 V7 : Node_Kind;
|
|
744 V8 : Node_Kind) return Boolean;
|
|
745
|
|
746 function Nkind_In
|
|
747 (N : Node_Id;
|
|
748 V1 : Node_Kind;
|
|
749 V2 : Node_Kind;
|
|
750 V3 : Node_Kind;
|
|
751 V4 : Node_Kind;
|
|
752 V5 : Node_Kind;
|
|
753 V6 : Node_Kind;
|
|
754 V7 : Node_Kind;
|
|
755 V8 : Node_Kind;
|
|
756 V9 : Node_Kind) return Boolean;
|
|
757
|
131
|
758 function Nkind_In
|
|
759 (N : Node_Id;
|
|
760 V1 : Node_Kind;
|
|
761 V2 : Node_Kind;
|
|
762 V3 : Node_Kind;
|
|
763 V4 : Node_Kind;
|
|
764 V5 : Node_Kind;
|
|
765 V6 : Node_Kind;
|
|
766 V7 : Node_Kind;
|
|
767 V8 : Node_Kind;
|
|
768 V9 : Node_Kind;
|
|
769 V10 : Node_Kind) return Boolean;
|
|
770
|
|
771 function Nkind_In
|
|
772 (N : Node_Id;
|
|
773 V1 : Node_Kind;
|
|
774 V2 : Node_Kind;
|
|
775 V3 : Node_Kind;
|
|
776 V4 : Node_Kind;
|
|
777 V5 : Node_Kind;
|
|
778 V6 : Node_Kind;
|
|
779 V7 : Node_Kind;
|
|
780 V8 : Node_Kind;
|
|
781 V9 : Node_Kind;
|
|
782 V10 : Node_Kind;
|
|
783 V11 : Node_Kind) return Boolean;
|
|
784
|
145
|
785 -- 12..15-parameter versions are not yet needed
|
|
786
|
|
787 function Nkind_In
|
|
788 (N : Node_Id;
|
|
789 V1 : Node_Kind;
|
|
790 V2 : Node_Kind;
|
|
791 V3 : Node_Kind;
|
|
792 V4 : Node_Kind;
|
|
793 V5 : Node_Kind;
|
|
794 V6 : Node_Kind;
|
|
795 V7 : Node_Kind;
|
|
796 V8 : Node_Kind;
|
|
797 V9 : Node_Kind;
|
|
798 V10 : Node_Kind;
|
|
799 V11 : Node_Kind;
|
|
800 V12 : Node_Kind;
|
|
801 V13 : Node_Kind;
|
|
802 V14 : Node_Kind;
|
|
803 V15 : Node_Kind;
|
|
804 V16 : Node_Kind) return Boolean;
|
|
805
|
111
|
806 pragma Inline (Nkind_In);
|
|
807 -- Inline all above functions
|
|
808
|
|
809 -----------------------
|
|
810 -- Entity_Kind_Tests --
|
|
811 -----------------------
|
|
812
|
|
813 -- Utility functions to test whether an Entity_Kind value, either given
|
|
814 -- directly as the first argument, or the Ekind field of an Entity given
|
|
815 -- as the first argument, matches any of the given list of Entity_Kind
|
|
816 -- values. Return True if any match, False if no match.
|
|
817
|
|
818 function Ekind_In
|
|
819 (E : Entity_Id;
|
|
820 V1 : Entity_Kind;
|
|
821 V2 : Entity_Kind) return Boolean;
|
|
822
|
|
823 function Ekind_In
|
|
824 (E : Entity_Id;
|
|
825 V1 : Entity_Kind;
|
|
826 V2 : Entity_Kind;
|
|
827 V3 : Entity_Kind) return Boolean;
|
|
828
|
|
829 function Ekind_In
|
|
830 (E : Entity_Id;
|
|
831 V1 : Entity_Kind;
|
|
832 V2 : Entity_Kind;
|
|
833 V3 : Entity_Kind;
|
|
834 V4 : Entity_Kind) return Boolean;
|
|
835
|
|
836 function Ekind_In
|
|
837 (E : Entity_Id;
|
|
838 V1 : Entity_Kind;
|
|
839 V2 : Entity_Kind;
|
|
840 V3 : Entity_Kind;
|
|
841 V4 : Entity_Kind;
|
|
842 V5 : Entity_Kind) return Boolean;
|
|
843
|
|
844 function Ekind_In
|
|
845 (E : Entity_Id;
|
|
846 V1 : Entity_Kind;
|
|
847 V2 : Entity_Kind;
|
|
848 V3 : Entity_Kind;
|
|
849 V4 : Entity_Kind;
|
|
850 V5 : Entity_Kind;
|
|
851 V6 : Entity_Kind) return Boolean;
|
|
852
|
|
853 function Ekind_In
|
|
854 (E : Entity_Id;
|
|
855 V1 : Entity_Kind;
|
|
856 V2 : Entity_Kind;
|
|
857 V3 : Entity_Kind;
|
|
858 V4 : Entity_Kind;
|
|
859 V5 : Entity_Kind;
|
|
860 V6 : Entity_Kind;
|
|
861 V7 : Entity_Kind) return Boolean;
|
|
862
|
|
863 function Ekind_In
|
|
864 (E : Entity_Id;
|
|
865 V1 : Entity_Kind;
|
|
866 V2 : Entity_Kind;
|
|
867 V3 : Entity_Kind;
|
|
868 V4 : Entity_Kind;
|
|
869 V5 : Entity_Kind;
|
|
870 V6 : Entity_Kind;
|
|
871 V7 : Entity_Kind;
|
|
872 V8 : Entity_Kind) return Boolean;
|
|
873
|
|
874 function Ekind_In
|
|
875 (E : Entity_Id;
|
|
876 V1 : Entity_Kind;
|
|
877 V2 : Entity_Kind;
|
|
878 V3 : Entity_Kind;
|
|
879 V4 : Entity_Kind;
|
|
880 V5 : Entity_Kind;
|
|
881 V6 : Entity_Kind;
|
|
882 V7 : Entity_Kind;
|
|
883 V8 : Entity_Kind;
|
|
884 V9 : Entity_Kind) return Boolean;
|
|
885
|
|
886 function Ekind_In
|
|
887 (E : Entity_Id;
|
|
888 V1 : Entity_Kind;
|
|
889 V2 : Entity_Kind;
|
|
890 V3 : Entity_Kind;
|
|
891 V4 : Entity_Kind;
|
|
892 V5 : Entity_Kind;
|
|
893 V6 : Entity_Kind;
|
|
894 V7 : Entity_Kind;
|
|
895 V8 : Entity_Kind;
|
|
896 V9 : Entity_Kind;
|
|
897 V10 : Entity_Kind) return Boolean;
|
|
898
|
|
899 function Ekind_In
|
|
900 (E : Entity_Id;
|
|
901 V1 : Entity_Kind;
|
|
902 V2 : Entity_Kind;
|
|
903 V3 : Entity_Kind;
|
|
904 V4 : Entity_Kind;
|
|
905 V5 : Entity_Kind;
|
|
906 V6 : Entity_Kind;
|
|
907 V7 : Entity_Kind;
|
|
908 V8 : Entity_Kind;
|
|
909 V9 : Entity_Kind;
|
|
910 V10 : Entity_Kind;
|
|
911 V11 : Entity_Kind) return Boolean;
|
|
912
|
|
913 function Ekind_In
|
|
914 (T : Entity_Kind;
|
|
915 V1 : Entity_Kind;
|
|
916 V2 : Entity_Kind) return Boolean;
|
|
917
|
|
918 function Ekind_In
|
|
919 (T : Entity_Kind;
|
|
920 V1 : Entity_Kind;
|
|
921 V2 : Entity_Kind;
|
|
922 V3 : Entity_Kind) return Boolean;
|
|
923
|
|
924 function Ekind_In
|
|
925 (T : Entity_Kind;
|
|
926 V1 : Entity_Kind;
|
|
927 V2 : Entity_Kind;
|
|
928 V3 : Entity_Kind;
|
|
929 V4 : Entity_Kind) return Boolean;
|
|
930
|
|
931 function Ekind_In
|
|
932 (T : Entity_Kind;
|
|
933 V1 : Entity_Kind;
|
|
934 V2 : Entity_Kind;
|
|
935 V3 : Entity_Kind;
|
|
936 V4 : Entity_Kind;
|
|
937 V5 : Entity_Kind) return Boolean;
|
|
938
|
|
939 function Ekind_In
|
|
940 (T : Entity_Kind;
|
|
941 V1 : Entity_Kind;
|
|
942 V2 : Entity_Kind;
|
|
943 V3 : Entity_Kind;
|
|
944 V4 : Entity_Kind;
|
|
945 V5 : Entity_Kind;
|
|
946 V6 : Entity_Kind) return Boolean;
|
|
947
|
|
948 function Ekind_In
|
|
949 (T : Entity_Kind;
|
|
950 V1 : Entity_Kind;
|
|
951 V2 : Entity_Kind;
|
|
952 V3 : Entity_Kind;
|
|
953 V4 : Entity_Kind;
|
|
954 V5 : Entity_Kind;
|
|
955 V6 : Entity_Kind;
|
|
956 V7 : Entity_Kind) return Boolean;
|
|
957
|
|
958 function Ekind_In
|
|
959 (T : Entity_Kind;
|
|
960 V1 : Entity_Kind;
|
|
961 V2 : Entity_Kind;
|
|
962 V3 : Entity_Kind;
|
|
963 V4 : Entity_Kind;
|
|
964 V5 : Entity_Kind;
|
|
965 V6 : Entity_Kind;
|
|
966 V7 : Entity_Kind;
|
|
967 V8 : Entity_Kind) return Boolean;
|
|
968
|
|
969 function Ekind_In
|
|
970 (T : Entity_Kind;
|
|
971 V1 : Entity_Kind;
|
|
972 V2 : Entity_Kind;
|
|
973 V3 : Entity_Kind;
|
|
974 V4 : Entity_Kind;
|
|
975 V5 : Entity_Kind;
|
|
976 V6 : Entity_Kind;
|
|
977 V7 : Entity_Kind;
|
|
978 V8 : Entity_Kind;
|
|
979 V9 : Entity_Kind) return Boolean;
|
|
980
|
|
981 function Ekind_In
|
|
982 (T : Entity_Kind;
|
|
983 V1 : Entity_Kind;
|
|
984 V2 : Entity_Kind;
|
|
985 V3 : Entity_Kind;
|
|
986 V4 : Entity_Kind;
|
|
987 V5 : Entity_Kind;
|
|
988 V6 : Entity_Kind;
|
|
989 V7 : Entity_Kind;
|
|
990 V8 : Entity_Kind;
|
|
991 V9 : Entity_Kind;
|
|
992 V10 : Entity_Kind) return Boolean;
|
|
993
|
|
994 function Ekind_In
|
|
995 (T : Entity_Kind;
|
|
996 V1 : Entity_Kind;
|
|
997 V2 : Entity_Kind;
|
|
998 V3 : Entity_Kind;
|
|
999 V4 : Entity_Kind;
|
|
1000 V5 : Entity_Kind;
|
|
1001 V6 : Entity_Kind;
|
|
1002 V7 : Entity_Kind;
|
|
1003 V8 : Entity_Kind;
|
|
1004 V9 : Entity_Kind;
|
|
1005 V10 : Entity_Kind;
|
|
1006 V11 : Entity_Kind) return Boolean;
|
|
1007
|
|
1008 pragma Inline (Ekind_In);
|
|
1009 -- Inline all above functions
|
|
1010
|
|
1011 -----------------------------
|
|
1012 -- Entity Access Functions --
|
|
1013 -----------------------------
|
|
1014
|
|
1015 -- The following functions apply only to Entity_Id values, i.e.
|
|
1016 -- to extended nodes.
|
|
1017
|
|
1018 function Ekind (E : Entity_Id) return Entity_Kind;
|
|
1019 pragma Inline (Ekind);
|
|
1020
|
|
1021 function Convention (E : Entity_Id) return Convention_Id;
|
|
1022 pragma Inline (Convention);
|
|
1023
|
|
1024 ----------------------------
|
|
1025 -- Node Update Procedures --
|
|
1026 ----------------------------
|
|
1027
|
|
1028 -- The following functions set a specified field in the node whose Id is
|
|
1029 -- passed as the first argument. The second parameter is the new value
|
|
1030 -- to be set in the specified field. Note that Set_Nkind is in the next
|
|
1031 -- section, since its use is restricted.
|
|
1032
|
|
1033 procedure Set_Analyzed (N : Node_Id; Val : Boolean := True);
|
|
1034 pragma Inline (Set_Analyzed);
|
|
1035
|
|
1036 procedure Set_Check_Actuals (N : Node_Id; Val : Boolean := True);
|
|
1037 pragma Inline (Set_Check_Actuals);
|
|
1038
|
|
1039 procedure Set_Comes_From_Source (N : Node_Id; Val : Boolean);
|
|
1040 pragma Inline (Set_Comes_From_Source);
|
|
1041 -- Note that this routine is very rarely used, since usually the default
|
|
1042 -- mechanism provided sets the right value, but in some unusual cases, the
|
|
1043 -- value needs to be reset (e.g. when a source node is copied, and the copy
|
|
1044 -- must not have Comes_From_Source set).
|
|
1045
|
|
1046 procedure Set_Error_Posted (N : Node_Id; Val : Boolean := True);
|
|
1047 pragma Inline (Set_Error_Posted);
|
|
1048
|
|
1049 procedure Set_Has_Aspects (N : Node_Id; Val : Boolean := True);
|
|
1050 pragma Inline (Set_Has_Aspects);
|
|
1051
|
|
1052 procedure Set_Is_Ignored_Ghost_Node (N : Node_Id; Val : Boolean := True);
|
|
1053 pragma Inline (Set_Is_Ignored_Ghost_Node);
|
|
1054
|
|
1055 procedure Set_Original_Node (N : Node_Id; Val : Node_Id);
|
|
1056 pragma Inline (Set_Original_Node);
|
|
1057 -- Note that this routine is used only in very peculiar cases. In normal
|
|
1058 -- cases, the Original_Node link is set by calls to Rewrite. We currently
|
|
1059 -- use it in ASIS mode to manually set the link from pragma expressions to
|
|
1060 -- their aspect original source expressions, so that the original source
|
|
1061 -- expressions accessed by ASIS are also semantically analyzed.
|
|
1062
|
|
1063 procedure Set_Parent (N : Node_Id; Val : Node_Id);
|
|
1064 pragma Inline (Set_Parent);
|
|
1065
|
|
1066 procedure Set_Paren_Count (N : Node_Id; Val : Nat);
|
|
1067 pragma Inline (Set_Paren_Count);
|
|
1068
|
|
1069 procedure Set_Sloc (N : Node_Id; Val : Source_Ptr);
|
|
1070 pragma Inline (Set_Sloc);
|
|
1071
|
|
1072 ------------------------------
|
|
1073 -- Entity Update Procedures --
|
|
1074 ------------------------------
|
|
1075
|
|
1076 -- The following procedures apply only to Entity_Id values, i.e.
|
|
1077 -- to extended nodes.
|
|
1078
|
|
1079 procedure Basic_Set_Convention (E : Entity_Id; Val : Convention_Id);
|
|
1080 pragma Inline (Basic_Set_Convention);
|
|
1081 -- Clients should use Sem_Util.Set_Convention rather than calling this
|
|
1082 -- routine directly, as Set_Convention also deals with the special
|
|
1083 -- processing required for access types.
|
|
1084
|
|
1085 procedure Set_Ekind (E : Entity_Id; Val : Entity_Kind);
|
|
1086 pragma Inline (Set_Ekind);
|
|
1087
|
|
1088 ---------------------------
|
|
1089 -- Tree Rewrite Routines --
|
|
1090 ---------------------------
|
|
1091
|
|
1092 -- During the compilation process it is necessary in a number of situations
|
|
1093 -- to rewrite the tree. In some cases, such rewrites do not affect the
|
|
1094 -- structure of the tree, for example, when an indexed component node is
|
|
1095 -- replaced by the corresponding call node (the parser cannot distinguish
|
|
1096 -- between these two cases).
|
|
1097
|
|
1098 -- In other situations, the rewrite does affect the structure of the
|
|
1099 -- tree. Examples are the replacement of a generic instantiation by the
|
|
1100 -- instantiated spec and body, and the static evaluation of expressions.
|
|
1101
|
|
1102 -- If such structural modifications are done by the expander, there are
|
|
1103 -- no difficulties, since the form of the tree after the expander has no
|
|
1104 -- special significance, except as input to the backend of the compiler.
|
|
1105 -- However, if these modifications are done by the semantic phase, then
|
|
1106 -- it is important that they be done in a manner which allows the original
|
|
1107 -- tree to be preserved. This is because tools like pretty printers need
|
|
1108 -- to have this original tree structure available.
|
|
1109
|
|
1110 -- The subprograms in this section allow rewriting of the tree by either
|
|
1111 -- insertion of new nodes in an existing list, or complete replacement of
|
|
1112 -- a subtree. The resulting tree for most purposes looks as though it has
|
|
1113 -- been really changed, and there is no trace of the original. However,
|
|
1114 -- special subprograms, also defined in this section, allow the original
|
|
1115 -- tree to be reconstructed if necessary.
|
|
1116
|
|
1117 -- For tree modifications done in the expander, it is permissible to
|
|
1118 -- destroy the original tree, although it is also allowable to use the
|
|
1119 -- tree rewrite routines where it is convenient to do so.
|
|
1120
|
|
1121 procedure Mark_Rewrite_Insertion (New_Node : Node_Id);
|
|
1122 pragma Inline (Mark_Rewrite_Insertion);
|
|
1123 -- This procedure marks the given node as an insertion made during a tree
|
|
1124 -- rewriting operation. Only the root needs to be marked. The call does
|
|
1125 -- not do the actual insertion, which must be done using one of the normal
|
|
1126 -- list insertion routines. The node is treated normally in all respects
|
|
1127 -- except for its response to Is_Rewrite_Insertion. The function of these
|
|
1128 -- calls is to be able to get an accurate original tree. This helps the
|
|
1129 -- accuracy of Sprint.Sprint_Node, and in particular, when stubs are being
|
|
1130 -- generated, it is essential that the original tree be accurate.
|
|
1131
|
|
1132 function Is_Rewrite_Insertion (Node : Node_Id) return Boolean;
|
|
1133 pragma Inline (Is_Rewrite_Insertion);
|
|
1134 -- Tests whether the given node was marked using Mark_Rewrite_Insertion.
|
|
1135 -- This is used in reconstructing the original tree (where such nodes are
|
|
1136 -- to be eliminated).
|
|
1137
|
|
1138 procedure Rewrite (Old_Node, New_Node : Node_Id);
|
|
1139 -- This is used when a complete subtree is to be replaced. Old_Node is the
|
|
1140 -- root of the old subtree to be replaced, and New_Node is the root of the
|
|
1141 -- newly constructed replacement subtree. The actual mechanism is to swap
|
|
1142 -- the contents of these two nodes fixing up the parent pointers of the
|
|
1143 -- replaced node (we do not attempt to preserve parent pointers for the
|
|
1144 -- original node). Neither Old_Node nor New_Node can be extended nodes.
|
|
1145 --
|
|
1146 -- Note: New_Node may not contain references to Old_Node, for example as
|
|
1147 -- descendants, since the rewrite would make such references invalid. If
|
|
1148 -- New_Node does need to reference Old_Node, then these references should
|
|
1149 -- be to a relocated copy of Old_Node (see Relocate_Node procedure).
|
|
1150 --
|
|
1151 -- Note: The Original_Node function applied to Old_Node (which has now
|
|
1152 -- been replaced by the contents of New_Node), can be used to obtain the
|
|
1153 -- original node, i.e. the old contents of Old_Node.
|
|
1154
|
|
1155 procedure Replace (Old_Node, New_Node : Node_Id);
|
|
1156 -- This is similar to Rewrite, except that the old value of Old_Node is
|
|
1157 -- not saved, and the New_Node is deleted after the replace, since it
|
|
1158 -- is assumed that it can no longer be legitimately needed. The flag
|
|
1159 -- Is_Rewrite_Substitution will be False for the resulting node, unless
|
|
1160 -- it was already true on entry, and Original_Node will not return the
|
|
1161 -- original contents of the Old_Node, but rather the New_Node value (unless
|
|
1162 -- Old_Node had already been rewritten using Rewrite). Replace also
|
|
1163 -- preserves the setting of Comes_From_Source.
|
|
1164 --
|
|
1165 -- Note, New_Node may not contain references to Old_Node, for example as
|
|
1166 -- descendants, since the rewrite would make such references invalid. If
|
|
1167 -- New_Node does need to reference Old_Node, then these references should
|
|
1168 -- be to a relocated copy of Old_Node (see Relocate_Node procedure).
|
|
1169 --
|
|
1170 -- Replace is used in certain circumstances where it is desirable to
|
|
1171 -- suppress any history of the rewriting operation. Notably, it is used
|
|
1172 -- when the parser has mis-classified a node (e.g. a task entry call
|
|
1173 -- that the parser has parsed as a procedure call).
|
|
1174
|
|
1175 function Is_Rewrite_Substitution (Node : Node_Id) return Boolean;
|
|
1176 pragma Inline (Is_Rewrite_Substitution);
|
|
1177 -- Return True iff Node has been rewritten (i.e. if Node is the root
|
|
1178 -- of a subtree which was installed using Rewrite).
|
|
1179
|
|
1180 function Original_Node (Node : Node_Id) return Node_Id;
|
|
1181 pragma Inline (Original_Node);
|
|
1182 -- If Node has not been rewritten, then returns its input argument
|
|
1183 -- unchanged, else returns the Node for the original subtree. Note that
|
|
1184 -- this is used extensively by ASIS on the trees constructed in ASIS mode
|
|
1185 -- to reconstruct the original semantic tree. See section in sinfo.ads
|
|
1186 -- for requirements on original nodes returned by this function.
|
|
1187 --
|
|
1188 -- Note: Parents are not preserved in original tree nodes that are
|
|
1189 -- retrieved in this way (i.e. their children may have children whose
|
|
1190 -- pointers which reference some other node). This needs more details???
|
|
1191 --
|
|
1192 -- Note: there is no direct mechanism for deleting an original node (in
|
|
1193 -- a manner that can be reversed later). One possible approach is to use
|
|
1194 -- Rewrite to substitute a null statement for the node to be deleted.
|
|
1195
|
|
1196 -----------------------------------
|
|
1197 -- Generic Field Access Routines --
|
|
1198 -----------------------------------
|
|
1199
|
|
1200 -- This subpackage provides the functions for accessing and procedures for
|
|
1201 -- setting fields that are normally referenced by wrapper subprograms (e.g.
|
|
1202 -- logical synonyms defined in packages Sinfo and Einfo, or specialized
|
|
1203 -- routines such as Rewrite (for Original_Node), or the node creation
|
|
1204 -- routines (for Set_Nkind). The implementations of these wrapper
|
|
1205 -- subprograms use the package Atree.Unchecked_Access as do various
|
|
1206 -- special case accesses where no wrapper applies. Documentation is always
|
|
1207 -- required for such a special case access explaining why it is needed.
|
|
1208
|
|
1209 package Unchecked_Access is
|
|
1210
|
|
1211 -- Functions to allow interpretation of Union_Id values as Uint and
|
|
1212 -- Ureal values.
|
|
1213
|
|
1214 function To_Union is new Unchecked_Conversion (Uint, Union_Id);
|
|
1215 function To_Union is new Unchecked_Conversion (Ureal, Union_Id);
|
|
1216
|
|
1217 function From_Union is new Unchecked_Conversion (Union_Id, Uint);
|
|
1218 function From_Union is new Unchecked_Conversion (Union_Id, Ureal);
|
|
1219
|
|
1220 -- Functions to fetch contents of indicated field. It is an error to
|
|
1221 -- attempt to read the value of a field which is not present.
|
|
1222
|
|
1223 function Field1 (N : Node_Id) return Union_Id;
|
|
1224 pragma Inline (Field1);
|
|
1225
|
|
1226 function Field2 (N : Node_Id) return Union_Id;
|
|
1227 pragma Inline (Field2);
|
|
1228
|
|
1229 function Field3 (N : Node_Id) return Union_Id;
|
|
1230 pragma Inline (Field3);
|
|
1231
|
|
1232 function Field4 (N : Node_Id) return Union_Id;
|
|
1233 pragma Inline (Field4);
|
|
1234
|
|
1235 function Field5 (N : Node_Id) return Union_Id;
|
|
1236 pragma Inline (Field5);
|
|
1237
|
|
1238 function Field6 (N : Node_Id) return Union_Id;
|
|
1239 pragma Inline (Field6);
|
|
1240
|
|
1241 function Field7 (N : Node_Id) return Union_Id;
|
|
1242 pragma Inline (Field7);
|
|
1243
|
|
1244 function Field8 (N : Node_Id) return Union_Id;
|
|
1245 pragma Inline (Field8);
|
|
1246
|
|
1247 function Field9 (N : Node_Id) return Union_Id;
|
|
1248 pragma Inline (Field9);
|
|
1249
|
|
1250 function Field10 (N : Node_Id) return Union_Id;
|
|
1251 pragma Inline (Field10);
|
|
1252
|
|
1253 function Field11 (N : Node_Id) return Union_Id;
|
|
1254 pragma Inline (Field11);
|
|
1255
|
|
1256 function Field12 (N : Node_Id) return Union_Id;
|
|
1257 pragma Inline (Field12);
|
|
1258
|
|
1259 function Field13 (N : Node_Id) return Union_Id;
|
|
1260 pragma Inline (Field13);
|
|
1261
|
|
1262 function Field14 (N : Node_Id) return Union_Id;
|
|
1263 pragma Inline (Field14);
|
|
1264
|
|
1265 function Field15 (N : Node_Id) return Union_Id;
|
|
1266 pragma Inline (Field15);
|
|
1267
|
|
1268 function Field16 (N : Node_Id) return Union_Id;
|
|
1269 pragma Inline (Field16);
|
|
1270
|
|
1271 function Field17 (N : Node_Id) return Union_Id;
|
|
1272 pragma Inline (Field17);
|
|
1273
|
|
1274 function Field18 (N : Node_Id) return Union_Id;
|
|
1275 pragma Inline (Field18);
|
|
1276
|
|
1277 function Field19 (N : Node_Id) return Union_Id;
|
|
1278 pragma Inline (Field19);
|
|
1279
|
|
1280 function Field20 (N : Node_Id) return Union_Id;
|
|
1281 pragma Inline (Field20);
|
|
1282
|
|
1283 function Field21 (N : Node_Id) return Union_Id;
|
|
1284 pragma Inline (Field21);
|
|
1285
|
|
1286 function Field22 (N : Node_Id) return Union_Id;
|
|
1287 pragma Inline (Field22);
|
|
1288
|
|
1289 function Field23 (N : Node_Id) return Union_Id;
|
|
1290 pragma Inline (Field23);
|
|
1291
|
|
1292 function Field24 (N : Node_Id) return Union_Id;
|
|
1293 pragma Inline (Field24);
|
|
1294
|
|
1295 function Field25 (N : Node_Id) return Union_Id;
|
|
1296 pragma Inline (Field25);
|
|
1297
|
|
1298 function Field26 (N : Node_Id) return Union_Id;
|
|
1299 pragma Inline (Field26);
|
|
1300
|
|
1301 function Field27 (N : Node_Id) return Union_Id;
|
|
1302 pragma Inline (Field27);
|
|
1303
|
|
1304 function Field28 (N : Node_Id) return Union_Id;
|
|
1305 pragma Inline (Field28);
|
|
1306
|
|
1307 function Field29 (N : Node_Id) return Union_Id;
|
|
1308 pragma Inline (Field29);
|
|
1309
|
|
1310 function Field30 (N : Node_Id) return Union_Id;
|
|
1311 pragma Inline (Field30);
|
|
1312
|
|
1313 function Field31 (N : Node_Id) return Union_Id;
|
|
1314 pragma Inline (Field31);
|
|
1315
|
|
1316 function Field32 (N : Node_Id) return Union_Id;
|
|
1317 pragma Inline (Field32);
|
|
1318
|
|
1319 function Field33 (N : Node_Id) return Union_Id;
|
|
1320 pragma Inline (Field33);
|
|
1321
|
|
1322 function Field34 (N : Node_Id) return Union_Id;
|
|
1323 pragma Inline (Field34);
|
|
1324
|
|
1325 function Field35 (N : Node_Id) return Union_Id;
|
|
1326 pragma Inline (Field35);
|
|
1327
|
|
1328 function Field36 (N : Node_Id) return Union_Id;
|
|
1329 pragma Inline (Field36);
|
|
1330
|
|
1331 function Field37 (N : Node_Id) return Union_Id;
|
|
1332 pragma Inline (Field37);
|
|
1333
|
|
1334 function Field38 (N : Node_Id) return Union_Id;
|
|
1335 pragma Inline (Field38);
|
|
1336
|
|
1337 function Field39 (N : Node_Id) return Union_Id;
|
|
1338 pragma Inline (Field39);
|
|
1339
|
|
1340 function Field40 (N : Node_Id) return Union_Id;
|
|
1341 pragma Inline (Field40);
|
|
1342
|
|
1343 function Field41 (N : Node_Id) return Union_Id;
|
|
1344 pragma Inline (Field41);
|
|
1345
|
|
1346 function Node1 (N : Node_Id) return Node_Id;
|
|
1347 pragma Inline (Node1);
|
|
1348
|
|
1349 function Node2 (N : Node_Id) return Node_Id;
|
|
1350 pragma Inline (Node2);
|
|
1351
|
|
1352 function Node3 (N : Node_Id) return Node_Id;
|
|
1353 pragma Inline (Node3);
|
|
1354
|
|
1355 function Node4 (N : Node_Id) return Node_Id;
|
|
1356 pragma Inline (Node4);
|
|
1357
|
|
1358 function Node5 (N : Node_Id) return Node_Id;
|
|
1359 pragma Inline (Node5);
|
|
1360
|
|
1361 function Node6 (N : Node_Id) return Node_Id;
|
|
1362 pragma Inline (Node6);
|
|
1363
|
|
1364 function Node7 (N : Node_Id) return Node_Id;
|
|
1365 pragma Inline (Node7);
|
|
1366
|
|
1367 function Node8 (N : Node_Id) return Node_Id;
|
|
1368 pragma Inline (Node8);
|
|
1369
|
|
1370 function Node9 (N : Node_Id) return Node_Id;
|
|
1371 pragma Inline (Node9);
|
|
1372
|
|
1373 function Node10 (N : Node_Id) return Node_Id;
|
|
1374 pragma Inline (Node10);
|
|
1375
|
|
1376 function Node11 (N : Node_Id) return Node_Id;
|
|
1377 pragma Inline (Node11);
|
|
1378
|
|
1379 function Node12 (N : Node_Id) return Node_Id;
|
|
1380 pragma Inline (Node12);
|
|
1381
|
|
1382 function Node13 (N : Node_Id) return Node_Id;
|
|
1383 pragma Inline (Node13);
|
|
1384
|
|
1385 function Node14 (N : Node_Id) return Node_Id;
|
|
1386 pragma Inline (Node14);
|
|
1387
|
|
1388 function Node15 (N : Node_Id) return Node_Id;
|
|
1389 pragma Inline (Node15);
|
|
1390
|
|
1391 function Node16 (N : Node_Id) return Node_Id;
|
|
1392 pragma Inline (Node16);
|
|
1393
|
|
1394 function Node17 (N : Node_Id) return Node_Id;
|
|
1395 pragma Inline (Node17);
|
|
1396
|
|
1397 function Node18 (N : Node_Id) return Node_Id;
|
|
1398 pragma Inline (Node18);
|
|
1399
|
|
1400 function Node19 (N : Node_Id) return Node_Id;
|
|
1401 pragma Inline (Node19);
|
|
1402
|
|
1403 function Node20 (N : Node_Id) return Node_Id;
|
|
1404 pragma Inline (Node20);
|
|
1405
|
|
1406 function Node21 (N : Node_Id) return Node_Id;
|
|
1407 pragma Inline (Node21);
|
|
1408
|
|
1409 function Node22 (N : Node_Id) return Node_Id;
|
|
1410 pragma Inline (Node22);
|
|
1411
|
|
1412 function Node23 (N : Node_Id) return Node_Id;
|
|
1413 pragma Inline (Node23);
|
|
1414
|
|
1415 function Node24 (N : Node_Id) return Node_Id;
|
|
1416 pragma Inline (Node24);
|
|
1417
|
|
1418 function Node25 (N : Node_Id) return Node_Id;
|
|
1419 pragma Inline (Node25);
|
|
1420
|
|
1421 function Node26 (N : Node_Id) return Node_Id;
|
|
1422 pragma Inline (Node26);
|
|
1423
|
|
1424 function Node27 (N : Node_Id) return Node_Id;
|
|
1425 pragma Inline (Node27);
|
|
1426
|
|
1427 function Node28 (N : Node_Id) return Node_Id;
|
|
1428 pragma Inline (Node28);
|
|
1429
|
|
1430 function Node29 (N : Node_Id) return Node_Id;
|
|
1431 pragma Inline (Node29);
|
|
1432
|
|
1433 function Node30 (N : Node_Id) return Node_Id;
|
|
1434 pragma Inline (Node30);
|
|
1435
|
|
1436 function Node31 (N : Node_Id) return Node_Id;
|
|
1437 pragma Inline (Node31);
|
|
1438
|
|
1439 function Node32 (N : Node_Id) return Node_Id;
|
|
1440 pragma Inline (Node32);
|
|
1441
|
|
1442 function Node33 (N : Node_Id) return Node_Id;
|
|
1443 pragma Inline (Node33);
|
|
1444
|
|
1445 function Node34 (N : Node_Id) return Node_Id;
|
|
1446 pragma Inline (Node34);
|
|
1447
|
|
1448 function Node35 (N : Node_Id) return Node_Id;
|
|
1449 pragma Inline (Node35);
|
|
1450
|
|
1451 function Node36 (N : Node_Id) return Node_Id;
|
|
1452 pragma Inline (Node36);
|
|
1453
|
|
1454 function Node37 (N : Node_Id) return Node_Id;
|
|
1455 pragma Inline (Node37);
|
|
1456
|
|
1457 function Node38 (N : Node_Id) return Node_Id;
|
|
1458 pragma Inline (Node38);
|
|
1459
|
|
1460 function Node39 (N : Node_Id) return Node_Id;
|
|
1461 pragma Inline (Node39);
|
|
1462
|
|
1463 function Node40 (N : Node_Id) return Node_Id;
|
|
1464 pragma Inline (Node40);
|
|
1465
|
|
1466 function Node41 (N : Node_Id) return Node_Id;
|
|
1467 pragma Inline (Node41);
|
|
1468
|
|
1469 function List1 (N : Node_Id) return List_Id;
|
|
1470 pragma Inline (List1);
|
|
1471
|
|
1472 function List2 (N : Node_Id) return List_Id;
|
|
1473 pragma Inline (List2);
|
|
1474
|
|
1475 function List3 (N : Node_Id) return List_Id;
|
|
1476 pragma Inline (List3);
|
|
1477
|
|
1478 function List4 (N : Node_Id) return List_Id;
|
|
1479 pragma Inline (List4);
|
|
1480
|
|
1481 function List5 (N : Node_Id) return List_Id;
|
|
1482 pragma Inline (List5);
|
|
1483
|
|
1484 function List10 (N : Node_Id) return List_Id;
|
|
1485 pragma Inline (List10);
|
|
1486
|
|
1487 function List14 (N : Node_Id) return List_Id;
|
|
1488 pragma Inline (List14);
|
|
1489
|
|
1490 function List25 (N : Node_Id) return List_Id;
|
|
1491 pragma Inline (List25);
|
|
1492
|
|
1493 function List38 (N : Node_Id) return List_Id;
|
|
1494 pragma Inline (List38);
|
|
1495
|
|
1496 function List39 (N : Node_Id) return List_Id;
|
|
1497 pragma Inline (List39);
|
|
1498
|
|
1499 function Elist1 (N : Node_Id) return Elist_Id;
|
|
1500 pragma Inline (Elist1);
|
|
1501
|
|
1502 function Elist2 (N : Node_Id) return Elist_Id;
|
|
1503 pragma Inline (Elist2);
|
|
1504
|
|
1505 function Elist3 (N : Node_Id) return Elist_Id;
|
|
1506 pragma Inline (Elist3);
|
|
1507
|
|
1508 function Elist4 (N : Node_Id) return Elist_Id;
|
|
1509 pragma Inline (Elist4);
|
|
1510
|
|
1511 function Elist5 (N : Node_Id) return Elist_Id;
|
|
1512 pragma Inline (Elist5);
|
|
1513
|
|
1514 function Elist8 (N : Node_Id) return Elist_Id;
|
|
1515 pragma Inline (Elist8);
|
|
1516
|
|
1517 function Elist9 (N : Node_Id) return Elist_Id;
|
|
1518 pragma Inline (Elist9);
|
|
1519
|
|
1520 function Elist10 (N : Node_Id) return Elist_Id;
|
|
1521 pragma Inline (Elist10);
|
|
1522
|
|
1523 function Elist11 (N : Node_Id) return Elist_Id;
|
|
1524 pragma Inline (Elist11);
|
|
1525
|
|
1526 function Elist13 (N : Node_Id) return Elist_Id;
|
|
1527 pragma Inline (Elist13);
|
|
1528
|
|
1529 function Elist15 (N : Node_Id) return Elist_Id;
|
|
1530 pragma Inline (Elist15);
|
|
1531
|
|
1532 function Elist16 (N : Node_Id) return Elist_Id;
|
|
1533 pragma Inline (Elist16);
|
|
1534
|
|
1535 function Elist18 (N : Node_Id) return Elist_Id;
|
|
1536 pragma Inline (Elist18);
|
|
1537
|
|
1538 function Elist21 (N : Node_Id) return Elist_Id;
|
|
1539 pragma Inline (Elist21);
|
|
1540
|
|
1541 function Elist23 (N : Node_Id) return Elist_Id;
|
|
1542 pragma Inline (Elist23);
|
|
1543
|
|
1544 function Elist24 (N : Node_Id) return Elist_Id;
|
|
1545 pragma Inline (Elist24);
|
|
1546
|
|
1547 function Elist25 (N : Node_Id) return Elist_Id;
|
|
1548 pragma Inline (Elist25);
|
|
1549
|
|
1550 function Elist26 (N : Node_Id) return Elist_Id;
|
|
1551 pragma Inline (Elist26);
|
|
1552
|
|
1553 function Elist29 (N : Node_Id) return Elist_Id;
|
|
1554 pragma Inline (Elist29);
|
|
1555
|
131
|
1556 function Elist30 (N : Node_Id) return Elist_Id;
|
|
1557 pragma Inline (Elist30);
|
|
1558
|
111
|
1559 function Elist36 (N : Node_Id) return Elist_Id;
|
|
1560 pragma Inline (Elist36);
|
|
1561
|
|
1562 function Name1 (N : Node_Id) return Name_Id;
|
|
1563 pragma Inline (Name1);
|
|
1564
|
|
1565 function Name2 (N : Node_Id) return Name_Id;
|
|
1566 pragma Inline (Name2);
|
|
1567
|
|
1568 function Str3 (N : Node_Id) return String_Id;
|
|
1569 pragma Inline (Str3);
|
|
1570
|
|
1571 -- Note: the following Uintnn functions have a special test for the
|
|
1572 -- Field value being Empty. If an Empty value is found then Uint_0 is
|
|
1573 -- returned. This avoids the rather tricky requirement of initializing
|
|
1574 -- all Uint fields in nodes and entities.
|
|
1575
|
|
1576 function Uint2 (N : Node_Id) return Uint;
|
|
1577 pragma Inline (Uint2);
|
|
1578
|
|
1579 function Uint3 (N : Node_Id) return Uint;
|
|
1580 pragma Inline (Uint3);
|
|
1581
|
|
1582 function Uint4 (N : Node_Id) return Uint;
|
|
1583 pragma Inline (Uint4);
|
|
1584
|
|
1585 function Uint5 (N : Node_Id) return Uint;
|
|
1586 pragma Inline (Uint5);
|
|
1587
|
|
1588 function Uint8 (N : Node_Id) return Uint;
|
|
1589 pragma Inline (Uint8);
|
|
1590
|
|
1591 function Uint9 (N : Node_Id) return Uint;
|
|
1592 pragma Inline (Uint9);
|
|
1593
|
|
1594 function Uint10 (N : Node_Id) return Uint;
|
|
1595 pragma Inline (Uint10);
|
|
1596
|
|
1597 function Uint11 (N : Node_Id) return Uint;
|
|
1598 pragma Inline (Uint11);
|
|
1599
|
|
1600 function Uint12 (N : Node_Id) return Uint;
|
|
1601 pragma Inline (Uint12);
|
|
1602
|
|
1603 function Uint13 (N : Node_Id) return Uint;
|
|
1604 pragma Inline (Uint13);
|
|
1605
|
|
1606 function Uint14 (N : Node_Id) return Uint;
|
|
1607 pragma Inline (Uint14);
|
|
1608
|
|
1609 function Uint15 (N : Node_Id) return Uint;
|
|
1610 pragma Inline (Uint15);
|
|
1611
|
|
1612 function Uint16 (N : Node_Id) return Uint;
|
|
1613 pragma Inline (Uint16);
|
|
1614
|
|
1615 function Uint17 (N : Node_Id) return Uint;
|
|
1616 pragma Inline (Uint17);
|
|
1617
|
|
1618 function Uint22 (N : Node_Id) return Uint;
|
|
1619 pragma Inline (Uint22);
|
|
1620
|
|
1621 function Uint24 (N : Node_Id) return Uint;
|
|
1622 pragma Inline (Uint24);
|
|
1623
|
|
1624 function Ureal3 (N : Node_Id) return Ureal;
|
|
1625 pragma Inline (Ureal3);
|
|
1626
|
|
1627 function Ureal18 (N : Node_Id) return Ureal;
|
|
1628 pragma Inline (Ureal18);
|
|
1629
|
|
1630 function Ureal21 (N : Node_Id) return Ureal;
|
|
1631 pragma Inline (Ureal21);
|
|
1632
|
|
1633 function Flag0 (N : Node_Id) return Boolean;
|
|
1634 pragma Inline (Flag0);
|
|
1635
|
|
1636 function Flag1 (N : Node_Id) return Boolean;
|
|
1637 pragma Inline (Flag1);
|
|
1638
|
|
1639 function Flag2 (N : Node_Id) return Boolean;
|
|
1640 pragma Inline (Flag2);
|
|
1641
|
|
1642 function Flag3 (N : Node_Id) return Boolean;
|
|
1643 pragma Inline (Flag3);
|
|
1644
|
|
1645 function Flag4 (N : Node_Id) return Boolean;
|
|
1646 pragma Inline (Flag4);
|
|
1647
|
|
1648 function Flag5 (N : Node_Id) return Boolean;
|
|
1649 pragma Inline (Flag5);
|
|
1650
|
|
1651 function Flag6 (N : Node_Id) return Boolean;
|
|
1652 pragma Inline (Flag6);
|
|
1653
|
|
1654 function Flag7 (N : Node_Id) return Boolean;
|
|
1655 pragma Inline (Flag7);
|
|
1656
|
|
1657 function Flag8 (N : Node_Id) return Boolean;
|
|
1658 pragma Inline (Flag8);
|
|
1659
|
|
1660 function Flag9 (N : Node_Id) return Boolean;
|
|
1661 pragma Inline (Flag9);
|
|
1662
|
|
1663 function Flag10 (N : Node_Id) return Boolean;
|
|
1664 pragma Inline (Flag10);
|
|
1665
|
|
1666 function Flag11 (N : Node_Id) return Boolean;
|
|
1667 pragma Inline (Flag11);
|
|
1668
|
|
1669 function Flag12 (N : Node_Id) return Boolean;
|
|
1670 pragma Inline (Flag12);
|
|
1671
|
|
1672 function Flag13 (N : Node_Id) return Boolean;
|
|
1673 pragma Inline (Flag13);
|
|
1674
|
|
1675 function Flag14 (N : Node_Id) return Boolean;
|
|
1676 pragma Inline (Flag14);
|
|
1677
|
|
1678 function Flag15 (N : Node_Id) return Boolean;
|
|
1679 pragma Inline (Flag15);
|
|
1680
|
|
1681 function Flag16 (N : Node_Id) return Boolean;
|
|
1682 pragma Inline (Flag16);
|
|
1683
|
|
1684 function Flag17 (N : Node_Id) return Boolean;
|
|
1685 pragma Inline (Flag17);
|
|
1686
|
|
1687 function Flag18 (N : Node_Id) return Boolean;
|
|
1688 pragma Inline (Flag18);
|
|
1689
|
|
1690 function Flag19 (N : Node_Id) return Boolean;
|
|
1691 pragma Inline (Flag19);
|
|
1692
|
|
1693 function Flag20 (N : Node_Id) return Boolean;
|
|
1694 pragma Inline (Flag20);
|
|
1695
|
|
1696 function Flag21 (N : Node_Id) return Boolean;
|
|
1697 pragma Inline (Flag21);
|
|
1698
|
|
1699 function Flag22 (N : Node_Id) return Boolean;
|
|
1700 pragma Inline (Flag22);
|
|
1701
|
|
1702 function Flag23 (N : Node_Id) return Boolean;
|
|
1703 pragma Inline (Flag23);
|
|
1704
|
|
1705 function Flag24 (N : Node_Id) return Boolean;
|
|
1706 pragma Inline (Flag24);
|
|
1707
|
|
1708 function Flag25 (N : Node_Id) return Boolean;
|
|
1709 pragma Inline (Flag25);
|
|
1710
|
|
1711 function Flag26 (N : Node_Id) return Boolean;
|
|
1712 pragma Inline (Flag26);
|
|
1713
|
|
1714 function Flag27 (N : Node_Id) return Boolean;
|
|
1715 pragma Inline (Flag27);
|
|
1716
|
|
1717 function Flag28 (N : Node_Id) return Boolean;
|
|
1718 pragma Inline (Flag28);
|
|
1719
|
|
1720 function Flag29 (N : Node_Id) return Boolean;
|
|
1721 pragma Inline (Flag29);
|
|
1722
|
|
1723 function Flag30 (N : Node_Id) return Boolean;
|
|
1724 pragma Inline (Flag30);
|
|
1725
|
|
1726 function Flag31 (N : Node_Id) return Boolean;
|
|
1727 pragma Inline (Flag31);
|
|
1728
|
|
1729 function Flag32 (N : Node_Id) return Boolean;
|
|
1730 pragma Inline (Flag32);
|
|
1731
|
|
1732 function Flag33 (N : Node_Id) return Boolean;
|
|
1733 pragma Inline (Flag33);
|
|
1734
|
|
1735 function Flag34 (N : Node_Id) return Boolean;
|
|
1736 pragma Inline (Flag34);
|
|
1737
|
|
1738 function Flag35 (N : Node_Id) return Boolean;
|
|
1739 pragma Inline (Flag35);
|
|
1740
|
|
1741 function Flag36 (N : Node_Id) return Boolean;
|
|
1742 pragma Inline (Flag36);
|
|
1743
|
|
1744 function Flag37 (N : Node_Id) return Boolean;
|
|
1745 pragma Inline (Flag37);
|
|
1746
|
|
1747 function Flag38 (N : Node_Id) return Boolean;
|
|
1748 pragma Inline (Flag38);
|
|
1749
|
|
1750 function Flag39 (N : Node_Id) return Boolean;
|
|
1751 pragma Inline (Flag39);
|
|
1752
|
|
1753 function Flag40 (N : Node_Id) return Boolean;
|
|
1754 pragma Inline (Flag40);
|
|
1755
|
|
1756 function Flag41 (N : Node_Id) return Boolean;
|
|
1757 pragma Inline (Flag41);
|
|
1758
|
|
1759 function Flag42 (N : Node_Id) return Boolean;
|
|
1760 pragma Inline (Flag42);
|
|
1761
|
|
1762 function Flag43 (N : Node_Id) return Boolean;
|
|
1763 pragma Inline (Flag43);
|
|
1764
|
|
1765 function Flag44 (N : Node_Id) return Boolean;
|
|
1766 pragma Inline (Flag44);
|
|
1767
|
|
1768 function Flag45 (N : Node_Id) return Boolean;
|
|
1769 pragma Inline (Flag45);
|
|
1770
|
|
1771 function Flag46 (N : Node_Id) return Boolean;
|
|
1772 pragma Inline (Flag46);
|
|
1773
|
|
1774 function Flag47 (N : Node_Id) return Boolean;
|
|
1775 pragma Inline (Flag47);
|
|
1776
|
|
1777 function Flag48 (N : Node_Id) return Boolean;
|
|
1778 pragma Inline (Flag48);
|
|
1779
|
|
1780 function Flag49 (N : Node_Id) return Boolean;
|
|
1781 pragma Inline (Flag49);
|
|
1782
|
|
1783 function Flag50 (N : Node_Id) return Boolean;
|
|
1784 pragma Inline (Flag50);
|
|
1785
|
|
1786 function Flag51 (N : Node_Id) return Boolean;
|
|
1787 pragma Inline (Flag51);
|
|
1788
|
|
1789 function Flag52 (N : Node_Id) return Boolean;
|
|
1790 pragma Inline (Flag52);
|
|
1791
|
|
1792 function Flag53 (N : Node_Id) return Boolean;
|
|
1793 pragma Inline (Flag53);
|
|
1794
|
|
1795 function Flag54 (N : Node_Id) return Boolean;
|
|
1796 pragma Inline (Flag54);
|
|
1797
|
|
1798 function Flag55 (N : Node_Id) return Boolean;
|
|
1799 pragma Inline (Flag55);
|
|
1800
|
|
1801 function Flag56 (N : Node_Id) return Boolean;
|
|
1802 pragma Inline (Flag56);
|
|
1803
|
|
1804 function Flag57 (N : Node_Id) return Boolean;
|
|
1805 pragma Inline (Flag57);
|
|
1806
|
|
1807 function Flag58 (N : Node_Id) return Boolean;
|
|
1808 pragma Inline (Flag58);
|
|
1809
|
|
1810 function Flag59 (N : Node_Id) return Boolean;
|
|
1811 pragma Inline (Flag59);
|
|
1812
|
|
1813 function Flag60 (N : Node_Id) return Boolean;
|
|
1814 pragma Inline (Flag60);
|
|
1815
|
|
1816 function Flag61 (N : Node_Id) return Boolean;
|
|
1817 pragma Inline (Flag61);
|
|
1818
|
|
1819 function Flag62 (N : Node_Id) return Boolean;
|
|
1820 pragma Inline (Flag62);
|
|
1821
|
|
1822 function Flag63 (N : Node_Id) return Boolean;
|
|
1823 pragma Inline (Flag63);
|
|
1824
|
|
1825 function Flag64 (N : Node_Id) return Boolean;
|
|
1826 pragma Inline (Flag64);
|
|
1827
|
|
1828 function Flag65 (N : Node_Id) return Boolean;
|
|
1829 pragma Inline (Flag65);
|
|
1830
|
|
1831 function Flag66 (N : Node_Id) return Boolean;
|
|
1832 pragma Inline (Flag66);
|
|
1833
|
|
1834 function Flag67 (N : Node_Id) return Boolean;
|
|
1835 pragma Inline (Flag67);
|
|
1836
|
|
1837 function Flag68 (N : Node_Id) return Boolean;
|
|
1838 pragma Inline (Flag68);
|
|
1839
|
|
1840 function Flag69 (N : Node_Id) return Boolean;
|
|
1841 pragma Inline (Flag69);
|
|
1842
|
|
1843 function Flag70 (N : Node_Id) return Boolean;
|
|
1844 pragma Inline (Flag70);
|
|
1845
|
|
1846 function Flag71 (N : Node_Id) return Boolean;
|
|
1847 pragma Inline (Flag71);
|
|
1848
|
|
1849 function Flag72 (N : Node_Id) return Boolean;
|
|
1850 pragma Inline (Flag72);
|
|
1851
|
|
1852 function Flag73 (N : Node_Id) return Boolean;
|
|
1853 pragma Inline (Flag73);
|
|
1854
|
|
1855 function Flag74 (N : Node_Id) return Boolean;
|
|
1856 pragma Inline (Flag74);
|
|
1857
|
|
1858 function Flag75 (N : Node_Id) return Boolean;
|
|
1859 pragma Inline (Flag75);
|
|
1860
|
|
1861 function Flag76 (N : Node_Id) return Boolean;
|
|
1862 pragma Inline (Flag76);
|
|
1863
|
|
1864 function Flag77 (N : Node_Id) return Boolean;
|
|
1865 pragma Inline (Flag77);
|
|
1866
|
|
1867 function Flag78 (N : Node_Id) return Boolean;
|
|
1868 pragma Inline (Flag78);
|
|
1869
|
|
1870 function Flag79 (N : Node_Id) return Boolean;
|
|
1871 pragma Inline (Flag79);
|
|
1872
|
|
1873 function Flag80 (N : Node_Id) return Boolean;
|
|
1874 pragma Inline (Flag80);
|
|
1875
|
|
1876 function Flag81 (N : Node_Id) return Boolean;
|
|
1877 pragma Inline (Flag81);
|
|
1878
|
|
1879 function Flag82 (N : Node_Id) return Boolean;
|
|
1880 pragma Inline (Flag82);
|
|
1881
|
|
1882 function Flag83 (N : Node_Id) return Boolean;
|
|
1883 pragma Inline (Flag83);
|
|
1884
|
|
1885 function Flag84 (N : Node_Id) return Boolean;
|
|
1886 pragma Inline (Flag84);
|
|
1887
|
|
1888 function Flag85 (N : Node_Id) return Boolean;
|
|
1889 pragma Inline (Flag85);
|
|
1890
|
|
1891 function Flag86 (N : Node_Id) return Boolean;
|
|
1892 pragma Inline (Flag86);
|
|
1893
|
|
1894 function Flag87 (N : Node_Id) return Boolean;
|
|
1895 pragma Inline (Flag87);
|
|
1896
|
|
1897 function Flag88 (N : Node_Id) return Boolean;
|
|
1898 pragma Inline (Flag88);
|
|
1899
|
|
1900 function Flag89 (N : Node_Id) return Boolean;
|
|
1901 pragma Inline (Flag89);
|
|
1902
|
|
1903 function Flag90 (N : Node_Id) return Boolean;
|
|
1904 pragma Inline (Flag90);
|
|
1905
|
|
1906 function Flag91 (N : Node_Id) return Boolean;
|
|
1907 pragma Inline (Flag91);
|
|
1908
|
|
1909 function Flag92 (N : Node_Id) return Boolean;
|
|
1910 pragma Inline (Flag92);
|
|
1911
|
|
1912 function Flag93 (N : Node_Id) return Boolean;
|
|
1913 pragma Inline (Flag93);
|
|
1914
|
|
1915 function Flag94 (N : Node_Id) return Boolean;
|
|
1916 pragma Inline (Flag94);
|
|
1917
|
|
1918 function Flag95 (N : Node_Id) return Boolean;
|
|
1919 pragma Inline (Flag95);
|
|
1920
|
|
1921 function Flag96 (N : Node_Id) return Boolean;
|
|
1922 pragma Inline (Flag96);
|
|
1923
|
|
1924 function Flag97 (N : Node_Id) return Boolean;
|
|
1925 pragma Inline (Flag97);
|
|
1926
|
|
1927 function Flag98 (N : Node_Id) return Boolean;
|
|
1928 pragma Inline (Flag98);
|
|
1929
|
|
1930 function Flag99 (N : Node_Id) return Boolean;
|
|
1931 pragma Inline (Flag99);
|
|
1932
|
|
1933 function Flag100 (N : Node_Id) return Boolean;
|
|
1934 pragma Inline (Flag100);
|
|
1935
|
|
1936 function Flag101 (N : Node_Id) return Boolean;
|
|
1937 pragma Inline (Flag101);
|
|
1938
|
|
1939 function Flag102 (N : Node_Id) return Boolean;
|
|
1940 pragma Inline (Flag102);
|
|
1941
|
|
1942 function Flag103 (N : Node_Id) return Boolean;
|
|
1943 pragma Inline (Flag103);
|
|
1944
|
|
1945 function Flag104 (N : Node_Id) return Boolean;
|
|
1946 pragma Inline (Flag104);
|
|
1947
|
|
1948 function Flag105 (N : Node_Id) return Boolean;
|
|
1949 pragma Inline (Flag105);
|
|
1950
|
|
1951 function Flag106 (N : Node_Id) return Boolean;
|
|
1952 pragma Inline (Flag106);
|
|
1953
|
|
1954 function Flag107 (N : Node_Id) return Boolean;
|
|
1955 pragma Inline (Flag107);
|
|
1956
|
|
1957 function Flag108 (N : Node_Id) return Boolean;
|
|
1958 pragma Inline (Flag108);
|
|
1959
|
|
1960 function Flag109 (N : Node_Id) return Boolean;
|
|
1961 pragma Inline (Flag109);
|
|
1962
|
|
1963 function Flag110 (N : Node_Id) return Boolean;
|
|
1964 pragma Inline (Flag110);
|
|
1965
|
|
1966 function Flag111 (N : Node_Id) return Boolean;
|
|
1967 pragma Inline (Flag111);
|
|
1968
|
|
1969 function Flag112 (N : Node_Id) return Boolean;
|
|
1970 pragma Inline (Flag112);
|
|
1971
|
|
1972 function Flag113 (N : Node_Id) return Boolean;
|
|
1973 pragma Inline (Flag113);
|
|
1974
|
|
1975 function Flag114 (N : Node_Id) return Boolean;
|
|
1976 pragma Inline (Flag114);
|
|
1977
|
|
1978 function Flag115 (N : Node_Id) return Boolean;
|
|
1979 pragma Inline (Flag115);
|
|
1980
|
|
1981 function Flag116 (N : Node_Id) return Boolean;
|
|
1982 pragma Inline (Flag116);
|
|
1983
|
|
1984 function Flag117 (N : Node_Id) return Boolean;
|
|
1985 pragma Inline (Flag117);
|
|
1986
|
|
1987 function Flag118 (N : Node_Id) return Boolean;
|
|
1988 pragma Inline (Flag118);
|
|
1989
|
|
1990 function Flag119 (N : Node_Id) return Boolean;
|
|
1991 pragma Inline (Flag119);
|
|
1992
|
|
1993 function Flag120 (N : Node_Id) return Boolean;
|
|
1994 pragma Inline (Flag120);
|
|
1995
|
|
1996 function Flag121 (N : Node_Id) return Boolean;
|
|
1997 pragma Inline (Flag121);
|
|
1998
|
|
1999 function Flag122 (N : Node_Id) return Boolean;
|
|
2000 pragma Inline (Flag122);
|
|
2001
|
|
2002 function Flag123 (N : Node_Id) return Boolean;
|
|
2003 pragma Inline (Flag123);
|
|
2004
|
|
2005 function Flag124 (N : Node_Id) return Boolean;
|
|
2006 pragma Inline (Flag124);
|
|
2007
|
|
2008 function Flag125 (N : Node_Id) return Boolean;
|
|
2009 pragma Inline (Flag125);
|
|
2010
|
|
2011 function Flag126 (N : Node_Id) return Boolean;
|
|
2012 pragma Inline (Flag126);
|
|
2013
|
|
2014 function Flag127 (N : Node_Id) return Boolean;
|
|
2015 pragma Inline (Flag127);
|
|
2016
|
|
2017 function Flag128 (N : Node_Id) return Boolean;
|
|
2018 pragma Inline (Flag128);
|
|
2019
|
|
2020 function Flag129 (N : Node_Id) return Boolean;
|
|
2021 pragma Inline (Flag129);
|
|
2022
|
|
2023 function Flag130 (N : Node_Id) return Boolean;
|
|
2024 pragma Inline (Flag130);
|
|
2025
|
|
2026 function Flag131 (N : Node_Id) return Boolean;
|
|
2027 pragma Inline (Flag131);
|
|
2028
|
|
2029 function Flag132 (N : Node_Id) return Boolean;
|
|
2030 pragma Inline (Flag132);
|
|
2031
|
|
2032 function Flag133 (N : Node_Id) return Boolean;
|
|
2033 pragma Inline (Flag133);
|
|
2034
|
|
2035 function Flag134 (N : Node_Id) return Boolean;
|
|
2036 pragma Inline (Flag134);
|
|
2037
|
|
2038 function Flag135 (N : Node_Id) return Boolean;
|
|
2039 pragma Inline (Flag135);
|
|
2040
|
|
2041 function Flag136 (N : Node_Id) return Boolean;
|
|
2042 pragma Inline (Flag136);
|
|
2043
|
|
2044 function Flag137 (N : Node_Id) return Boolean;
|
|
2045 pragma Inline (Flag137);
|
|
2046
|
|
2047 function Flag138 (N : Node_Id) return Boolean;
|
|
2048 pragma Inline (Flag138);
|
|
2049
|
|
2050 function Flag139 (N : Node_Id) return Boolean;
|
|
2051 pragma Inline (Flag139);
|
|
2052
|
|
2053 function Flag140 (N : Node_Id) return Boolean;
|
|
2054 pragma Inline (Flag140);
|
|
2055
|
|
2056 function Flag141 (N : Node_Id) return Boolean;
|
|
2057 pragma Inline (Flag141);
|
|
2058
|
|
2059 function Flag142 (N : Node_Id) return Boolean;
|
|
2060 pragma Inline (Flag142);
|
|
2061
|
|
2062 function Flag143 (N : Node_Id) return Boolean;
|
|
2063 pragma Inline (Flag143);
|
|
2064
|
|
2065 function Flag144 (N : Node_Id) return Boolean;
|
|
2066 pragma Inline (Flag144);
|
|
2067
|
|
2068 function Flag145 (N : Node_Id) return Boolean;
|
|
2069 pragma Inline (Flag145);
|
|
2070
|
|
2071 function Flag146 (N : Node_Id) return Boolean;
|
|
2072 pragma Inline (Flag146);
|
|
2073
|
|
2074 function Flag147 (N : Node_Id) return Boolean;
|
|
2075 pragma Inline (Flag147);
|
|
2076
|
|
2077 function Flag148 (N : Node_Id) return Boolean;
|
|
2078 pragma Inline (Flag148);
|
|
2079
|
|
2080 function Flag149 (N : Node_Id) return Boolean;
|
|
2081 pragma Inline (Flag149);
|
|
2082
|
|
2083 function Flag150 (N : Node_Id) return Boolean;
|
|
2084 pragma Inline (Flag150);
|
|
2085
|
|
2086 function Flag151 (N : Node_Id) return Boolean;
|
|
2087 pragma Inline (Flag151);
|
|
2088
|
|
2089 function Flag152 (N : Node_Id) return Boolean;
|
|
2090 pragma Inline (Flag152);
|
|
2091
|
|
2092 function Flag153 (N : Node_Id) return Boolean;
|
|
2093 pragma Inline (Flag153);
|
|
2094
|
|
2095 function Flag154 (N : Node_Id) return Boolean;
|
|
2096 pragma Inline (Flag154);
|
|
2097
|
|
2098 function Flag155 (N : Node_Id) return Boolean;
|
|
2099 pragma Inline (Flag155);
|
|
2100
|
|
2101 function Flag156 (N : Node_Id) return Boolean;
|
|
2102 pragma Inline (Flag156);
|
|
2103
|
|
2104 function Flag157 (N : Node_Id) return Boolean;
|
|
2105 pragma Inline (Flag157);
|
|
2106
|
|
2107 function Flag158 (N : Node_Id) return Boolean;
|
|
2108 pragma Inline (Flag158);
|
|
2109
|
|
2110 function Flag159 (N : Node_Id) return Boolean;
|
|
2111 pragma Inline (Flag159);
|
|
2112
|
|
2113 function Flag160 (N : Node_Id) return Boolean;
|
|
2114 pragma Inline (Flag160);
|
|
2115
|
|
2116 function Flag161 (N : Node_Id) return Boolean;
|
|
2117 pragma Inline (Flag161);
|
|
2118
|
|
2119 function Flag162 (N : Node_Id) return Boolean;
|
|
2120 pragma Inline (Flag162);
|
|
2121
|
|
2122 function Flag163 (N : Node_Id) return Boolean;
|
|
2123 pragma Inline (Flag163);
|
|
2124
|
|
2125 function Flag164 (N : Node_Id) return Boolean;
|
|
2126 pragma Inline (Flag164);
|
|
2127
|
|
2128 function Flag165 (N : Node_Id) return Boolean;
|
|
2129 pragma Inline (Flag165);
|
|
2130
|
|
2131 function Flag166 (N : Node_Id) return Boolean;
|
|
2132 pragma Inline (Flag166);
|
|
2133
|
|
2134 function Flag167 (N : Node_Id) return Boolean;
|
|
2135 pragma Inline (Flag167);
|
|
2136
|
|
2137 function Flag168 (N : Node_Id) return Boolean;
|
|
2138 pragma Inline (Flag168);
|
|
2139
|
|
2140 function Flag169 (N : Node_Id) return Boolean;
|
|
2141 pragma Inline (Flag169);
|
|
2142
|
|
2143 function Flag170 (N : Node_Id) return Boolean;
|
|
2144 pragma Inline (Flag170);
|
|
2145
|
|
2146 function Flag171 (N : Node_Id) return Boolean;
|
|
2147 pragma Inline (Flag171);
|
|
2148
|
|
2149 function Flag172 (N : Node_Id) return Boolean;
|
|
2150 pragma Inline (Flag172);
|
|
2151
|
|
2152 function Flag173 (N : Node_Id) return Boolean;
|
|
2153 pragma Inline (Flag173);
|
|
2154
|
|
2155 function Flag174 (N : Node_Id) return Boolean;
|
|
2156 pragma Inline (Flag174);
|
|
2157
|
|
2158 function Flag175 (N : Node_Id) return Boolean;
|
|
2159 pragma Inline (Flag175);
|
|
2160
|
|
2161 function Flag176 (N : Node_Id) return Boolean;
|
|
2162 pragma Inline (Flag176);
|
|
2163
|
|
2164 function Flag177 (N : Node_Id) return Boolean;
|
|
2165 pragma Inline (Flag177);
|
|
2166
|
|
2167 function Flag178 (N : Node_Id) return Boolean;
|
|
2168 pragma Inline (Flag178);
|
|
2169
|
|
2170 function Flag179 (N : Node_Id) return Boolean;
|
|
2171 pragma Inline (Flag179);
|
|
2172
|
|
2173 function Flag180 (N : Node_Id) return Boolean;
|
|
2174 pragma Inline (Flag180);
|
|
2175
|
|
2176 function Flag181 (N : Node_Id) return Boolean;
|
|
2177 pragma Inline (Flag181);
|
|
2178
|
|
2179 function Flag182 (N : Node_Id) return Boolean;
|
|
2180 pragma Inline (Flag182);
|
|
2181
|
|
2182 function Flag183 (N : Node_Id) return Boolean;
|
|
2183 pragma Inline (Flag183);
|
|
2184
|
|
2185 function Flag184 (N : Node_Id) return Boolean;
|
|
2186 pragma Inline (Flag184);
|
|
2187
|
|
2188 function Flag185 (N : Node_Id) return Boolean;
|
|
2189 pragma Inline (Flag185);
|
|
2190
|
|
2191 function Flag186 (N : Node_Id) return Boolean;
|
|
2192 pragma Inline (Flag186);
|
|
2193
|
|
2194 function Flag187 (N : Node_Id) return Boolean;
|
|
2195 pragma Inline (Flag187);
|
|
2196
|
|
2197 function Flag188 (N : Node_Id) return Boolean;
|
|
2198 pragma Inline (Flag188);
|
|
2199
|
|
2200 function Flag189 (N : Node_Id) return Boolean;
|
|
2201 pragma Inline (Flag189);
|
|
2202
|
|
2203 function Flag190 (N : Node_Id) return Boolean;
|
|
2204 pragma Inline (Flag190);
|
|
2205
|
|
2206 function Flag191 (N : Node_Id) return Boolean;
|
|
2207 pragma Inline (Flag191);
|
|
2208
|
|
2209 function Flag192 (N : Node_Id) return Boolean;
|
|
2210 pragma Inline (Flag192);
|
|
2211
|
|
2212 function Flag193 (N : Node_Id) return Boolean;
|
|
2213 pragma Inline (Flag193);
|
|
2214
|
|
2215 function Flag194 (N : Node_Id) return Boolean;
|
|
2216 pragma Inline (Flag194);
|
|
2217
|
|
2218 function Flag195 (N : Node_Id) return Boolean;
|
|
2219 pragma Inline (Flag195);
|
|
2220
|
|
2221 function Flag196 (N : Node_Id) return Boolean;
|
|
2222 pragma Inline (Flag196);
|
|
2223
|
|
2224 function Flag197 (N : Node_Id) return Boolean;
|
|
2225 pragma Inline (Flag197);
|
|
2226
|
|
2227 function Flag198 (N : Node_Id) return Boolean;
|
|
2228 pragma Inline (Flag198);
|
|
2229
|
|
2230 function Flag199 (N : Node_Id) return Boolean;
|
|
2231 pragma Inline (Flag199);
|
|
2232
|
|
2233 function Flag200 (N : Node_Id) return Boolean;
|
|
2234 pragma Inline (Flag200);
|
|
2235
|
|
2236 function Flag201 (N : Node_Id) return Boolean;
|
|
2237 pragma Inline (Flag201);
|
|
2238
|
|
2239 function Flag202 (N : Node_Id) return Boolean;
|
|
2240 pragma Inline (Flag202);
|
|
2241
|
|
2242 function Flag203 (N : Node_Id) return Boolean;
|
|
2243 pragma Inline (Flag203);
|
|
2244
|
|
2245 function Flag204 (N : Node_Id) return Boolean;
|
|
2246 pragma Inline (Flag204);
|
|
2247
|
|
2248 function Flag205 (N : Node_Id) return Boolean;
|
|
2249 pragma Inline (Flag205);
|
|
2250
|
|
2251 function Flag206 (N : Node_Id) return Boolean;
|
|
2252 pragma Inline (Flag206);
|
|
2253
|
|
2254 function Flag207 (N : Node_Id) return Boolean;
|
|
2255 pragma Inline (Flag207);
|
|
2256
|
|
2257 function Flag208 (N : Node_Id) return Boolean;
|
|
2258 pragma Inline (Flag208);
|
|
2259
|
|
2260 function Flag209 (N : Node_Id) return Boolean;
|
|
2261 pragma Inline (Flag209);
|
|
2262
|
|
2263 function Flag210 (N : Node_Id) return Boolean;
|
|
2264 pragma Inline (Flag210);
|
|
2265
|
|
2266 function Flag211 (N : Node_Id) return Boolean;
|
|
2267 pragma Inline (Flag211);
|
|
2268
|
|
2269 function Flag212 (N : Node_Id) return Boolean;
|
|
2270 pragma Inline (Flag212);
|
|
2271
|
|
2272 function Flag213 (N : Node_Id) return Boolean;
|
|
2273 pragma Inline (Flag213);
|
|
2274
|
|
2275 function Flag214 (N : Node_Id) return Boolean;
|
|
2276 pragma Inline (Flag214);
|
|
2277
|
|
2278 function Flag215 (N : Node_Id) return Boolean;
|
|
2279 pragma Inline (Flag215);
|
|
2280
|
|
2281 function Flag216 (N : Node_Id) return Boolean;
|
|
2282 pragma Inline (Flag216);
|
|
2283
|
|
2284 function Flag217 (N : Node_Id) return Boolean;
|
|
2285 pragma Inline (Flag217);
|
|
2286
|
|
2287 function Flag218 (N : Node_Id) return Boolean;
|
|
2288 pragma Inline (Flag218);
|
|
2289
|
|
2290 function Flag219 (N : Node_Id) return Boolean;
|
|
2291 pragma Inline (Flag219);
|
|
2292
|
|
2293 function Flag220 (N : Node_Id) return Boolean;
|
|
2294 pragma Inline (Flag220);
|
|
2295
|
|
2296 function Flag221 (N : Node_Id) return Boolean;
|
|
2297 pragma Inline (Flag221);
|
|
2298
|
|
2299 function Flag222 (N : Node_Id) return Boolean;
|
|
2300 pragma Inline (Flag222);
|
|
2301
|
|
2302 function Flag223 (N : Node_Id) return Boolean;
|
|
2303 pragma Inline (Flag223);
|
|
2304
|
|
2305 function Flag224 (N : Node_Id) return Boolean;
|
|
2306 pragma Inline (Flag224);
|
|
2307
|
|
2308 function Flag225 (N : Node_Id) return Boolean;
|
|
2309 pragma Inline (Flag225);
|
|
2310
|
|
2311 function Flag226 (N : Node_Id) return Boolean;
|
|
2312 pragma Inline (Flag226);
|
|
2313
|
|
2314 function Flag227 (N : Node_Id) return Boolean;
|
|
2315 pragma Inline (Flag227);
|
|
2316
|
|
2317 function Flag228 (N : Node_Id) return Boolean;
|
|
2318 pragma Inline (Flag228);
|
|
2319
|
|
2320 function Flag229 (N : Node_Id) return Boolean;
|
|
2321 pragma Inline (Flag229);
|
|
2322
|
|
2323 function Flag230 (N : Node_Id) return Boolean;
|
|
2324 pragma Inline (Flag230);
|
|
2325
|
|
2326 function Flag231 (N : Node_Id) return Boolean;
|
|
2327 pragma Inline (Flag231);
|
|
2328
|
|
2329 function Flag232 (N : Node_Id) return Boolean;
|
|
2330 pragma Inline (Flag232);
|
|
2331
|
|
2332 function Flag233 (N : Node_Id) return Boolean;
|
|
2333 pragma Inline (Flag233);
|
|
2334
|
|
2335 function Flag234 (N : Node_Id) return Boolean;
|
|
2336 pragma Inline (Flag234);
|
|
2337
|
|
2338 function Flag235 (N : Node_Id) return Boolean;
|
|
2339 pragma Inline (Flag235);
|
|
2340
|
|
2341 function Flag236 (N : Node_Id) return Boolean;
|
|
2342 pragma Inline (Flag236);
|
|
2343
|
|
2344 function Flag237 (N : Node_Id) return Boolean;
|
|
2345 pragma Inline (Flag237);
|
|
2346
|
|
2347 function Flag238 (N : Node_Id) return Boolean;
|
|
2348 pragma Inline (Flag238);
|
|
2349
|
|
2350 function Flag239 (N : Node_Id) return Boolean;
|
|
2351 pragma Inline (Flag239);
|
|
2352
|
|
2353 function Flag240 (N : Node_Id) return Boolean;
|
|
2354 pragma Inline (Flag240);
|
|
2355
|
|
2356 function Flag241 (N : Node_Id) return Boolean;
|
|
2357 pragma Inline (Flag241);
|
|
2358
|
|
2359 function Flag242 (N : Node_Id) return Boolean;
|
|
2360 pragma Inline (Flag242);
|
|
2361
|
|
2362 function Flag243 (N : Node_Id) return Boolean;
|
|
2363 pragma Inline (Flag243);
|
|
2364
|
|
2365 function Flag244 (N : Node_Id) return Boolean;
|
|
2366 pragma Inline (Flag244);
|
|
2367
|
|
2368 function Flag245 (N : Node_Id) return Boolean;
|
|
2369 pragma Inline (Flag245);
|
|
2370
|
|
2371 function Flag246 (N : Node_Id) return Boolean;
|
|
2372 pragma Inline (Flag246);
|
|
2373
|
|
2374 function Flag247 (N : Node_Id) return Boolean;
|
|
2375 pragma Inline (Flag247);
|
|
2376
|
|
2377 function Flag248 (N : Node_Id) return Boolean;
|
|
2378 pragma Inline (Flag248);
|
|
2379
|
|
2380 function Flag249 (N : Node_Id) return Boolean;
|
|
2381 pragma Inline (Flag249);
|
|
2382
|
|
2383 function Flag250 (N : Node_Id) return Boolean;
|
|
2384 pragma Inline (Flag250);
|
|
2385
|
|
2386 function Flag251 (N : Node_Id) return Boolean;
|
|
2387 pragma Inline (Flag251);
|
|
2388
|
|
2389 function Flag252 (N : Node_Id) return Boolean;
|
|
2390 pragma Inline (Flag252);
|
|
2391
|
|
2392 function Flag253 (N : Node_Id) return Boolean;
|
|
2393 pragma Inline (Flag253);
|
|
2394
|
|
2395 function Flag254 (N : Node_Id) return Boolean;
|
|
2396 pragma Inline (Flag254);
|
|
2397
|
|
2398 function Flag255 (N : Node_Id) return Boolean;
|
|
2399 pragma Inline (Flag255);
|
|
2400
|
|
2401 function Flag256 (N : Node_Id) return Boolean;
|
|
2402 pragma Inline (Flag256);
|
|
2403
|
|
2404 function Flag257 (N : Node_Id) return Boolean;
|
|
2405 pragma Inline (Flag257);
|
|
2406
|
|
2407 function Flag258 (N : Node_Id) return Boolean;
|
|
2408 pragma Inline (Flag258);
|
|
2409
|
|
2410 function Flag259 (N : Node_Id) return Boolean;
|
|
2411 pragma Inline (Flag259);
|
|
2412
|
|
2413 function Flag260 (N : Node_Id) return Boolean;
|
|
2414 pragma Inline (Flag260);
|
|
2415
|
|
2416 function Flag261 (N : Node_Id) return Boolean;
|
|
2417 pragma Inline (Flag261);
|
|
2418
|
|
2419 function Flag262 (N : Node_Id) return Boolean;
|
|
2420 pragma Inline (Flag262);
|
|
2421
|
|
2422 function Flag263 (N : Node_Id) return Boolean;
|
|
2423 pragma Inline (Flag263);
|
|
2424
|
|
2425 function Flag264 (N : Node_Id) return Boolean;
|
|
2426 pragma Inline (Flag264);
|
|
2427
|
|
2428 function Flag265 (N : Node_Id) return Boolean;
|
|
2429 pragma Inline (Flag265);
|
|
2430
|
|
2431 function Flag266 (N : Node_Id) return Boolean;
|
|
2432 pragma Inline (Flag266);
|
|
2433
|
|
2434 function Flag267 (N : Node_Id) return Boolean;
|
|
2435 pragma Inline (Flag267);
|
|
2436
|
|
2437 function Flag268 (N : Node_Id) return Boolean;
|
|
2438 pragma Inline (Flag268);
|
|
2439
|
|
2440 function Flag269 (N : Node_Id) return Boolean;
|
|
2441 pragma Inline (Flag269);
|
|
2442
|
|
2443 function Flag270 (N : Node_Id) return Boolean;
|
|
2444 pragma Inline (Flag270);
|
|
2445
|
|
2446 function Flag271 (N : Node_Id) return Boolean;
|
|
2447 pragma Inline (Flag271);
|
|
2448
|
|
2449 function Flag272 (N : Node_Id) return Boolean;
|
|
2450 pragma Inline (Flag272);
|
|
2451
|
|
2452 function Flag273 (N : Node_Id) return Boolean;
|
|
2453 pragma Inline (Flag273);
|
|
2454
|
|
2455 function Flag274 (N : Node_Id) return Boolean;
|
|
2456 pragma Inline (Flag274);
|
|
2457
|
|
2458 function Flag275 (N : Node_Id) return Boolean;
|
|
2459 pragma Inline (Flag275);
|
|
2460
|
|
2461 function Flag276 (N : Node_Id) return Boolean;
|
|
2462 pragma Inline (Flag276);
|
|
2463
|
|
2464 function Flag277 (N : Node_Id) return Boolean;
|
|
2465 pragma Inline (Flag277);
|
|
2466
|
|
2467 function Flag278 (N : Node_Id) return Boolean;
|
|
2468 pragma Inline (Flag278);
|
|
2469
|
|
2470 function Flag279 (N : Node_Id) return Boolean;
|
|
2471 pragma Inline (Flag279);
|
|
2472
|
|
2473 function Flag280 (N : Node_Id) return Boolean;
|
|
2474 pragma Inline (Flag280);
|
|
2475
|
|
2476 function Flag281 (N : Node_Id) return Boolean;
|
|
2477 pragma Inline (Flag281);
|
|
2478
|
|
2479 function Flag282 (N : Node_Id) return Boolean;
|
|
2480 pragma Inline (Flag282);
|
|
2481
|
|
2482 function Flag283 (N : Node_Id) return Boolean;
|
|
2483 pragma Inline (Flag283);
|
|
2484
|
|
2485 function Flag284 (N : Node_Id) return Boolean;
|
|
2486 pragma Inline (Flag284);
|
|
2487
|
|
2488 function Flag285 (N : Node_Id) return Boolean;
|
|
2489 pragma Inline (Flag285);
|
|
2490
|
|
2491 function Flag286 (N : Node_Id) return Boolean;
|
|
2492 pragma Inline (Flag286);
|
|
2493
|
|
2494 function Flag287 (N : Node_Id) return Boolean;
|
|
2495 pragma Inline (Flag287);
|
|
2496
|
|
2497 function Flag288 (N : Node_Id) return Boolean;
|
|
2498 pragma Inline (Flag288);
|
|
2499
|
|
2500 function Flag289 (N : Node_Id) return Boolean;
|
|
2501 pragma Inline (Flag289);
|
|
2502
|
|
2503 function Flag290 (N : Node_Id) return Boolean;
|
|
2504 pragma Inline (Flag290);
|
|
2505
|
|
2506 function Flag291 (N : Node_Id) return Boolean;
|
|
2507 pragma Inline (Flag291);
|
|
2508
|
|
2509 function Flag292 (N : Node_Id) return Boolean;
|
|
2510 pragma Inline (Flag292);
|
|
2511
|
|
2512 function Flag293 (N : Node_Id) return Boolean;
|
|
2513 pragma Inline (Flag293);
|
|
2514
|
|
2515 function Flag294 (N : Node_Id) return Boolean;
|
|
2516 pragma Inline (Flag294);
|
|
2517
|
|
2518 function Flag295 (N : Node_Id) return Boolean;
|
|
2519 pragma Inline (Flag295);
|
|
2520
|
|
2521 function Flag296 (N : Node_Id) return Boolean;
|
|
2522 pragma Inline (Flag296);
|
|
2523
|
|
2524 function Flag297 (N : Node_Id) return Boolean;
|
|
2525 pragma Inline (Flag297);
|
|
2526
|
|
2527 function Flag298 (N : Node_Id) return Boolean;
|
|
2528 pragma Inline (Flag298);
|
|
2529
|
|
2530 function Flag299 (N : Node_Id) return Boolean;
|
|
2531 pragma Inline (Flag299);
|
|
2532
|
|
2533 function Flag300 (N : Node_Id) return Boolean;
|
|
2534 pragma Inline (Flag300);
|
|
2535
|
|
2536 function Flag301 (N : Node_Id) return Boolean;
|
|
2537 pragma Inline (Flag301);
|
|
2538
|
|
2539 function Flag302 (N : Node_Id) return Boolean;
|
|
2540 pragma Inline (Flag302);
|
|
2541
|
|
2542 function Flag303 (N : Node_Id) return Boolean;
|
|
2543 pragma Inline (Flag303);
|
|
2544
|
|
2545 function Flag304 (N : Node_Id) return Boolean;
|
|
2546 pragma Inline (Flag304);
|
|
2547
|
|
2548 function Flag305 (N : Node_Id) return Boolean;
|
|
2549 pragma Inline (Flag305);
|
|
2550
|
|
2551 function Flag306 (N : Node_Id) return Boolean;
|
|
2552 pragma Inline (Flag306);
|
|
2553
|
|
2554 function Flag307 (N : Node_Id) return Boolean;
|
|
2555 pragma Inline (Flag307);
|
|
2556
|
|
2557 function Flag308 (N : Node_Id) return Boolean;
|
|
2558 pragma Inline (Flag308);
|
|
2559
|
|
2560 function Flag309 (N : Node_Id) return Boolean;
|
|
2561 pragma Inline (Flag309);
|
|
2562
|
|
2563 function Flag310 (N : Node_Id) return Boolean;
|
|
2564 pragma Inline (Flag310);
|
|
2565
|
|
2566 function Flag311 (N : Node_Id) return Boolean;
|
|
2567 pragma Inline (Flag311);
|
|
2568
|
|
2569 function Flag312 (N : Node_Id) return Boolean;
|
|
2570 pragma Inline (Flag312);
|
|
2571
|
|
2572 function Flag313 (N : Node_Id) return Boolean;
|
|
2573 pragma Inline (Flag313);
|
|
2574
|
|
2575 function Flag314 (N : Node_Id) return Boolean;
|
|
2576 pragma Inline (Flag314);
|
|
2577
|
|
2578 function Flag315 (N : Node_Id) return Boolean;
|
|
2579 pragma Inline (Flag315);
|
|
2580
|
|
2581 function Flag316 (N : Node_Id) return Boolean;
|
|
2582 pragma Inline (Flag316);
|
|
2583
|
|
2584 function Flag317 (N : Node_Id) return Boolean;
|
|
2585 pragma Inline (Flag317);
|
|
2586
|
|
2587 -- Procedures to set value of indicated field
|
|
2588
|
|
2589 procedure Set_Nkind (N : Node_Id; Val : Node_Kind);
|
|
2590 pragma Inline (Set_Nkind);
|
|
2591
|
|
2592 procedure Set_Field1 (N : Node_Id; Val : Union_Id);
|
|
2593 pragma Inline (Set_Field1);
|
|
2594
|
|
2595 procedure Set_Field2 (N : Node_Id; Val : Union_Id);
|
|
2596 pragma Inline (Set_Field2);
|
|
2597
|
|
2598 procedure Set_Field3 (N : Node_Id; Val : Union_Id);
|
|
2599 pragma Inline (Set_Field3);
|
|
2600
|
|
2601 procedure Set_Field4 (N : Node_Id; Val : Union_Id);
|
|
2602 pragma Inline (Set_Field4);
|
|
2603
|
|
2604 procedure Set_Field5 (N : Node_Id; Val : Union_Id);
|
|
2605 pragma Inline (Set_Field5);
|
|
2606
|
|
2607 procedure Set_Field6 (N : Node_Id; Val : Union_Id);
|
|
2608 pragma Inline (Set_Field6);
|
|
2609
|
|
2610 procedure Set_Field7 (N : Node_Id; Val : Union_Id);
|
|
2611 pragma Inline (Set_Field7);
|
|
2612
|
|
2613 procedure Set_Field8 (N : Node_Id; Val : Union_Id);
|
|
2614 pragma Inline (Set_Field8);
|
|
2615
|
|
2616 procedure Set_Field9 (N : Node_Id; Val : Union_Id);
|
|
2617 pragma Inline (Set_Field9);
|
|
2618
|
|
2619 procedure Set_Field10 (N : Node_Id; Val : Union_Id);
|
|
2620 pragma Inline (Set_Field10);
|
|
2621
|
|
2622 procedure Set_Field11 (N : Node_Id; Val : Union_Id);
|
|
2623 pragma Inline (Set_Field11);
|
|
2624
|
|
2625 procedure Set_Field12 (N : Node_Id; Val : Union_Id);
|
|
2626 pragma Inline (Set_Field12);
|
|
2627
|
|
2628 procedure Set_Field13 (N : Node_Id; Val : Union_Id);
|
|
2629 pragma Inline (Set_Field13);
|
|
2630
|
|
2631 procedure Set_Field14 (N : Node_Id; Val : Union_Id);
|
|
2632 pragma Inline (Set_Field14);
|
|
2633
|
|
2634 procedure Set_Field15 (N : Node_Id; Val : Union_Id);
|
|
2635 pragma Inline (Set_Field15);
|
|
2636
|
|
2637 procedure Set_Field16 (N : Node_Id; Val : Union_Id);
|
|
2638 pragma Inline (Set_Field16);
|
|
2639
|
|
2640 procedure Set_Field17 (N : Node_Id; Val : Union_Id);
|
|
2641 pragma Inline (Set_Field17);
|
|
2642
|
|
2643 procedure Set_Field18 (N : Node_Id; Val : Union_Id);
|
|
2644 pragma Inline (Set_Field18);
|
|
2645
|
|
2646 procedure Set_Field19 (N : Node_Id; Val : Union_Id);
|
|
2647 pragma Inline (Set_Field19);
|
|
2648
|
|
2649 procedure Set_Field20 (N : Node_Id; Val : Union_Id);
|
|
2650 pragma Inline (Set_Field20);
|
|
2651
|
|
2652 procedure Set_Field21 (N : Node_Id; Val : Union_Id);
|
|
2653 pragma Inline (Set_Field21);
|
|
2654
|
|
2655 procedure Set_Field22 (N : Node_Id; Val : Union_Id);
|
|
2656 pragma Inline (Set_Field22);
|
|
2657
|
|
2658 procedure Set_Field23 (N : Node_Id; Val : Union_Id);
|
|
2659 pragma Inline (Set_Field23);
|
|
2660
|
|
2661 procedure Set_Field24 (N : Node_Id; Val : Union_Id);
|
|
2662 pragma Inline (Set_Field24);
|
|
2663
|
|
2664 procedure Set_Field25 (N : Node_Id; Val : Union_Id);
|
|
2665 pragma Inline (Set_Field25);
|
|
2666
|
|
2667 procedure Set_Field26 (N : Node_Id; Val : Union_Id);
|
|
2668 pragma Inline (Set_Field26);
|
|
2669
|
|
2670 procedure Set_Field27 (N : Node_Id; Val : Union_Id);
|
|
2671 pragma Inline (Set_Field27);
|
|
2672
|
|
2673 procedure Set_Field28 (N : Node_Id; Val : Union_Id);
|
|
2674 pragma Inline (Set_Field28);
|
|
2675
|
|
2676 procedure Set_Field29 (N : Node_Id; Val : Union_Id);
|
|
2677 pragma Inline (Set_Field29);
|
|
2678
|
|
2679 procedure Set_Field30 (N : Node_Id; Val : Union_Id);
|
|
2680 pragma Inline (Set_Field30);
|
|
2681
|
|
2682 procedure Set_Field31 (N : Node_Id; Val : Union_Id);
|
|
2683 pragma Inline (Set_Field31);
|
|
2684
|
|
2685 procedure Set_Field32 (N : Node_Id; Val : Union_Id);
|
|
2686 pragma Inline (Set_Field32);
|
|
2687
|
|
2688 procedure Set_Field33 (N : Node_Id; Val : Union_Id);
|
|
2689 pragma Inline (Set_Field33);
|
|
2690
|
|
2691 procedure Set_Field34 (N : Node_Id; Val : Union_Id);
|
|
2692 pragma Inline (Set_Field34);
|
|
2693
|
|
2694 procedure Set_Field35 (N : Node_Id; Val : Union_Id);
|
|
2695 pragma Inline (Set_Field35);
|
|
2696
|
|
2697 procedure Set_Field36 (N : Node_Id; Val : Union_Id);
|
|
2698 pragma Inline (Set_Field36);
|
|
2699
|
|
2700 procedure Set_Field37 (N : Node_Id; Val : Union_Id);
|
|
2701 pragma Inline (Set_Field37);
|
|
2702
|
|
2703 procedure Set_Field38 (N : Node_Id; Val : Union_Id);
|
|
2704 pragma Inline (Set_Field38);
|
|
2705
|
|
2706 procedure Set_Field39 (N : Node_Id; Val : Union_Id);
|
|
2707 pragma Inline (Set_Field39);
|
|
2708
|
|
2709 procedure Set_Field40 (N : Node_Id; Val : Union_Id);
|
|
2710 pragma Inline (Set_Field40);
|
|
2711
|
|
2712 procedure Set_Field41 (N : Node_Id; Val : Union_Id);
|
|
2713 pragma Inline (Set_Field41);
|
|
2714
|
|
2715 procedure Set_Node1 (N : Node_Id; Val : Node_Id);
|
|
2716 pragma Inline (Set_Node1);
|
|
2717
|
|
2718 procedure Set_Node2 (N : Node_Id; Val : Node_Id);
|
|
2719 pragma Inline (Set_Node2);
|
|
2720
|
|
2721 procedure Set_Node3 (N : Node_Id; Val : Node_Id);
|
|
2722 pragma Inline (Set_Node3);
|
|
2723
|
|
2724 procedure Set_Node4 (N : Node_Id; Val : Node_Id);
|
|
2725 pragma Inline (Set_Node4);
|
|
2726
|
|
2727 procedure Set_Node5 (N : Node_Id; Val : Node_Id);
|
|
2728 pragma Inline (Set_Node5);
|
|
2729
|
|
2730 procedure Set_Node6 (N : Node_Id; Val : Node_Id);
|
|
2731 pragma Inline (Set_Node6);
|
|
2732
|
|
2733 procedure Set_Node7 (N : Node_Id; Val : Node_Id);
|
|
2734 pragma Inline (Set_Node7);
|
|
2735
|
|
2736 procedure Set_Node8 (N : Node_Id; Val : Node_Id);
|
|
2737 pragma Inline (Set_Node8);
|
|
2738
|
|
2739 procedure Set_Node9 (N : Node_Id; Val : Node_Id);
|
|
2740 pragma Inline (Set_Node9);
|
|
2741
|
|
2742 procedure Set_Node10 (N : Node_Id; Val : Node_Id);
|
|
2743 pragma Inline (Set_Node10);
|
|
2744
|
|
2745 procedure Set_Node11 (N : Node_Id; Val : Node_Id);
|
|
2746 pragma Inline (Set_Node11);
|
|
2747
|
|
2748 procedure Set_Node12 (N : Node_Id; Val : Node_Id);
|
|
2749 pragma Inline (Set_Node12);
|
|
2750
|
|
2751 procedure Set_Node13 (N : Node_Id; Val : Node_Id);
|
|
2752 pragma Inline (Set_Node13);
|
|
2753
|
|
2754 procedure Set_Node14 (N : Node_Id; Val : Node_Id);
|
|
2755 pragma Inline (Set_Node14);
|
|
2756
|
|
2757 procedure Set_Node15 (N : Node_Id; Val : Node_Id);
|
|
2758 pragma Inline (Set_Node15);
|
|
2759
|
|
2760 procedure Set_Node16 (N : Node_Id; Val : Node_Id);
|
|
2761 pragma Inline (Set_Node16);
|
|
2762
|
|
2763 procedure Set_Node17 (N : Node_Id; Val : Node_Id);
|
|
2764 pragma Inline (Set_Node17);
|
|
2765
|
|
2766 procedure Set_Node18 (N : Node_Id; Val : Node_Id);
|
|
2767 pragma Inline (Set_Node18);
|
|
2768
|
|
2769 procedure Set_Node19 (N : Node_Id; Val : Node_Id);
|
|
2770 pragma Inline (Set_Node19);
|
|
2771
|
|
2772 procedure Set_Node20 (N : Node_Id; Val : Node_Id);
|
|
2773 pragma Inline (Set_Node20);
|
|
2774
|
|
2775 procedure Set_Node21 (N : Node_Id; Val : Node_Id);
|
|
2776 pragma Inline (Set_Node21);
|
|
2777
|
|
2778 procedure Set_Node22 (N : Node_Id; Val : Node_Id);
|
|
2779 pragma Inline (Set_Node22);
|
|
2780
|
|
2781 procedure Set_Node23 (N : Node_Id; Val : Node_Id);
|
|
2782 pragma Inline (Set_Node23);
|
|
2783
|
|
2784 procedure Set_Node24 (N : Node_Id; Val : Node_Id);
|
|
2785 pragma Inline (Set_Node24);
|
|
2786
|
|
2787 procedure Set_Node25 (N : Node_Id; Val : Node_Id);
|
|
2788 pragma Inline (Set_Node25);
|
|
2789
|
|
2790 procedure Set_Node26 (N : Node_Id; Val : Node_Id);
|
|
2791 pragma Inline (Set_Node26);
|
|
2792
|
|
2793 procedure Set_Node27 (N : Node_Id; Val : Node_Id);
|
|
2794 pragma Inline (Set_Node27);
|
|
2795
|
|
2796 procedure Set_Node28 (N : Node_Id; Val : Node_Id);
|
|
2797 pragma Inline (Set_Node28);
|
|
2798
|
|
2799 procedure Set_Node29 (N : Node_Id; Val : Node_Id);
|
|
2800 pragma Inline (Set_Node29);
|
|
2801
|
|
2802 procedure Set_Node30 (N : Node_Id; Val : Node_Id);
|
|
2803 pragma Inline (Set_Node30);
|
|
2804
|
|
2805 procedure Set_Node31 (N : Node_Id; Val : Node_Id);
|
|
2806 pragma Inline (Set_Node31);
|
|
2807
|
|
2808 procedure Set_Node32 (N : Node_Id; Val : Node_Id);
|
|
2809 pragma Inline (Set_Node32);
|
|
2810
|
|
2811 procedure Set_Node33 (N : Node_Id; Val : Node_Id);
|
|
2812 pragma Inline (Set_Node33);
|
|
2813
|
|
2814 procedure Set_Node34 (N : Node_Id; Val : Node_Id);
|
|
2815 pragma Inline (Set_Node34);
|
|
2816
|
|
2817 procedure Set_Node35 (N : Node_Id; Val : Node_Id);
|
|
2818 pragma Inline (Set_Node35);
|
|
2819
|
|
2820 procedure Set_Node36 (N : Node_Id; Val : Node_Id);
|
|
2821 pragma Inline (Set_Node36);
|
|
2822
|
|
2823 procedure Set_Node37 (N : Node_Id; Val : Node_Id);
|
|
2824 pragma Inline (Set_Node37);
|
|
2825
|
|
2826 procedure Set_Node38 (N : Node_Id; Val : Node_Id);
|
|
2827 pragma Inline (Set_Node38);
|
|
2828
|
|
2829 procedure Set_Node39 (N : Node_Id; Val : Node_Id);
|
|
2830 pragma Inline (Set_Node39);
|
|
2831
|
|
2832 procedure Set_Node40 (N : Node_Id; Val : Node_Id);
|
|
2833 pragma Inline (Set_Node40);
|
|
2834
|
|
2835 procedure Set_Node41 (N : Node_Id; Val : Node_Id);
|
|
2836 pragma Inline (Set_Node41);
|
|
2837
|
|
2838 procedure Set_List1 (N : Node_Id; Val : List_Id);
|
|
2839 pragma Inline (Set_List1);
|
|
2840
|
|
2841 procedure Set_List2 (N : Node_Id; Val : List_Id);
|
|
2842 pragma Inline (Set_List2);
|
|
2843
|
|
2844 procedure Set_List3 (N : Node_Id; Val : List_Id);
|
|
2845 pragma Inline (Set_List3);
|
|
2846
|
|
2847 procedure Set_List4 (N : Node_Id; Val : List_Id);
|
|
2848 pragma Inline (Set_List4);
|
|
2849
|
|
2850 procedure Set_List5 (N : Node_Id; Val : List_Id);
|
|
2851 pragma Inline (Set_List5);
|
|
2852
|
|
2853 procedure Set_List10 (N : Node_Id; Val : List_Id);
|
|
2854 pragma Inline (Set_List10);
|
|
2855
|
|
2856 procedure Set_List14 (N : Node_Id; Val : List_Id);
|
|
2857 pragma Inline (Set_List14);
|
|
2858
|
|
2859 procedure Set_List25 (N : Node_Id; Val : List_Id);
|
|
2860 pragma Inline (Set_List25);
|
|
2861
|
|
2862 procedure Set_List38 (N : Node_Id; Val : List_Id);
|
|
2863 pragma Inline (Set_List38);
|
|
2864
|
|
2865 procedure Set_List39 (N : Node_Id; Val : List_Id);
|
|
2866 pragma Inline (Set_List39);
|
|
2867
|
|
2868 procedure Set_Elist1 (N : Node_Id; Val : Elist_Id);
|
|
2869 pragma Inline (Set_Elist1);
|
|
2870
|
|
2871 procedure Set_Elist2 (N : Node_Id; Val : Elist_Id);
|
|
2872 pragma Inline (Set_Elist2);
|
|
2873
|
|
2874 procedure Set_Elist3 (N : Node_Id; Val : Elist_Id);
|
|
2875 pragma Inline (Set_Elist3);
|
|
2876
|
|
2877 procedure Set_Elist4 (N : Node_Id; Val : Elist_Id);
|
|
2878 pragma Inline (Set_Elist4);
|
|
2879
|
|
2880 procedure Set_Elist5 (N : Node_Id; Val : Elist_Id);
|
|
2881 pragma Inline (Set_Elist5);
|
|
2882
|
|
2883 procedure Set_Elist8 (N : Node_Id; Val : Elist_Id);
|
|
2884 pragma Inline (Set_Elist8);
|
|
2885
|
|
2886 procedure Set_Elist9 (N : Node_Id; Val : Elist_Id);
|
|
2887 pragma Inline (Set_Elist9);
|
|
2888
|
|
2889 procedure Set_Elist10 (N : Node_Id; Val : Elist_Id);
|
|
2890 pragma Inline (Set_Elist10);
|
|
2891
|
|
2892 procedure Set_Elist11 (N : Node_Id; Val : Elist_Id);
|
|
2893 pragma Inline (Set_Elist11);
|
|
2894
|
|
2895 procedure Set_Elist13 (N : Node_Id; Val : Elist_Id);
|
|
2896 pragma Inline (Set_Elist13);
|
|
2897
|
|
2898 procedure Set_Elist15 (N : Node_Id; Val : Elist_Id);
|
|
2899 pragma Inline (Set_Elist15);
|
|
2900
|
|
2901 procedure Set_Elist16 (N : Node_Id; Val : Elist_Id);
|
|
2902 pragma Inline (Set_Elist16);
|
|
2903
|
|
2904 procedure Set_Elist18 (N : Node_Id; Val : Elist_Id);
|
|
2905 pragma Inline (Set_Elist18);
|
|
2906
|
|
2907 procedure Set_Elist21 (N : Node_Id; Val : Elist_Id);
|
|
2908 pragma Inline (Set_Elist21);
|
|
2909
|
|
2910 procedure Set_Elist23 (N : Node_Id; Val : Elist_Id);
|
|
2911 pragma Inline (Set_Elist23);
|
|
2912
|
|
2913 procedure Set_Elist24 (N : Node_Id; Val : Elist_Id);
|
|
2914 pragma Inline (Set_Elist24);
|
|
2915
|
|
2916 procedure Set_Elist25 (N : Node_Id; Val : Elist_Id);
|
|
2917 pragma Inline (Set_Elist25);
|
|
2918
|
|
2919 procedure Set_Elist26 (N : Node_Id; Val : Elist_Id);
|
|
2920 pragma Inline (Set_Elist26);
|
|
2921
|
|
2922 procedure Set_Elist29 (N : Node_Id; Val : Elist_Id);
|
|
2923 pragma Inline (Set_Elist29);
|
|
2924
|
131
|
2925 procedure Set_Elist30 (N : Node_Id; Val : Elist_Id);
|
|
2926 pragma Inline (Set_Elist30);
|
|
2927
|
111
|
2928 procedure Set_Elist36 (N : Node_Id; Val : Elist_Id);
|
|
2929 pragma Inline (Set_Elist36);
|
|
2930
|
|
2931 procedure Set_Name1 (N : Node_Id; Val : Name_Id);
|
|
2932 pragma Inline (Set_Name1);
|
|
2933
|
|
2934 procedure Set_Name2 (N : Node_Id; Val : Name_Id);
|
|
2935 pragma Inline (Set_Name2);
|
|
2936
|
|
2937 procedure Set_Str3 (N : Node_Id; Val : String_Id);
|
|
2938 pragma Inline (Set_Str3);
|
|
2939
|
|
2940 procedure Set_Uint2 (N : Node_Id; Val : Uint);
|
|
2941 pragma Inline (Set_Uint2);
|
|
2942
|
|
2943 procedure Set_Uint3 (N : Node_Id; Val : Uint);
|
|
2944 pragma Inline (Set_Uint3);
|
|
2945
|
|
2946 procedure Set_Uint4 (N : Node_Id; Val : Uint);
|
|
2947 pragma Inline (Set_Uint4);
|
|
2948
|
|
2949 procedure Set_Uint5 (N : Node_Id; Val : Uint);
|
|
2950 pragma Inline (Set_Uint5);
|
|
2951
|
|
2952 procedure Set_Uint8 (N : Node_Id; Val : Uint);
|
|
2953 pragma Inline (Set_Uint8);
|
|
2954
|
|
2955 procedure Set_Uint9 (N : Node_Id; Val : Uint);
|
|
2956 pragma Inline (Set_Uint9);
|
|
2957
|
|
2958 procedure Set_Uint10 (N : Node_Id; Val : Uint);
|
|
2959 pragma Inline (Set_Uint10);
|
|
2960
|
|
2961 procedure Set_Uint11 (N : Node_Id; Val : Uint);
|
|
2962 pragma Inline (Set_Uint11);
|
|
2963
|
|
2964 procedure Set_Uint12 (N : Node_Id; Val : Uint);
|
|
2965 pragma Inline (Set_Uint12);
|
|
2966
|
|
2967 procedure Set_Uint13 (N : Node_Id; Val : Uint);
|
|
2968 pragma Inline (Set_Uint13);
|
|
2969
|
|
2970 procedure Set_Uint14 (N : Node_Id; Val : Uint);
|
|
2971 pragma Inline (Set_Uint14);
|
|
2972
|
|
2973 procedure Set_Uint15 (N : Node_Id; Val : Uint);
|
|
2974 pragma Inline (Set_Uint15);
|
|
2975
|
|
2976 procedure Set_Uint16 (N : Node_Id; Val : Uint);
|
|
2977 pragma Inline (Set_Uint16);
|
|
2978
|
|
2979 procedure Set_Uint17 (N : Node_Id; Val : Uint);
|
|
2980 pragma Inline (Set_Uint17);
|
|
2981
|
|
2982 procedure Set_Uint22 (N : Node_Id; Val : Uint);
|
|
2983 pragma Inline (Set_Uint22);
|
|
2984
|
|
2985 procedure Set_Uint24 (N : Node_Id; Val : Uint);
|
|
2986 pragma Inline (Set_Uint24);
|
|
2987
|
|
2988 procedure Set_Ureal3 (N : Node_Id; Val : Ureal);
|
|
2989 pragma Inline (Set_Ureal3);
|
|
2990
|
|
2991 procedure Set_Ureal18 (N : Node_Id; Val : Ureal);
|
|
2992 pragma Inline (Set_Ureal18);
|
|
2993
|
|
2994 procedure Set_Ureal21 (N : Node_Id; Val : Ureal);
|
|
2995 pragma Inline (Set_Ureal21);
|
|
2996
|
|
2997 procedure Set_Flag0 (N : Node_Id; Val : Boolean);
|
|
2998 pragma Inline (Set_Flag0);
|
|
2999
|
|
3000 procedure Set_Flag1 (N : Node_Id; Val : Boolean);
|
|
3001 pragma Inline (Set_Flag1);
|
|
3002
|
|
3003 procedure Set_Flag2 (N : Node_Id; Val : Boolean);
|
|
3004 pragma Inline (Set_Flag2);
|
|
3005
|
|
3006 procedure Set_Flag3 (N : Node_Id; Val : Boolean);
|
|
3007 pragma Inline (Set_Flag3);
|
|
3008
|
|
3009 procedure Set_Flag4 (N : Node_Id; Val : Boolean);
|
|
3010 pragma Inline (Set_Flag4);
|
|
3011
|
|
3012 procedure Set_Flag5 (N : Node_Id; Val : Boolean);
|
|
3013 pragma Inline (Set_Flag5);
|
|
3014
|
|
3015 procedure Set_Flag6 (N : Node_Id; Val : Boolean);
|
|
3016 pragma Inline (Set_Flag6);
|
|
3017
|
|
3018 procedure Set_Flag7 (N : Node_Id; Val : Boolean);
|
|
3019 pragma Inline (Set_Flag7);
|
|
3020
|
|
3021 procedure Set_Flag8 (N : Node_Id; Val : Boolean);
|
|
3022 pragma Inline (Set_Flag8);
|
|
3023
|
|
3024 procedure Set_Flag9 (N : Node_Id; Val : Boolean);
|
|
3025 pragma Inline (Set_Flag9);
|
|
3026
|
|
3027 procedure Set_Flag10 (N : Node_Id; Val : Boolean);
|
|
3028 pragma Inline (Set_Flag10);
|
|
3029
|
|
3030 procedure Set_Flag11 (N : Node_Id; Val : Boolean);
|
|
3031 pragma Inline (Set_Flag11);
|
|
3032
|
|
3033 procedure Set_Flag12 (N : Node_Id; Val : Boolean);
|
|
3034 pragma Inline (Set_Flag12);
|
|
3035
|
|
3036 procedure Set_Flag13 (N : Node_Id; Val : Boolean);
|
|
3037 pragma Inline (Set_Flag13);
|
|
3038
|
|
3039 procedure Set_Flag14 (N : Node_Id; Val : Boolean);
|
|
3040 pragma Inline (Set_Flag14);
|
|
3041
|
|
3042 procedure Set_Flag15 (N : Node_Id; Val : Boolean);
|
|
3043 pragma Inline (Set_Flag15);
|
|
3044
|
|
3045 procedure Set_Flag16 (N : Node_Id; Val : Boolean);
|
|
3046 pragma Inline (Set_Flag16);
|
|
3047
|
|
3048 procedure Set_Flag17 (N : Node_Id; Val : Boolean);
|
|
3049 pragma Inline (Set_Flag17);
|
|
3050
|
|
3051 procedure Set_Flag18 (N : Node_Id; Val : Boolean);
|
|
3052 pragma Inline (Set_Flag18);
|
|
3053
|
|
3054 procedure Set_Flag19 (N : Node_Id; Val : Boolean);
|
|
3055 pragma Inline (Set_Flag19);
|
|
3056
|
|
3057 procedure Set_Flag20 (N : Node_Id; Val : Boolean);
|
|
3058 pragma Inline (Set_Flag20);
|
|
3059
|
|
3060 procedure Set_Flag21 (N : Node_Id; Val : Boolean);
|
|
3061 pragma Inline (Set_Flag21);
|
|
3062
|
|
3063 procedure Set_Flag22 (N : Node_Id; Val : Boolean);
|
|
3064 pragma Inline (Set_Flag22);
|
|
3065
|
|
3066 procedure Set_Flag23 (N : Node_Id; Val : Boolean);
|
|
3067 pragma Inline (Set_Flag23);
|
|
3068
|
|
3069 procedure Set_Flag24 (N : Node_Id; Val : Boolean);
|
|
3070 pragma Inline (Set_Flag24);
|
|
3071
|
|
3072 procedure Set_Flag25 (N : Node_Id; Val : Boolean);
|
|
3073 pragma Inline (Set_Flag25);
|
|
3074
|
|
3075 procedure Set_Flag26 (N : Node_Id; Val : Boolean);
|
|
3076 pragma Inline (Set_Flag26);
|
|
3077
|
|
3078 procedure Set_Flag27 (N : Node_Id; Val : Boolean);
|
|
3079 pragma Inline (Set_Flag27);
|
|
3080
|
|
3081 procedure Set_Flag28 (N : Node_Id; Val : Boolean);
|
|
3082 pragma Inline (Set_Flag28);
|
|
3083
|
|
3084 procedure Set_Flag29 (N : Node_Id; Val : Boolean);
|
|
3085 pragma Inline (Set_Flag29);
|
|
3086
|
|
3087 procedure Set_Flag30 (N : Node_Id; Val : Boolean);
|
|
3088 pragma Inline (Set_Flag30);
|
|
3089
|
|
3090 procedure Set_Flag31 (N : Node_Id; Val : Boolean);
|
|
3091 pragma Inline (Set_Flag31);
|
|
3092
|
|
3093 procedure Set_Flag32 (N : Node_Id; Val : Boolean);
|
|
3094 pragma Inline (Set_Flag32);
|
|
3095
|
|
3096 procedure Set_Flag33 (N : Node_Id; Val : Boolean);
|
|
3097 pragma Inline (Set_Flag33);
|
|
3098
|
|
3099 procedure Set_Flag34 (N : Node_Id; Val : Boolean);
|
|
3100 pragma Inline (Set_Flag34);
|
|
3101
|
|
3102 procedure Set_Flag35 (N : Node_Id; Val : Boolean);
|
|
3103 pragma Inline (Set_Flag35);
|
|
3104
|
|
3105 procedure Set_Flag36 (N : Node_Id; Val : Boolean);
|
|
3106 pragma Inline (Set_Flag36);
|
|
3107
|
|
3108 procedure Set_Flag37 (N : Node_Id; Val : Boolean);
|
|
3109 pragma Inline (Set_Flag37);
|
|
3110
|
|
3111 procedure Set_Flag38 (N : Node_Id; Val : Boolean);
|
|
3112 pragma Inline (Set_Flag38);
|
|
3113
|
|
3114 procedure Set_Flag39 (N : Node_Id; Val : Boolean);
|
|
3115 pragma Inline (Set_Flag39);
|
|
3116
|
|
3117 procedure Set_Flag40 (N : Node_Id; Val : Boolean);
|
|
3118 pragma Inline (Set_Flag40);
|
|
3119
|
|
3120 procedure Set_Flag41 (N : Node_Id; Val : Boolean);
|
|
3121 pragma Inline (Set_Flag41);
|
|
3122
|
|
3123 procedure Set_Flag42 (N : Node_Id; Val : Boolean);
|
|
3124 pragma Inline (Set_Flag42);
|
|
3125
|
|
3126 procedure Set_Flag43 (N : Node_Id; Val : Boolean);
|
|
3127 pragma Inline (Set_Flag43);
|
|
3128
|
|
3129 procedure Set_Flag44 (N : Node_Id; Val : Boolean);
|
|
3130 pragma Inline (Set_Flag44);
|
|
3131
|
|
3132 procedure Set_Flag45 (N : Node_Id; Val : Boolean);
|
|
3133 pragma Inline (Set_Flag45);
|
|
3134
|
|
3135 procedure Set_Flag46 (N : Node_Id; Val : Boolean);
|
|
3136 pragma Inline (Set_Flag46);
|
|
3137
|
|
3138 procedure Set_Flag47 (N : Node_Id; Val : Boolean);
|
|
3139 pragma Inline (Set_Flag47);
|
|
3140
|
|
3141 procedure Set_Flag48 (N : Node_Id; Val : Boolean);
|
|
3142 pragma Inline (Set_Flag48);
|
|
3143
|
|
3144 procedure Set_Flag49 (N : Node_Id; Val : Boolean);
|
|
3145 pragma Inline (Set_Flag49);
|
|
3146
|
|
3147 procedure Set_Flag50 (N : Node_Id; Val : Boolean);
|
|
3148 pragma Inline (Set_Flag50);
|
|
3149
|
|
3150 procedure Set_Flag51 (N : Node_Id; Val : Boolean);
|
|
3151 pragma Inline (Set_Flag51);
|
|
3152
|
|
3153 procedure Set_Flag52 (N : Node_Id; Val : Boolean);
|
|
3154 pragma Inline (Set_Flag52);
|
|
3155
|
|
3156 procedure Set_Flag53 (N : Node_Id; Val : Boolean);
|
|
3157 pragma Inline (Set_Flag53);
|
|
3158
|
|
3159 procedure Set_Flag54 (N : Node_Id; Val : Boolean);
|
|
3160 pragma Inline (Set_Flag54);
|
|
3161
|
|
3162 procedure Set_Flag55 (N : Node_Id; Val : Boolean);
|
|
3163 pragma Inline (Set_Flag55);
|
|
3164
|
|
3165 procedure Set_Flag56 (N : Node_Id; Val : Boolean);
|
|
3166 pragma Inline (Set_Flag56);
|
|
3167
|
|
3168 procedure Set_Flag57 (N : Node_Id; Val : Boolean);
|
|
3169 pragma Inline (Set_Flag57);
|
|
3170
|
|
3171 procedure Set_Flag58 (N : Node_Id; Val : Boolean);
|
|
3172 pragma Inline (Set_Flag58);
|
|
3173
|
|
3174 procedure Set_Flag59 (N : Node_Id; Val : Boolean);
|
|
3175 pragma Inline (Set_Flag59);
|
|
3176
|
|
3177 procedure Set_Flag60 (N : Node_Id; Val : Boolean);
|
|
3178 pragma Inline (Set_Flag60);
|
|
3179
|
|
3180 procedure Set_Flag61 (N : Node_Id; Val : Boolean);
|
|
3181 pragma Inline (Set_Flag61);
|
|
3182
|
|
3183 procedure Set_Flag62 (N : Node_Id; Val : Boolean);
|
|
3184 pragma Inline (Set_Flag62);
|
|
3185
|
|
3186 procedure Set_Flag63 (N : Node_Id; Val : Boolean);
|
|
3187 pragma Inline (Set_Flag63);
|
|
3188
|
|
3189 procedure Set_Flag64 (N : Node_Id; Val : Boolean);
|
|
3190 pragma Inline (Set_Flag64);
|
|
3191
|
|
3192 procedure Set_Flag65 (N : Node_Id; Val : Boolean);
|
|
3193 pragma Inline (Set_Flag65);
|
|
3194
|
|
3195 procedure Set_Flag66 (N : Node_Id; Val : Boolean);
|
|
3196 pragma Inline (Set_Flag66);
|
|
3197
|
|
3198 procedure Set_Flag67 (N : Node_Id; Val : Boolean);
|
|
3199 pragma Inline (Set_Flag67);
|
|
3200
|
|
3201 procedure Set_Flag68 (N : Node_Id; Val : Boolean);
|
|
3202 pragma Inline (Set_Flag68);
|
|
3203
|
|
3204 procedure Set_Flag69 (N : Node_Id; Val : Boolean);
|
|
3205 pragma Inline (Set_Flag69);
|
|
3206
|
|
3207 procedure Set_Flag70 (N : Node_Id; Val : Boolean);
|
|
3208 pragma Inline (Set_Flag70);
|
|
3209
|
|
3210 procedure Set_Flag71 (N : Node_Id; Val : Boolean);
|
|
3211 pragma Inline (Set_Flag71);
|
|
3212
|
|
3213 procedure Set_Flag72 (N : Node_Id; Val : Boolean);
|
|
3214 pragma Inline (Set_Flag72);
|
|
3215
|
|
3216 procedure Set_Flag73 (N : Node_Id; Val : Boolean);
|
|
3217 pragma Inline (Set_Flag73);
|
|
3218
|
|
3219 procedure Set_Flag74 (N : Node_Id; Val : Boolean);
|
|
3220 pragma Inline (Set_Flag74);
|
|
3221
|
|
3222 procedure Set_Flag75 (N : Node_Id; Val : Boolean);
|
|
3223 pragma Inline (Set_Flag75);
|
|
3224
|
|
3225 procedure Set_Flag76 (N : Node_Id; Val : Boolean);
|
|
3226 pragma Inline (Set_Flag76);
|
|
3227
|
|
3228 procedure Set_Flag77 (N : Node_Id; Val : Boolean);
|
|
3229 pragma Inline (Set_Flag77);
|
|
3230
|
|
3231 procedure Set_Flag78 (N : Node_Id; Val : Boolean);
|
|
3232 pragma Inline (Set_Flag78);
|
|
3233
|
|
3234 procedure Set_Flag79 (N : Node_Id; Val : Boolean);
|
|
3235 pragma Inline (Set_Flag79);
|
|
3236
|
|
3237 procedure Set_Flag80 (N : Node_Id; Val : Boolean);
|
|
3238 pragma Inline (Set_Flag80);
|
|
3239
|
|
3240 procedure Set_Flag81 (N : Node_Id; Val : Boolean);
|
|
3241 pragma Inline (Set_Flag81);
|
|
3242
|
|
3243 procedure Set_Flag82 (N : Node_Id; Val : Boolean);
|
|
3244 pragma Inline (Set_Flag82);
|
|
3245
|
|
3246 procedure Set_Flag83 (N : Node_Id; Val : Boolean);
|
|
3247 pragma Inline (Set_Flag83);
|
|
3248
|
|
3249 procedure Set_Flag84 (N : Node_Id; Val : Boolean);
|
|
3250 pragma Inline (Set_Flag84);
|
|
3251
|
|
3252 procedure Set_Flag85 (N : Node_Id; Val : Boolean);
|
|
3253 pragma Inline (Set_Flag85);
|
|
3254
|
|
3255 procedure Set_Flag86 (N : Node_Id; Val : Boolean);
|
|
3256 pragma Inline (Set_Flag86);
|
|
3257
|
|
3258 procedure Set_Flag87 (N : Node_Id; Val : Boolean);
|
|
3259 pragma Inline (Set_Flag87);
|
|
3260
|
|
3261 procedure Set_Flag88 (N : Node_Id; Val : Boolean);
|
|
3262 pragma Inline (Set_Flag88);
|
|
3263
|
|
3264 procedure Set_Flag89 (N : Node_Id; Val : Boolean);
|
|
3265 pragma Inline (Set_Flag89);
|
|
3266
|
|
3267 procedure Set_Flag90 (N : Node_Id; Val : Boolean);
|
|
3268 pragma Inline (Set_Flag90);
|
|
3269
|
|
3270 procedure Set_Flag91 (N : Node_Id; Val : Boolean);
|
|
3271 pragma Inline (Set_Flag91);
|
|
3272
|
|
3273 procedure Set_Flag92 (N : Node_Id; Val : Boolean);
|
|
3274 pragma Inline (Set_Flag92);
|
|
3275
|
|
3276 procedure Set_Flag93 (N : Node_Id; Val : Boolean);
|
|
3277 pragma Inline (Set_Flag93);
|
|
3278
|
|
3279 procedure Set_Flag94 (N : Node_Id; Val : Boolean);
|
|
3280 pragma Inline (Set_Flag94);
|
|
3281
|
|
3282 procedure Set_Flag95 (N : Node_Id; Val : Boolean);
|
|
3283 pragma Inline (Set_Flag95);
|
|
3284
|
|
3285 procedure Set_Flag96 (N : Node_Id; Val : Boolean);
|
|
3286 pragma Inline (Set_Flag96);
|
|
3287
|
|
3288 procedure Set_Flag97 (N : Node_Id; Val : Boolean);
|
|
3289 pragma Inline (Set_Flag97);
|
|
3290
|
|
3291 procedure Set_Flag98 (N : Node_Id; Val : Boolean);
|
|
3292 pragma Inline (Set_Flag98);
|
|
3293
|
|
3294 procedure Set_Flag99 (N : Node_Id; Val : Boolean);
|
|
3295 pragma Inline (Set_Flag99);
|
|
3296
|
|
3297 procedure Set_Flag100 (N : Node_Id; Val : Boolean);
|
|
3298 pragma Inline (Set_Flag100);
|
|
3299
|
|
3300 procedure Set_Flag101 (N : Node_Id; Val : Boolean);
|
|
3301 pragma Inline (Set_Flag101);
|
|
3302
|
|
3303 procedure Set_Flag102 (N : Node_Id; Val : Boolean);
|
|
3304 pragma Inline (Set_Flag102);
|
|
3305
|
|
3306 procedure Set_Flag103 (N : Node_Id; Val : Boolean);
|
|
3307 pragma Inline (Set_Flag103);
|
|
3308
|
|
3309 procedure Set_Flag104 (N : Node_Id; Val : Boolean);
|
|
3310 pragma Inline (Set_Flag104);
|
|
3311
|
|
3312 procedure Set_Flag105 (N : Node_Id; Val : Boolean);
|
|
3313 pragma Inline (Set_Flag105);
|
|
3314
|
|
3315 procedure Set_Flag106 (N : Node_Id; Val : Boolean);
|
|
3316 pragma Inline (Set_Flag106);
|
|
3317
|
|
3318 procedure Set_Flag107 (N : Node_Id; Val : Boolean);
|
|
3319 pragma Inline (Set_Flag107);
|
|
3320
|
|
3321 procedure Set_Flag108 (N : Node_Id; Val : Boolean);
|
|
3322 pragma Inline (Set_Flag108);
|
|
3323
|
|
3324 procedure Set_Flag109 (N : Node_Id; Val : Boolean);
|
|
3325 pragma Inline (Set_Flag109);
|
|
3326
|
|
3327 procedure Set_Flag110 (N : Node_Id; Val : Boolean);
|
|
3328 pragma Inline (Set_Flag110);
|
|
3329
|
|
3330 procedure Set_Flag111 (N : Node_Id; Val : Boolean);
|
|
3331 pragma Inline (Set_Flag111);
|
|
3332
|
|
3333 procedure Set_Flag112 (N : Node_Id; Val : Boolean);
|
|
3334 pragma Inline (Set_Flag112);
|
|
3335
|
|
3336 procedure Set_Flag113 (N : Node_Id; Val : Boolean);
|
|
3337 pragma Inline (Set_Flag113);
|
|
3338
|
|
3339 procedure Set_Flag114 (N : Node_Id; Val : Boolean);
|
|
3340 pragma Inline (Set_Flag114);
|
|
3341
|
|
3342 procedure Set_Flag115 (N : Node_Id; Val : Boolean);
|
|
3343 pragma Inline (Set_Flag115);
|
|
3344
|
|
3345 procedure Set_Flag116 (N : Node_Id; Val : Boolean);
|
|
3346 pragma Inline (Set_Flag116);
|
|
3347
|
|
3348 procedure Set_Flag117 (N : Node_Id; Val : Boolean);
|
|
3349 pragma Inline (Set_Flag117);
|
|
3350
|
|
3351 procedure Set_Flag118 (N : Node_Id; Val : Boolean);
|
|
3352 pragma Inline (Set_Flag118);
|
|
3353
|
|
3354 procedure Set_Flag119 (N : Node_Id; Val : Boolean);
|
|
3355 pragma Inline (Set_Flag119);
|
|
3356
|
|
3357 procedure Set_Flag120 (N : Node_Id; Val : Boolean);
|
|
3358 pragma Inline (Set_Flag120);
|
|
3359
|
|
3360 procedure Set_Flag121 (N : Node_Id; Val : Boolean);
|
|
3361 pragma Inline (Set_Flag121);
|
|
3362
|
|
3363 procedure Set_Flag122 (N : Node_Id; Val : Boolean);
|
|
3364 pragma Inline (Set_Flag122);
|
|
3365
|
|
3366 procedure Set_Flag123 (N : Node_Id; Val : Boolean);
|
|
3367 pragma Inline (Set_Flag123);
|
|
3368
|
|
3369 procedure Set_Flag124 (N : Node_Id; Val : Boolean);
|
|
3370 pragma Inline (Set_Flag124);
|
|
3371
|
|
3372 procedure Set_Flag125 (N : Node_Id; Val : Boolean);
|
|
3373 pragma Inline (Set_Flag125);
|
|
3374
|
|
3375 procedure Set_Flag126 (N : Node_Id; Val : Boolean);
|
|
3376 pragma Inline (Set_Flag126);
|
|
3377
|
|
3378 procedure Set_Flag127 (N : Node_Id; Val : Boolean);
|
|
3379 pragma Inline (Set_Flag127);
|
|
3380
|
|
3381 procedure Set_Flag128 (N : Node_Id; Val : Boolean);
|
|
3382 pragma Inline (Set_Flag128);
|
|
3383
|
|
3384 procedure Set_Flag129 (N : Node_Id; Val : Boolean);
|
|
3385 pragma Inline (Set_Flag129);
|
|
3386
|
|
3387 procedure Set_Flag130 (N : Node_Id; Val : Boolean);
|
|
3388 pragma Inline (Set_Flag130);
|
|
3389
|
|
3390 procedure Set_Flag131 (N : Node_Id; Val : Boolean);
|
|
3391 pragma Inline (Set_Flag131);
|
|
3392
|
|
3393 procedure Set_Flag132 (N : Node_Id; Val : Boolean);
|
|
3394 pragma Inline (Set_Flag132);
|
|
3395
|
|
3396 procedure Set_Flag133 (N : Node_Id; Val : Boolean);
|
|
3397 pragma Inline (Set_Flag133);
|
|
3398
|
|
3399 procedure Set_Flag134 (N : Node_Id; Val : Boolean);
|
|
3400 pragma Inline (Set_Flag134);
|
|
3401
|
|
3402 procedure Set_Flag135 (N : Node_Id; Val : Boolean);
|
|
3403 pragma Inline (Set_Flag135);
|
|
3404
|
|
3405 procedure Set_Flag136 (N : Node_Id; Val : Boolean);
|
|
3406 pragma Inline (Set_Flag136);
|
|
3407
|
|
3408 procedure Set_Flag137 (N : Node_Id; Val : Boolean);
|
|
3409 pragma Inline (Set_Flag137);
|
|
3410
|
|
3411 procedure Set_Flag138 (N : Node_Id; Val : Boolean);
|
|
3412 pragma Inline (Set_Flag138);
|
|
3413
|
|
3414 procedure Set_Flag139 (N : Node_Id; Val : Boolean);
|
|
3415 pragma Inline (Set_Flag139);
|
|
3416
|
|
3417 procedure Set_Flag140 (N : Node_Id; Val : Boolean);
|
|
3418 pragma Inline (Set_Flag140);
|
|
3419
|
|
3420 procedure Set_Flag141 (N : Node_Id; Val : Boolean);
|
|
3421 pragma Inline (Set_Flag141);
|
|
3422
|
|
3423 procedure Set_Flag142 (N : Node_Id; Val : Boolean);
|
|
3424 pragma Inline (Set_Flag142);
|
|
3425
|
|
3426 procedure Set_Flag143 (N : Node_Id; Val : Boolean);
|
|
3427 pragma Inline (Set_Flag143);
|
|
3428
|
|
3429 procedure Set_Flag144 (N : Node_Id; Val : Boolean);
|
|
3430 pragma Inline (Set_Flag144);
|
|
3431
|
|
3432 procedure Set_Flag145 (N : Node_Id; Val : Boolean);
|
|
3433 pragma Inline (Set_Flag145);
|
|
3434
|
|
3435 procedure Set_Flag146 (N : Node_Id; Val : Boolean);
|
|
3436 pragma Inline (Set_Flag146);
|
|
3437
|
|
3438 procedure Set_Flag147 (N : Node_Id; Val : Boolean);
|
|
3439 pragma Inline (Set_Flag147);
|
|
3440
|
|
3441 procedure Set_Flag148 (N : Node_Id; Val : Boolean);
|
|
3442 pragma Inline (Set_Flag148);
|
|
3443
|
|
3444 procedure Set_Flag149 (N : Node_Id; Val : Boolean);
|
|
3445 pragma Inline (Set_Flag149);
|
|
3446
|
|
3447 procedure Set_Flag150 (N : Node_Id; Val : Boolean);
|
|
3448 pragma Inline (Set_Flag150);
|
|
3449
|
|
3450 procedure Set_Flag151 (N : Node_Id; Val : Boolean);
|
|
3451 pragma Inline (Set_Flag151);
|
|
3452
|
|
3453 procedure Set_Flag152 (N : Node_Id; Val : Boolean);
|
|
3454 pragma Inline (Set_Flag152);
|
|
3455
|
|
3456 procedure Set_Flag153 (N : Node_Id; Val : Boolean);
|
|
3457 pragma Inline (Set_Flag153);
|
|
3458
|
|
3459 procedure Set_Flag154 (N : Node_Id; Val : Boolean);
|
|
3460 pragma Inline (Set_Flag154);
|
|
3461
|
|
3462 procedure Set_Flag155 (N : Node_Id; Val : Boolean);
|
|
3463 pragma Inline (Set_Flag155);
|
|
3464
|
|
3465 procedure Set_Flag156 (N : Node_Id; Val : Boolean);
|
|
3466 pragma Inline (Set_Flag156);
|
|
3467
|
|
3468 procedure Set_Flag157 (N : Node_Id; Val : Boolean);
|
|
3469 pragma Inline (Set_Flag157);
|
|
3470
|
|
3471 procedure Set_Flag158 (N : Node_Id; Val : Boolean);
|
|
3472 pragma Inline (Set_Flag158);
|
|
3473
|
|
3474 procedure Set_Flag159 (N : Node_Id; Val : Boolean);
|
|
3475 pragma Inline (Set_Flag159);
|
|
3476
|
|
3477 procedure Set_Flag160 (N : Node_Id; Val : Boolean);
|
|
3478 pragma Inline (Set_Flag160);
|
|
3479
|
|
3480 procedure Set_Flag161 (N : Node_Id; Val : Boolean);
|
|
3481 pragma Inline (Set_Flag161);
|
|
3482
|
|
3483 procedure Set_Flag162 (N : Node_Id; Val : Boolean);
|
|
3484 pragma Inline (Set_Flag162);
|
|
3485
|
|
3486 procedure Set_Flag163 (N : Node_Id; Val : Boolean);
|
|
3487 pragma Inline (Set_Flag163);
|
|
3488
|
|
3489 procedure Set_Flag164 (N : Node_Id; Val : Boolean);
|
|
3490 pragma Inline (Set_Flag164);
|
|
3491
|
|
3492 procedure Set_Flag165 (N : Node_Id; Val : Boolean);
|
|
3493 pragma Inline (Set_Flag165);
|
|
3494
|
|
3495 procedure Set_Flag166 (N : Node_Id; Val : Boolean);
|
|
3496 pragma Inline (Set_Flag166);
|
|
3497
|
|
3498 procedure Set_Flag167 (N : Node_Id; Val : Boolean);
|
|
3499 pragma Inline (Set_Flag167);
|
|
3500
|
|
3501 procedure Set_Flag168 (N : Node_Id; Val : Boolean);
|
|
3502 pragma Inline (Set_Flag168);
|
|
3503
|
|
3504 procedure Set_Flag169 (N : Node_Id; Val : Boolean);
|
|
3505 pragma Inline (Set_Flag169);
|
|
3506
|
|
3507 procedure Set_Flag170 (N : Node_Id; Val : Boolean);
|
|
3508 pragma Inline (Set_Flag170);
|
|
3509
|
|
3510 procedure Set_Flag171 (N : Node_Id; Val : Boolean);
|
|
3511 pragma Inline (Set_Flag171);
|
|
3512
|
|
3513 procedure Set_Flag172 (N : Node_Id; Val : Boolean);
|
|
3514 pragma Inline (Set_Flag172);
|
|
3515
|
|
3516 procedure Set_Flag173 (N : Node_Id; Val : Boolean);
|
|
3517 pragma Inline (Set_Flag173);
|
|
3518
|
|
3519 procedure Set_Flag174 (N : Node_Id; Val : Boolean);
|
|
3520 pragma Inline (Set_Flag174);
|
|
3521
|
|
3522 procedure Set_Flag175 (N : Node_Id; Val : Boolean);
|
|
3523 pragma Inline (Set_Flag175);
|
|
3524
|
|
3525 procedure Set_Flag176 (N : Node_Id; Val : Boolean);
|
|
3526 pragma Inline (Set_Flag176);
|
|
3527
|
|
3528 procedure Set_Flag177 (N : Node_Id; Val : Boolean);
|
|
3529 pragma Inline (Set_Flag177);
|
|
3530
|
|
3531 procedure Set_Flag178 (N : Node_Id; Val : Boolean);
|
|
3532 pragma Inline (Set_Flag178);
|
|
3533
|
|
3534 procedure Set_Flag179 (N : Node_Id; Val : Boolean);
|
|
3535 pragma Inline (Set_Flag179);
|
|
3536
|
|
3537 procedure Set_Flag180 (N : Node_Id; Val : Boolean);
|
|
3538 pragma Inline (Set_Flag180);
|
|
3539
|
|
3540 procedure Set_Flag181 (N : Node_Id; Val : Boolean);
|
|
3541 pragma Inline (Set_Flag181);
|
|
3542
|
|
3543 procedure Set_Flag182 (N : Node_Id; Val : Boolean);
|
|
3544 pragma Inline (Set_Flag182);
|
|
3545
|
|
3546 procedure Set_Flag183 (N : Node_Id; Val : Boolean);
|
|
3547 pragma Inline (Set_Flag183);
|
|
3548
|
|
3549 procedure Set_Flag184 (N : Node_Id; Val : Boolean);
|
|
3550 pragma Inline (Set_Flag184);
|
|
3551
|
|
3552 procedure Set_Flag185 (N : Node_Id; Val : Boolean);
|
|
3553 pragma Inline (Set_Flag185);
|
|
3554
|
|
3555 procedure Set_Flag186 (N : Node_Id; Val : Boolean);
|
|
3556 pragma Inline (Set_Flag186);
|
|
3557
|
|
3558 procedure Set_Flag187 (N : Node_Id; Val : Boolean);
|
|
3559 pragma Inline (Set_Flag187);
|
|
3560
|
|
3561 procedure Set_Flag188 (N : Node_Id; Val : Boolean);
|
|
3562 pragma Inline (Set_Flag188);
|
|
3563
|
|
3564 procedure Set_Flag189 (N : Node_Id; Val : Boolean);
|
|
3565 pragma Inline (Set_Flag189);
|
|
3566
|
|
3567 procedure Set_Flag190 (N : Node_Id; Val : Boolean);
|
|
3568 pragma Inline (Set_Flag190);
|
|
3569
|
|
3570 procedure Set_Flag191 (N : Node_Id; Val : Boolean);
|
|
3571 pragma Inline (Set_Flag191);
|
|
3572
|
|
3573 procedure Set_Flag192 (N : Node_Id; Val : Boolean);
|
|
3574 pragma Inline (Set_Flag192);
|
|
3575
|
|
3576 procedure Set_Flag193 (N : Node_Id; Val : Boolean);
|
|
3577 pragma Inline (Set_Flag193);
|
|
3578
|
|
3579 procedure Set_Flag194 (N : Node_Id; Val : Boolean);
|
|
3580 pragma Inline (Set_Flag194);
|
|
3581
|
|
3582 procedure Set_Flag195 (N : Node_Id; Val : Boolean);
|
|
3583 pragma Inline (Set_Flag195);
|
|
3584
|
|
3585 procedure Set_Flag196 (N : Node_Id; Val : Boolean);
|
|
3586 pragma Inline (Set_Flag196);
|
|
3587
|
|
3588 procedure Set_Flag197 (N : Node_Id; Val : Boolean);
|
|
3589 pragma Inline (Set_Flag197);
|
|
3590
|
|
3591 procedure Set_Flag198 (N : Node_Id; Val : Boolean);
|
|
3592 pragma Inline (Set_Flag198);
|
|
3593
|
|
3594 procedure Set_Flag199 (N : Node_Id; Val : Boolean);
|
|
3595 pragma Inline (Set_Flag199);
|
|
3596
|
|
3597 procedure Set_Flag200 (N : Node_Id; Val : Boolean);
|
|
3598 pragma Inline (Set_Flag200);
|
|
3599
|
|
3600 procedure Set_Flag201 (N : Node_Id; Val : Boolean);
|
|
3601 pragma Inline (Set_Flag201);
|
|
3602
|
|
3603 procedure Set_Flag202 (N : Node_Id; Val : Boolean);
|
|
3604 pragma Inline (Set_Flag202);
|
|
3605
|
|
3606 procedure Set_Flag203 (N : Node_Id; Val : Boolean);
|
|
3607 pragma Inline (Set_Flag203);
|
|
3608
|
|
3609 procedure Set_Flag204 (N : Node_Id; Val : Boolean);
|
|
3610 pragma Inline (Set_Flag204);
|
|
3611
|
|
3612 procedure Set_Flag205 (N : Node_Id; Val : Boolean);
|
|
3613 pragma Inline (Set_Flag205);
|
|
3614
|
|
3615 procedure Set_Flag206 (N : Node_Id; Val : Boolean);
|
|
3616 pragma Inline (Set_Flag206);
|
|
3617
|
|
3618 procedure Set_Flag207 (N : Node_Id; Val : Boolean);
|
|
3619 pragma Inline (Set_Flag207);
|
|
3620
|
|
3621 procedure Set_Flag208 (N : Node_Id; Val : Boolean);
|
|
3622 pragma Inline (Set_Flag208);
|
|
3623
|
|
3624 procedure Set_Flag209 (N : Node_Id; Val : Boolean);
|
|
3625 pragma Inline (Set_Flag209);
|
|
3626
|
|
3627 procedure Set_Flag210 (N : Node_Id; Val : Boolean);
|
|
3628 pragma Inline (Set_Flag210);
|
|
3629
|
|
3630 procedure Set_Flag211 (N : Node_Id; Val : Boolean);
|
|
3631 pragma Inline (Set_Flag211);
|
|
3632
|
|
3633 procedure Set_Flag212 (N : Node_Id; Val : Boolean);
|
|
3634 pragma Inline (Set_Flag212);
|
|
3635
|
|
3636 procedure Set_Flag213 (N : Node_Id; Val : Boolean);
|
|
3637 pragma Inline (Set_Flag213);
|
|
3638
|
|
3639 procedure Set_Flag214 (N : Node_Id; Val : Boolean);
|
|
3640 pragma Inline (Set_Flag214);
|
|
3641
|
|
3642 procedure Set_Flag215 (N : Node_Id; Val : Boolean);
|
|
3643 pragma Inline (Set_Flag215);
|
|
3644
|
|
3645 procedure Set_Flag216 (N : Node_Id; Val : Boolean);
|
|
3646 pragma Inline (Set_Flag216);
|
|
3647
|
|
3648 procedure Set_Flag217 (N : Node_Id; Val : Boolean);
|
|
3649 pragma Inline (Set_Flag217);
|
|
3650
|
|
3651 procedure Set_Flag218 (N : Node_Id; Val : Boolean);
|
|
3652 pragma Inline (Set_Flag218);
|
|
3653
|
|
3654 procedure Set_Flag219 (N : Node_Id; Val : Boolean);
|
|
3655 pragma Inline (Set_Flag219);
|
|
3656
|
|
3657 procedure Set_Flag220 (N : Node_Id; Val : Boolean);
|
|
3658 pragma Inline (Set_Flag220);
|
|
3659
|
|
3660 procedure Set_Flag221 (N : Node_Id; Val : Boolean);
|
|
3661 pragma Inline (Set_Flag221);
|
|
3662
|
|
3663 procedure Set_Flag222 (N : Node_Id; Val : Boolean);
|
|
3664 pragma Inline (Set_Flag222);
|
|
3665
|
|
3666 procedure Set_Flag223 (N : Node_Id; Val : Boolean);
|
|
3667 pragma Inline (Set_Flag223);
|
|
3668
|
|
3669 procedure Set_Flag224 (N : Node_Id; Val : Boolean);
|
|
3670 pragma Inline (Set_Flag224);
|
|
3671
|
|
3672 procedure Set_Flag225 (N : Node_Id; Val : Boolean);
|
|
3673 pragma Inline (Set_Flag225);
|
|
3674
|
|
3675 procedure Set_Flag226 (N : Node_Id; Val : Boolean);
|
|
3676 pragma Inline (Set_Flag226);
|
|
3677
|
|
3678 procedure Set_Flag227 (N : Node_Id; Val : Boolean);
|
|
3679 pragma Inline (Set_Flag227);
|
|
3680
|
|
3681 procedure Set_Flag228 (N : Node_Id; Val : Boolean);
|
|
3682 pragma Inline (Set_Flag228);
|
|
3683
|
|
3684 procedure Set_Flag229 (N : Node_Id; Val : Boolean);
|
|
3685 pragma Inline (Set_Flag229);
|
|
3686
|
|
3687 procedure Set_Flag230 (N : Node_Id; Val : Boolean);
|
|
3688 pragma Inline (Set_Flag230);
|
|
3689
|
|
3690 procedure Set_Flag231 (N : Node_Id; Val : Boolean);
|
|
3691 pragma Inline (Set_Flag231);
|
|
3692
|
|
3693 procedure Set_Flag232 (N : Node_Id; Val : Boolean);
|
|
3694 pragma Inline (Set_Flag232);
|
|
3695
|
|
3696 procedure Set_Flag233 (N : Node_Id; Val : Boolean);
|
|
3697 pragma Inline (Set_Flag233);
|
|
3698
|
|
3699 procedure Set_Flag234 (N : Node_Id; Val : Boolean);
|
|
3700 pragma Inline (Set_Flag234);
|
|
3701
|
|
3702 procedure Set_Flag235 (N : Node_Id; Val : Boolean);
|
|
3703 pragma Inline (Set_Flag235);
|
|
3704
|
|
3705 procedure Set_Flag236 (N : Node_Id; Val : Boolean);
|
|
3706 pragma Inline (Set_Flag236);
|
|
3707
|
|
3708 procedure Set_Flag237 (N : Node_Id; Val : Boolean);
|
|
3709 pragma Inline (Set_Flag237);
|
|
3710
|
|
3711 procedure Set_Flag238 (N : Node_Id; Val : Boolean);
|
|
3712 pragma Inline (Set_Flag238);
|
|
3713
|
|
3714 procedure Set_Flag239 (N : Node_Id; Val : Boolean);
|
|
3715 pragma Inline (Set_Flag239);
|
|
3716
|
|
3717 procedure Set_Flag240 (N : Node_Id; Val : Boolean);
|
|
3718 pragma Inline (Set_Flag240);
|
|
3719
|
|
3720 procedure Set_Flag241 (N : Node_Id; Val : Boolean);
|
|
3721 pragma Inline (Set_Flag241);
|
|
3722
|
|
3723 procedure Set_Flag242 (N : Node_Id; Val : Boolean);
|
|
3724 pragma Inline (Set_Flag242);
|
|
3725
|
|
3726 procedure Set_Flag243 (N : Node_Id; Val : Boolean);
|
|
3727 pragma Inline (Set_Flag243);
|
|
3728
|
|
3729 procedure Set_Flag244 (N : Node_Id; Val : Boolean);
|
|
3730 pragma Inline (Set_Flag244);
|
|
3731
|
|
3732 procedure Set_Flag245 (N : Node_Id; Val : Boolean);
|
|
3733 pragma Inline (Set_Flag245);
|
|
3734
|
|
3735 procedure Set_Flag246 (N : Node_Id; Val : Boolean);
|
|
3736 pragma Inline (Set_Flag246);
|
|
3737
|
|
3738 procedure Set_Flag247 (N : Node_Id; Val : Boolean);
|
|
3739 pragma Inline (Set_Flag247);
|
|
3740
|
|
3741 procedure Set_Flag248 (N : Node_Id; Val : Boolean);
|
|
3742 pragma Inline (Set_Flag248);
|
|
3743
|
|
3744 procedure Set_Flag249 (N : Node_Id; Val : Boolean);
|
|
3745 pragma Inline (Set_Flag249);
|
|
3746
|
|
3747 procedure Set_Flag250 (N : Node_Id; Val : Boolean);
|
|
3748 pragma Inline (Set_Flag250);
|
|
3749
|
|
3750 procedure Set_Flag251 (N : Node_Id; Val : Boolean);
|
|
3751 pragma Inline (Set_Flag251);
|
|
3752
|
|
3753 procedure Set_Flag252 (N : Node_Id; Val : Boolean);
|
|
3754 pragma Inline (Set_Flag252);
|
|
3755
|
|
3756 procedure Set_Flag253 (N : Node_Id; Val : Boolean);
|
|
3757 pragma Inline (Set_Flag253);
|
|
3758
|
|
3759 procedure Set_Flag254 (N : Node_Id; Val : Boolean);
|
|
3760 pragma Inline (Set_Flag254);
|
|
3761
|
|
3762 procedure Set_Flag255 (N : Node_Id; Val : Boolean);
|
|
3763 pragma Inline (Set_Flag255);
|
|
3764
|
|
3765 procedure Set_Flag256 (N : Node_Id; Val : Boolean);
|
|
3766 pragma Inline (Set_Flag256);
|
|
3767
|
|
3768 procedure Set_Flag257 (N : Node_Id; Val : Boolean);
|
|
3769 pragma Inline (Set_Flag257);
|
|
3770
|
|
3771 procedure Set_Flag258 (N : Node_Id; Val : Boolean);
|
|
3772 pragma Inline (Set_Flag258);
|
|
3773
|
|
3774 procedure Set_Flag259 (N : Node_Id; Val : Boolean);
|
|
3775 pragma Inline (Set_Flag259);
|
|
3776
|
|
3777 procedure Set_Flag260 (N : Node_Id; Val : Boolean);
|
|
3778 pragma Inline (Set_Flag260);
|
|
3779
|
|
3780 procedure Set_Flag261 (N : Node_Id; Val : Boolean);
|
|
3781 pragma Inline (Set_Flag261);
|
|
3782
|
|
3783 procedure Set_Flag262 (N : Node_Id; Val : Boolean);
|
|
3784 pragma Inline (Set_Flag262);
|
|
3785
|
|
3786 procedure Set_Flag263 (N : Node_Id; Val : Boolean);
|
|
3787 pragma Inline (Set_Flag263);
|
|
3788
|
|
3789 procedure Set_Flag264 (N : Node_Id; Val : Boolean);
|
|
3790 pragma Inline (Set_Flag264);
|
|
3791
|
|
3792 procedure Set_Flag265 (N : Node_Id; Val : Boolean);
|
|
3793 pragma Inline (Set_Flag265);
|
|
3794
|
|
3795 procedure Set_Flag266 (N : Node_Id; Val : Boolean);
|
|
3796 pragma Inline (Set_Flag266);
|
|
3797
|
|
3798 procedure Set_Flag267 (N : Node_Id; Val : Boolean);
|
|
3799 pragma Inline (Set_Flag267);
|
|
3800
|
|
3801 procedure Set_Flag268 (N : Node_Id; Val : Boolean);
|
|
3802 pragma Inline (Set_Flag268);
|
|
3803
|
|
3804 procedure Set_Flag269 (N : Node_Id; Val : Boolean);
|
|
3805 pragma Inline (Set_Flag269);
|
|
3806
|
|
3807 procedure Set_Flag270 (N : Node_Id; Val : Boolean);
|
|
3808 pragma Inline (Set_Flag270);
|
|
3809
|
|
3810 procedure Set_Flag271 (N : Node_Id; Val : Boolean);
|
|
3811 pragma Inline (Set_Flag271);
|
|
3812
|
|
3813 procedure Set_Flag272 (N : Node_Id; Val : Boolean);
|
|
3814 pragma Inline (Set_Flag272);
|
|
3815
|
|
3816 procedure Set_Flag273 (N : Node_Id; Val : Boolean);
|
|
3817 pragma Inline (Set_Flag273);
|
|
3818
|
|
3819 procedure Set_Flag274 (N : Node_Id; Val : Boolean);
|
|
3820 pragma Inline (Set_Flag274);
|
|
3821
|
|
3822 procedure Set_Flag275 (N : Node_Id; Val : Boolean);
|
|
3823 pragma Inline (Set_Flag275);
|
|
3824
|
|
3825 procedure Set_Flag276 (N : Node_Id; Val : Boolean);
|
|
3826 pragma Inline (Set_Flag276);
|
|
3827
|
|
3828 procedure Set_Flag277 (N : Node_Id; Val : Boolean);
|
|
3829 pragma Inline (Set_Flag277);
|
|
3830
|
|
3831 procedure Set_Flag278 (N : Node_Id; Val : Boolean);
|
|
3832 pragma Inline (Set_Flag278);
|
|
3833
|
|
3834 procedure Set_Flag279 (N : Node_Id; Val : Boolean);
|
|
3835 pragma Inline (Set_Flag279);
|
|
3836
|
|
3837 procedure Set_Flag280 (N : Node_Id; Val : Boolean);
|
|
3838 pragma Inline (Set_Flag280);
|
|
3839
|
|
3840 procedure Set_Flag281 (N : Node_Id; Val : Boolean);
|
|
3841 pragma Inline (Set_Flag281);
|
|
3842
|
|
3843 procedure Set_Flag282 (N : Node_Id; Val : Boolean);
|
|
3844 pragma Inline (Set_Flag282);
|
|
3845
|
|
3846 procedure Set_Flag283 (N : Node_Id; Val : Boolean);
|
|
3847 pragma Inline (Set_Flag283);
|
|
3848
|
|
3849 procedure Set_Flag284 (N : Node_Id; Val : Boolean);
|
|
3850 pragma Inline (Set_Flag284);
|
|
3851
|
|
3852 procedure Set_Flag285 (N : Node_Id; Val : Boolean);
|
|
3853 pragma Inline (Set_Flag285);
|
|
3854
|
|
3855 procedure Set_Flag286 (N : Node_Id; Val : Boolean);
|
|
3856 pragma Inline (Set_Flag286);
|
|
3857
|
|
3858 procedure Set_Flag287 (N : Node_Id; Val : Boolean);
|
|
3859 pragma Inline (Set_Flag287);
|
|
3860
|
|
3861 procedure Set_Flag288 (N : Node_Id; Val : Boolean);
|
|
3862 pragma Inline (Set_Flag288);
|
|
3863
|
|
3864 procedure Set_Flag289 (N : Node_Id; Val : Boolean);
|
|
3865 pragma Inline (Set_Flag289);
|
|
3866
|
|
3867 procedure Set_Flag290 (N : Node_Id; Val : Boolean);
|
|
3868 pragma Inline (Set_Flag290);
|
|
3869
|
|
3870 procedure Set_Flag291 (N : Node_Id; Val : Boolean);
|
|
3871 pragma Inline (Set_Flag291);
|
|
3872
|
|
3873 procedure Set_Flag292 (N : Node_Id; Val : Boolean);
|
|
3874 pragma Inline (Set_Flag292);
|
|
3875
|
|
3876 procedure Set_Flag293 (N : Node_Id; Val : Boolean);
|
|
3877 pragma Inline (Set_Flag293);
|
|
3878
|
|
3879 procedure Set_Flag294 (N : Node_Id; Val : Boolean);
|
|
3880 pragma Inline (Set_Flag294);
|
|
3881
|
|
3882 procedure Set_Flag295 (N : Node_Id; Val : Boolean);
|
|
3883 pragma Inline (Set_Flag295);
|
|
3884
|
|
3885 procedure Set_Flag296 (N : Node_Id; Val : Boolean);
|
|
3886 pragma Inline (Set_Flag296);
|
|
3887
|
|
3888 procedure Set_Flag297 (N : Node_Id; Val : Boolean);
|
|
3889 pragma Inline (Set_Flag297);
|
|
3890
|
|
3891 procedure Set_Flag298 (N : Node_Id; Val : Boolean);
|
|
3892 pragma Inline (Set_Flag298);
|
|
3893
|
|
3894 procedure Set_Flag299 (N : Node_Id; Val : Boolean);
|
|
3895 pragma Inline (Set_Flag299);
|
|
3896
|
|
3897 procedure Set_Flag300 (N : Node_Id; Val : Boolean);
|
|
3898 pragma Inline (Set_Flag300);
|
|
3899
|
|
3900 procedure Set_Flag301 (N : Node_Id; Val : Boolean);
|
|
3901 pragma Inline (Set_Flag301);
|
|
3902
|
|
3903 procedure Set_Flag302 (N : Node_Id; Val : Boolean);
|
|
3904 pragma Inline (Set_Flag302);
|
|
3905
|
|
3906 procedure Set_Flag303 (N : Node_Id; Val : Boolean);
|
|
3907 pragma Inline (Set_Flag303);
|
|
3908
|
|
3909 procedure Set_Flag304 (N : Node_Id; Val : Boolean);
|
|
3910 pragma Inline (Set_Flag304);
|
|
3911
|
|
3912 procedure Set_Flag305 (N : Node_Id; Val : Boolean);
|
|
3913 pragma Inline (Set_Flag305);
|
|
3914
|
|
3915 procedure Set_Flag306 (N : Node_Id; Val : Boolean);
|
|
3916 pragma Inline (Set_Flag306);
|
|
3917
|
|
3918 procedure Set_Flag307 (N : Node_Id; Val : Boolean);
|
|
3919 pragma Inline (Set_Flag307);
|
|
3920
|
|
3921 procedure Set_Flag308 (N : Node_Id; Val : Boolean);
|
|
3922 pragma Inline (Set_Flag308);
|
|
3923
|
|
3924 procedure Set_Flag309 (N : Node_Id; Val : Boolean);
|
|
3925 pragma Inline (Set_Flag309);
|
|
3926
|
|
3927 procedure Set_Flag310 (N : Node_Id; Val : Boolean);
|
|
3928 pragma Inline (Set_Flag310);
|
|
3929
|
|
3930 procedure Set_Flag311 (N : Node_Id; Val : Boolean);
|
|
3931 pragma Inline (Set_Flag311);
|
|
3932
|
|
3933 procedure Set_Flag312 (N : Node_Id; Val : Boolean);
|
|
3934 pragma Inline (Set_Flag312);
|
|
3935
|
|
3936 procedure Set_Flag313 (N : Node_Id; Val : Boolean);
|
|
3937 pragma Inline (Set_Flag313);
|
|
3938
|
|
3939 procedure Set_Flag314 (N : Node_Id; Val : Boolean);
|
|
3940 pragma Inline (Set_Flag314);
|
|
3941
|
|
3942 procedure Set_Flag315 (N : Node_Id; Val : Boolean);
|
|
3943 pragma Inline (Set_Flag315);
|
|
3944
|
|
3945 procedure Set_Flag316 (N : Node_Id; Val : Boolean);
|
|
3946 pragma Inline (Set_Flag316);
|
|
3947
|
|
3948 procedure Set_Flag317 (N : Node_Id; Val : Boolean);
|
|
3949 pragma Inline (Set_Flag317);
|
|
3950
|
|
3951 -- The following versions of Set_Noden also set the parent pointer of
|
|
3952 -- the referenced node if it is not Empty.
|
|
3953
|
|
3954 procedure Set_Node1_With_Parent (N : Node_Id; Val : Node_Id);
|
|
3955 pragma Inline (Set_Node1_With_Parent);
|
|
3956
|
|
3957 procedure Set_Node2_With_Parent (N : Node_Id; Val : Node_Id);
|
|
3958 pragma Inline (Set_Node2_With_Parent);
|
|
3959
|
|
3960 procedure Set_Node3_With_Parent (N : Node_Id; Val : Node_Id);
|
|
3961 pragma Inline (Set_Node3_With_Parent);
|
|
3962
|
|
3963 procedure Set_Node4_With_Parent (N : Node_Id; Val : Node_Id);
|
|
3964 pragma Inline (Set_Node4_With_Parent);
|
|
3965
|
|
3966 procedure Set_Node5_With_Parent (N : Node_Id; Val : Node_Id);
|
|
3967 pragma Inline (Set_Node5_With_Parent);
|
|
3968
|
|
3969 -- The following versions of Set_Listn also set the parent pointer of
|
|
3970 -- the referenced node if it is not Empty.
|
|
3971
|
|
3972 procedure Set_List1_With_Parent (N : Node_Id; Val : List_Id);
|
|
3973 pragma Inline (Set_List1_With_Parent);
|
|
3974
|
|
3975 procedure Set_List2_With_Parent (N : Node_Id; Val : List_Id);
|
|
3976 pragma Inline (Set_List2_With_Parent);
|
|
3977
|
|
3978 procedure Set_List3_With_Parent (N : Node_Id; Val : List_Id);
|
|
3979 pragma Inline (Set_List3_With_Parent);
|
|
3980
|
|
3981 procedure Set_List4_With_Parent (N : Node_Id; Val : List_Id);
|
|
3982 pragma Inline (Set_List4_With_Parent);
|
|
3983
|
|
3984 procedure Set_List5_With_Parent (N : Node_Id; Val : List_Id);
|
|
3985 pragma Inline (Set_List5_With_Parent);
|
|
3986
|
|
3987 end Unchecked_Access;
|
|
3988
|
|
3989 -----------------------------
|
|
3990 -- Private Part Subpackage --
|
|
3991 -----------------------------
|
|
3992
|
|
3993 -- The following package contains the definition of the data structure
|
|
3994 -- used by the implementation of the Atree package. Logically it really
|
|
3995 -- corresponds to the private part, hence the name. The reason that it
|
|
3996 -- is defined as a sub-package is to allow special access from clients
|
|
3997 -- that need to see the internals of the data structures.
|
|
3998
|
|
3999 package Atree_Private_Part is
|
|
4000
|
|
4001 -------------------------
|
|
4002 -- Tree Representation --
|
|
4003 -------------------------
|
|
4004
|
|
4005 -- The nodes of the tree are stored in a table (i.e. an array). In the
|
|
4006 -- case of extended nodes six consecutive components in the array are
|
|
4007 -- used. There are thus two formats for array components. One is used
|
|
4008 -- for nonextended nodes, and for the first component of extended
|
|
4009 -- nodes. The other is used for the extension parts (second, third,
|
|
4010 -- fourth, fifth, and sixth components) of an extended node. A variant
|
|
4011 -- record structure is used to distinguish the two formats.
|
|
4012
|
|
4013 type Node_Record (Is_Extension : Boolean := False) is record
|
|
4014
|
|
4015 -- Logically, the only field in the common part is the above
|
|
4016 -- Is_Extension discriminant (a single bit). However, Gigi cannot
|
|
4017 -- yet handle such a structure, so we fill out the common part of
|
|
4018 -- the record with fields that are used in different ways for
|
|
4019 -- normal nodes and node extensions.
|
|
4020
|
|
4021 Pflag1, Pflag2 : Boolean;
|
|
4022 -- The Paren_Count field is represented using two boolean flags,
|
|
4023 -- where Pflag1 is worth 1, and Pflag2 is worth 2. This is done
|
|
4024 -- because we need to be easily able to reuse this field for
|
|
4025 -- extra flags in the extended node case.
|
|
4026
|
|
4027 In_List : Boolean;
|
|
4028 -- Flag used to indicate if node is a member of a list.
|
|
4029 -- This field is considered private to the Atree package.
|
|
4030
|
|
4031 Has_Aspects : Boolean;
|
|
4032 -- Flag used to indicate that a node has aspect specifications that
|
|
4033 -- are associated with the node. See Aspects package for details.
|
|
4034
|
|
4035 Rewrite_Ins : Boolean;
|
|
4036 -- Flag set by Mark_Rewrite_Insertion procedure.
|
|
4037 -- This field is considered private to the Atree package.
|
|
4038
|
|
4039 Analyzed : Boolean;
|
|
4040 -- Flag to indicate the node has been analyzed (and expanded)
|
|
4041
|
|
4042 Comes_From_Source : Boolean;
|
|
4043 -- Flag to indicate that node comes from the source program (i.e.
|
|
4044 -- was built by the parser or scanner, not the analyzer or expander).
|
|
4045
|
|
4046 Error_Posted : Boolean;
|
|
4047 -- Flag to indicate that an error message has been posted on the
|
|
4048 -- node (to avoid duplicate flags on the same node)
|
|
4049
|
|
4050 Flag4 : Boolean;
|
|
4051 Flag5 : Boolean;
|
|
4052 Flag6 : Boolean;
|
|
4053 Flag7 : Boolean;
|
|
4054 Flag8 : Boolean;
|
|
4055 Flag9 : Boolean;
|
|
4056 Flag10 : Boolean;
|
|
4057 Flag11 : Boolean;
|
|
4058 Flag12 : Boolean;
|
|
4059 Flag13 : Boolean;
|
|
4060 Flag14 : Boolean;
|
|
4061 Flag15 : Boolean;
|
|
4062 Flag16 : Boolean;
|
|
4063 Flag17 : Boolean;
|
|
4064 Flag18 : Boolean;
|
|
4065 -- Flags 4-18 for a normal node. Note that Flags 0-3 are stored
|
|
4066 -- separately in the Flags array.
|
|
4067
|
|
4068 -- The above fields are used as follows in components 2-6 of an
|
|
4069 -- extended node entry. Currently they are not used in component 7,
|
|
4070 -- since for now we have all the flags we need, but of course they
|
|
4071 -- can be used for additional flags when needed in component 7.
|
|
4072
|
|
4073 -- In_List used as Flag19,Flag40,Flag129,Flag216,Flag287
|
|
4074 -- Has_Aspects used as Flag20,Flag41,Flag130,Flag217,Flag288
|
|
4075 -- Rewrite_Ins used as Flag21,Flag42,Flag131,Flag218,Flag289
|
|
4076 -- Analyzed used as Flag22,Flag43,Flag132,Flag219,Flag290
|
|
4077 -- Comes_From_Source used as Flag23,Flag44,Flag133,Flag220,Flag291
|
|
4078 -- Error_Posted used as Flag24,Flag45,Flag134,Flag221,Flag292
|
|
4079 -- Flag4 used as Flag25,Flag46,Flag135,Flag222,Flag293
|
|
4080 -- Flag5 used as Flag26,Flag47,Flag136,Flag223,Flag294
|
|
4081 -- Flag6 used as Flag27,Flag48,Flag137,Flag224,Flag295
|
|
4082 -- Flag7 used as Flag28,Flag49,Flag138,Flag225,Flag296
|
|
4083 -- Flag8 used as Flag29,Flag50,Flag139,Flag226,Flag297
|
|
4084 -- Flag9 used as Flag30,Flag51,Flag140,Flag227,Flag298
|
|
4085 -- Flag10 used as Flag31,Flag52,Flag141,Flag228,Flag299
|
|
4086 -- Flag11 used as Flag32,Flag53,Flag142,Flag229,Flag300
|
|
4087 -- Flag12 used as Flag33,Flag54,Flag143,Flag230,Flag301
|
|
4088 -- Flag13 used as Flag34,Flag55,Flag144,Flag231,Flag302
|
|
4089 -- Flag14 used as Flag35,Flag56,Flag145,Flag232,Flag303
|
|
4090 -- Flag15 used as Flag36,Flag57,Flag146,Flag233,Flag304
|
|
4091 -- Flag16 used as Flag37,Flag58,Flag147,Flag234,Flag305
|
|
4092 -- Flag17 used as Flag38,Flag59,Flag148,Flag235,Flag306
|
|
4093 -- Flag18 used as Flag39,Flag60,Flag149,Flag236,Flag307
|
|
4094 -- Pflag1 used as Flag61,Flag62,Flag150,Flag237,Flag308
|
|
4095 -- Pflag2 used as Flag63,Flag64,Flag151,Flag238,Flag309
|
|
4096
|
|
4097 Nkind : Node_Kind;
|
|
4098 -- For a nonextended node, or the initial section of an extended
|
|
4099 -- node, this field holds the Node_Kind value. For an extended node,
|
|
4100 -- The Nkind field is used as follows:
|
|
4101 --
|
|
4102 -- Second entry: holds the Ekind field of the entity
|
|
4103 -- Third entry: holds 8 additional flags (Flag65-Flag72)
|
|
4104 -- Fourth entry: holds 8 additional flags (Flag239-246)
|
|
4105 -- Fifth entry: holds 8 additional flags (Flag247-254)
|
|
4106 -- Sixth entry: holds 8 additional flags (Flag310-317)
|
|
4107 -- Seventh entry: currently unused
|
|
4108
|
|
4109 -- Now finally (on a 32-bit boundary) comes the variant part
|
|
4110
|
|
4111 case Is_Extension is
|
|
4112
|
|
4113 -- Nonextended node, or first component of extended node
|
|
4114
|
|
4115 when False =>
|
|
4116
|
|
4117 Sloc : Source_Ptr;
|
|
4118 -- Source location for this node
|
|
4119
|
|
4120 Link : Union_Id;
|
|
4121 -- This field is used either as the Parent pointer (if In_List
|
|
4122 -- is False), or to point to the list header (if In_List is
|
|
4123 -- True). This field is considered private and can be modified
|
|
4124 -- only by Atree or by Nlists.
|
|
4125
|
|
4126 Field1 : Union_Id;
|
|
4127 Field2 : Union_Id;
|
|
4128 Field3 : Union_Id;
|
|
4129 Field4 : Union_Id;
|
|
4130 Field5 : Union_Id;
|
|
4131 -- Five general use fields, which can contain Node_Id, List_Id,
|
|
4132 -- Elist_Id, String_Id, or Name_Id values depending on the
|
|
4133 -- values in Nkind and (for extended nodes), in Ekind. See
|
|
4134 -- packages Sinfo and Einfo for details of their use.
|
|
4135
|
|
4136 -- Extension (second component) of extended node
|
|
4137
|
|
4138 when True =>
|
|
4139
|
|
4140 Field6 : Union_Id;
|
|
4141 Field7 : Union_Id;
|
|
4142 Field8 : Union_Id;
|
|
4143 Field9 : Union_Id;
|
|
4144 Field10 : Union_Id;
|
|
4145 Field11 : Union_Id;
|
|
4146 Field12 : Union_Id;
|
|
4147 -- Seven additional general fields available only for entities.
|
|
4148 -- See package Einfo for details of their use (which depends
|
|
4149 -- on the value in the Ekind field).
|
|
4150
|
|
4151 -- In the third component, the extension format as described
|
|
4152 -- above is used to hold additional general fields and flags
|
|
4153 -- as follows:
|
|
4154
|
|
4155 -- Field6-11 Holds Field13-Field18
|
|
4156 -- Field12 Holds Flag73-Flag96 and Convention
|
|
4157
|
|
4158 -- In the fourth component, the extension format as described
|
|
4159 -- above is used to hold additional general fields and flags
|
|
4160 -- as follows:
|
|
4161
|
|
4162 -- Field6-10 Holds Field19-Field23
|
|
4163 -- Field11 Holds Flag152-Flag183
|
|
4164 -- Field12 Holds Flag97-Flag128
|
|
4165
|
|
4166 -- In the fifth component, the extension format as described
|
|
4167 -- above is used to hold additional general fields and flags
|
|
4168 -- as follows:
|
|
4169
|
|
4170 -- Field6-11 Holds Field24-Field29
|
|
4171 -- Field12 Holds Flag184-Flag215
|
|
4172
|
|
4173 -- In the sixth component, the extension format as described
|
|
4174 -- above is used to hold additional general fields and flags
|
|
4175 -- as follows:
|
|
4176
|
|
4177 -- Field6-11 Holds Field30-Field35
|
|
4178 -- Field12 Holds Flag255-Flag286
|
|
4179
|
|
4180 -- In the seventh component, the extension format as described
|
|
4181 -- above is used to hold additional general fields as follows.
|
|
4182 -- Flags are also available potentially, but not used now, as
|
|
4183 -- we are not short of entity flags.
|
|
4184
|
|
4185 -- Field6-11 Holds Field36-Field41
|
|
4186
|
|
4187 end case;
|
|
4188 end record;
|
|
4189
|
|
4190 pragma Pack (Node_Record);
|
|
4191 for Node_Record'Size use 8 * 32;
|
|
4192 for Node_Record'Alignment use 4;
|
|
4193
|
|
4194 function E_To_N is new Unchecked_Conversion (Entity_Kind, Node_Kind);
|
|
4195 function N_To_E is new Unchecked_Conversion (Node_Kind, Entity_Kind);
|
|
4196
|
|
4197 -- Default value used to initialize default nodes. Note that some of the
|
|
4198 -- fields get overwritten, and in particular, Nkind always gets reset.
|
|
4199
|
|
4200 Default_Node : Node_Record := (
|
|
4201 Is_Extension => False,
|
|
4202 Pflag1 => False,
|
|
4203 Pflag2 => False,
|
|
4204 In_List => False,
|
|
4205 Has_Aspects => False,
|
|
4206 Rewrite_Ins => False,
|
|
4207 Analyzed => False,
|
|
4208 Comes_From_Source => False,
|
|
4209 -- modified by Set_Comes_From_Source_Default
|
|
4210 Error_Posted => False,
|
|
4211 Flag4 => False,
|
|
4212
|
|
4213 Flag5 => False,
|
|
4214 Flag6 => False,
|
|
4215 Flag7 => False,
|
|
4216 Flag8 => False,
|
|
4217 Flag9 => False,
|
|
4218 Flag10 => False,
|
|
4219 Flag11 => False,
|
|
4220 Flag12 => False,
|
|
4221
|
|
4222 Flag13 => False,
|
|
4223 Flag14 => False,
|
|
4224 Flag15 => False,
|
|
4225 Flag16 => False,
|
|
4226 Flag17 => False,
|
|
4227 Flag18 => False,
|
|
4228
|
|
4229 Nkind => N_Unused_At_Start,
|
|
4230
|
|
4231 Sloc => No_Location,
|
|
4232 Link => Empty_List_Or_Node,
|
|
4233 Field1 => Empty_List_Or_Node,
|
|
4234 Field2 => Empty_List_Or_Node,
|
|
4235 Field3 => Empty_List_Or_Node,
|
|
4236 Field4 => Empty_List_Or_Node,
|
|
4237 Field5 => Empty_List_Or_Node);
|
|
4238
|
|
4239 -- Default value used to initialize node extensions (i.e. the second
|
|
4240 -- through seventh components of an extended node). Note we are cheating
|
|
4241 -- a bit here when it comes to Node12, which often holds flags and (for
|
|
4242 -- the third component), the convention. But it works because Empty,
|
|
4243 -- False, Convention_Ada, all happen to be all zero bits.
|
|
4244
|
|
4245 Default_Node_Extension : constant Node_Record := (
|
|
4246 Is_Extension => True,
|
|
4247 Pflag1 => False,
|
|
4248 Pflag2 => False,
|
|
4249 In_List => False,
|
|
4250 Has_Aspects => False,
|
|
4251 Rewrite_Ins => False,
|
|
4252 Analyzed => False,
|
|
4253 Comes_From_Source => False,
|
|
4254 Error_Posted => False,
|
|
4255 Flag4 => False,
|
|
4256
|
|
4257 Flag5 => False,
|
|
4258 Flag6 => False,
|
|
4259 Flag7 => False,
|
|
4260 Flag8 => False,
|
|
4261 Flag9 => False,
|
|
4262 Flag10 => False,
|
|
4263 Flag11 => False,
|
|
4264 Flag12 => False,
|
|
4265
|
|
4266 Flag13 => False,
|
|
4267 Flag14 => False,
|
|
4268 Flag15 => False,
|
|
4269 Flag16 => False,
|
|
4270 Flag17 => False,
|
|
4271 Flag18 => False,
|
|
4272
|
|
4273 Nkind => E_To_N (E_Void),
|
|
4274
|
|
4275 Field6 => Empty_List_Or_Node,
|
|
4276 Field7 => Empty_List_Or_Node,
|
|
4277 Field8 => Empty_List_Or_Node,
|
|
4278 Field9 => Empty_List_Or_Node,
|
|
4279 Field10 => Empty_List_Or_Node,
|
|
4280 Field11 => Empty_List_Or_Node,
|
|
4281 Field12 => Empty_List_Or_Node);
|
|
4282
|
|
4283 -- The following defines the extendable array used for the nodes table
|
|
4284 -- Nodes with extensions use six consecutive entries in the array
|
|
4285
|
|
4286 package Nodes is new Table.Table (
|
|
4287 Table_Component_Type => Node_Record,
|
|
4288 Table_Index_Type => Node_Id'Base,
|
|
4289 Table_Low_Bound => First_Node_Id,
|
|
4290 Table_Initial => Alloc.Nodes_Initial,
|
|
4291 Table_Increment => Alloc.Nodes_Increment,
|
|
4292 Release_Threshold => Alloc.Nodes_Release_Threshold,
|
|
4293 Table_Name => "Nodes");
|
|
4294
|
|
4295 -- The following is a parallel table to Nodes, which provides 8 more
|
|
4296 -- bits of space that logically belong to the corresponding node. This
|
|
4297 -- is currently used to implement Flags 0,1,2,3 for normal nodes, or
|
|
4298 -- the first component of an extended node (four bits unused). Entries
|
|
4299 -- for extending components are completely unused.
|
|
4300
|
|
4301 type Flags_Byte is record
|
|
4302 Flag0 : Boolean;
|
|
4303 -- Note: we don't use Flag0 at the moment. To put Flag0 into use
|
|
4304 -- requires some awkward work in Treeprs (treeprs.adt), so for the
|
|
4305 -- moment we don't use it.
|
|
4306
|
|
4307 Flag1 : Boolean;
|
|
4308 Flag2 : Boolean;
|
|
4309 Flag3 : Boolean;
|
|
4310 -- These flags are used in the usual manner in Sinfo and Einfo
|
|
4311
|
|
4312 -- The flags listed below use explicit names because following the
|
|
4313 -- FlagXXX convention would mean reshuffling of over 300+ flags.
|
|
4314
|
|
4315 Check_Actuals : Boolean;
|
|
4316 -- Flag set to indicate that the marked node is subject to the check
|
|
4317 -- for writable actuals.
|
|
4318
|
|
4319 Is_Ignored_Ghost_Node : Boolean;
|
|
4320 -- Flag denoting whether the node is subject to pragma Ghost with
|
|
4321 -- policy Ignore.
|
|
4322
|
|
4323 Spare2 : Boolean;
|
|
4324 Spare3 : Boolean;
|
|
4325 end record;
|
|
4326
|
|
4327 for Flags_Byte'Size use 8;
|
|
4328 pragma Pack (Flags_Byte);
|
|
4329
|
|
4330 Default_Flags : constant Flags_Byte := (others => False);
|
|
4331 -- Default value used to initialize new entries
|
|
4332
|
|
4333 package Flags is new Table.Table (
|
|
4334 Table_Component_Type => Flags_Byte,
|
|
4335 Table_Index_Type => Node_Id'Base,
|
|
4336 Table_Low_Bound => First_Node_Id,
|
|
4337 Table_Initial => Alloc.Nodes_Initial,
|
|
4338 Table_Increment => Alloc.Nodes_Increment,
|
|
4339 Release_Threshold => Alloc.Nodes_Release_Threshold,
|
|
4340 Table_Name => "Flags");
|
|
4341
|
|
4342 end Atree_Private_Part;
|
|
4343
|
|
4344 end Atree;
|