OSDN Git Service

* builtins.c (std_expand_builtin_va_arg): Remove.
[pf3gnuchains/gcc-fork.git] / gcc / ada / snames.ads
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                         GNAT COMPILER COMPONENTS                         --
4 --                                                                          --
5 --                               S N A M E S                                --
6 --                                                                          --
7 --                                 S p e c                                  --
8 --                                                                          --
9 --          Copyright (C) 1992-2004, Free Software Foundation, Inc.         --
10 --                                                                          --
11 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
12 -- terms of the  GNU General Public License as published  by the Free Soft- --
13 -- ware  Foundation;  either version 2,  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.  See the GNU General Public License --
17 -- for  more details.  You should have  received  a copy of the GNU General --
18 -- Public License  distributed with GNAT;  see file COPYING.  If not, write --
19 -- to  the Free Software Foundation,  59 Temple Place - Suite 330,  Boston, --
20 -- MA 02111-1307, USA.                                                      --
21 --                                                                          --
22 -- As a special exception,  if other files  instantiate  generics from this --
23 -- unit, or you link  this unit with other files  to produce an executable, --
24 -- this  unit  does not  by itself cause  the resulting  executable  to  be --
25 -- covered  by the  GNU  General  Public  License.  This exception does not --
26 -- however invalidate  any other reasons why  the executable file  might be --
27 -- covered by the  GNU Public License.                                      --
28 --                                                                          --
29 -- GNAT was originally developed  by the GNAT team at  New York University. --
30 -- Extensive contributions were provided by Ada Core Technologies Inc.      --
31 --                                                                          --
32 ------------------------------------------------------------------------------
33
34 with Types; use Types;
35
36 package Snames is
37
38 --  This package contains definitions of standard names (i.e. entries in the
39 --  Names table) that are used throughout the GNAT compiler). It also contains
40 --  the definitions of some enumeration types whose definitions are tied to
41 --  the order of these preset names.
42
43 --  WARNING: There is a C file, a-snames.h which duplicates some of the
44 --  definitions in this file and must be kept properly synchronized.
45
46    ------------------
47    -- Preset Names --
48    ------------------
49
50    --  The following are preset entries in the names table, which are
51    --  entered at the start of every compilation for easy access. Note
52    --  that the order of initialization of these names in the body must
53    --  be coordinated with the order of names in this table.
54
55    --  Note: a name may not appear more than once in the following list.
56    --  If additional pragmas or attributes are introduced which might
57    --  otherwise cause a duplicate, then list it only once in this table,
58    --  and adjust the definition of the functions for testing for pragma
59    --  names and attribute names, and returning their ID values. Of course
60    --  everything is simpler if no such duplications occur!
61
62    --  First we have the one character names used to optimize the lookup
63    --  process for one character identifiers (to avoid the hashing in this
64    --  case) There are a full 256 of these, but only the entries for lower
65    --  case and upper case letters have identifiers
66
67    --  The lower case letter entries are used for one character identifiers
68    --  appearing in the source, for example in pragma Interface (C).
69
70    Name_A         : constant Name_Id := First_Name_Id + Character'Pos ('a');
71    Name_B         : constant Name_Id := First_Name_Id + Character'Pos ('b');
72    Name_C         : constant Name_Id := First_Name_Id + Character'Pos ('c');
73    Name_D         : constant Name_Id := First_Name_Id + Character'Pos ('d');
74    Name_E         : constant Name_Id := First_Name_Id + Character'Pos ('e');
75    Name_F         : constant Name_Id := First_Name_Id + Character'Pos ('f');
76    Name_G         : constant Name_Id := First_Name_Id + Character'Pos ('g');
77    Name_H         : constant Name_Id := First_Name_Id + Character'Pos ('h');
78    Name_I         : constant Name_Id := First_Name_Id + Character'Pos ('i');
79    Name_J         : constant Name_Id := First_Name_Id + Character'Pos ('j');
80    Name_K         : constant Name_Id := First_Name_Id + Character'Pos ('k');
81    Name_L         : constant Name_Id := First_Name_Id + Character'Pos ('l');
82    Name_M         : constant Name_Id := First_Name_Id + Character'Pos ('m');
83    Name_N         : constant Name_Id := First_Name_Id + Character'Pos ('n');
84    Name_O         : constant Name_Id := First_Name_Id + Character'Pos ('o');
85    Name_P         : constant Name_Id := First_Name_Id + Character'Pos ('p');
86    Name_Q         : constant Name_Id := First_Name_Id + Character'Pos ('q');
87    Name_R         : constant Name_Id := First_Name_Id + Character'Pos ('r');
88    Name_S         : constant Name_Id := First_Name_Id + Character'Pos ('s');
89    Name_T         : constant Name_Id := First_Name_Id + Character'Pos ('t');
90    Name_U         : constant Name_Id := First_Name_Id + Character'Pos ('u');
91    Name_V         : constant Name_Id := First_Name_Id + Character'Pos ('v');
92    Name_W         : constant Name_Id := First_Name_Id + Character'Pos ('w');
93    Name_X         : constant Name_Id := First_Name_Id + Character'Pos ('x');
94    Name_Y         : constant Name_Id := First_Name_Id + Character'Pos ('y');
95    Name_Z         : constant Name_Id := First_Name_Id + Character'Pos ('z');
96
97    --  The upper case letter entries are used by expander code for local
98    --  variables that do not require unique names (e.g. formal parameter
99    --  names in constructed procedures)
100
101    Name_uA        : constant Name_Id := First_Name_Id + Character'Pos ('A');
102    Name_uB        : constant Name_Id := First_Name_Id + Character'Pos ('B');
103    Name_uC        : constant Name_Id := First_Name_Id + Character'Pos ('C');
104    Name_uD        : constant Name_Id := First_Name_Id + Character'Pos ('D');
105    Name_uE        : constant Name_Id := First_Name_Id + Character'Pos ('E');
106    Name_uF        : constant Name_Id := First_Name_Id + Character'Pos ('F');
107    Name_uG        : constant Name_Id := First_Name_Id + Character'Pos ('G');
108    Name_uH        : constant Name_Id := First_Name_Id + Character'Pos ('H');
109    Name_uI        : constant Name_Id := First_Name_Id + Character'Pos ('I');
110    Name_uJ        : constant Name_Id := First_Name_Id + Character'Pos ('J');
111    Name_uK        : constant Name_Id := First_Name_Id + Character'Pos ('K');
112    Name_uL        : constant Name_Id := First_Name_Id + Character'Pos ('L');
113    Name_uM        : constant Name_Id := First_Name_Id + Character'Pos ('M');
114    Name_uN        : constant Name_Id := First_Name_Id + Character'Pos ('N');
115    Name_uO        : constant Name_Id := First_Name_Id + Character'Pos ('O');
116    Name_uP        : constant Name_Id := First_Name_Id + Character'Pos ('P');
117    Name_uQ        : constant Name_Id := First_Name_Id + Character'Pos ('Q');
118    Name_uR        : constant Name_Id := First_Name_Id + Character'Pos ('R');
119    Name_uS        : constant Name_Id := First_Name_Id + Character'Pos ('S');
120    Name_uT        : constant Name_Id := First_Name_Id + Character'Pos ('T');
121    Name_uU        : constant Name_Id := First_Name_Id + Character'Pos ('U');
122    Name_uV        : constant Name_Id := First_Name_Id + Character'Pos ('V');
123    Name_uW        : constant Name_Id := First_Name_Id + Character'Pos ('W');
124    Name_uX        : constant Name_Id := First_Name_Id + Character'Pos ('X');
125    Name_uY        : constant Name_Id := First_Name_Id + Character'Pos ('Y');
126    Name_uZ        : constant Name_Id := First_Name_Id + Character'Pos ('Z');
127
128    --  Note: the following table is read by the utility program XSNAMES and
129    --  its format should not be changed without coordinating with this program.
130
131    N : constant Name_Id := First_Name_Id + 256;
132    --  Synonym used in standard name definitions
133
134    --  Some names that are used by gigi, and whose definitions are reflected
135    --  in the C header file a-snames.h. They are placed at the start so that
136    --  the need to modify a-snames.h is minimized.
137
138    Name_uParent                        : constant Name_Id := N + 000;
139    Name_uTag                           : constant Name_Id := N + 001;
140    Name_Off                            : constant Name_Id := N + 002;
141    Name_Space                          : constant Name_Id := N + 003;
142    Name_Time                           : constant Name_Id := N + 004;
143
144    --  Some special names used by the expander. Note that the lower case u's
145    --  at the start of these names get translated to extra underscores. These
146    --  names are only referenced internally by expander generated code.
147
148    Name_uAbort_Signal                  : constant Name_Id := N + 005;
149    Name_uAlignment                     : constant Name_Id := N + 006;
150    Name_uAssign                        : constant Name_Id := N + 007;
151    Name_uATCB                          : constant Name_Id := N + 008;
152    Name_uChain                         : constant Name_Id := N + 009;
153    Name_uClean                         : constant Name_Id := N + 010;
154    Name_uController                    : constant Name_Id := N + 011;
155    Name_uEntry_Bodies                  : constant Name_Id := N + 012;
156    Name_uExpunge                       : constant Name_Id := N + 013;
157    Name_uFinal_List                    : constant Name_Id := N + 014;
158    Name_uIdepth                        : constant Name_Id := N + 015;
159    Name_uInit                          : constant Name_Id := N + 016;
160    Name_uLocal_Final_List              : constant Name_Id := N + 017;
161    Name_uMaster                        : constant Name_Id := N + 018;
162    Name_uObject                        : constant Name_Id := N + 019;
163    Name_uPriority                      : constant Name_Id := N + 020;
164    Name_uProcess_ATSD                  : constant Name_Id := N + 021;
165    Name_uSecondary_Stack               : constant Name_Id := N + 022;
166    Name_uService                       : constant Name_Id := N + 023;
167    Name_uSize                          : constant Name_Id := N + 024;
168    Name_uTags                          : constant Name_Id := N + 025;
169    Name_uTask                          : constant Name_Id := N + 026;
170    Name_uTask_Id                       : constant Name_Id := N + 027;
171    Name_uTask_Info                     : constant Name_Id := N + 028;
172    Name_uTask_Name                     : constant Name_Id := N + 029;
173    Name_uTrace_Sp                      : constant Name_Id := N + 030;
174
175    --  Names of routines in Ada.Finalization, needed by expander
176
177    Name_Initialize                     : constant Name_Id := N + 031;
178    Name_Adjust                         : constant Name_Id := N + 032;
179    Name_Finalize                       : constant Name_Id := N + 033;
180
181    --  Names of fields declared in System.Finalization_Implementation,
182    --  needed by the expander when generating code for finalization.
183
184    Name_Next                           : constant Name_Id := N + 034;
185    Name_Prev                           : constant Name_Id := N + 035;
186
187    --  Names of TSS routines for implementation of DSA over PolyORB
188
189    Name_uTypeCode                      : constant Name_Id := N + 036;
190    Name_uFrom_Any                      : constant Name_Id := N + 037;
191    Name_uTo_Any                        : constant Name_Id := N + 038;
192
193    --  Names of allocation routines, also needed by expander
194
195    Name_Allocate                       : constant Name_Id := N + 039;
196    Name_Deallocate                     : constant Name_Id := N + 040;
197    Name_Dereference                    : constant Name_Id := N + 041;
198
199    --  Names of Text_IO generic subpackages (see Rtsfind.Text_IO_Kludge)
200
201    First_Text_IO_Package               : constant Name_Id := N + 042;
202    Name_Decimal_IO                     : constant Name_Id := N + 042;
203    Name_Enumeration_IO                 : constant Name_Id := N + 043;
204    Name_Fixed_IO                       : constant Name_Id := N + 044;
205    Name_Float_IO                       : constant Name_Id := N + 045;
206    Name_Integer_IO                     : constant Name_Id := N + 046;
207    Name_Modular_IO                     : constant Name_Id := N + 047;
208    Last_Text_IO_Package                : constant Name_Id := N + 047;
209
210    subtype Text_IO_Package_Name is Name_Id
211      range First_Text_IO_Package .. Last_Text_IO_Package;
212
213    --  Names of files in library for Ada.Text_IO and Ada.Wide_Text_IO
214
215    Name_a_textio                       : constant Name_Id := N + 048;
216    Name_a_witeio                       : constant Name_Id := N + 049;
217
218    --  Some miscellaneous names used for error detection/recovery
219
220    Name_Const                          : constant Name_Id := N + 050;
221    Name_Error                          : constant Name_Id := N + 051;
222    Name_Go                             : constant Name_Id := N + 052;
223    Name_Put                            : constant Name_Id := N + 053;
224    Name_Put_Line                       : constant Name_Id := N + 054;
225    Name_To                             : constant Name_Id := N + 055;
226
227    --  Names for packages that are treated specially by the compiler
228
229    Name_Finalization                   : constant Name_Id := N + 056;
230    Name_Finalization_Root              : constant Name_Id := N + 057;
231    Name_Interfaces                     : constant Name_Id := N + 058;
232    Name_Standard                       : constant Name_Id := N + 059;
233    Name_System                         : constant Name_Id := N + 060;
234    Name_Text_IO                        : constant Name_Id := N + 061;
235    Name_Wide_Text_IO                   : constant Name_Id := N + 062;
236
237    --  Names of implementations of the distributed systems annex
238
239    Name_No_DSA                         : constant Name_Id := N + 063;
240    Name_GLADE_DSA                      : constant Name_Id := N + 064;
241    Name_PolyORB_DSA                    : constant Name_Id := N + 065;
242
243    --  Names of identifiers used in expanding distribution stubs
244
245    Name_Addr                           : constant Name_Id := N + 066;
246    Name_Async                          : constant Name_Id := N + 067;
247    Name_Get_Active_Partition_ID        : constant Name_Id := N + 068;
248    Name_Get_RCI_Package_Receiver       : constant Name_Id := N + 069;
249    Name_Get_RCI_Package_Ref            : constant Name_Id := N + 070;
250    Name_Origin                         : constant Name_Id := N + 071;
251    Name_Params                         : constant Name_Id := N + 072;
252    Name_Partition                      : constant Name_Id := N + 073;
253    Name_Partition_Interface            : constant Name_Id := N + 074;
254    Name_Ras                            : constant Name_Id := N + 075;
255    Name_Call                           : constant Name_Id := N + 076;
256    Name_RCI_Name                       : constant Name_Id := N + 077;
257    Name_Receiver                       : constant Name_Id := N + 078;
258    Name_Result                         : constant Name_Id := N + 079;
259    Name_Rpc                            : constant Name_Id := N + 080;
260    Name_Subp_Id                        : constant Name_Id := N + 081;
261    Name_Operation                      : constant Name_Id := N + 082;
262    Name_Argument                       : constant Name_Id := N + 083;
263    Name_Arg_Modes                      : constant Name_Id := N + 084;
264    Name_Handler                        : constant Name_Id := N + 085;
265    Name_Target                         : constant Name_Id := N + 086;
266    Name_Req                            : constant Name_Id := N + 087;
267    Name_Obj_TypeCode                   : constant Name_Id := N + 088;
268    Name_Stub                           : constant Name_Id := N + 089;
269
270    --  Operator Symbol entries. The actual names have an upper case O at
271    --  the start in place of the Op_ prefix (e.g. the actual name that
272    --  corresponds to Name_Op_Abs is "Oabs".
273
274    First_Operator_Name                 : constant Name_Id := N + 090;
275    Name_Op_Abs                         : constant Name_Id := N + 090; -- "abs"
276    Name_Op_And                         : constant Name_Id := N + 091; -- "and"
277    Name_Op_Mod                         : constant Name_Id := N + 092; -- "mod"
278    Name_Op_Not                         : constant Name_Id := N + 093; -- "not"
279    Name_Op_Or                          : constant Name_Id := N + 094; -- "or"
280    Name_Op_Rem                         : constant Name_Id := N + 095; -- "rem"
281    Name_Op_Xor                         : constant Name_Id := N + 096; -- "xor"
282    Name_Op_Eq                          : constant Name_Id := N + 097; -- "="
283    Name_Op_Ne                          : constant Name_Id := N + 098; -- "/="
284    Name_Op_Lt                          : constant Name_Id := N + 099; -- "<"
285    Name_Op_Le                          : constant Name_Id := N + 100; -- "<="
286    Name_Op_Gt                          : constant Name_Id := N + 101; -- ">"
287    Name_Op_Ge                          : constant Name_Id := N + 102; -- ">="
288    Name_Op_Add                         : constant Name_Id := N + 103; -- "+"
289    Name_Op_Subtract                    : constant Name_Id := N + 104; -- "-"
290    Name_Op_Concat                      : constant Name_Id := N + 105; -- "&"
291    Name_Op_Multiply                    : constant Name_Id := N + 106; -- "*"
292    Name_Op_Divide                      : constant Name_Id := N + 107; -- "/"
293    Name_Op_Expon                       : constant Name_Id := N + 108; -- "**"
294    Last_Operator_Name                  : constant Name_Id := N + 108;
295
296    --  Names for all pragmas recognized by GNAT. The entries with the comment
297    --  "Ada 83" are pragmas that are defined in Ada 83, but not in Ada 95.
298    --  These pragmas are fully implemented in both Ada 83 and Ada 95 modes
299    --  in GNAT.
300
301    --  The entries marked GNAT are pragmas that are defined by GNAT
302    --  and implemented in both Ada 83 and Ada 95 modes. Full descriptions
303    --  of these implementation dependent pragmas may be found in the
304    --  appropriate section in unit Sem_Prag in file sem-prag.adb.
305
306    --  The entries marked Ada05 are technically implementation dependent
307    --  pragmas, but they correspond to standard proposals for Ada 2005.
308
309    --  The entries marked VMS are VMS specific pragmas that are recognized
310    --  only in OpenVMS versions of GNAT. They are ignored in other versions
311    --  with an appropriate warning.
312
313    --  The entries marked AAMP are AAMP specific pragmas that are recognized
314    --  only in GNAT for the AAMP. They are ignored in other versions with
315    --  appropriate warnings.
316
317    First_Pragma_Name                   : constant Name_Id := N + 109;
318
319    --  Configuration pragmas are grouped at start
320
321    Name_Ada_83                         : constant Name_Id := N + 109; -- GNAT
322    Name_Ada_95                         : constant Name_Id := N + 110; -- GNAT
323    Name_Ada_05                         : constant Name_Id := N + 111; -- GNAT
324    Name_C_Pass_By_Copy                 : constant Name_Id := N + 112; -- GNAT
325    Name_Compile_Time_Warning           : constant Name_Id := N + 113; -- GNAT
326    Name_Component_Alignment            : constant Name_Id := N + 114; -- GNAT
327    Name_Convention_Identifier          : constant Name_Id := N + 115; -- GNAT
328    Name_Detect_Blocking                : constant Name_Id := N + 116; -- Ada05
329    Name_Discard_Names                  : constant Name_Id := N + 117;
330    Name_Elaboration_Checks             : constant Name_Id := N + 118; -- GNAT
331    Name_Eliminate                      : constant Name_Id := N + 119; -- GNAT
332    Name_Explicit_Overriding            : constant Name_Id := N + 120;
333    Name_Extend_System                  : constant Name_Id := N + 121; -- GNAT
334    Name_Extensions_Allowed             : constant Name_Id := N + 122; -- GNAT
335    Name_External_Name_Casing           : constant Name_Id := N + 123; -- GNAT
336    Name_Float_Representation           : constant Name_Id := N + 124; -- GNAT
337    Name_Initialize_Scalars             : constant Name_Id := N + 125; -- GNAT
338    Name_Interrupt_State                : constant Name_Id := N + 126; -- GNAT
339    Name_License                        : constant Name_Id := N + 127; -- GNAT
340    Name_Locking_Policy                 : constant Name_Id := N + 128;
341    Name_Long_Float                     : constant Name_Id := N + 129; -- VMS
342    Name_No_Run_Time                    : constant Name_Id := N + 130; -- GNAT
343    Name_No_Strict_Aliasing             : constant Name_Id := N + 131; -- GNAT
344    Name_Normalize_Scalars              : constant Name_Id := N + 132;
345    Name_Polling                        : constant Name_Id := N + 133; -- GNAT
346    Name_Persistent_Data                : constant Name_Id := N + 134; -- GNAT
347    Name_Persistent_Object              : constant Name_Id := N + 135; -- GNAT
348    Name_Profile                        : constant Name_Id := N + 136; -- Ada05
349    Name_Profile_Warnings               : constant Name_Id := N + 137; -- GNAT
350    Name_Propagate_Exceptions           : constant Name_Id := N + 138; -- GNAT
351    Name_Queuing_Policy                 : constant Name_Id := N + 139;
352    Name_Ravenscar                      : constant Name_Id := N + 140;
353    Name_Restricted_Run_Time            : constant Name_Id := N + 141;
354    Name_Restrictions                   : constant Name_Id := N + 142;
355    Name_Restriction_Warnings           : constant Name_Id := N + 143; -- GNAT
356    Name_Reviewable                     : constant Name_Id := N + 144;
357    Name_Source_File_Name               : constant Name_Id := N + 145; -- GNAT
358    Name_Source_File_Name_Project       : constant Name_Id := N + 146; -- GNAT
359    Name_Style_Checks                   : constant Name_Id := N + 147; -- GNAT
360    Name_Suppress                       : constant Name_Id := N + 148;
361    Name_Suppress_Exception_Locations   : constant Name_Id := N + 149; -- GNAT
362    Name_Task_Dispatching_Policy        : constant Name_Id := N + 150;
363    Name_Universal_Data                 : constant Name_Id := N + 151; -- AAMP
364    Name_Unsuppress                     : constant Name_Id := N + 152; -- GNAT
365    Name_Use_VADS_Size                  : constant Name_Id := N + 153; -- GNAT
366    Name_Validity_Checks                : constant Name_Id := N + 154; -- GNAT
367    Name_Warnings                       : constant Name_Id := N + 155; -- GNAT
368    Last_Configuration_Pragma_Name      : constant Name_Id := N + 155;
369
370    --  Remaining pragma names
371
372    Name_Abort_Defer                    : constant Name_Id := N + 156; -- GNAT
373    Name_All_Calls_Remote               : constant Name_Id := N + 157;
374    Name_Annotate                       : constant Name_Id := N + 158; -- GNAT
375
376    --  Note: AST_Entry is not in this list because its name matches the
377    --  name of the corresponding attribute. However, it is included in the
378    --  definition of the type Attribute_Id, and the functions Get_Pragma_Id
379    --  and Check_Pragma_Id correctly recognize and process Name_AST_Entry.
380    --  AST_Entry is a VMS specific pragma.
381
382    Name_Assert                         : constant Name_Id := N + 159; -- GNAT
383    Name_Asynchronous                   : constant Name_Id := N + 160;
384    Name_Atomic                         : constant Name_Id := N + 161;
385    Name_Atomic_Components              : constant Name_Id := N + 162;
386    Name_Attach_Handler                 : constant Name_Id := N + 163;
387    Name_Comment                        : constant Name_Id := N + 164; -- GNAT
388    Name_Common_Object                  : constant Name_Id := N + 165; -- GNAT
389    Name_Complex_Representation         : constant Name_Id := N + 166; -- GNAT
390    Name_Controlled                     : constant Name_Id := N + 167;
391    Name_Convention                     : constant Name_Id := N + 168;
392    Name_CPP_Class                      : constant Name_Id := N + 169; -- GNAT
393    Name_CPP_Constructor                : constant Name_Id := N + 170; -- GNAT
394    Name_CPP_Virtual                    : constant Name_Id := N + 171; -- GNAT
395    Name_CPP_Vtable                     : constant Name_Id := N + 172; -- GNAT
396    Name_Debug                          : constant Name_Id := N + 173; -- GNAT
397    Name_Elaborate                      : constant Name_Id := N + 174; -- Ada 83
398    Name_Elaborate_All                  : constant Name_Id := N + 175;
399    Name_Elaborate_Body                 : constant Name_Id := N + 176;
400    Name_Export                         : constant Name_Id := N + 177;
401    Name_Export_Exception               : constant Name_Id := N + 178; -- VMS
402    Name_Export_Function                : constant Name_Id := N + 179; -- GNAT
403    Name_Export_Object                  : constant Name_Id := N + 180; -- GNAT
404    Name_Export_Procedure               : constant Name_Id := N + 181; -- GNAT
405    Name_Export_Value                   : constant Name_Id := N + 182; -- GNAT
406    Name_Export_Valued_Procedure        : constant Name_Id := N + 183; -- GNAT
407    Name_External                       : constant Name_Id := N + 184; -- GNAT
408    Name_Finalize_Storage_Only          : constant Name_Id := N + 185; -- GNAT
409    Name_Ident                          : constant Name_Id := N + 186; -- VMS
410    Name_Import                         : constant Name_Id := N + 187;
411    Name_Import_Exception               : constant Name_Id := N + 188; -- VMS
412    Name_Import_Function                : constant Name_Id := N + 189; -- GNAT
413    Name_Import_Object                  : constant Name_Id := N + 190; -- GNAT
414    Name_Import_Procedure               : constant Name_Id := N + 191; -- GNAT
415    Name_Import_Valued_Procedure        : constant Name_Id := N + 192; -- GNAT
416    Name_Inline                         : constant Name_Id := N + 193;
417    Name_Inline_Always                  : constant Name_Id := N + 194; -- GNAT
418    Name_Inline_Generic                 : constant Name_Id := N + 195; -- GNAT
419    Name_Inspection_Point               : constant Name_Id := N + 196;
420    Name_Interface                      : constant Name_Id := N + 197; -- Ada 83
421    Name_Interface_Name                 : constant Name_Id := N + 198; -- GNAT
422    Name_Interrupt_Handler              : constant Name_Id := N + 199;
423    Name_Interrupt_Priority             : constant Name_Id := N + 200;
424    Name_Java_Constructor               : constant Name_Id := N + 201; -- GNAT
425    Name_Java_Interface                 : constant Name_Id := N + 202; -- GNAT
426    Name_Keep_Names                     : constant Name_Id := N + 203; -- GNAT
427    Name_Link_With                      : constant Name_Id := N + 204; -- GNAT
428    Name_Linker_Alias                   : constant Name_Id := N + 205; -- GNAT
429    Name_Linker_Options                 : constant Name_Id := N + 206;
430    Name_Linker_Section                 : constant Name_Id := N + 207; -- GNAT
431    Name_List                           : constant Name_Id := N + 208;
432    Name_Machine_Attribute              : constant Name_Id := N + 209; -- GNAT
433    Name_Main                           : constant Name_Id := N + 210; -- GNAT
434    Name_Main_Storage                   : constant Name_Id := N + 211; -- GNAT
435    Name_Memory_Size                    : constant Name_Id := N + 212; -- Ada 83
436    Name_No_Return                      : constant Name_Id := N + 213; -- GNAT
437    Name_Obsolescent                    : constant Name_Id := N + 214; -- GNAT
438    Name_Optimize                       : constant Name_Id := N + 215;
439    Name_Optional_Overriding            : constant Name_Id := N + 216;
440    Name_Overriding                     : constant Name_Id := N + 217;
441    Name_Pack                           : constant Name_Id := N + 218;
442    Name_Page                           : constant Name_Id := N + 219;
443    Name_Passive                        : constant Name_Id := N + 220; -- GNAT
444    Name_Preelaborate                   : constant Name_Id := N + 221;
445    Name_Priority                       : constant Name_Id := N + 222;
446    Name_Psect_Object                   : constant Name_Id := N + 223; -- VMS
447    Name_Pure                           : constant Name_Id := N + 224;
448    Name_Pure_Function                  : constant Name_Id := N + 225; -- GNAT
449    Name_Remote_Call_Interface          : constant Name_Id := N + 226;
450    Name_Remote_Types                   : constant Name_Id := N + 227;
451    Name_Share_Generic                  : constant Name_Id := N + 228; -- GNAT
452    Name_Shared                         : constant Name_Id := N + 229; -- Ada 83
453    Name_Shared_Passive                 : constant Name_Id := N + 230;
454
455    --  Note: Storage_Size is not in this list because its name matches the
456    --  name of the corresponding attribute. However, it is included in the
457    --  definition of the type Attribute_Id, and the functions Get_Pragma_Id
458    --  and Check_Pragma_Id correctly recognize and process Name_Storage_Size.
459
460    --  Note: Storage_Unit is also omitted from the list because of a clash
461    --  with an attribute name, and is treated similarly.
462
463    Name_Source_Reference               : constant Name_Id := N + 231; -- GNAT
464    Name_Stream_Convert                 : constant Name_Id := N + 232; -- GNAT
465    Name_Subtitle                       : constant Name_Id := N + 233; -- GNAT
466    Name_Suppress_All                   : constant Name_Id := N + 234; -- GNAT
467    Name_Suppress_Debug_Info            : constant Name_Id := N + 235; -- GNAT
468    Name_Suppress_Initialization        : constant Name_Id := N + 236; -- GNAT
469    Name_System_Name                    : constant Name_Id := N + 237; -- Ada 83
470    Name_Task_Info                      : constant Name_Id := N + 238; -- GNAT
471    Name_Task_Name                      : constant Name_Id := N + 239; -- GNAT
472    Name_Task_Storage                   : constant Name_Id := N + 240; -- VMS
473    Name_Thread_Body                    : constant Name_Id := N + 241; -- GNAT
474    Name_Time_Slice                     : constant Name_Id := N + 242; -- GNAT
475    Name_Title                          : constant Name_Id := N + 243; -- GNAT
476    Name_Unchecked_Union                : constant Name_Id := N + 244; -- GNAT
477    Name_Unimplemented_Unit             : constant Name_Id := N + 245; -- GNAT
478    Name_Unreferenced                   : constant Name_Id := N + 246; -- GNAT
479    Name_Unreserve_All_Interrupts       : constant Name_Id := N + 247; -- GNAT
480    Name_Volatile                       : constant Name_Id := N + 248;
481    Name_Volatile_Components            : constant Name_Id := N + 249;
482    Name_Weak_External                  : constant Name_Id := N + 250; -- GNAT
483    Last_Pragma_Name                    : constant Name_Id := N + 250;
484
485    --  Language convention names for pragma Convention/Export/Import/Interface
486    --  Note that Name_C is not included in this list, since it was already
487    --  declared earlier in the context of one-character identifier names
488    --  (where the order is critical to the fast look up process).
489
490    --  Note: there are no convention names corresponding to the conventions
491    --  Entry and Protected, this is because these conventions cannot be
492    --  specified by a pragma.
493
494    First_Convention_Name               : constant Name_Id := N + 251;
495    Name_Ada                            : constant Name_Id := N + 251;
496    Name_Assembler                      : constant Name_Id := N + 252;
497    Name_COBOL                          : constant Name_Id := N + 253;
498    Name_CPP                            : constant Name_Id := N + 254;
499    Name_Fortran                        : constant Name_Id := N + 255;
500    Name_Intrinsic                      : constant Name_Id := N + 256;
501    Name_Java                           : constant Name_Id := N + 257;
502    Name_Stdcall                        : constant Name_Id := N + 258;
503    Name_Stubbed                        : constant Name_Id := N + 259;
504    Last_Convention_Name                : constant Name_Id := N + 259;
505
506    --  The following names are preset as synonyms for Assembler
507
508    Name_Asm                            : constant Name_Id := N + 260;
509    Name_Assembly                       : constant Name_Id := N + 261;
510
511    --  The following names are preset as synonyms for C
512
513    Name_Default                        : constant Name_Id := N + 262;
514    --  Name_Exernal (previously defined as pragma)
515
516    --  The following names are present as synonyms for Stdcall
517
518    Name_DLL                            : constant Name_Id := N + 263;
519    Name_Win32                          : constant Name_Id := N + 264;
520
521    --  Other special names used in processing pragmas
522
523    Name_As_Is                          : constant Name_Id := N + 265;
524    Name_Body_File_Name                 : constant Name_Id := N + 266;
525    Name_Boolean_Entry_Barriers         : constant Name_Id := N + 267;
526    Name_Casing                         : constant Name_Id := N + 268;
527    Name_Code                           : constant Name_Id := N + 269;
528    Name_Component                      : constant Name_Id := N + 270;
529    Name_Component_Size_4               : constant Name_Id := N + 271;
530    Name_Copy                           : constant Name_Id := N + 272;
531    Name_D_Float                        : constant Name_Id := N + 273;
532    Name_Descriptor                     : constant Name_Id := N + 274;
533    Name_Dot_Replacement                : constant Name_Id := N + 275;
534    Name_Dynamic                        : constant Name_Id := N + 276;
535    Name_Entity                         : constant Name_Id := N + 277;
536    Name_External_Name                  : constant Name_Id := N + 278;
537    Name_First_Optional_Parameter       : constant Name_Id := N + 279;
538    Name_Form                           : constant Name_Id := N + 280;
539    Name_G_Float                        : constant Name_Id := N + 281;
540    Name_Gcc                            : constant Name_Id := N + 282;
541    Name_Gnat                           : constant Name_Id := N + 283;
542    Name_GPL                            : constant Name_Id := N + 284;
543    Name_IEEE_Float                     : constant Name_Id := N + 285;
544    Name_Internal                       : constant Name_Id := N + 286;
545    Name_Link_Name                      : constant Name_Id := N + 287;
546    Name_Lowercase                      : constant Name_Id := N + 288;
547    Name_Max_Entry_Queue_Depth          : constant Name_Id := N + 289;
548    Name_Max_Entry_Queue_Length         : constant Name_Id := N + 290;
549    Name_Max_Size                       : constant Name_Id := N + 291;
550    Name_Mechanism                      : constant Name_Id := N + 292;
551    Name_Mixedcase                      : constant Name_Id := N + 293;
552    Name_Modified_GPL                   : constant Name_Id := N + 294;
553    Name_Name                           : constant Name_Id := N + 295;
554    Name_NCA                            : constant Name_Id := N + 296;
555    Name_No                             : constant Name_Id := N + 297;
556    Name_On                             : constant Name_Id := N + 298;
557    Name_Parameter_Types                : constant Name_Id := N + 299;
558    Name_Reference                      : constant Name_Id := N + 300;
559    Name_No_Dynamic_Attachment          : constant Name_Id := N + 301;
560    Name_No_Dynamic_Interrupts          : constant Name_Id := N + 302;
561    Name_No_Requeue                     : constant Name_Id := N + 303;
562    Name_No_Requeue_Statements          : constant Name_Id := N + 304;
563    Name_No_Task_Attributes             : constant Name_Id := N + 305;
564    Name_No_Task_Attributes_Package     : constant Name_Id := N + 306;
565    Name_Restricted                     : constant Name_Id := N + 307;
566    Name_Result_Mechanism               : constant Name_Id := N + 308;
567    Name_Result_Type                    : constant Name_Id := N + 309;
568    Name_Runtime                        : constant Name_Id := N + 310;
569    Name_SB                             : constant Name_Id := N + 311;
570    Name_Secondary_Stack_Size           : constant Name_Id := N + 312;
571    Name_Section                        : constant Name_Id := N + 313;
572    Name_Semaphore                      : constant Name_Id := N + 314;
573    Name_Simple_Barriers                : constant Name_Id := N + 315;
574    Name_Spec_File_Name                 : constant Name_Id := N + 316;
575    Name_Static                         : constant Name_Id := N + 317;
576    Name_Stack_Size                     : constant Name_Id := N + 318;
577    Name_Subunit_File_Name              : constant Name_Id := N + 319;
578    Name_Task_Stack_Size_Default        : constant Name_Id := N + 320;
579    Name_Task_Type                      : constant Name_Id := N + 321;
580    Name_Time_Slicing_Enabled           : constant Name_Id := N + 322;
581    Name_Top_Guard                      : constant Name_Id := N + 323;
582    Name_UBA                            : constant Name_Id := N + 324;
583    Name_UBS                            : constant Name_Id := N + 325;
584    Name_UBSB                           : constant Name_Id := N + 326;
585    Name_Unit_Name                      : constant Name_Id := N + 327;
586    Name_Unknown                        : constant Name_Id := N + 328;
587    Name_Unrestricted                   : constant Name_Id := N + 329;
588    Name_Uppercase                      : constant Name_Id := N + 330;
589    Name_User                           : constant Name_Id := N + 331;
590    Name_VAX_Float                      : constant Name_Id := N + 332;
591    Name_VMS                            : constant Name_Id := N + 333;
592    Name_Working_Storage                : constant Name_Id := N + 334;
593
594    --  Names of recognized attributes. The entries with the comment "Ada 83"
595    --  are attributes that are defined in Ada 83, but not in Ada 95. These
596    --  attributes are implemented in both Ada 83 and Ada 95 modes in GNAT.
597
598    --  The entries marked GNAT are attributes that are defined by GNAT
599    --  and implemented in both Ada 83 and Ada 95 modes. Full descriptions
600    --  of these implementation dependent attributes may be found in the
601    --  appropriate section in package Sem_Attr in file sem-attr.ads.
602
603    --  The entries marked VMS are recognized only in OpenVMS implementations
604    --  of GNAT, and are treated as illegal in all other contexts.
605
606    First_Attribute_Name                : constant Name_Id := N + 335;
607    Name_Abort_Signal                   : constant Name_Id := N + 335;  -- GNAT
608    Name_Access                         : constant Name_Id := N + 336;
609    Name_Address                        : constant Name_Id := N + 337;
610    Name_Address_Size                   : constant Name_Id := N + 338;  -- GNAT
611    Name_Aft                            : constant Name_Id := N + 339;
612    Name_Alignment                      : constant Name_Id := N + 340;
613    Name_Asm_Input                      : constant Name_Id := N + 341;  -- GNAT
614    Name_Asm_Output                     : constant Name_Id := N + 342;  -- GNAT
615    Name_AST_Entry                      : constant Name_Id := N + 343;  -- VMS
616    Name_Bit                            : constant Name_Id := N + 344;  -- GNAT
617    Name_Bit_Order                      : constant Name_Id := N + 345;
618    Name_Bit_Position                   : constant Name_Id := N + 346;  -- GNAT
619    Name_Body_Version                   : constant Name_Id := N + 347;
620    Name_Callable                       : constant Name_Id := N + 348;
621    Name_Caller                         : constant Name_Id := N + 349;
622    Name_Code_Address                   : constant Name_Id := N + 350;  -- GNAT
623    Name_Component_Size                 : constant Name_Id := N + 351;
624    Name_Compose                        : constant Name_Id := N + 352;
625    Name_Constrained                    : constant Name_Id := N + 353;
626    Name_Count                          : constant Name_Id := N + 354;
627    Name_Default_Bit_Order              : constant Name_Id := N + 355; -- GNAT
628    Name_Definite                       : constant Name_Id := N + 356;
629    Name_Delta                          : constant Name_Id := N + 357;
630    Name_Denorm                         : constant Name_Id := N + 358;
631    Name_Digits                         : constant Name_Id := N + 359;
632    Name_Elaborated                     : constant Name_Id := N + 360; -- GNAT
633    Name_Emax                           : constant Name_Id := N + 361; -- Ada 83
634    Name_Enum_Rep                       : constant Name_Id := N + 362; -- GNAT
635    Name_Epsilon                        : constant Name_Id := N + 363; -- Ada 83
636    Name_Exponent                       : constant Name_Id := N + 364;
637    Name_External_Tag                   : constant Name_Id := N + 365;
638    Name_First                          : constant Name_Id := N + 366;
639    Name_First_Bit                      : constant Name_Id := N + 367;
640    Name_Fixed_Value                    : constant Name_Id := N + 368; -- GNAT
641    Name_Fore                           : constant Name_Id := N + 369;
642    Name_Has_Access_Values              : constant Name_Id := N + 370; -- GNAT
643    Name_Has_Discriminants              : constant Name_Id := N + 371; -- GNAT
644    Name_Identity                       : constant Name_Id := N + 372;
645    Name_Img                            : constant Name_Id := N + 373; -- GNAT
646    Name_Integer_Value                  : constant Name_Id := N + 374; -- GNAT
647    Name_Large                          : constant Name_Id := N + 375; -- Ada 83
648    Name_Last                           : constant Name_Id := N + 376;
649    Name_Last_Bit                       : constant Name_Id := N + 377;
650    Name_Leading_Part                   : constant Name_Id := N + 378;
651    Name_Length                         : constant Name_Id := N + 379;
652    Name_Machine_Emax                   : constant Name_Id := N + 380;
653    Name_Machine_Emin                   : constant Name_Id := N + 381;
654    Name_Machine_Mantissa               : constant Name_Id := N + 382;
655    Name_Machine_Overflows              : constant Name_Id := N + 383;
656    Name_Machine_Radix                  : constant Name_Id := N + 384;
657    Name_Machine_Rounds                 : constant Name_Id := N + 385;
658    Name_Machine_Size                   : constant Name_Id := N + 386; -- GNAT
659    Name_Mantissa                       : constant Name_Id := N + 387; -- Ada 83
660    Name_Max_Size_In_Storage_Elements   : constant Name_Id := N + 388;
661    Name_Maximum_Alignment              : constant Name_Id := N + 389; -- GNAT
662    Name_Mechanism_Code                 : constant Name_Id := N + 390; -- GNAT
663    Name_Model_Emin                     : constant Name_Id := N + 391;
664    Name_Model_Epsilon                  : constant Name_Id := N + 392;
665    Name_Model_Mantissa                 : constant Name_Id := N + 393;
666    Name_Model_Small                    : constant Name_Id := N + 394;
667    Name_Modulus                        : constant Name_Id := N + 395;
668    Name_Null_Parameter                 : constant Name_Id := N + 396; -- GNAT
669    Name_Object_Size                    : constant Name_Id := N + 397; -- GNAT
670    Name_Partition_ID                   : constant Name_Id := N + 398;
671    Name_Passed_By_Reference            : constant Name_Id := N + 399; -- GNAT
672    Name_Pool_Address                   : constant Name_Id := N + 400;
673    Name_Pos                            : constant Name_Id := N + 401;
674    Name_Position                       : constant Name_Id := N + 402;
675    Name_Range                          : constant Name_Id := N + 403;
676    Name_Range_Length                   : constant Name_Id := N + 404; -- GNAT
677    Name_Round                          : constant Name_Id := N + 405;
678    Name_Safe_Emax                      : constant Name_Id := N + 406; -- Ada 83
679    Name_Safe_First                     : constant Name_Id := N + 407;
680    Name_Safe_Large                     : constant Name_Id := N + 408; -- Ada 83
681    Name_Safe_Last                      : constant Name_Id := N + 409;
682    Name_Safe_Small                     : constant Name_Id := N + 410; -- Ada 83
683    Name_Scale                          : constant Name_Id := N + 411;
684    Name_Scaling                        : constant Name_Id := N + 412;
685    Name_Signed_Zeros                   : constant Name_Id := N + 413;
686    Name_Size                           : constant Name_Id := N + 414;
687    Name_Small                          : constant Name_Id := N + 415;
688    Name_Storage_Size                   : constant Name_Id := N + 416;
689    Name_Storage_Unit                   : constant Name_Id := N + 417; -- GNAT
690    Name_Tag                            : constant Name_Id := N + 418;
691    Name_Target_Name                    : constant Name_Id := N + 419; -- GNAT
692    Name_Terminated                     : constant Name_Id := N + 420;
693    Name_To_Address                     : constant Name_Id := N + 421; -- GNAT
694    Name_Type_Class                     : constant Name_Id := N + 422; -- GNAT
695    Name_UET_Address                    : constant Name_Id := N + 423; -- GNAT
696    Name_Unbiased_Rounding              : constant Name_Id := N + 424;
697    Name_Unchecked_Access               : constant Name_Id := N + 425;
698    Name_Unconstrained_Array            : constant Name_Id := N + 426;
699    Name_Universal_Literal_String       : constant Name_Id := N + 427; -- GNAT
700    Name_Unrestricted_Access            : constant Name_Id := N + 428; -- GNAT
701    Name_VADS_Size                      : constant Name_Id := N + 429; -- GNAT
702    Name_Val                            : constant Name_Id := N + 430;
703    Name_Valid                          : constant Name_Id := N + 431;
704    Name_Value_Size                     : constant Name_Id := N + 432; -- GNAT
705    Name_Version                        : constant Name_Id := N + 433;
706    Name_Wchar_T_Size                   : constant Name_Id := N + 434; -- GNAT
707    Name_Wide_Width                     : constant Name_Id := N + 435;
708    Name_Width                          : constant Name_Id := N + 436;
709    Name_Word_Size                      : constant Name_Id := N + 437; -- GNAT
710
711    --  Attributes that designate attributes returning renamable functions,
712    --  i.e. functions that return other than a universal value.
713
714    First_Renamable_Function_Attribute  : constant Name_Id := N + 438;
715    Name_Adjacent                       : constant Name_Id := N + 438;
716    Name_Ceiling                        : constant Name_Id := N + 439;
717    Name_Copy_Sign                      : constant Name_Id := N + 440;
718    Name_Floor                          : constant Name_Id := N + 441;
719    Name_Fraction                       : constant Name_Id := N + 442;
720    Name_Image                          : constant Name_Id := N + 443;
721    Name_Input                          : constant Name_Id := N + 444;
722    Name_Machine                        : constant Name_Id := N + 445;
723    Name_Max                            : constant Name_Id := N + 446;
724    Name_Min                            : constant Name_Id := N + 447;
725    Name_Model                          : constant Name_Id := N + 448;
726    Name_Pred                           : constant Name_Id := N + 449;
727    Name_Remainder                      : constant Name_Id := N + 450;
728    Name_Rounding                       : constant Name_Id := N + 451;
729    Name_Succ                           : constant Name_Id := N + 452;
730    Name_Truncation                     : constant Name_Id := N + 453;
731    Name_Value                          : constant Name_Id := N + 454;
732    Name_Wide_Image                     : constant Name_Id := N + 455;
733    Name_Wide_Value                     : constant Name_Id := N + 456;
734    Last_Renamable_Function_Attribute   : constant Name_Id := N + 456;
735
736    --  Attributes that designate procedures
737
738    First_Procedure_Attribute           : constant Name_Id := N + 457;
739    Name_Output                         : constant Name_Id := N + 457;
740    Name_Read                           : constant Name_Id := N + 458;
741    Name_Write                          : constant Name_Id := N + 459;
742    Last_Procedure_Attribute            : constant Name_Id := N + 459;
743
744    --  Remaining attributes are ones that return entities
745
746    First_Entity_Attribute_Name         : constant Name_Id := N + 460;
747    Name_Elab_Body                      : constant Name_Id := N + 460; -- GNAT
748    Name_Elab_Spec                      : constant Name_Id := N + 461; -- GNAT
749    Name_Storage_Pool                   : constant Name_Id := N + 462;
750
751    --  These attributes are the ones that return types
752
753    First_Type_Attribute_Name           : constant Name_Id := N + 463;
754    Name_Base                           : constant Name_Id := N + 463;
755    Name_Class                          : constant Name_Id := N + 464;
756    Last_Type_Attribute_Name            : constant Name_Id := N + 464;
757    Last_Entity_Attribute_Name          : constant Name_Id := N + 464;
758    Last_Attribute_Name                 : constant Name_Id := N + 464;
759
760    --  Names of recognized locking policy identifiers
761
762    --  Note: policies are identified by the first character of the
763    --  name (e.g. C for Ceiling_Locking). If new policy names are added,
764    --  the first character must be distinct.
765
766    First_Locking_Policy_Name           : constant Name_Id := N + 465;
767    Name_Ceiling_Locking                : constant Name_Id := N + 465;
768    Name_Inheritance_Locking            : constant Name_Id := N + 466;
769    Last_Locking_Policy_Name            : constant Name_Id := N + 466;
770
771    --  Names of recognized queuing policy identifiers.
772
773    --  Note: policies are identified by the first character of the
774    --  name (e.g. F for FIFO_Queuing). If new policy names are added,
775    --  the first character must be distinct.
776
777    First_Queuing_Policy_Name           : constant Name_Id := N + 467;
778    Name_FIFO_Queuing                   : constant Name_Id := N + 467;
779    Name_Priority_Queuing               : constant Name_Id := N + 468;
780    Last_Queuing_Policy_Name            : constant Name_Id := N + 468;
781
782    --  Names of recognized task dispatching policy identifiers
783
784    --  Note: policies are identified by the first character of the
785    --  name (e.g. F for FIFO_WIthinn_Priorities). If new policy names
786    --  are added, the first character must be distinct.
787
788    First_Task_Dispatching_Policy_Name  : constant Name_Id := N + 469;
789    Name_FIFO_Within_Priorities         : constant Name_Id := N + 469;
790    Last_Task_Dispatching_Policy_Name   : constant Name_Id := N + 469;
791
792    --  Names of recognized checks for pragma Suppress
793
794    First_Check_Name                    : constant Name_Id := N + 470;
795    Name_Access_Check                   : constant Name_Id := N + 470;
796    Name_Accessibility_Check            : constant Name_Id := N + 471;
797    Name_Discriminant_Check             : constant Name_Id := N + 472;
798    Name_Division_Check                 : constant Name_Id := N + 473;
799    Name_Elaboration_Check              : constant Name_Id := N + 474;
800    Name_Index_Check                    : constant Name_Id := N + 475;
801    Name_Length_Check                   : constant Name_Id := N + 476;
802    Name_Overflow_Check                 : constant Name_Id := N + 477;
803    Name_Range_Check                    : constant Name_Id := N + 478;
804    Name_Storage_Check                  : constant Name_Id := N + 479;
805    Name_Tag_Check                      : constant Name_Id := N + 480;
806    Name_All_Checks                     : constant Name_Id := N + 481;
807    Last_Check_Name                     : constant Name_Id := N + 481;
808
809    --  Names corresponding to reserved keywords, excluding those already
810    --  declared in the attribute list (Access, Delta, Digits, Range).
811
812    Name_Abort                          : constant Name_Id := N + 482;
813    Name_Abs                            : constant Name_Id := N + 483;
814    Name_Accept                         : constant Name_Id := N + 484;
815    Name_And                            : constant Name_Id := N + 485;
816    Name_All                            : constant Name_Id := N + 486;
817    Name_Array                          : constant Name_Id := N + 487;
818    Name_At                             : constant Name_Id := N + 488;
819    Name_Begin                          : constant Name_Id := N + 489;
820    Name_Body                           : constant Name_Id := N + 490;
821    Name_Case                           : constant Name_Id := N + 491;
822    Name_Constant                       : constant Name_Id := N + 492;
823    Name_Declare                        : constant Name_Id := N + 493;
824    Name_Delay                          : constant Name_Id := N + 494;
825    Name_Do                             : constant Name_Id := N + 495;
826    Name_Else                           : constant Name_Id := N + 496;
827    Name_Elsif                          : constant Name_Id := N + 497;
828    Name_End                            : constant Name_Id := N + 498;
829    Name_Entry                          : constant Name_Id := N + 499;
830    Name_Exception                      : constant Name_Id := N + 500;
831    Name_Exit                           : constant Name_Id := N + 501;
832    Name_For                            : constant Name_Id := N + 502;
833    Name_Function                       : constant Name_Id := N + 503;
834    Name_Generic                        : constant Name_Id := N + 504;
835    Name_Goto                           : constant Name_Id := N + 505;
836    Name_If                             : constant Name_Id := N + 506;
837    Name_In                             : constant Name_Id := N + 507;
838    Name_Is                             : constant Name_Id := N + 508;
839    Name_Limited                        : constant Name_Id := N + 509;
840    Name_Loop                           : constant Name_Id := N + 510;
841    Name_Mod                            : constant Name_Id := N + 511;
842    Name_New                            : constant Name_Id := N + 512;
843    Name_Not                            : constant Name_Id := N + 513;
844    Name_Null                           : constant Name_Id := N + 514;
845    Name_Of                             : constant Name_Id := N + 515;
846    Name_Or                             : constant Name_Id := N + 516;
847    Name_Others                         : constant Name_Id := N + 517;
848    Name_Out                            : constant Name_Id := N + 518;
849    Name_Package                        : constant Name_Id := N + 519;
850    Name_Pragma                         : constant Name_Id := N + 520;
851    Name_Private                        : constant Name_Id := N + 521;
852    Name_Procedure                      : constant Name_Id := N + 522;
853    Name_Raise                          : constant Name_Id := N + 523;
854    Name_Record                         : constant Name_Id := N + 524;
855    Name_Rem                            : constant Name_Id := N + 525;
856    Name_Renames                        : constant Name_Id := N + 526;
857    Name_Return                         : constant Name_Id := N + 527;
858    Name_Reverse                        : constant Name_Id := N + 528;
859    Name_Select                         : constant Name_Id := N + 529;
860    Name_Separate                       : constant Name_Id := N + 530;
861    Name_Subtype                        : constant Name_Id := N + 531;
862    Name_Task                           : constant Name_Id := N + 532;
863    Name_Terminate                      : constant Name_Id := N + 533;
864    Name_Then                           : constant Name_Id := N + 534;
865    Name_Type                           : constant Name_Id := N + 535;
866    Name_Use                            : constant Name_Id := N + 536;
867    Name_When                           : constant Name_Id := N + 537;
868    Name_While                          : constant Name_Id := N + 538;
869    Name_With                           : constant Name_Id := N + 539;
870    Name_Xor                            : constant Name_Id := N + 540;
871
872    --  Names of intrinsic subprograms
873
874    --  Note: Asm is missing from this list, since Asm is a legitimate
875    --  convention name. So is To_Adress, which is a GNAT attribute.
876
877    First_Intrinsic_Name                : constant Name_Id := N + 541;
878    Name_Divide                         : constant Name_Id := N + 541;
879    Name_Enclosing_Entity               : constant Name_Id := N + 542;
880    Name_Exception_Information          : constant Name_Id := N + 543;
881    Name_Exception_Message              : constant Name_Id := N + 544;
882    Name_Exception_Name                 : constant Name_Id := N + 545;
883    Name_File                           : constant Name_Id := N + 546;
884    Name_Import_Address                 : constant Name_Id := N + 547;
885    Name_Import_Largest_Value           : constant Name_Id := N + 548;
886    Name_Import_Value                   : constant Name_Id := N + 549;
887    Name_Is_Negative                    : constant Name_Id := N + 550;
888    Name_Line                           : constant Name_Id := N + 551;
889    Name_Rotate_Left                    : constant Name_Id := N + 552;
890    Name_Rotate_Right                   : constant Name_Id := N + 553;
891    Name_Shift_Left                     : constant Name_Id := N + 554;
892    Name_Shift_Right                    : constant Name_Id := N + 555;
893    Name_Shift_Right_Arithmetic         : constant Name_Id := N + 556;
894    Name_Source_Location                : constant Name_Id := N + 557;
895    Name_Unchecked_Conversion           : constant Name_Id := N + 558;
896    Name_Unchecked_Deallocation         : constant Name_Id := N + 559;
897    Name_To_Pointer                     : constant Name_Id := N + 560;
898    Last_Intrinsic_Name                 : constant Name_Id := N + 560;
899
900    --  Reserved words used only in Ada 95
901
902    First_95_Reserved_Word              : constant Name_Id := N + 561;
903    Name_Abstract                       : constant Name_Id := N + 561;
904    Name_Aliased                        : constant Name_Id := N + 562;
905    Name_Protected                      : constant Name_Id := N + 563;
906    Name_Until                          : constant Name_Id := N + 564;
907    Name_Requeue                        : constant Name_Id := N + 565;
908    Name_Tagged                         : constant Name_Id := N + 566;
909    Last_95_Reserved_Word               : constant Name_Id := N + 566;
910
911    subtype Ada_95_Reserved_Words is
912      Name_Id range First_95_Reserved_Word .. Last_95_Reserved_Word;
913
914    --  Miscellaneous names used in semantic checking
915
916    Name_Raise_Exception                : constant Name_Id := N + 567;
917
918    --  Additional reserved words in GNAT Project Files
919    --  Note that Name_External is already previously declared
920
921    Name_Binder                         : constant Name_Id := N + 568;
922    Name_Body_Suffix                    : constant Name_Id := N + 569;
923    Name_Builder                        : constant Name_Id := N + 570;
924    Name_Compiler                       : constant Name_Id := N + 571;
925    Name_Cross_Reference                : constant Name_Id := N + 572;
926    Name_Default_Switches               : constant Name_Id := N + 573;
927    Name_Exec_Dir                       : constant Name_Id := N + 574;
928    Name_Executable                     : constant Name_Id := N + 575;
929    Name_Executable_Suffix              : constant Name_Id := N + 576;
930    Name_Extends                        : constant Name_Id := N + 577;
931    Name_Finder                         : constant Name_Id := N + 578;
932    Name_Global_Configuration_Pragmas   : constant Name_Id := N + 579;
933    Name_Gnatls                         : constant Name_Id := N + 580;
934    Name_Gnatstub                       : constant Name_Id := N + 581;
935    Name_Implementation                 : constant Name_Id := N + 582;
936    Name_Implementation_Exceptions      : constant Name_Id := N + 583;
937    Name_Implementation_Suffix          : constant Name_Id := N + 584;
938    Name_Languages                      : constant Name_Id := N + 585;
939    Name_Library_Dir                    : constant Name_Id := N + 586;
940    Name_Library_Auto_Init              : constant Name_Id := N + 587;
941    Name_Library_GCC                    : constant Name_Id := N + 588;
942    Name_Library_Interface              : constant Name_Id := N + 589;
943    Name_Library_Kind                   : constant Name_Id := N + 590;
944    Name_Library_Name                   : constant Name_Id := N + 591;
945    Name_Library_Options                : constant Name_Id := N + 592;
946    Name_Library_Reference_Symbol_File  : constant Name_Id := N + 593;
947    Name_Library_Src_Dir                : constant Name_Id := N + 594;
948    Name_Library_Symbol_File            : constant Name_Id := N + 595;
949    Name_Library_Symbol_Policy          : constant Name_Id := N + 596;
950    Name_Library_Version                : constant Name_Id := N + 597;
951    Name_Linker                         : constant Name_Id := N + 598;
952    Name_Local_Configuration_Pragmas    : constant Name_Id := N + 599;
953    Name_Locally_Removed_Files          : constant Name_Id := N + 600;
954    Name_Metrics                        : constant Name_Id := N + 601;
955    Name_Naming                         : constant Name_Id := N + 602;
956    Name_Object_Dir                     : constant Name_Id := N + 603;
957    Name_Pretty_Printer                 : constant Name_Id := N + 604;
958    Name_Project                        : constant Name_Id := N + 605;
959    Name_Separate_Suffix                : constant Name_Id := N + 606;
960    Name_Source_Dirs                    : constant Name_Id := N + 607;
961    Name_Source_Files                   : constant Name_Id := N + 608;
962    Name_Source_List_File               : constant Name_Id := N + 609;
963    Name_Spec                           : constant Name_Id := N + 610;
964    Name_Spec_Suffix                    : constant Name_Id := N + 611;
965    Name_Specification                  : constant Name_Id := N + 612;
966    Name_Specification_Exceptions       : constant Name_Id := N + 613;
967    Name_Specification_Suffix           : constant Name_Id := N + 614;
968    Name_Switches                       : constant Name_Id := N + 615;
969    --  Other miscellaneous names used in front end
970
971    Name_Unaligned_Valid                : constant Name_Id := N + 616;
972
973    --  Mark last defined name for consistency check in Snames body
974
975    Last_Predefined_Name                : constant Name_Id := N + 616;
976
977    subtype Any_Operator_Name is Name_Id range
978      First_Operator_Name .. Last_Operator_Name;
979
980    ------------------------------
981    -- Attribute ID Definitions --
982    ------------------------------
983
984    type Attribute_Id is (
985       Attribute_Abort_Signal,
986       Attribute_Access,
987       Attribute_Address,
988       Attribute_Address_Size,
989       Attribute_Aft,
990       Attribute_Alignment,
991       Attribute_Asm_Input,
992       Attribute_Asm_Output,
993       Attribute_AST_Entry,
994       Attribute_Bit,
995       Attribute_Bit_Order,
996       Attribute_Bit_Position,
997       Attribute_Body_Version,
998       Attribute_Callable,
999       Attribute_Caller,
1000       Attribute_Code_Address,
1001       Attribute_Component_Size,
1002       Attribute_Compose,
1003       Attribute_Constrained,
1004       Attribute_Count,
1005       Attribute_Default_Bit_Order,
1006       Attribute_Definite,
1007       Attribute_Delta,
1008       Attribute_Denorm,
1009       Attribute_Digits,
1010       Attribute_Elaborated,
1011       Attribute_Emax,
1012       Attribute_Enum_Rep,
1013       Attribute_Epsilon,
1014       Attribute_Exponent,
1015       Attribute_External_Tag,
1016       Attribute_First,
1017       Attribute_First_Bit,
1018       Attribute_Fixed_Value,
1019       Attribute_Fore,
1020       Attribute_Has_Access_Values,
1021       Attribute_Has_Discriminants,
1022       Attribute_Identity,
1023       Attribute_Img,
1024       Attribute_Integer_Value,
1025       Attribute_Large,
1026       Attribute_Last,
1027       Attribute_Last_Bit,
1028       Attribute_Leading_Part,
1029       Attribute_Length,
1030       Attribute_Machine_Emax,
1031       Attribute_Machine_Emin,
1032       Attribute_Machine_Mantissa,
1033       Attribute_Machine_Overflows,
1034       Attribute_Machine_Radix,
1035       Attribute_Machine_Rounds,
1036       Attribute_Machine_Size,
1037       Attribute_Mantissa,
1038       Attribute_Max_Size_In_Storage_Elements,
1039       Attribute_Maximum_Alignment,
1040       Attribute_Mechanism_Code,
1041       Attribute_Model_Emin,
1042       Attribute_Model_Epsilon,
1043       Attribute_Model_Mantissa,
1044       Attribute_Model_Small,
1045       Attribute_Modulus,
1046       Attribute_Null_Parameter,
1047       Attribute_Object_Size,
1048       Attribute_Partition_ID,
1049       Attribute_Passed_By_Reference,
1050       Attribute_Pool_Address,
1051       Attribute_Pos,
1052       Attribute_Position,
1053       Attribute_Range,
1054       Attribute_Range_Length,
1055       Attribute_Round,
1056       Attribute_Safe_Emax,
1057       Attribute_Safe_First,
1058       Attribute_Safe_Large,
1059       Attribute_Safe_Last,
1060       Attribute_Safe_Small,
1061       Attribute_Scale,
1062       Attribute_Scaling,
1063       Attribute_Signed_Zeros,
1064       Attribute_Size,
1065       Attribute_Small,
1066       Attribute_Storage_Size,
1067       Attribute_Storage_Unit,
1068       Attribute_Tag,
1069       Attribute_Target_Name,
1070       Attribute_Terminated,
1071       Attribute_To_Address,
1072       Attribute_Type_Class,
1073       Attribute_UET_Address,
1074       Attribute_Unbiased_Rounding,
1075       Attribute_Unchecked_Access,
1076       Attribute_Unconstrained_Array,
1077       Attribute_Universal_Literal_String,
1078       Attribute_Unrestricted_Access,
1079       Attribute_VADS_Size,
1080       Attribute_Val,
1081       Attribute_Valid,
1082       Attribute_Value_Size,
1083       Attribute_Version,
1084       Attribute_Wchar_T_Size,
1085       Attribute_Wide_Width,
1086       Attribute_Width,
1087       Attribute_Word_Size,
1088
1089       --  Attributes designating renamable functions
1090
1091       Attribute_Adjacent,
1092       Attribute_Ceiling,
1093       Attribute_Copy_Sign,
1094       Attribute_Floor,
1095       Attribute_Fraction,
1096       Attribute_Image,
1097       Attribute_Input,
1098       Attribute_Machine,
1099       Attribute_Max,
1100       Attribute_Min,
1101       Attribute_Model,
1102       Attribute_Pred,
1103       Attribute_Remainder,
1104       Attribute_Rounding,
1105       Attribute_Succ,
1106       Attribute_Truncation,
1107       Attribute_Value,
1108       Attribute_Wide_Image,
1109       Attribute_Wide_Value,
1110
1111       --  Attributes designating procedures
1112
1113       Attribute_Output,
1114       Attribute_Read,
1115       Attribute_Write,
1116
1117       --  Entity attributes (includes type attributes)
1118
1119       Attribute_Elab_Body,
1120       Attribute_Elab_Spec,
1121       Attribute_Storage_Pool,
1122
1123       --  Type attributes
1124
1125       Attribute_Base,
1126       Attribute_Class);
1127
1128    ------------------------------------
1129    -- Convention Name ID Definitions --
1130    ------------------------------------
1131
1132    type Convention_Id is (
1133
1134       --  The conventions that are defined by the RM come first
1135
1136       Convention_Ada,
1137       Convention_Intrinsic,
1138       Convention_Entry,
1139       Convention_Protected,
1140
1141       --  The remaining conventions are foreign language conventions
1142
1143       Convention_Assembler,  --  also Asm, Assembly
1144       Convention_C,          --  also Default, External
1145       Convention_COBOL,
1146       Convention_CPP,
1147       Convention_Fortran,
1148       Convention_Java,
1149       Convention_Stdcall,    --  also DLL, Win32
1150       Convention_Stubbed);
1151
1152       --  Note: Convention C_Pass_By_Copy is allowed only for record
1153       --  types (where it is treated like C except that the appropriate
1154       --  flag is set in the record type). Recognizion of this convention
1155       --  is specially handled in Sem_Prag.
1156
1157    for Convention_Id'Size use 8;
1158    --  Plenty of space for expansion
1159
1160    subtype Foreign_Convention is
1161      Convention_Id range Convention_Assembler .. Convention_Stdcall;
1162
1163    -----------------------------------
1164    -- Locking Policy ID Definitions --
1165    -----------------------------------
1166
1167    type Locking_Policy_Id is (
1168       Locking_Policy_Inheritance_Locking,
1169       Locking_Policy_Ceiling_Locking);
1170
1171    ---------------------------
1172    -- Pragma ID Definitions --
1173    ---------------------------
1174
1175    type Pragma_Id is (
1176
1177       --  Configuration pragmas
1178
1179       Pragma_Ada_83,
1180       Pragma_Ada_95,
1181       Pragma_Ada_05,
1182       Pragma_C_Pass_By_Copy,
1183       Pragma_Compile_Time_Warning,
1184       Pragma_Component_Alignment,
1185       Pragma_Convention_Identifier,
1186       Pragma_Detect_Blocking,
1187       Pragma_Discard_Names,
1188       Pragma_Elaboration_Checks,
1189       Pragma_Eliminate,
1190       Pragma_Explicit_Overriding,
1191       Pragma_Extend_System,
1192       Pragma_Extensions_Allowed,
1193       Pragma_External_Name_Casing,
1194       Pragma_Float_Representation,
1195       Pragma_Initialize_Scalars,
1196       Pragma_Interrupt_State,
1197       Pragma_License,
1198       Pragma_Locking_Policy,
1199       Pragma_Long_Float,
1200       Pragma_No_Run_Time,
1201       Pragma_No_Strict_Aliasing,
1202       Pragma_Normalize_Scalars,
1203       Pragma_Polling,
1204       Pragma_Persistent_Data,
1205       Pragma_Persistent_Object,
1206       Pragma_Profile,
1207       Pragma_Profile_Warnings,
1208       Pragma_Propagate_Exceptions,
1209       Pragma_Queuing_Policy,
1210       Pragma_Ravenscar,
1211       Pragma_Restricted_Run_Time,
1212       Pragma_Restrictions,
1213       Pragma_Restriction_Warnings,
1214       Pragma_Reviewable,
1215       Pragma_Source_File_Name,
1216       Pragma_Source_File_Name_Project,
1217       Pragma_Style_Checks,
1218       Pragma_Suppress,
1219       Pragma_Suppress_Exception_Locations,
1220       Pragma_Task_Dispatching_Policy,
1221       Pragma_Universal_Data,
1222       Pragma_Unsuppress,
1223       Pragma_Use_VADS_Size,
1224       Pragma_Validity_Checks,
1225       Pragma_Warnings,
1226
1227       --  Remaining (non-configuration) pragmas
1228
1229       Pragma_Abort_Defer,
1230       Pragma_All_Calls_Remote,
1231       Pragma_Annotate,
1232       Pragma_Assert,
1233       Pragma_Asynchronous,
1234       Pragma_Atomic,
1235       Pragma_Atomic_Components,
1236       Pragma_Attach_Handler,
1237       Pragma_Comment,
1238       Pragma_Common_Object,
1239       Pragma_Complex_Representation,
1240       Pragma_Controlled,
1241       Pragma_Convention,
1242       Pragma_CPP_Class,
1243       Pragma_CPP_Constructor,
1244       Pragma_CPP_Virtual,
1245       Pragma_CPP_Vtable,
1246       Pragma_Debug,
1247       Pragma_Elaborate,
1248       Pragma_Elaborate_All,
1249       Pragma_Elaborate_Body,
1250       Pragma_Export,
1251       Pragma_Export_Exception,
1252       Pragma_Export_Function,
1253       Pragma_Export_Object,
1254       Pragma_Export_Procedure,
1255       Pragma_Export_Value,
1256       Pragma_Export_Valued_Procedure,
1257       Pragma_External,
1258       Pragma_Finalize_Storage_Only,
1259       Pragma_Ident,
1260       Pragma_Import,
1261       Pragma_Import_Exception,
1262       Pragma_Import_Function,
1263       Pragma_Import_Object,
1264       Pragma_Import_Procedure,
1265       Pragma_Import_Valued_Procedure,
1266       Pragma_Inline,
1267       Pragma_Inline_Always,
1268       Pragma_Inline_Generic,
1269       Pragma_Inspection_Point,
1270       Pragma_Interface,
1271       Pragma_Interface_Name,
1272       Pragma_Interrupt_Handler,
1273       Pragma_Interrupt_Priority,
1274       Pragma_Java_Constructor,
1275       Pragma_Java_Interface,
1276       Pragma_Keep_Names,
1277       Pragma_Link_With,
1278       Pragma_Linker_Alias,
1279       Pragma_Linker_Options,
1280       Pragma_Linker_Section,
1281       Pragma_List,
1282       Pragma_Machine_Attribute,
1283       Pragma_Main,
1284       Pragma_Main_Storage,
1285       Pragma_Memory_Size,
1286       Pragma_No_Return,
1287       Pragma_Obsolescent,
1288       Pragma_Optimize,
1289       Pragma_Optional_Overriding,
1290       Pragma_Overriding,
1291       Pragma_Pack,
1292       Pragma_Page,
1293       Pragma_Passive,
1294       Pragma_Preelaborate,
1295       Pragma_Priority,
1296       Pragma_Psect_Object,
1297       Pragma_Pure,
1298       Pragma_Pure_Function,
1299       Pragma_Remote_Call_Interface,
1300       Pragma_Remote_Types,
1301       Pragma_Share_Generic,
1302       Pragma_Shared,
1303       Pragma_Shared_Passive,
1304       Pragma_Source_Reference,
1305       Pragma_Stream_Convert,
1306       Pragma_Subtitle,
1307       Pragma_Suppress_All,
1308       Pragma_Suppress_Debug_Info,
1309       Pragma_Suppress_Initialization,
1310       Pragma_System_Name,
1311       Pragma_Task_Info,
1312       Pragma_Task_Name,
1313       Pragma_Task_Storage,
1314       Pragma_Thread_Body,
1315       Pragma_Time_Slice,
1316       Pragma_Title,
1317       Pragma_Unchecked_Union,
1318       Pragma_Unimplemented_Unit,
1319       Pragma_Unreferenced,
1320       Pragma_Unreserve_All_Interrupts,
1321       Pragma_Volatile,
1322       Pragma_Volatile_Components,
1323       Pragma_Weak_External,
1324
1325       --  The following pragmas are on their own, out of order, because of
1326       --  the special processing required to deal with the fact that their
1327       --  names match existing attribute names.
1328
1329       Pragma_AST_Entry,
1330       Pragma_Storage_Size,
1331       Pragma_Storage_Unit,
1332
1333       --  The value to represent an unknown or unrecognized pragma
1334
1335       Unknown_Pragma);
1336
1337    -----------------------------------
1338    -- Queuing Policy ID definitions --
1339    -----------------------------------
1340
1341    type Queuing_Policy_Id is (
1342       Queuing_Policy_FIFO_Queuing,
1343       Queuing_Policy_Priority_Queuing);
1344
1345    --------------------------------------------
1346    -- Task Dispatching Policy ID definitions --
1347    --------------------------------------------
1348
1349    type Task_Dispatching_Policy_Id is (
1350       Task_Dispatching_FIFO_Within_Priorities);
1351    --  Id values used to identify task dispatching policies
1352
1353    -----------------
1354    -- Subprograms --
1355    -----------------
1356
1357    procedure Initialize;
1358    --  Called to initialize the preset names in the names table.
1359
1360    function Is_Attribute_Name (N : Name_Id) return Boolean;
1361    --  Test to see if the name N is the name of a recognized attribute
1362
1363    function Is_Entity_Attribute_Name (N : Name_Id) return Boolean;
1364    --  Test to see if the name N is the name of a recognized entity attribute,
1365    --  i.e. an attribute reference that returns an entity.
1366
1367    function Is_Procedure_Attribute_Name (N : Name_Id) return Boolean;
1368    --  Test to see if the name N is the name of a recognized attribute that
1369    --  designates a procedure (and can therefore appear as a statement).
1370
1371    function Is_Function_Attribute_Name (N : Name_Id) return Boolean;
1372    --  Test to see if the name N is the name of a recognized attribute
1373    --  that designates a renameable function, and can therefore appear in
1374    --  a renaming statement. Note that not all attributes designating
1375    --  functions are renamable, in particular, thos returning a universal
1376    --  value cannot be renamed.
1377
1378    function Is_Type_Attribute_Name (N : Name_Id) return Boolean;
1379    --  Test to see if the name N is the name of a recognized type attribute,
1380    --  i.e. an attribute reference that returns a type
1381
1382    function Is_Check_Name (N : Name_Id) return Boolean;
1383    --  Test to see if the name N is the name of a recognized suppress check
1384    --  as required by pragma Suppress.
1385
1386    function Is_Convention_Name (N : Name_Id) return Boolean;
1387    --  Test to see if the name N is the name of one of the recognized
1388    --  language conventions, as required by pragma Convention, Import,
1389    --  Export, Interface. Returns True if so. Also returns True for a
1390    --  name that has been specified by a Convention_Identifier pragma.
1391    --  If neither case holds, returns False.
1392
1393    function Is_Locking_Policy_Name (N : Name_Id) return Boolean;
1394    --  Test to see if the name N is the name of a recognized locking policy
1395
1396    function Is_Operator_Symbol_Name (N : Name_Id) return Boolean;
1397    --  Test to see if the name N is the name of an operator symbol
1398
1399    function Is_Pragma_Name (N : Name_Id) return Boolean;
1400    --  Test to see if the name N is the name of a recognized pragma. Note
1401    --  that pragmas AST_Entry, Storage_Size, and Storage_Unit are recognized
1402    --  as pragmas by this function even though their names are separate from
1403    --  the other pragma names.
1404
1405    function Is_Queuing_Policy_Name (N : Name_Id) return Boolean;
1406    --  Test to see if the name N is the name of a recognized queuing policy
1407
1408    function Is_Task_Dispatching_Policy_Name (N : Name_Id) return Boolean;
1409    --  Test to see if the name N is the name of a recognized task
1410    --  dispatching policy.
1411
1412    function Get_Attribute_Id (N : Name_Id) return Attribute_Id;
1413    --  Returns Id of attribute corresponding to given name. It is an error to
1414    --  call this function with a name that is not the name of a attribute.
1415
1416    function Get_Convention_Id (N : Name_Id) return Convention_Id;
1417    --  Returns Id of language convention corresponding to given name. It is an
1418    --  to call this function with a name that is not the name of a convention,
1419    --  or one previously given in a call to Record_Convention_Identifier.
1420
1421    function Get_Check_Id (N : Name_Id) return Check_Id;
1422    --  Returns Id of suppress check corresponding to given name. It is an error
1423    --  to call this function with a name that is not the name of a check.
1424
1425    function Get_Locking_Policy_Id (N : Name_Id) return Locking_Policy_Id;
1426    --  Returns Id of locking policy corresponding to given name. It is an error
1427    --  to call this function with a name that is not the name of a check.
1428
1429    function Get_Pragma_Id (N : Name_Id) return Pragma_Id;
1430    --  Returns Id of pragma corresponding to given name. Returns Unknown_Pragma
1431    --  if N is not a name of a known (Ada defined or GNAT-specific) pragma.
1432    --  Note that the function also works correctly for names of pragmas that
1433    --  are not in the main list of pragma Names (AST_Entry, Storage_Size, and
1434    --  Storage_Unit (e.g. Name_Storage_Size returns Pragma_Storage_Size).
1435
1436    function Get_Queuing_Policy_Id (N : Name_Id) return Queuing_Policy_Id;
1437    --  Returns Id of queuing policy corresponding to given name. It is an error
1438    --  to call this function with a name that is not the name of a check.
1439
1440    function Get_Task_Dispatching_Policy_Id
1441      (N    : Name_Id)
1442       return Task_Dispatching_Policy_Id;
1443    --  Returns Id of task dispatching policy corresponding to given name.
1444    --  It is an error to call this function with a name that is not the
1445    --  name of a check.
1446
1447    procedure Record_Convention_Identifier
1448      (Id         : Name_Id;
1449       Convention : Convention_Id);
1450    --  A call to this procedure, resulting from an occurrence of a pragma
1451    --  Convention_Identifier, records that from now on an occurrence of
1452    --  Id will be recognized as a name for the specified convention.
1453
1454 private
1455    pragma Inline (Is_Attribute_Name);
1456    pragma Inline (Is_Entity_Attribute_Name);
1457    pragma Inline (Is_Type_Attribute_Name);
1458    pragma Inline (Is_Check_Name);
1459    pragma Inline (Is_Locking_Policy_Name);
1460    pragma Inline (Is_Operator_Symbol_Name);
1461    pragma Inline (Is_Queuing_Policy_Name);
1462    pragma Inline (Is_Pragma_Name);
1463    pragma Inline (Is_Task_Dispatching_Policy_Name);
1464
1465 end Snames;